1 2019-01-03 Zack Weinberg <zackw@panix.com>
3 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4 parameter. Only use deprecated scanf when __USE_GNU is defined
5 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6 than 201103L, whichever is relevant for the language being compiled.
8 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
9 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
10 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
11 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
12 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
21 * stdio-common/fscanf.c
22 * stdio-common/scanf.c
23 * stdio-common/vfscanf.c
24 * stdio-common/vfwscanf.c
25 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
26 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
27 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
28 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
29 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
30 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
31 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
32 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
33 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
34 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
35 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
36 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
37 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
38 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
39 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
41 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
42 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
43 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
45 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
46 with a preprocessor macro.
48 * stdio-common/bug21.c, stdio-common/scanf14.c:
49 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
50 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
51 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
52 to xscanf, xfscanf, xsscanf.
54 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
55 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
56 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
57 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
59 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
60 override feature selection macros or provide definitions of u_char etc.
61 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
62 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
63 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
66 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
68 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
71 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
72 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
75 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
77 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
78 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
79 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
80 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
81 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
82 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
84 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
85 (sysdep_headers): Add termios-misc.h.
87 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
88 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
89 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
91 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
94 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
95 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
96 TCSAFLUSH): Move to termios-tcflow.h.
97 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
98 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
100 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
104 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
105 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
106 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
107 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
108 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
109 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
110 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
111 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
113 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
114 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
115 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
116 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
120 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
121 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
122 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
123 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
124 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
126 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
127 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
128 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
129 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
134 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
135 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
136 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
137 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
138 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
139 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
140 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
141 __MAX_BAUD): Move to termios-baud.h.
142 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
143 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
144 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
145 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
146 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
148 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
150 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
151 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
152 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
153 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
154 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
155 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
157 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
158 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
160 [USE_MISC] (XTABS): Likewise.
161 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
162 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
163 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
164 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
166 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
168 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
169 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
170 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
171 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
172 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
173 IUTF8): Move to termios-c_iflag.h.
174 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
175 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
179 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
181 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
182 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
183 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
184 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
185 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
186 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
187 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
188 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.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/alpha/bits/termios-struct.h: New file.
195 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
196 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
197 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
200 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
202 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
204 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
206 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
208 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
210 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
211 _HAVE_C_OSPEED): Define.
212 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
213 _HAVE_C_OSPEED): Likewise.
214 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
215 _HAVE_C_OSPEED): Likewise.
216 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
217 (cfsetospeed): Check for define value instead of existence.
218 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
219 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
220 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
221 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
222 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
225 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
227 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
228 (TIOCSER_TEMT): Likewise.
229 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
230 (TEOCSER_TEMT): Likewise.
232 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
235 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
237 2019-01-02 Joseph Myers <joseph@codesourcery.com>
239 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
241 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
243 * sysdeps/htl/pt-barrierattr-setpshared.c
244 (pthread_barrierattr_setpshared): Add stub warning.
245 * sysdeps/htl/pt-condattr-setpshared.c
246 (pthread_condattr_setpshared): Likewise.
247 * sysdeps/htl/pt-mutexattr-setpshared.c
248 (pthread_mutexattr_setpshared): Likewise.
249 * sysdeps/htl/pt-rwlockattr-setpshared.c
250 (pthread_rwlockattr_setpshared): Likewise.
251 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
252 (pthread_mutexattr_setpshared): Likewise.
254 2019-01-02 Joseph Myers <joseph@codesourcery.com>
256 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
257 constants to match with Linux 4.20.
259 * sysdeps/mips/mips32/libm-test-ulps: Update.
260 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
262 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
265 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
266 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
267 than __typeof (...) for the a_ptr variable.
269 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
271 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
272 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
273 * libio/Makefile (tests): Add tst-sprintf-ub and
275 (CFLAGS-tst-sprintf-ub.c): New variable.
276 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
277 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
278 destination buffer and check for overflows in fortified mode.
279 * libio/libioP.h (PRINTF_CHK): New macro.
280 * libio/tst-sprintf-chk-ub.c: New file.
281 * libio/tst-sprintf-ub.c: Likewise.
283 2019-01-02 Florian Weimer <fweimer@redhat.com>
286 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
289 2019-01-02 Florian Weimer <fweimer@redhat.com>
291 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
293 2019-01-01 Joseph Myers <joseph@codesourcery.com>
295 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
298 * sysdeps/unix/sysv/linux/netpacket/packet.h
299 (PACKET_IGNORE_OUTGOING): New macro.
301 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
304 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
306 (riscv_flush_icache): New syscall.
308 * manual/texinfo.tex: Update to version 2018-12-28.17 with
309 trailing whitespace removed.
310 * scripts/config.guess: Update to version 2019-01-01.
311 * scripts/config.sub: Update to version 2019-01-01.
312 * scripts/move-if-change: Update from gnulib.
314 * NEWS: Update copyright dates.
315 * catgets/gencat.c (print_version): Likewise.
316 * csu/version.c (banner): Likewise.
317 * debug/catchsegv.sh: Likewise.
318 * debug/pcprofiledump.c (print_version): Likewise.
319 * debug/xtrace.sh (do_version): Likewise.
320 * elf/ldconfig.c (print_version): Likewise.
321 * elf/ldd.bash.in: Likewise.
322 * elf/pldd.c (print_version): Likewise.
323 * elf/sotruss.sh: Likewise.
324 * elf/sprof.c (print_version): Likewise.
325 * iconv/iconv_prog.c (print_version): Likewise.
326 * iconv/iconvconfig.c (print_version): Likewise.
327 * locale/programs/locale.c (print_version): Likewise.
328 * locale/programs/localedef.c (print_version): Likewise.
329 * login/programs/pt_chown.c (print_version): Likewise.
330 * malloc/memusage.sh (do_version): Likewise.
331 * malloc/memusagestat.c (print_version): Likewise.
332 * malloc/mtrace.pl: Likewise.
333 * manual/libc.texinfo: Likewise.
334 * nptl/version.c (banner): Likewise.
335 * nscd/nscd.c (print_version): Likewise.
336 * nss/getent.c (print_version): Likewise.
337 * nss/makedb.c (print_version): Likewise.
338 * posix/getconf.c (main): Likewise.
339 * scripts/test-installation.pl: Likewise.
340 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
342 * All files with FSF copyright notices: Update copyright dates
343 using scripts/update-copyrights.
344 * locale/programs/charmap-kw.h: Regenerated.
345 * locale/programs/locfile-kw.h: Likewise.
347 2018-12-31 Joseph Myers <joseph@codesourcery.com>
349 * timezone/zdump.c: Update from tzcode 2018i.
350 * timezone/zic.c: Likewise.
352 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
354 regex: improve Gnulib port to AIX
355 From the glibc point of view, this removes duplicate macro
356 definitions and is obviously safe.
357 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
358 * posix/regex_internal.h:
359 (__attribute__, __attribute_warn_unused_result__):
360 Remove; already defined elsewhere.
362 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
365 * malloc/malloc.c (_int_realloc): Always call memcpy for the
366 copying operation. (ncopies had the wrong type, resulting in an
367 integer wraparound and too few elements being copied.)
369 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
372 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
373 <asm/syscalls.h> exists with __has_include__ before including it.
375 2018-12-31 Joseph Myers <joseph@codesourcery.com>
377 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
380 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
382 * hurd/lookup-retry: Include <unistd.h>.
383 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
384 Release it on return. Handle "pid" magical lookup retry.
386 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
389 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
390 (t_fmt_ampm): Likewise.
391 * localedata/locales/aa_ER (t_fmt): Likewise.
392 (t_fmt_ampm): Likewise.
393 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
394 (t_fmt_ampm): Likewise.
395 * localedata/locales/aa_ET (t_fmt): Likewise.
396 (t_fmt_ampm): Likewise.
397 * localedata/locales/am_ET (t_fmt): Likewise.
398 (t_fmt_ampm): Likewise.
399 * localedata/locales/byn_ER (t_fmt): Likewise.
400 (t_fmt_ampm): Likewise.
401 * localedata/locales/om_ET (t_fmt): Likewise.
402 (t_fmt_ampm): Likewise.
403 * localedata/locales/sid_ET (t_fmt): Likewise.
404 (t_fmt_ampm): Likewise.
405 * localedata/locales/so_DJ (t_fmt): Likewise.
406 (t_fmt_ampm): Likewise.
407 * localedata/locales/so_ET (t_fmt): Likewise.
408 (t_fmt_ampm): Likewise.
409 * localedata/locales/so_SO (t_fmt): Likewise.
410 (t_fmt_ampm): Likewise.
411 * localedata/locales/ti_ER (t_fmt): Likewise.
412 (t_fmt_ampm): Likewise.
413 * localedata/locales/ti_ET (t_fmt): Likewise.
414 (t_fmt_ampm): Likewise.
415 * localedata/locales/tig_ER (t_fmt): Likewise.
416 (t_fmt_ampm): Likewise.
417 * localedata/locales/wal_ET (t_fmt): Likewise.
418 (t_fmt_ampm): Likewise.
420 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
421 * localedata/locales/ar_IN (t_fmt): Likewise.
422 * localedata/locales/bhb_IN (t_fmt): Likewise.
423 * localedata/locales/bho_IN (t_fmt): Likewise.
424 * localedata/locales/bi_VU (t_fmt): Likewise.
425 * localedata/locales/bn_BD (t_fmt): Likewise.
426 * localedata/locales/bn_IN (t_fmt): Likewise.
427 * localedata/locales/brx_IN (t_fmt): Likewise.
428 * localedata/locales/doi_IN (t_fmt): Likewise.
429 * localedata/locales/en_HK (t_fmt): Likewise.
430 (t_fmt_ampm): Likewise.
431 * localedata/locales/en_IN (t_fmt): Likewise.
432 * localedata/locales/en_PH (t_fmt): Likewise.
433 * localedata/locales/gu_IN (t_fmt): Likewise.
434 * localedata/locales/hi_IN (t_fmt): Likewise.
435 * localedata/locales/hif_FJ (t_fmt): Likewise.
436 * localedata/locales/hne_IN (t_fmt): Likewise.
437 * localedata/locales/kn_IN (t_fmt): Likewise.
438 * localedata/locales/kok_IN (t_fmt): Likewise.
439 * localedata/locales/ks_IN (t_fmt): Likewise.
440 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
441 * localedata/locales/mag_IN (t_fmt): Likewise.
442 * localedata/locales/mai_IN (t_fmt): Likewise.
443 * localedata/locales/mjw_IN (t_fmt): Likewise.
444 * localedata/locales/ml_IN (t_fmt): Likewise.
445 * localedata/locales/mni_IN (t_fmt): Likewise.
446 * localedata/locales/mr_IN (t_fmt): Likewise.
447 * localedata/locales/ms_MY (t_fmt): Likewise.
448 * localedata/locales/pa_IN (t_fmt): Likewise.
449 * localedata/locales/raj_IN (t_fmt): Likewise.
450 * localedata/locales/sa_IN (t_fmt): Likewise.
451 * localedata/locales/sat_IN (t_fmt): Likewise.
452 * localedata/locales/sd_IN (t_fmt): Likewise.
453 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
454 * localedata/locales/tcy_IN (t_fmt): Likewise.
455 * localedata/locales/the_NP (t_fmt): Likewise.
456 * localedata/locales/to_TO (t_fmt): Likewise.
457 * localedata/locales/ur_IN (t_fmt): Likewise.
459 * localedata/locales/hif_FJ (d_t_fmt): Set to
460 "%A %d %b %Y %I:%M:%S %p".
461 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
463 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
464 * localedata/locales/ar_BH (t_fmt): Likewise.
465 * localedata/locales/ar_DZ (t_fmt): Likewise.
466 * localedata/locales/ar_EG (t_fmt): Likewise.
467 * localedata/locales/ar_IQ (t_fmt): Likewise.
468 * localedata/locales/ar_JO (t_fmt): Likewise.
469 * localedata/locales/ar_KW (t_fmt): Likewise.
470 * localedata/locales/ar_LB (t_fmt): Likewise.
471 * localedata/locales/ar_LY (t_fmt): Likewise.
472 * localedata/locales/ar_OM (t_fmt): Likewise.
473 * localedata/locales/ar_QA (t_fmt): Likewise.
474 * localedata/locales/ar_SD (t_fmt): Likewise.
475 * localedata/locales/ar_SS (t_fmt): Likewise.
476 * localedata/locales/ar_SY (t_fmt): Likewise.
477 * localedata/locales/ar_TN (t_fmt): Likewise.
478 * localedata/locales/ar_YE (t_fmt): Likewise.
480 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
481 (t_fmt_ampm): Likewise.
482 * localedata/locales/gez_ET (t_fmt): Likewise.
483 (t_fmt_ampm): Likewise.
485 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
486 (t_fmt_ampm): Likewise.
487 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
489 * localedata/locales/zh_HK (t_fmt):
490 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
492 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
493 because this locale does not use the 12-hour clock.
494 (t_fmt): Set to "%Z %H:%M:%S".
495 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
497 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
498 because this locale does not use the 12-hour clock.
499 (t_fmt): Set to "%H:%M:%S %Z".
500 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
502 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
503 because this locale does not use the 12-hour clock.
504 (t_fmt): Set to "%T".
505 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
506 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
508 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
509 because this locale does not use the 12-hour clock.
510 (t_fmt): Set to "%H:%M:%S %Z".
511 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
513 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
514 because this locale does not use the 12-hour clock.
515 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
516 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
518 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
522 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
523 (t_fmt_ampm): Likewise.
524 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
525 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
526 (d_fmt): Set to "%-d.%-m.%y".
528 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
530 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
531 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
532 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
534 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
535 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
536 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
538 * support/blob_repeat.c (check_mul_overflow_size_t,
539 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
541 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
543 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
545 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
547 regex: simplify Gnulib port
548 This simplifies the code, by removing stuff intended for porting
549 to Gnulib but no longer needed there.
550 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
551 uses of libc_hidden_def, weak_alias.
552 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
553 _Restrict_ except for public-facing headers.
554 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
555 Remove; already defined elsewhere.
556 * posix/regex.c, posix/regex_internal.h:
557 Use __GNUC_PREREQ instead of rolling our own.
558 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
560 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
562 * benchtests/bench-strlen.c (generic_strlen): New function.
563 (memchr_strlen): New function.
565 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
567 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
568 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
569 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
571 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
573 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
575 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
577 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
578 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
579 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
580 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
581 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
582 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
583 <sysdeps/ieee754/flt-32/s_sincosf.c>.
585 2018-12-21 Joseph Myers <joseph@codesourcery.com>
588 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
589 PLT reference in libc.so.
590 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
591 _Q_lltoq and _Q_qtod PLT references in libc.so.
593 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
595 * benchtests/bench-memchr.c: Cleanup defines.
596 * benchtests/bench-memcmp.c: Likewise.
597 * benchtests/bench-memset.c: Likewise.
598 * benchtests/bench-memset-large.c: Likewise.
599 * benchtests/bench-memset-walk.c: Likewise.
600 * benchtests/bench-stpcpy.c: Likewise.
601 * benchtests/bench-stpncpy.c: Likewise.
602 * benchtests/bench-strcat.c: Likewise.
603 * benchtests/bench-strchr.c: Likewise.
604 * benchtests/bench-strcmp.c: Likewise.
605 * benchtests/bench-strcpy.c: Likewise.
606 * benchtests/bench-strcspn.c: Likewise.
607 * benchtests/bench-string.h: Likewise.
608 * benchtests/bench-strlen.c: Likewise.
609 * benchtests/bench-strncat.c: Likewise.
610 * benchtests/bench-strncmp.c: Likewise.
611 * benchtests/bench-strncpy.c: Likewise.
612 * benchtests/bench-strnlen.c: Likewise.
613 * benchtests/bench-strpbrk.c: Likewise.
614 * benchtests/bench-strrchr.c: Likewise.
615 * benchtests/bench-strspn.c: Likewise.
617 2018-12-21 Joseph Myers <joseph@codesourcery.com>
619 * stdlib/longlong.h: Update from GCC.
622 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
623 * configure: Regenerated.
624 * manual/install.texi (Tools for Compilation): Update minimum GCC
626 * INSTALL: Regenerated.
628 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
630 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
632 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
634 * malloc/malloc.c (mremap_chunk): Additional checks.
636 2018-12-21 Mao Han <han_mao@c-sky.com>
638 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
639 * scripts/build-many-glibcs.py: Add C-SKY targets.
640 * sysdeps/csky/Implies: New file.
641 * sysdeps/csky/Makefile: Likewise.
642 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
643 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
644 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
645 * sysdeps/csky/abiv2/memcmp.S: Likewise.
646 * sysdeps/csky/abiv2/memcpy.S: Likewise.
647 * sysdeps/csky/abiv2/memmove.S: Likewise.
648 * sysdeps/csky/abiv2/memset.S: Likewise.
649 * sysdeps/csky/abiv2/setjmp.S: Likewise.
650 * sysdeps/csky/abiv2/start.S: Likewise.
651 * sysdeps/csky/abiv2/strcmp.S: Likewise.
652 * sysdeps/csky/abiv2/strcpy.S: Likewise.
653 * sysdeps/csky/abiv2/strlen.S: Likewise.
654 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
655 * sysdeps/csky/abort-instr.h: Likewise.
656 * sysdeps/csky/atomic-machine.h: Likewise.
657 * sysdeps/csky/bits/endian.h: Likewise.
658 * sysdeps/csky/bits/fenv.h: Likewise.
659 * sysdeps/csky/bits/link.h: Likewise.
660 * sysdeps/csky/bits/setjmp.h: Likewise.
661 * sysdeps/csky/bsd-_setjmp.S: Likewise.
662 * sysdeps/csky/bsd-setjmp.S: Likewise.
663 * sysdeps/csky/configure: Likewise.
664 * sysdeps/csky/configure.ac: Likewise.
665 * sysdeps/csky/dl-machine.h: Likewise.
666 * sysdeps/csky/dl-procinfo.c: Likewise.
667 * sysdeps/csky/dl-procinfo.h: Likewise.
668 * sysdeps/csky/dl-sysdep.h: Likewise.
669 * sysdeps/csky/dl-tls.h: Likewise.
670 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
671 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
672 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
673 * sysdeps/csky/fpu/fegetenv.c: Likewise.
674 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
675 * sysdeps/csky/fpu/fegetmode.c: Likewise.
676 * sysdeps/csky/fpu/fegetround.c: Likewise.
677 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
678 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
679 * sysdeps/csky/fpu/fenv_private.h: Likewise.
680 * sysdeps/csky/fpu/fesetenv.c: Likewise.
681 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
682 * sysdeps/csky/fpu/fesetmode.c: Likewise.
683 * sysdeps/csky/fpu/fesetround.c: Likewise.
684 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
685 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
686 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
687 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
688 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
689 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
690 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
691 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
692 * sysdeps/csky/fpu_control.h: Likewise.
693 * sysdeps/csky/gccframe.h: Likewise.
694 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
695 * sysdeps/csky/ldsodefs.h: Likewise.
696 * sysdeps/csky/libc-tls.c: Likewise.
697 * sysdeps/csky/linkmap.h: Likewise.
698 * sysdeps/csky/machine-gmon.h: Likewise.
699 * sysdeps/csky/memusage.h: Likewise.
700 * sysdeps/csky/nofpu/Implies: Likewise.
701 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
702 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
703 * sysdeps/csky/nptl/Makefile: Likewise.
704 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
705 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
706 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
707 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
708 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
709 * sysdeps/csky/nptl/tls.h: Likewise.
710 * sysdeps/csky/preconfigure: Likewise.
711 * sysdeps/csky/sfp-machine.h: Likewise.
712 * sysdeps/csky/sotruss-lib.c: Likewise.
713 * sysdeps/csky/stackinfo.h: Likewise.
714 * sysdeps/csky/sysdep.h: Likewise.
715 * sysdeps/csky/tininess.h: Likewise.
716 * sysdeps/csky/tst-audit.h: Likewise.
717 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
718 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
719 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
720 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
721 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
722 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
723 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
724 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
725 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
726 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
727 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
728 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
729 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
730 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
731 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
732 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
733 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
734 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
735 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
736 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
737 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
738 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
739 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
740 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
741 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
742 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
743 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
744 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
745 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
746 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
747 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
748 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
749 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
750 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
751 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
752 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
753 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
754 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
755 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
756 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
757 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
758 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
759 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
760 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
762 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
764 * include/time.h (__difftime64): Add.
765 * time/difftime.c (subtract): convert to 64-bit time.
766 * time/difftime.c (__difftime64): Add.
767 * time/difftime.c (__difftime): Wrap around __difftime64.
769 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
771 * manual/examples/add.c: Remove redundant "if not".
772 * manual/examples/argp-ex1.c: Likewise.
773 * manual/examples/argp-ex2.c: Likewise.
774 * manual/examples/argp-ex3.c: Likewise.
775 * manual/examples/argp-ex4.c: Likewise.
776 * manual/examples/atexit.c: Likewise.
777 * manual/examples/db.c: Likewise.
778 * manual/examples/dir.c: Likewise.
779 * manual/examples/dir2.c: Likewise.
780 * manual/examples/execinfo.c: Likewise.
781 * manual/examples/filecli.c: Likewise.
782 * manual/examples/filesrv.c: Likewise.
783 * manual/examples/fmtmsgexpl.c: Likewise.
784 * manual/examples/genpass.c: Likewise.
785 * manual/examples/inetcli.c: Likewise.
786 * manual/examples/inetsrv.c: Likewise.
787 * manual/examples/isockad.c: Likewise.
788 * manual/examples/longopt.c: Likewise.
789 * manual/examples/memopen.c: Likewise.
790 * manual/examples/memstrm.c: Likewise.
791 * manual/examples/mkdirent.c: Likewise.
792 * manual/examples/mkfsock.c: Likewise.
793 * manual/examples/mkisock.c: Likewise.
794 * manual/examples/mygetpass.c: Likewise.
795 * manual/examples/pipe.c: Likewise.
796 * manual/examples/popen.c: Likewise.
797 * manual/examples/rprintf.c: Likewise.
798 * manual/examples/search.c: Likewise.
799 * manual/examples/select.c: Likewise.
800 * manual/examples/setjmp.c: Likewise.
801 * manual/examples/sigh1.c: Likewise.
802 * manual/examples/sigusr.c: Likewise.
803 * manual/examples/stpcpy.c: Likewise.
804 * manual/examples/strdupa.c: Likewise.
805 * manual/examples/strftim.c: Likewise.
806 * manual/examples/subopt.c: Likewise.
807 * manual/examples/swapcontext.c: Likewise.
808 * manual/examples/termios.c: Likewise.
809 * manual/examples/testopt.c: Likewise.
810 * manual/examples/testpass.c: Likewise.
811 * manual/examples/timeval_subtract.c: Likewise.
813 2018-12-19 Joseph Myers <joseph@codesourcery.com>
815 * sysdeps/x86/fpu/math_private.h: New file.
816 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
818 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
823 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
825 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
826 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
827 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
828 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
830 (_dl_show_auxv): Give a special treatment to
831 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
832 and AT_L3_CACHEGEOMETRY.
833 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
834 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
835 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
836 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
838 2018-12-19 Andreas Schwab <schwab@suse.de>
840 * nscd/connections.c (check_use): Don't abort on invalid len.
842 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
844 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
845 values in the 64bit value cases.
847 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
853 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
859 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
865 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
871 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
874 (__localtime64_r): Add.
876 (__localtime64_r): Add.
877 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
879 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
881 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
882 kernel_sigction definition.
884 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
886 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
888 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
889 __syscall_rt_sigaction.
890 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
891 (kernel_sigaction): Use Linux generic defintion.
893 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
894 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
895 (__syscall_rt_sigaction): Remove implementation.
896 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
898 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
899 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
900 INTERNAL_SYSCALL): Remove definitions.
901 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
902 action and signal set size.
903 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
904 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
906 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
907 James Clarke <jrtc27@jrtc27.com>
910 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
911 Define if SA_RESTORER is defined.
912 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
913 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
915 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
916 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
918 (HAS_SA_RESTORER): Define.
919 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
920 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
921 (HAS_SA_RESTORER): Define.
922 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
923 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
924 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
925 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
926 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
928 2018-12-18 Joseph Myers <joseph@codesourcery.com>
930 * sysdeps/unix/sysv/linux/kernel-features.h
931 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
932 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
933 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
934 * sysdeps/unix/sysv/linux/sh/kernel-features.h
935 (__ASSUME_ST_INO_64_BIT): Likewise.
936 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
938 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
939 Remove conditional code.
940 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
942 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
943 Remove conditional code.
944 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
946 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
947 Remove conditional code.
948 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
950 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
951 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
955 * sysdeps/s390/multiarch/ifunc-resolve.h
956 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
957 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
958 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
959 Delete macro definition.
960 (s390_libc_ifunc_init): Rename to
961 s390_libc_ifunc_expr_stfle_init.
962 * sysdeps/s390/bzero: Use
963 s390_libc_ifunc_expr_stfle_init instead of
964 s390_libc_ifunc_init.
965 * sysdeps/s390/memcmp.c: Likewise.
966 * sysdeps/s390/memcpy.c: Likewise.
967 * sysdeps/s390/mempcpy.c: Likewise.
968 * sysdeps/s390/memset.c: Likewise.
970 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
972 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
973 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
977 * sysdeps/s390/multiarch/Makefile
978 (sysdep_routines): Remove wmemcmp variants.
979 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
980 * sysdeps/s390/multiarch/ifunc-impl-list.c
981 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
982 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
983 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
984 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
985 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
986 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
987 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
988 * sysdeps/s390/ifunc-wmemcmp.h: New file.
990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
992 * sysdeps/s390/multiarch/Makefile
993 (sysdep_routines): Remove wmemset variants.
994 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
995 * sysdeps/s390/multiarch/ifunc-impl-list.c
996 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
997 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
998 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
999 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1000 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1001 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1002 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1003 * sysdeps/s390/ifunc-wmemset.h: New file.
1005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1007 * sysdeps/s390/multiarch/Makefile
1008 (sysdep_routines): Remove wmemchr variants.
1009 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1010 * sysdeps/s390/multiarch/ifunc-impl-list.c
1011 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1012 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1013 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1014 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1015 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1016 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1017 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1018 * sysdeps/s390/ifunc-wmemchr.h: New file.
1020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1022 * sysdeps/s390/multiarch/Makefile
1023 (sysdep_routines): Remove wcscspn variants.
1024 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1025 * sysdeps/s390/multiarch/ifunc-impl-list.c
1026 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1027 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1028 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1029 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1030 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1031 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1032 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1033 * sysdeps/s390/ifunc-wcscspn.h: New file.
1035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1037 * sysdeps/s390/multiarch/Makefile
1038 (sysdep_routines): Remove wcspbrk variants.
1039 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1040 * sysdeps/s390/multiarch/ifunc-impl-list.c
1041 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1042 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1043 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1044 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1045 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1046 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1047 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1048 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1052 * sysdeps/s390/multiarch/Makefile
1053 (sysdep_routines): Remove wcsspn variants.
1054 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1055 * sysdeps/s390/multiarch/ifunc-impl-list.c
1056 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1057 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1058 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1059 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1060 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1061 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1062 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1063 * sysdeps/s390/ifunc-wcsspn.h: New file.
1065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1067 * sysdeps/s390/multiarch/Makefile
1068 (sysdep_routines): Remove wcsrchr variants.
1069 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1070 * sysdeps/s390/multiarch/ifunc-impl-list.c
1071 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1072 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1073 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1074 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1075 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1076 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1077 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1078 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1082 * sysdeps/s390/multiarch/Makefile
1083 (sysdep_routines): Remove wcschrnul variants.
1084 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1085 * sysdeps/s390/multiarch/ifunc-impl-list.c
1086 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1087 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1088 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1089 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1090 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1091 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1092 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1093 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1097 * sysdeps/s390/multiarch/Makefile
1098 (sysdep_routines): Remove wcschr variants.
1099 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1100 * sysdeps/s390/multiarch/ifunc-impl-list.c
1101 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1102 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1103 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1104 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1105 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1106 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1107 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1108 * sysdeps/s390/ifunc-wcschr.h: New file.
1110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1112 * sysdeps/s390/multiarch/Makefile
1113 (sysdep_routines): Remove wcsncmp variants.
1114 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1115 * sysdeps/s390/multiarch/ifunc-impl-list.c
1116 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1117 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1118 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1119 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1120 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1121 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1122 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1123 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1127 * sysdeps/s390/multiarch/Makefile
1128 (sysdep_routines): Remove wcscmp variants.
1129 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1130 * sysdeps/s390/multiarch/ifunc-impl-list.c
1131 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1132 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1133 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1134 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1135 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1136 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1137 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1138 * sysdeps/s390/ifunc-wcscmp.h: New file.
1140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1142 * sysdeps/s390/multiarch/Makefile
1143 (sysdep_routines): Remove wcsncat variants.
1144 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1145 * sysdeps/s390/multiarch/ifunc-impl-list.c
1146 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1147 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1148 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1149 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1150 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1151 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1152 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1153 * sysdeps/s390/ifunc-wcsncat.h: New file.
1155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1157 * sysdeps/s390/multiarch/Makefile
1158 (sysdep_routines): Remove wcscat variants.
1159 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1160 * sysdeps/s390/multiarch/ifunc-impl-list.c
1161 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1162 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1163 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1164 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1165 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1166 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1167 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1168 * sysdeps/s390/ifunc-wcscat.h: New file.
1170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1172 * sysdeps/s390/multiarch/Makefile
1173 (sysdep_routines): Remove wcpncpy variants.
1174 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1175 * sysdeps/s390/multiarch/ifunc-impl-list.c
1176 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1177 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1178 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1179 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1180 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1181 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1182 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1183 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1185 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1187 * sysdeps/s390/multiarch/Makefile
1188 (sysdep_routines): Remove wcsncpy variants.
1189 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1190 * sysdeps/s390/multiarch/ifunc-impl-list.c
1191 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1192 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1193 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1194 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1195 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1196 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1197 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1198 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1200 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1202 * sysdeps/s390/multiarch/Makefile
1203 (sysdep_routines): Remove wcpcpy variants.
1204 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1205 * sysdeps/s390/multiarch/ifunc-impl-list.c
1206 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1207 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1208 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1209 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1210 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1211 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1212 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1213 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1217 * sysdeps/s390/multiarch/Makefile
1218 (sysdep_routines): Remove wcscpy variants.
1219 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1220 * sysdeps/s390/multiarch/ifunc-impl-list.c
1221 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1222 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1223 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1224 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1225 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1226 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1227 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1228 * sysdeps/s390/ifunc-wcscpy.h: New file.
1230 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1232 * sysdeps/s390/multiarch/Makefile
1233 (sysdep_routines): Remove wcsnlen variants.
1234 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1235 * sysdeps/s390/multiarch/ifunc-impl-list.c
1236 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1237 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1238 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1239 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1240 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1241 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1242 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1243 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1247 * sysdeps/s390/multiarch/Makefile
1248 (sysdep_routines): Remove wcslen variants.
1249 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1250 * sysdeps/s390/multiarch/ifunc-impl-list.c
1251 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1252 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1253 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1254 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1255 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1256 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1257 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1258 * sysdeps/s390/ifunc-wcslen.h: New file.
1260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1262 * sysdeps/s390/multiarch/Makefile
1263 (sysdep_routines): Remove memrchr variants.
1264 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1265 * sysdeps/s390/multiarch/ifunc-impl-list.c
1266 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1267 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1268 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1269 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1270 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1271 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1272 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1273 * sysdeps/s390/ifunc-memrchr.h: New file.
1275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1277 * sysdeps/s390/multiarch/Makefile
1278 (sysdep_routines): Remove memccpy variants.
1279 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1280 * sysdeps/s390/multiarch/ifunc-impl-list.c
1281 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1282 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1283 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1284 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1285 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1286 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1287 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1288 * sysdeps/s390/ifunc-memccpy.h: New file.
1290 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1292 * sysdeps/s390/multiarch/Makefile
1293 (sysdep_routines): Remove rawmemchr variants.
1294 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1295 * sysdeps/s390/multiarch/ifunc-impl-list.c
1296 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1297 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1298 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1299 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1300 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1301 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1302 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1303 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1307 * sysdeps/s390/multiarch/Makefile
1308 (sysdep_routines): Remove memchr variants.
1309 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1310 * sysdeps/s390/multiarch/ifunc-impl-list.c
1311 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1312 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1313 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1314 * sysdeps/s390/multiarch/memchr.c: Move to ...
1315 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1316 * sysdeps/s390/ifunc-memchr.h: New file.
1317 * sysdeps/s390/s390-64/memchr.S: Move to ...
1318 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1319 for 31/64bit and ifunc handling.
1320 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1321 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1322 * sysdeps/s390/s390-32/memchr.S: Likewise.
1324 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1326 * sysdeps/s390/multiarch/Makefile
1327 (sysdep_routines): Remove strcspn variants.
1328 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1329 * sysdeps/s390/multiarch/ifunc-impl-list.c
1330 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1331 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1332 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1333 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1334 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1335 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1336 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1337 * sysdeps/s390/ifunc-strcspn.h: New file.
1339 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1341 * sysdeps/s390/multiarch/Makefile
1342 (sysdep_routines): Remove strpbrk variants.
1343 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1344 * sysdeps/s390/multiarch/ifunc-impl-list.c
1345 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1346 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1347 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1348 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1349 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1350 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1351 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1352 * sysdeps/s390/ifunc-strpbrk.h: New file.
1354 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1356 * sysdeps/s390/multiarch/Makefile
1357 (sysdep_routines): Remove strspn variants.
1358 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1359 * sysdeps/s390/multiarch/ifunc-impl-list.c
1360 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1361 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1362 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1363 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
1364 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
1365 * sysdeps/s390/multiarch/strspn.c: Move to ...
1366 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
1367 * sysdeps/s390/ifunc-strspn.h: New file.
1369 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1371 * sysdeps/s390/multiarch/Makefile
1372 (sysdep_routines): Remove strrchr variants.
1373 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
1374 * sysdeps/s390/multiarch/ifunc-impl-list.c
1375 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
1376 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
1377 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
1378 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
1379 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
1380 * sysdeps/s390/multiarch/strrchr.c: Move to ...
1381 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
1382 * sysdeps/s390/ifunc-strrchr.h: New file.
1384 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1386 * sysdeps/s390/multiarch/Makefile
1387 (sysdep_routines): Remove strchrnul variants.
1388 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
1389 * sysdeps/s390/multiarch/ifunc-impl-list.c
1390 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
1391 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
1392 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
1393 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
1394 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
1395 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
1396 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
1397 * sysdeps/s390/ifunc-strchrnul.h: New file.
1399 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1401 * sysdeps/s390/multiarch/Makefile
1402 (sysdep_routines): Remove strchr variants.
1403 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
1404 * sysdeps/s390/multiarch/ifunc-impl-list.c
1405 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
1406 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
1407 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
1408 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
1409 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
1410 * sysdeps/s390/multiarch/strchr.c: Move to ...
1411 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
1412 * sysdeps/s390/ifunc-strchr.h: New file.
1414 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1416 * sysdeps/s390/multiarch/Makefile
1417 (sysdep_routines): Remove strncmp variants.
1418 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
1419 * sysdeps/s390/multiarch/ifunc-impl-list.c
1420 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
1421 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
1422 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
1423 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
1424 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
1425 * sysdeps/s390/multiarch/strncmp.c: Move to ...
1426 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
1427 * sysdeps/s390/ifunc-strncmp.h: New file.
1429 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1431 * sysdeps/s390/multiarch/Makefile
1432 (sysdep_routines): Remove strcmp variants.
1433 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
1434 * sysdeps/s390/multiarch/ifunc-impl-list.c
1435 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
1436 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
1437 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
1438 * sysdeps/s390/multiarch/strcmp.c: Move to ...
1439 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
1440 * sysdeps/s390/ifunc-strcmp.h: New file.
1441 * sysdeps/s390/s390-64/strcmp.S: Move to ...
1442 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
1443 for 31/64bit and ifunc handling.
1444 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
1445 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1446 * sysdeps/s390/s390-32/strcmp.S: Likewise.
1448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1450 * sysdeps/s390/multiarch/Makefile
1451 (sysdep_routines): Remove strncat variants.
1452 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
1453 * sysdeps/s390/multiarch/ifunc-impl-list.c
1454 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
1455 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
1456 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
1457 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
1458 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
1459 * sysdeps/s390/multiarch/strncat.c: Move to ...
1460 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
1461 * sysdeps/s390/ifunc-strncat.h: New file.
1463 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1465 * sysdeps/s390/multiarch/Makefile
1466 (sysdep_routines): Remove strcat variants.
1467 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
1468 * sysdeps/s390/multiarch/ifunc-impl-list.c
1469 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
1470 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
1471 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
1472 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
1473 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
1474 * sysdeps/s390/multiarch/strcat.c: Move to ...
1475 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
1476 * sysdeps/s390/ifunc-strcat.h: New file.
1478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1480 * sysdeps/s390/multiarch/Makefile
1481 (sysdep_routines): Remove stpncpy variants.
1482 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
1483 * sysdeps/s390/multiarch/ifunc-impl-list.c
1484 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
1485 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
1486 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
1487 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
1488 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
1489 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
1490 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
1491 * sysdeps/s390/ifunc-stpncpy.h: New file.
1493 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1495 * sysdeps/s390/multiarch/Makefile
1496 (sysdep_routines): Remove strncpy variants.
1497 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
1498 * sysdeps/s390/multiarch/ifunc-impl-list.c
1499 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
1500 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
1501 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
1502 * sysdeps/s390/multiarch/strncpy.c: Move to ...
1503 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
1504 * sysdeps/s390/ifunc-strncpy.h: New file.
1505 * sysdeps/s390/s390-64/strncpy.S: Move to ...
1506 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
1507 and adjust ifunc handling.
1508 * sysdeps/s390/s390-32/strncpy.S: Move to ...
1509 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
1510 and adjust ifunc handling.
1511 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
1512 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1514 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1516 * sysdeps/s390/multiarch/Makefile
1517 (sysdep_routines): Remove stpcpy variants.
1518 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
1519 * sysdeps/s390/multiarch/ifunc-impl-list.c
1520 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
1521 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
1522 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
1523 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
1524 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
1525 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
1526 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
1527 * sysdeps/s390/ifunc-stpcpy.h: New file.
1529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1531 * sysdeps/s390/multiarch/Makefile
1532 (sysdep_routines): Remove strcpy variants.
1533 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
1534 * sysdeps/s390/multiarch/ifunc-impl-list.c
1535 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
1536 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
1537 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
1538 * sysdeps/s390/multiarch/strcpy.c: Move to ...
1539 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
1540 * sysdeps/s390/ifunc-strcpy.h: New file.
1541 * sysdeps/s390/s390-64/strcpy.S: Move to ...
1542 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
1543 for 31/64bit and ifunc handling.
1544 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
1545 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1546 * sysdeps/s390/s390-32/strcpy.S: Likewise.
1548 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1550 * sysdeps/s390/multiarch/Makefile
1551 (sysdep_routines): Remove strnlen variants.
1552 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
1553 * sysdeps/s390/multiarch/ifunc-impl-list.c
1554 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
1555 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
1556 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
1557 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
1558 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
1559 * sysdeps/s390/multiarch/strnlen.c: Move to ...
1560 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
1561 * sysdeps/s390/ifunc-strnlen.h: New file.
1563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1565 * sysdeps/s390/multiarch/Makefile
1566 (sysdep_routines): Remove strlen variants.
1567 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
1568 * sysdeps/s390/multiarch/ifunc-impl-list.c
1569 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
1570 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
1571 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
1572 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
1573 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
1574 * sysdeps/s390/multiarch/strlen.c: Move to ...
1575 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
1576 * sysdeps/s390/ifunc-strlen.h: New file.
1578 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1580 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
1581 * sysdeps/s390/multiarch/ifunc-impl-list.c
1582 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
1583 * sysdeps/s390/ifunc-memmem.h: New file.
1584 * sysdeps/s390/memmem.c: Likewise.
1585 * sysdeps/s390/memmem-c.c: Likewise.
1586 * sysdeps/s390/memmem-vx.c: Likewise.
1588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1590 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
1591 * sysdeps/s390/multiarch/ifunc-impl-list.c
1592 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
1593 * sysdeps/s390/ifunc-strstr.h: New file.
1594 * sysdeps/s390/strstr.c: Likewise.
1595 * sysdeps/s390/strstr-c.c: Likewise.
1596 * sysdeps/s390/strstr-vx.c: Likewise.
1598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1600 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
1601 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
1602 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
1603 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
1605 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
1606 * sysdeps/s390/memmove-c.c: New file.
1607 * sysdeps/s390/memmove.c: Likewise.
1608 * sysdeps/s390/multiarch/ifunc-impl-list.c
1609 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
1611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1613 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
1614 * sysdeps/s390/configure.ac: Add check for z13 support.
1615 * sysdeps/s390/configure: Regenerated.
1617 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1619 * sysdeps/s390/memcopy.h: New file.
1621 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1623 * sysdeps/s390/s390-32/bcopy.S: Remove.
1624 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1628 * sysdeps/s390/ifunc-memcpy.h: New File.
1629 * sysdeps/s390/memcpy.S: Move to ...
1630 * sysdeps/s390/memcpy-z900.S ... here.
1631 Move implementations from memcpy-s390x.s to here.
1632 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
1633 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1634 Remove memcpy/mempcpy variants.
1635 * sysdeps/s390/Makefile (sysdep_routines):
1636 Add memcpy/mempcpy variants.
1637 * sysdeps/s390/multiarch/ifunc-impl-list.c
1638 (__libc_ifunc_impl_list): Adjust ifunc variants for
1640 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
1642 * sysdeps/s390/memcpy.c: ... here.
1643 Adjust ifunc variants for memcpy.
1644 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
1645 * sysdeps/s390/mempcpy.c: ... here.
1646 Adjust ifunc variants for mempcpy.
1647 * sysdeps/s390/mempcpy.S: Delete file.
1649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1651 * sysdeps/s390/s390-64/memcpy.S: Move to ...
1652 * sysdeps/s390/memcpy.S: ... here.
1653 Adjust to be usable for 31/64bit.
1654 * sysdeps/s390/s390-32/memcpy.S: Delete File.
1655 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
1656 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
1657 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1658 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
1659 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
1660 Adjust to be usable for 31/64bit.
1661 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
1662 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
1663 * sysdeps/s390/multiarch/memcpy.c: ... here.
1664 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
1666 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1668 * sysdeps/s390/ifunc-memcmp.h: New File.
1669 * sysdeps/s390/memcmp.S: Move to ...
1670 * sysdeps/s390/memcmp-z900.S ... here.
1671 Move implementations from memcmp-s390x.s to here.
1672 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
1673 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1674 Remove memcmp variants.
1675 * sysdeps/s390/Makefile (sysdep_routines):
1676 Add memcmp variants.
1677 * sysdeps/s390/multiarch/ifunc-impl-list.c
1678 (__libc_ifunc_impl_list): Adjust ifunc variants for
1680 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
1682 * sysdeps/s390/memcmp.c: ... here.
1683 Adjust ifunc variants for memcmp.
1685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1687 * sysdeps/s390/s390-64/memcmp.S: Move to ...
1688 * sysdeps/s390/memcmp.S: ... here.
1689 Adjust to be usable for 31/64bit.
1690 * sysdeps/s390/s390-32/memcmp.S: Delete File.
1691 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
1692 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1694 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1695 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
1696 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
1697 Adjust to be usable for 31/64bit.
1698 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
1699 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
1700 * sysdeps/s390/multiarch/memcmp.c: ... here.
1701 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
1703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1705 * sysdeps/s390/s390-32/bzero.S: Delete file.
1706 * sysdeps/s390/s390-64/bzero.S: Likewise.
1707 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
1708 * sysdeps/s390/bzero.c: New file.
1709 * sysdeps/s390/memset-z900.S: Add bzero entry points.
1710 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
1711 * sysdeps/s390/multiarch/ifunc-impl-list.c
1712 (__libc_ifunc_impl_list): Add bzero ifunc variants.
1714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1716 * sysdeps/s390/ifunc-memset.h: New File.
1717 * sysdeps/s390/memset.S: Move to ...
1718 * sysdeps/s390/memset-z900.S ... here.
1719 Move implementations from memset-s390x.s to here.
1720 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
1721 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1722 Remove memset variants.
1723 * sysdeps/s390/Makefile (sysdep_routines):
1724 Add memset variants.
1725 * sysdeps/s390/multiarch/ifunc-impl-list.c
1726 (__libc_ifunc_impl_list): Adjust ifunc variants for
1728 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
1730 * sysdeps/s390/memset.c: ... here.
1731 Adjust ifunc variants for memset.
1733 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1735 * sysdeps/s390/s390-64/memset.S: Move to ...
1736 * sysdeps/s390/memset.S: ... here.
1737 Adjust to be usable for 31/64bit.
1738 * sysdeps/s390/s390-32/memset.S: Delete File.
1739 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
1740 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1742 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1743 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
1744 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
1745 Adjust to be usable for 31/64bit.
1746 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
1747 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
1748 * sysdeps/s390/multiarch/memset.c: ... here.
1749 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
1751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1753 * sysdeps/s390/multiarch/ifunc-resolve.h
1754 (s390_libc_ifunc_init, s390_libc_ifunc,
1755 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
1757 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1759 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
1760 * sysdeps/s390/configure.ac: Add check for z10 support.
1761 * sysdeps/s390/configure: Regenerated.
1763 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
1765 * sysdeps/i386/atomic-machine.h: Merged with ...
1766 * sysdeps/x86_64/atomic-machine.h: To ...
1767 * sysdeps/x86/atomic-machine.h: This. New file.
1769 2018-12-18 Florian Weimer <fweimer@redhat.com>
1771 Rewrite locale/gen-translit.pl in Python.
1772 * locale/Makefile (generated): Add C-translit.h.
1773 (before-compile): Add $(objpfx)C-translit.h.
1774 (C-translit.h): Move to $(objpfx). Create target directory.
1775 Build using Python script.
1776 * locale/gen-translit.py: New file.
1777 * locale/gen-translit.pl: Remove file.
1778 * locale/C-translit.h.in: Change comment character to '#' for
1779 easier parsing without a C preprocessor.
1780 * locale/C-translit.h: Remove generated file.
1781 * manual/install.texi (Tools for Compilation): Do not mention
1783 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1784 Remove locale/C-translit.h.
1785 * scripts/update-copyrights: Likewise.
1786 * INSTALL: Regenerate.
1788 2018-12-18 Florian Weimer <fweimer@redhat.com>
1791 * localedata/locales/bi_VU: Remove executable bit from file.
1793 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
1796 (__localtime64): Add.
1797 * manual/maint.texi: Document Y2038 symbol handling.
1799 (__localtime64): Add.
1800 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
1802 2018-12-17 Joseph Myers <joseph@codesourcery.com>
1804 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
1807 * scripts/glibcextract.py (compare_macro_consts): Take parameters
1808 to allow extra macros from first or second sources.
1809 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
1810 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1811 (tests-special): Add $(objpfx)tst-mman-consts.out.
1812 ($(objpfx)tst-mman-consts.out): New makefile target.
1814 2018-12-17 Mao Han <han_mao@c-sky.com>
1816 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
1817 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
1818 without stat64 system call support.
1819 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
1820 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
1821 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1822 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
1823 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
1824 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
1825 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
1826 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
1827 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
1828 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
1829 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
1831 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
1833 regex: fix storage-exhaustion error
1835 * posix/regexec.c (get_subexp):
1836 Do not continue if storage is exhausted.
1838 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
1840 regex: fix heap-use-after-free error
1842 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
1843 https://debbugs.gnu.org/32592
1844 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
1845 call extend_buffers which reallocates the re_string_t internal buffer.
1846 Local variable 'buf' was not updated in such case, resulting in
1848 * posix/regexec.c (get_subexp): Update 'buf' after call to
1851 2018-12-15 Florian Weimer <fweimer@redhat.com>
1853 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
1854 (minimum_stride_size): Use it.
1855 (support_blob_repeat_allocate): Likewise.
1857 2018-12-14 Joseph Myers <joseph@codesourcery.com>
1859 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
1864 2018-12-14 Florian Weimer <fweimer@redhat.com>
1866 * manual/process.texi (Process Creation Concepts): Remove
1867 documentation of process (ID) lifetime. List more process
1868 creation functions. Reference Process Identification section.
1869 (Process Identification): Add information about process ID
1870 lifetime. Describe Linux thread/task IDs.
1871 * manual/signal.texi (Signaling Another Process): Mention that the
1872 signal is always sent to the process.
1874 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1876 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
1877 and tst-ldbl-efgcvt.
1878 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
1879 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
1880 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
1881 (fcvt_tests, output_error, output_r_error, do_test): Use the
1882 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
1883 select the type of floating-point variables and arguments; to
1884 produce extra tests for double and conversion specifiers for
1885 printf; and to set the names of called functions.
1886 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
1887 in tst-efgcvt-template.c.
1888 * misc/tst-ldbl-efgcvt.c: Likewise.
1890 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
1892 * nss/Makefile (tst-nss-test3.out): New rule.
1894 2018-12-13 Joseph Myers <joseph@codesourcery.com>
1896 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
1899 2018-12-13 fanjinke <fanjinke@hygon.cn>
1901 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
1904 2018-12-13 Andreas Schwab <schwab@suse.de>
1907 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
1908 (__pthread_rwlock_rdlock_full): Update expected value for
1909 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
1910 * nptl/tst-rwlock-pwn.c: New file.
1911 * nptl/Makefile (tests): Add tst-rwlock-pwn.
1913 2018-12-12 Joseph Myers <joseph@codesourcery.com>
1915 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
1918 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1920 * benchtests/scripts/compare_bench.py (do_compare): write to
1921 stderr in casestat is not present.
1922 * benchtests/scripts/compare_bench.py (plot_graphs): write to
1923 stderr in case timings field is not present. Also string showing
1924 the output filename goes into the stderr.
1926 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1928 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
1929 and ZeroDivisorError exceptions.
1930 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
1931 argument to loop through user provided statistics.
1932 * benchtests/scripts/compare_bench.py (main): Include the --stats
1935 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1937 * benchtests/scripts/compare_bench.py (compare_runs): Continue
1940 2018-12-12 Florian Weimer <fweimer@redhat.com>
1942 * sysdeps/posix/timespec_get.c: Add missing “any later version”
1943 clause to copyright header.
1945 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1948 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
1949 registers saved in the stack frame.
1950 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
1951 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
1953 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1955 * include/bits/monetary-ldbl.h: New file.
1956 * include/bits/printf-ldbl.h: Likewise.
1957 * include/bits/stdio-ldbl.h: Likewise.
1958 * include/bits/stdlib-ldbl.h: Likewise.
1959 * include/bits/syslog-ldbl.h: Likewise.
1960 * include/bits/wchar-ldbl.h: Likewise.
1962 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1964 * libio/libio.h: Remove redirection for _IO_vfprintf.
1966 2018-12-11 Andreas Schwab <schwab@suse.de>
1968 * Makerules: Remove all references to abilist-pattern.
1969 (update-all-abi): Simplify find expression.
1971 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1974 * math/auto-libm-test-in: Add new test case.
1975 * math/auto-libm-test-out-pow: Regenerated.
1976 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
1978 2018-12-10 DJ Delorie <dj@redhat.com>
1981 * support/test-container.c: Move postclean step to before we
1984 2018-12-10 Joseph Myers <joseph@codesourcery.com>
1986 * scripts/gen-as-const.py (main): Handle --python option.
1987 * scripts/gen-py-const.awk: Remove.
1988 * Makerules (py-const-script): Use gen-as-const.py.
1989 ($(py-const)): Likewise.
1990 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
1991 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
1992 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
1993 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
1994 ~PTHREAD_MUTEX_NO_ELISION_NP.
1995 * manual/README.pretty-printers: Update reference to
1998 * scripts/glibcextract.py: New file.
1999 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2000 or tempfile. Import glibcexctract.
2001 (compute_c_consts): Remove. Moved to glibcextract.py.
2002 (gen_test): Update reference to compute_c_consts.
2004 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2005 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2006 * sysdeps/unix/sysv/linux/Makefile
2007 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2008 Redirect stderr as well as stdout.
2010 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2013 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2014 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2015 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2016 ALWAYS_USE_VSYSCALL.
2017 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2018 ALWAYS_USE_VSYSCALL.
2019 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2020 ALWAYS_USE_VSYSCALL.
2022 2018-12-10 Florian Weimer <fweimer@redhat.com>
2025 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2026 offset instead of count for clarity. Fix typo in comment.
2027 (__old_getdents64): Keep track of previous offset. Use it to call
2029 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2030 that d_off is never zero.
2032 2018-12-10 Andreas Schwab <schwab@suse.de>
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2035 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2037 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2038 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2040 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2042 * timezone/private.h: Update from tzcode 2018g.
2043 * timezone/tzfile.h: Likewise.
2044 * timezone/tzselect.ksh: Likewise.
2045 * timezone/zdump.c: Likewise.
2046 * timezone/zic.c: Likewise.
2048 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2051 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2052 (do_test): Adjust buffer size and fix format.
2054 2018-12-07 DJ Delorie <dj@redhat.com>
2057 * malloc/tst-tcfree3.c: New.
2058 * malloc/Makefile: Add it.
2060 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2062 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2064 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2066 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2067 used as a mask for the mode argument of __vfscanf_internal and
2068 __vfwscanf_internal.
2069 * stdio-common/vfscanf-internal.c
2070 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2071 (__strtof128_internal): Define to __wcstof128_internal.
2072 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2073 __strtof128_internal or __wcstof128_internal when the format of
2074 long double is the same as _Float128.
2076 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2078 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2079 * posix/confstr.c (confstr): Rename to __confstr.
2080 (__confstr): Add hidden def.
2081 (confstr): Add weak alias for __confstr.
2082 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2085 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2087 * NEWS: Mention getcpu.
2088 * include/sched.h (__getcpu): New libc_hidden_proto.
2089 * manual/resource.texi: Document getcpu.
2090 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2091 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2092 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2093 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2094 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2095 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2096 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2097 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2098 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2099 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2100 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2101 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2102 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2104 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2106 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2115 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2118 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2119 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2120 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2121 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2122 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2123 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2124 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2125 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2128 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2130 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2132 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2134 2018-12-07 Florian Weimer <fweimer@redhat.com>
2137 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2138 * posix/Versions (GLIBC_2.29): Export
2139 posix_spawn_file_actions_addfchdir_np.
2140 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2141 * posix/spawn_faction_destroy.c
2142 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2143 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2144 and the field action.fchdir_action.
2145 * posix/tst-spawn-chdir.c (add_chdir): New function.
2146 (do_test): Add do_fchdir loop. Call add_chdir.
2147 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2148 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2149 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2150 posix_spawn_file_actions_addfchdir_np.
2151 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2153 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2155 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2156 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2158 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2160 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2162 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2164 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2166 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2168 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2169 (GLIBC_2.29): Likewise.
2170 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2171 (GLIBC_2.29): Likewise.
2172 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2173 (GLIBC_2.29): Likewise.
2174 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2175 (GLIBC_2.29): Likewise.
2176 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2179 (GLIBC_2.29): Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2181 (GLIBC_2.29): Likewise.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2183 (GLIBC_2.29): Likewise.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2185 (GLIBC_2.29): Likewise.
2186 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2188 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2190 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2192 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2193 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2195 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2197 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2199 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2202 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2204 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2205 trailing whitespace removed.
2206 * scripts/config.guess: Update to version 2018-11-28.
2207 * scripts/config.sub: Update to version 2018-11-28.
2208 * scripts/install-sh: Update to version 2018-03-11.20.
2209 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2210 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2212 2018-12-07 Florian Weimer <fweimer@redhat.com>
2216 * inet/tst-if_index-long.c: New file.
2217 * inet/Makefile (tests): Add tst-if_index-long.
2219 2018-12-07 Florian Weimer <fweimer@redhat.com>
2221 * support/check.h (support_record_failure_is_failed): Declare.
2222 * support/descriptors.h: New file.
2223 * support/support_descriptors.c: Likewise.
2224 * support/tst-support_descriptors.c: Likewise.
2225 * support/support_record_failure.c
2226 (support_record_failure_is_failed): New function.
2227 * support/Makefile (libsupport-routines): Add support_descriptors.
2228 (tests): Add tst-support_descriptors.
2230 2018-12-05 Zack Weinberg <zackw@panix.com>
2231 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2233 * stdio-common/vfprintf-internal.c
2234 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2235 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2237 and __no_long_double.
2238 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2239 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2240 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2241 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2242 and __nldbl_*syslog* functions.
2243 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2244 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2245 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2246 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2247 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2248 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2249 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2250 (__nldbl_vwprintf, __nldbl_wprintf):
2251 Directly call the appropriate __v*printf_internal routine, passing
2252 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2254 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2255 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2256 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2257 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2258 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2259 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2260 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2261 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2262 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2263 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2264 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2265 (__nldbl_syslog, __nldbl_vsyslog):
2266 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2267 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2269 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2272 2018-12-05 Zack Weinberg <zackw@panix.com>
2273 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2276 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2277 Moved here from debug/vsprintf_chk.c.
2278 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2279 and completion logic for the strfile to match exactly what
2280 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2281 _IO_str_init_static_internal instead of maxlen-1.
2282 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2283 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2284 __vsprintf_internal.
2286 * debug/vsprintf_chk.c (__vsprintf_chk)
2287 * debug/sprintf_chk.c (__sprintf_chk):
2288 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2289 'flags' argument is positive, and slen as maxlen. No need to lock
2290 the FILE and/or construct a temporary FILE. Minimize and normalize
2291 header inclusions and variable names. Do not libc_hidden_def anything.
2293 * debug/asprintf_chk.c (__asprintf_chk)
2294 * debug/dprintf_chk.c (__dprintf_chk)
2295 * debug/fprintf_chk.c (__fprintf_chk)
2296 * debug/fwprintf_chk.c (__fwprintf_chk)
2297 * debug/printf_chk.c (__printf_chk)
2298 * debug/snprintf_chk.c (__snprintf_chk)
2299 * debug/swprintf_chk.c (__swprintf_chk)
2300 * debug/vasprintf_chk.c (__vasprintf_chk)
2301 * debug/vdprintf_chk.c (__vdprintf_chk)
2302 * debug/vfprintf_chk.c (__vfprintf_chk)
2303 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2304 * debug/vprintf_chk.c (__vprintf_chk)
2305 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2306 * debug/vswprintf_chk.c (__vswprintf_chk)
2307 * debug/vwprintf_chk.c (__vwprintf_chk)
2308 * debug/wprintf_chk.c (__wprintf_chk):
2309 Directly call the corresponding vxxprintf_internal function, passing
2310 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2311 the FILE and/or construct a temporary FILE. Minimize and normalize
2312 header inclusions and variable names. Do not libc_hidden_def anything.
2314 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2315 __obstack_vprintf_internal.
2316 (__obstack_vprintf_chk): Convert into a wrapper that calls
2317 __obstack_vprintf_internal (these two functions already had the
2318 same code) and move to new file...
2319 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2321 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2322 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2323 * debug/Makefile (routines): Add vobprintf_chk.
2325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2326 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2327 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2328 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2329 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2330 (__nldbl___obstack_vfprintf_chk):
2331 Directly call the corresponding vxxprintf_internal function,
2332 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2333 duplicate comparison of slen with 0 or maxlen from the corresponding
2334 non-__nldbl function.
2336 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2337 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2338 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2339 Remove libc_hidden_proto.
2341 * stdio-common/vfprintf-internal.c
2342 (__vfprintf_internal, __vfwprintf_internal):
2343 Do not check _IO_FLAGS2_FORTIFY.
2344 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2345 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2346 a comment explaining why it has the maxlen argument.
2347 (_IO_acquire_lock_clear_flags2_fct): Remove.
2348 (_IO_acquire_lock_clear_flags2): Remove.
2349 (_IO_release_lock): Remove conditional statement which will
2351 (_IO_acquire_lock): Remove variable which is now unused.
2352 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2353 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2355 * stdio-common/Makefile (tests): Add tst-bz11319 and
2356 tst-bz11319-fortify2.
2357 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2358 * stdio-common/tst-bz11319-fortify2.c: New file.
2359 * stdio-common/tst-bz11319.c: Likewise.
2361 2018-12-05 Zack Weinberg <zackw@panix.com>
2362 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2364 * misc/syslog.c: Include libioP.h, not iolibio.h.
2365 (__vsyslog_internal): New function with the former body of
2366 __vsyslog_chk; takes mode_flags argument same as
2367 __v*printf_internal. Call __vfprintf_internal directly.
2369 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
2370 Remove libc_hidden_def.
2371 (__syslog, __syslog_chk): Use __vsyslog_internal.
2372 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
2374 * include/sys/syslog.h: Add multiple inclusion guard.
2375 Add prototype for __vsyslog_internal.
2376 Remove declaration and libc_hidden_proto for __vsyslog_chk.
2378 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
2379 Use __vsyslog_internal.
2381 2018-12-05 Zack Weinberg <zackw@panix.com>
2382 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2384 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
2385 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
2386 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
2388 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
2389 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
2391 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
2392 Include wctype.h here if COMPILE_WPRINTF is defined.
2393 Define __vfprintf_internal or __vfwprintf_internal, depending
2395 Temporarily, on entry to this function, update mode_flags
2396 according to the environmental settings corresponding to
2397 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
2398 Throughout, check mode_flags instead of __ldbl_is_dbl and
2399 _IO_FLAGS2_FORTIFY on the destination FILE.
2400 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
2401 Include vfprintf-internal.c. Don't include wctype.h.
2402 * stdio-common/vfprintf.c: New file. Just define __vfprintf
2403 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
2405 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
2406 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
2408 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
2410 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
2411 and add mode_flags argument; use __vfprintf_internal.
2412 (__vdprintf): New function. Alias vdprintf to this.
2413 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
2414 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
2415 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
2416 (__obstack_printf): Use __obstack_printf_internal.
2417 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
2418 public aliases __vsnprintf and vsnprintf.
2419 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
2421 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
2422 public aliases _IO_vsprintf and vsprintf.
2423 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
2424 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
2425 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
2426 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
2427 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
2429 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
2430 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
2431 * stdio-common/fprintf.c, stdio-common/fxprintf.c
2432 * stdio-common/printf.c: Use __vfprintf_internal.
2434 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
2435 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
2436 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
2438 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
2439 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
2440 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
2441 __vfwprintf_internal.
2443 * libio/libio.h: Remove libc_hidden_proto and declaration for
2445 Remove declaration of _IO_vfwprintf.
2446 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
2448 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
2450 * include/stdio.h: Add prototype for __vasprintf.
2451 (__vsnprintf): Remove declaration, because there are no more
2453 * include/wchar.h (__vfwprintf, __vswprintf): Remove
2454 declaration, because there are no more internal calls.
2456 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
2457 __vsnprintf_internal, instead of _IO_vsnprintf.
2458 * argp/argp-help.c (__argp_error, __argp_failure): Use
2459 __vasprintf_internal, instead of _IO_vasprintf.
2460 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
2461 redefine, because there are no more internal calls.
2463 2018-12-05 Zack Weinberg <zackw@panix.com>
2464 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2466 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
2467 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
2468 Include libio/strfile.h instead of libioP.h.
2469 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
2470 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
2471 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
2472 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
2473 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
2474 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
2475 necessary. Do not set __no_long_double. Normalize variable names.
2476 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
2477 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
2478 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
2479 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
2480 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
2481 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
2482 Call __vfscanf_internal / __vfwscanf_internal directly, passing
2483 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
2484 Do not set __no_long_double. Normalize variable names.
2486 2018-12-05 Zack Weinberg <zackw@panix.com>
2487 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2489 * stdio-common/isoc99_scanf.c
2490 * stdio-common/isoc99_fscanf.c
2491 * stdio-common/isoc99_sscanf.c
2492 * stdio-common/isoc99_vscanf.c
2493 * stdio-common/isoc99_vfscanf.c
2494 * stdio-common/isoc99_vsscanf.c
2495 * wcsmbs/isoc99_wscanf.c
2496 * wcsmbs/isoc99_fwscanf.c
2497 * wcsmbs/isoc99_swscanf.c
2498 * wcsmbs/isoc99_vwscanf.c
2499 * wcsmbs/isoc99_vfwscanf.c
2500 * wcsmbs/isoc99_vswscanf.c:
2501 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
2502 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
2503 No need to lock and unlock the FILE passed to that function.
2505 * stdio-common/vfscanf-internal.c
2506 (__vfscanf_internal, __vfwscanf_internal):
2507 Don't look at _IO_FLAGS2_SCANF_STD.
2508 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
2509 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
2510 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
2512 2018-12-05 Zack Weinberg <zackw@panix.com>
2513 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2515 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
2516 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
2517 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
2518 * libio/strfile.h: Add multiple inclusion guard.
2519 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
2521 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
2522 consistency with the other version of this file.
2523 (ldbl_compat_symbol): New macro.
2524 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
2527 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
2528 Define __vfscanf_internal or __vfwscanf_internal, depending on
2529 COMPILE_WSCANF; don't define any other public symbols.
2530 Remove errval and code to set errp.
2531 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
2532 as the mode_flags argument.
2533 (encode_error, conv_error, input_error): Don't set errval.
2534 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
2535 Include vfscanf-internal.c.
2536 * stdio-common/vfscanf.c: New file defining the public entry
2537 point vfscanf, which calls __vfscanf_internal.
2538 * stdio-common/vfwscanf.c: New file defining the public entry
2539 point vfwscanf, which calls __vfwscanf_internal.
2541 * stdio-common/iovfscanf.c: New file.
2542 * stdio-common/iovfwscanf.c: Likewise.
2544 * stdio-common/Makefile (routines): Add vfscanf-internal,
2545 vfwscanf-internal, iovfscanf, iovfwscanf.
2546 * stdio-common/Versions: Mention GLIBC_2.29, so that
2547 it can be used in SHLIB_COMPAT expressions.
2548 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
2549 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
2550 Call __vfscanf_internal, instead of _IO_vfscanf.
2551 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
2553 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
2556 * libio/iovsscanf.c: Clean up includes, when possible. Use
2557 _IO_strfile_read or _IO_strfile_readw, when needed. Call
2558 __vfscanf_internal or __vfwscanf_internal directly.
2559 * libio/iovswscanf.c: Likewise.
2560 * libio/swscanf.c: Likewise.
2561 * libio/vscanf.c: Likewise.
2562 * libio/vwscanf.c: Likewise.
2563 * libio/wscanf.c: Likewise.
2564 * stdio-common/isoc99_fscanf.c: Likewise.
2565 * stdio-common/isoc99_scanf.c: Likewise.
2566 * stdio-common/isoc99_sscanf.c: Likewise.
2567 * stdio-common/isoc99_vfscanf.c: Likewise.
2568 * stdio-common/isoc99_vscanf.c: Likewise.
2569 * stdio-common/isoc99_vsscanf.c: Likewise.
2570 * stdio-common/scanf.c: Likewise.
2571 * stdio-common/sscanf.c: Likewise.
2572 * wcsmbs/isoc99_fwscanf.c: Likewise.
2573 * wcsmbs/isoc99_swscanf.c: Likewise.
2574 * wcsmbs/isoc99_vfwscanf.c: Likewise.
2575 * wcsmbs/isoc99_vswscanf.c: Likewise.
2576 * wcsmbs/isoc99_vwscanf.c: Likewise.
2577 * wcsmbs/isoc99_wscanf.c: Likewise.
2579 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
2582 (__tz_compute): Replace time_t with __time64_t.
2583 (__tz_convert): Replace time_t* with __time64_t.
2584 (__offtime): Replace time_t* with __time64_t.
2586 (__gmtime_r): Adjust call to __tz_convert.
2589 (__localtime_r): Likewise.
2590 (localtime): Likewise.
2591 * time/offtime.c: Replace time_t with __time64_t.
2592 * time/tzset.c: Likewise.
2594 2018-12-04 Joseph Myers <joseph@codesourcery.com>
2596 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
2597 dynamic linker unless [$(run-built-tests) = yes].
2599 2018-12-03 DJ Delorie <dj@delorie.com>
2601 * support/test-container.c (check_for_unshare_hints): New.
2602 (main): Call it if unshare fails. Add support for "su" scriptlet
2605 2018-12-03 Joseph Myers <joseph@codesourcery.com>
2607 * scripts/gen-as-const.py (compute_c_consts): Take an argument
2608 'START' to indicate that start text should be output.
2609 (gen_test): Likewise.
2610 (main): Generate 'START' for first symbol or '--' line, or at end
2611 of input if not previously generated.
2613 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
2616 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
2617 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
2618 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
2619 ALWAYS_USE_VSYSCALL.
2621 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2624 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
2627 2018-12-03 Carlos O'Donell <carlos@redhat.com>
2630 * locale/programs/localedef.c: Declare boolean hard_links default true.
2631 (options): Add --no-hard-links option.
2632 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
2633 * locale/programs/localedef.h: Declare prototype for hard_links.
2634 * locale/programs/locfile.c (write_locale_data): Don't use hard
2635 links if hard_links is false.
2637 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
2639 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
2641 (__cache_sysconf): Likewise.
2642 (init_cacheinfo): Likewise.
2643 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
2644 populate COMMON_CPUID_INDEX_80000007 and
2645 COMMON_CPUID_INDEX_80000008.
2646 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
2647 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
2648 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
2649 (init_cpu_features): Use _Static_assert on
2650 index_arch_Fast_Unaligned_Load.
2651 __get_cpuid_registers and __get_arch_feature. Updated for
2652 cpu_features_basic. Set stepping in cpu_features.
2653 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
2654 (FEATURE_INDEX_2): New.
2655 (FEATURE_INDEX_MAX): Changed to enum.
2656 (COMMON_CPUID_INDEX_D_ECX_1): New.
2657 (COMMON_CPUID_INDEX_80000007): Likewise.
2658 (COMMON_CPUID_INDEX_80000008): Likewise.
2659 (cpuid_registers): Likewise.
2660 (cpu_features_basic): Likewise.
2661 (CPU_FEATURE_USABLE): Likewise.
2662 (bit_arch_XXX_Usable): Likewise.
2663 (cpu_features): Use cpuid_registers and cpu_features_basic.
2664 (bit_arch_XXX): Reweritten.
2665 (bit_cpu_XXX): Likewise.
2666 (index_cpu_XXX): Likewise.
2667 (reg_XXX): Likewise.
2668 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
2670 (CHECK_CPU_FEATURE): New.
2671 (CHECK_CPU_FEATURE_USABLE): Likewise.
2672 (cpu_kinds): Likewise.
2673 (do_test): Print vendor, family, model and stepping. Check
2674 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
2675 (TEST_FUNCTION): Removed.
2676 Include <support/test-driver.c> instead of
2677 "../../test-skeleton.c".
2678 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
2679 Check POPCNT instead of POPCOUNT.
2680 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
2682 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2684 * scripts/gen-as-const.py (main): Avoid emitting empty line when
2685 there is no element in `consts'.
2687 2018-12-01 Florian Weimer <fweimer@redhat.com>
2689 * support/support_capture_subprocess.c
2690 (support_capture_subprocess): Check that pipe descriptors have
2691 expected values. Close original pipe descriptors in subprocess.
2693 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2696 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
2697 attr with __pthread_default_barrierattr.
2698 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
2699 attr with __pthread_default_condattr.
2700 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
2701 attr with __pthread_default_mutexattr.
2702 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
2703 attr with __pthread_default_rwlockattr.
2705 2018-12-01 Kemi Wang <kemi.wang@intel.com>
2707 * manual/tunables.texi (POSIX Thread Tunables): New node.
2708 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
2709 * nptl/nptl-init.c: Include pthread_mutex_conf.h
2710 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
2711 __pthread_tunables_init.
2712 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
2713 (max_adaptive_count): Define.
2714 * nptl/pthread_mutex_conf.c: New file.
2715 * nptl/pthread_mutex_conf.h: New file.
2716 * sysdeps/generic/adaptive_spin_count.h: New file.
2717 * sysdeps/nptl/dl-tunables.list: New file.
2718 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2719 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
2720 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
2723 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2726 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
2727 * stdlib/on_exit.c (__on_exit): Likewise.
2728 * stdlib/Makefile (tests): Add tst-bz20544.
2729 * stdlib/tst-bz20544.c: New test.
2731 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
2734 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
2735 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2738 2018-11-30 Florian Weimer <fweimer@redhat.com>
2740 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
2741 Extend error logging.
2742 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
2745 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2747 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
2748 __sigismember instead of sigismember.
2749 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
2750 cancel_handler): New definitions.
2751 (do_system): Use posix_spawn instead of fork and execl and remove
2753 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
2754 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
2755 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
2756 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2757 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2758 * sysdeps/unix/sysv/linux/system.c: Likewise.
2762 * NEWS: Add new semantic for atfork with popen and system.
2763 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
2766 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2769 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
2770 modification order when accessing reloc_result->addr.
2771 * include/link.h (reloc_result): Add field init.
2772 * nptl/Makefile (tests): Add tst-audit-threads.
2773 (modules-names): Add tst-audit-threads-mod1 and
2774 tst-audit-threads-mod2.
2775 Add rules to build tst-audit-threads.
2776 * nptl/tst-audit-threads-mod1.c: New file.
2777 * nptl/tst-audit-threads-mod2.c: Likewise.
2778 * nptl/tst-audit-threads.c: Likewise.
2779 * nptl/tst-audit-threads.h: Likewise.
2781 2018-11-30 Joseph Myers <joseph@codesourcery.com>
2783 * scripts/gen-as-const.py: New file.
2784 * scripts/gen-as-const.awk: Remove.
2785 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
2787 ($(objpfx)test-as-const-%.c): Likewise.
2789 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2791 * elf/dl-exception.c: Include <_itoa.h>.
2793 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2795 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
2796 returned by __f_setlk.
2798 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2799 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2801 * elf/Makefile (tests-internal): Add tst-create_format1.
2802 * elf/dl-exception.c (_dl_exception_create_format): Support
2804 * elf/tst-create_format1.c: New file.
2806 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
2808 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
2809 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
2811 * argp/argp-help.c (__argp_failure): Likewise.
2813 2018-11-29 Mao Han <han_mao@c-sky.com>
2815 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
2816 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
2817 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
2818 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
2819 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
2820 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
2821 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
2822 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
2823 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
2824 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
2825 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
2826 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
2827 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
2828 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
2829 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
2830 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
2831 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
2832 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
2833 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
2834 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
2835 (R_CKCORE_TLS_TPOFF32): New defines.
2837 2018-11-29 Florian Weimer <fweimer@redhat.com>
2839 * posix/Makefile (before-compile): Remove testcases.h and
2841 (generated): Add testcases.h and ptestcases.h.
2842 (testcases.h, ptestcases.h): Move to $(objpfx).
2843 (runtests.o): Add dependency on testcases.h.
2844 (runptests.o): Add dependency on ptestcases.h.
2845 * posix/testcases.h, posix/ptestcases.h: Remove files.
2846 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
2847 not touch posix/testcases.h and posix/ptestcases.h.
2849 2018-11-28 Florian Weimer <fweimer@redhat.com>
2851 support: Add signal support to support_capture_subprocess_check.
2852 * support/capture_subprocess.h (support_capture_subprocess_check):
2853 Adjust comment and rename parameter.
2854 * support/support_capture_subprocess_check.c
2855 (print_actual_status): New function.
2856 (support_capture_subprocess_check): Support negative
2857 status_or_signal. Call print_actual_status.
2858 * support/tst-support_capture_subprocess.c (do_test): Call
2859 support_capture_subprocess_check.
2860 * libio/tst-vtables-common.c (termination_status)
2861 (init_termination_status): Remove.
2862 (check_for_termination): Adjust support_capture_subprocess_check
2864 (do_test): Remove call to init_termination_status.
2866 2018-11-28 Joseph Myers <joseph@codesourcery.com>
2868 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
2869 source directory instead of a copy.
2870 (CommandList.create_copy_dir): Remove.
2872 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
2874 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2876 2018-11-28 Florian Weimer <fweimer@redhat.com>
2878 * support/support.h (support_quote_string): Do not use str
2881 2018-11-27 Joseph Myers <joseph@codesourcery.com>
2883 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2884 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
2886 2018-11-27 Florian Weimer <fweimer@redhat.com>
2888 * support/support.h (support_quote_string): Declare.
2889 * support/support_quote_string.c: New file.
2890 * support/tst-support_quote_string.c: Likewise.
2891 * support/Makefile (libsupport-routines): Add
2892 support_quote_string.
2893 (tests): Add tst-support_quote_string.
2895 2018-11-27 Florian Weimer <fweimer@redhat.com>
2899 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
2900 descriptor leak in case of ENODEV error.
2902 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
2905 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
2906 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
2907 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
2909 2018-11-26 Carlos O'Donell <carlos@redhat.com>
2911 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
2912 Error for unknown lines.
2914 2018-11-26 Joseph Myers <joseph@codesourcery.com>
2916 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2917 Touch additional files.
2919 2018-11-26 Florian Weimer <fweimer@redhat.com>
2922 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
2925 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
2928 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
2929 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
2930 SHARED. Include sysdep.h.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
2932 ALWAYS_USE_VSYSCALL.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
2934 ALWAYS_USE_VSYSCALL.
2936 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
2939 * nptl/Makefile (tests-static): Add tst-cond11-static.
2941 * nptl/tst-cond11-static.c: New File.
2942 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
2943 tst-affinity-static.
2945 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
2947 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
2948 (USE_VSYSCALL): Likewise.
2949 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
2950 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
2952 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
2954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2957 2018-11-23 Joseph Myers <joseph@codesourcery.com>
2960 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2961 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2964 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
2966 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
2967 (tst-cet-legacy-1a-ARGS): New.
2968 ($(objpfx)tst-cet-legacy-1a): New target.
2969 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
2971 2018-11-22 Joseph Myers <joseph@codesourcery.com>
2973 * conform/conformtest.py (CompileSubTest.__init__): Set
2974 self.run_early to False.
2975 (ExecuteSubTest.__init__): Likewise.
2976 (HeaderTests.run): Try running all non-optional, non-XFAILed
2977 compilation tests in a single execution of the compiler.
2979 * conform/conformtest.py (CompileSubTest): New class.
2980 (ExecuteSubTest): Likewise.
2981 (ElementTest.run): Rename to gen_subtests. Append tests to
2982 self.subtests instead of running them.
2983 (ConstantTest.run): Likewise.
2984 (SymbolTest.run): Likewise.
2985 (TypeTest.run): Likewise.
2986 (TagTest.run): Likewise.
2987 (FunctionTest.run): Likewise.
2988 (VariableTest.run): Likewise.
2989 (MacroFunctionTest.run): Likewise.
2990 (MacroStrTest.run): Likewise.
2991 (HeaderTests.handle_test_line): Generate subtests for tests.
2992 (HeaderTests.run): Run subtests for tests.
2994 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2996 * math/Versions (GLIBC_2.29): Add pow.
2997 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
2999 * math/w_pow.c: New file.
3000 * sysdeps/i386/fpu/w_pow.c: New file.
3001 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3003 and add necessary aliases.
3004 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3005 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3006 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3007 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3008 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3009 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3010 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3011 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3012 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3013 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3014 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3015 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3016 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3017 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3018 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3023 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3024 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3025 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3026 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3027 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3030 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3032 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3033 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3034 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3036 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3038 * math/Versions (GLIBC_2.29): Add log2.
3039 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3041 * math/w_log2.c: New file.
3042 * sysdeps/i386/fpu/w_log2.c: New file.
3043 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3044 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3045 and add necessary aliases.
3046 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3047 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3048 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3049 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3050 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3051 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3052 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3053 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3054 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3055 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3056 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3057 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3058 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3059 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3060 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3065 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3066 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3067 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3068 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3069 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3070 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3071 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3073 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3075 * math/Versions (GLIBC_2.29): Add log.
3076 * math/w_log_compat.c (__log_compat): Change to versioned compat
3078 * math/w_log.c: New file.
3079 * sysdeps/i386/fpu/w_log.c: New file.
3080 * sysdeps/ia64/fpu/e_log.S: Update.
3081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3082 and add necessary aliases.
3083 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3084 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3085 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3086 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3087 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3089 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3090 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3091 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3092 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3093 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3094 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3095 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3096 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3097 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3102 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3103 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3104 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3105 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3106 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3107 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3108 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3109 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3111 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3112 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3113 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3114 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3116 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3118 * math/Versions (GLIBC_2.29): Add exp and exp2.
3119 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3120 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3121 * math/w_exp_compat.c (__exp_compat): Likewise.
3122 * math/w_exp.c: New file.
3123 * math/w_exp2.c: New file.
3124 * sysdeps/i386/fpu/w_exp.c: New file.
3125 * sysdeps/i386/fpu/w_exp2.c: New file.
3126 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3127 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3128 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3129 and add necessary aliases.
3130 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3131 and add necessary aliases.
3132 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3133 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3134 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3135 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3136 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3137 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3138 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3139 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3140 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3141 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3142 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3143 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3144 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3145 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3147 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3148 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3153 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3154 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3155 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3156 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3157 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3158 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3159 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3160 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3161 (__ieee754_exp): Rename to __exp.
3162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3163 (__ieee754_exp): Rename to __exp.
3164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3165 (__ieee754_exp): Rename to __exp.
3166 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3168 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3170 2018-11-20 DJ Delorie <dj@redhat.com>
3172 * malloc/malloc.c (tcache_entry): Add key field.
3173 (tcache_put): Set it.
3174 (tcache_get): Likewise.
3175 (_int_free): Check for double free in tcache.
3176 * malloc/tst-tcfree1.c: New.
3177 * malloc/tst-tcfree2.c: New.
3178 * malloc/Makefile: Run the new tests.
3179 * manual/probes.texi: Document memory_tcache_double_free probe.
3181 * dlfcn/dlerror.c (check_free): Prevent double frees.
3183 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3185 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3187 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3189 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3190 in tests. Use names for format arguments.
3191 (ConstantTest.run): Likewise.
3192 (SymbolTest.run): Likewise.
3193 (TypeTest.run): Likewise.
3194 (TagTest.run): Likewise.
3195 (FunctionTest.run): Likewise.
3196 (VariableTest.run): Likewise.
3197 (MacroFunctionTest.run): Likewise.
3198 (MacroStrTest.run): Likewise.
3199 (HeaderTests.__init__): Set self.num_tests.
3200 (HeaderTests.handle_test_line): Set test.num. Increment
3203 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3205 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3206 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3209 2018-11-19 Mao Han <han_mao@c-sky.com>
3211 * scripts/config.guess: Update to version 2018-08-29.
3212 * scripts/config.sub: Update to version 2018-08-29.
3214 2018-11-19 Florian Weimer <fweimer@redhat.com>
3216 support: Print timestamps in timeout handler.
3217 * support/support_test_main.c (print_timestamp): New function.
3218 (signal_handler): Use it to print the termination time and the
3219 time of the last write to standard output.
3221 2018-11-16 Zack Weinberg <zackw@panix.com>
3222 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3224 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3225 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3227 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3228 and add flags argument. Check flags instead of __ldbl_is_dbl when
3229 deciding whether to set is_long_double.
3230 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3231 passing zero for flags argument.
3232 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3234 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3235 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3236 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3237 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3238 variable names. Remove libc_hidden_def/libc_hidden_proto from
3239 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3240 longer called from within the library.
3241 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3242 for __nldbl___vstrfmon_l, declare it explicitly.
3244 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3246 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3248 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3250 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3251 F_SETLK64, F_SETLKW64, respectively.
3252 * sysdeps/mach/hurd/f_setlk.c: New file.
3253 * sysdeps/mach/hurd/f_setlk.h: New file.
3254 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3256 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3257 (__libc_fcntl): Move non-flock operations to...
3258 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3259 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3261 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3263 mktime: DEBUG_MKTIME cleanup
3264 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3265 And it’s no longer needed now that glibc and Gnulib both have
3266 their own testing mechanisms for mktime.
3267 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3269 mktime: fix non-EOVERFLOW errno handling
3271 mktime was not properly reporting failures when the underlying
3272 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3273 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3274 The problem could happen on non-glibc platforms, with Gnulib.
3275 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3276 (tm_diff): ... this simpler function, which does not change errno.
3277 All callers changed to deal with errno themselves.
3278 (ranged_convert, __mktime_internal): Return failure immediately if
3279 the underlying function reports any failure other than EOVERFLOW.
3280 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3283 mktime: fix bug with Y2038 DST transition
3285 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3286 mishandle a DST transition that jumps over the Y2038 boundary.
3287 No such DST transitions are known so this is only a theoretical
3288 bug, but we might as well do things right.
3290 mktime: make more room for overflow
3292 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3293 This is so that we can add tm_diff results to a previous guess,
3294 which will be useful in a later patch.
3296 mktime: simplify offset guess
3298 * time/mktime.c (__mktime_internal): Omit excess precision.
3300 mktime: new test for mktime failure
3302 Based on a test suggested by Albert Aribaud in:
3303 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3304 * time/Makefile (tests): Add bug-mktime4.
3305 * time/bug-mktime4.c: New file.
3307 mktime: fix EOVERFLOW bug
3309 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3310 Include libc-config.h, not config.h, for __set_errno.
3311 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3313 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3315 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3316 __attribute_copy__ to copy attributes from name. Drop static qualifier
3317 to avoid warnings about leaf attribute not having effect on static
3320 2018-11-13 Florian Weimer <fweimer@redhat.com>
3322 * malloc/malloc.c (fastbin_push_entry): New function.
3323 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3324 (REMOVE_FB): Remove macro.
3325 (_int_malloc): Use fastbin_pop_entry and reindent.
3326 (_int_free): Use fastbin_push_entry.
3327 (malloc_consolidate): Use atomic_exchange_acquire.
3329 2018-11-13 Joseph Myers <joseph@codesourcery.com>
3331 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3332 alias attribute, not with strong_alias.
3334 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3335 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3336 with additional parameter thread.
3337 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3338 in terms of __hidden_ver2.
3339 (hidden_tls_def): New macro.
3340 (libc_hidden_tls_def): Likewise.
3341 (rtld_hidden_tls_def): Likewise.
3342 (libm_hidden_tls_def): Likewise.
3343 (libmvec_hidden_tls_def): Likewise.
3344 (libresolv_hidden_tls_def): Likewise.
3345 (librt_hidden_tls_def): Likewise.
3346 (libdl_hidden_tls_def): Likewise.
3347 (libnss_files_hidden_tls_def): Likewise.
3348 (libnsl_hidden_tls_def): Likewise.
3349 (libnss_nisplus_hidden_tls_def): Likewise.
3350 (libutil_hidden_tls_def): Likewise.
3351 (libutil_hidden_tls_def): Likweise.
3352 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3353 libc_hidden_tls_def.
3354 (__sim_disabled_exceptions_thread): Likewise.
3355 (__sim_round_mode_thread): Likewise.
3357 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3358 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3359 copy attributes from name.
3361 2018-11-12 Joseph Myers <joseph@codesourcery.com>
3363 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
3364 Use __attribute_copy__ to copy attributes from name.
3366 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
3367 with __hidden_ver1 call.
3368 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
3369 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
3370 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
3371 (__cosf): Do not declare here.
3372 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
3373 (__sincosf): Do not declare here.
3374 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
3375 (__sinf): Do not declare here.
3377 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
3378 (__BIG_ENDIAN): Likewise.
3379 (__BYTE_ORDER): Likewise.
3380 (strong_alias): Likewise.
3381 (_strong_alias): Likewise.
3383 2018-11-12 Florian Weimer <fweimer@redhat.com>
3385 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
3386 function. Move after the definition of in_smallbin_range. Do not
3387 use __builtin_expect for paths that lead to a noreturn function.
3388 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
3389 because it is unclear whether this is in fact an unlikely
3391 (_int_malloc, _int_free): Adjust.
3392 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
3394 * malloc/arena.c (heap_trim): Likewise.
3396 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3398 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
3399 it, free it if needed.
3400 (reauthenticate): Test and use ccwdir.
3401 (child_init_port): In non-resetids case, test and use ccwdir.
3402 (child_chdir): New nested function to set ccwdir.
3403 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
3404 * hurd/hurd/port.h (_hurd_port_move): New function.
3405 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
3406 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
3407 * hurd/Versions (_hurd_port_move): Export function.
3408 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
3410 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
3411 of dtablesize for allocating dtable_cloexec.
3413 2018-11-09 Martin Sebor <msebor@redhat.com>
3415 * include/libc-symbols.h (__attribute_copy__): Define macro unless
3416 it's already defined.
3417 (_strong_alias): Use __attribute_copy__.
3418 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
3419 * misc/sys/cdefs.h (__attribute_copy__): New macro.
3420 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
3421 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
3422 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
3423 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
3424 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
3425 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
3426 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
3427 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
3428 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
3429 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
3430 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
3431 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
3432 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
3433 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
3434 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
3435 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
3436 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
3438 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3440 * misc/tst-efgcvt.c: Include support/check.h and
3441 support/test-driver.c. Do not include test-skeleton.c.
3442 (error_count): Remove.
3443 (output_error): Replace increments to error_count with calls to
3444 support_record_failure.
3445 (output_r_error): Likewise.
3446 (special): Likewise.
3447 (do_test): Unconditionally return zero.
3448 (TEST_FUNCTION): Remove.
3450 2018-11-09 Joseph Myers <joseph@codesourcery.com>
3452 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
3454 ($(linknamespace-header-tests)): Likewise.
3456 * conform/conformtest.py: New file.
3457 * conform/conformtest.pl: Remove.
3458 * conform/GlibcConform.pm: Likewise.
3459 * conform/glibcconform.py (KEYWORDS_C90): New constant.
3460 (KEYWORDS_C99): Likewise.
3461 (KEYWORDS): Likewise.
3462 * conform/Makefile ($(conformtest-header-tests)): Use
3463 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
3464 option. Use --header instead of --headers.
3465 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
3467 * conform/data/spawn.h-data: Likewise.
3468 * conform/data/fcntl.h-data (openat): Add space after function
3470 * conform/data/wchar.h-data (wcscasecmp): Likewise.
3471 (wcscasecmp_l): Likewise.
3472 * conform/data/termios.h-data (c_cc): Add space after element
3475 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3477 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
3478 instead of manually comparing and reporting mismatching strings.
3479 * misc/tst-ldbl-error.c (do_one_test): Likewise.
3480 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3482 2018-11-08 Joseph Myers <joseph@codesourcery.com>
3484 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
3485 __ASSUME_SOCKETCALL.
3486 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3487 (__ASSUME_SOCKETCALL): Remove.
3488 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3489 (__ASSUME_SOCKETCALL): Likewise.
3490 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3491 (__ASSUME_SOCKETCALL): Likewise.
3492 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3493 (__ASSUME_SOCKETCALL): Likewise.
3494 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3495 (__ASSUME_SOCKETCALL): Likewise.
3496 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3497 (__ASSUME_SOCKETCALL): Likewise.
3498 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3499 (__ASSUME_SOCKETCALL): Likewise.
3501 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
3504 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
3505 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
3506 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
3507 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
3508 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
3511 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
3514 * resolv/tst-resolv-network.c: Add test for getnetbyname.
3516 2018-11-07 Joseph Myers <joseph@codesourcery.com>
3519 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3520 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3522 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3524 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3526 * support/support_test_compare_string.c
3527 (support_test_compare_string): Fix printf format.
3529 2018-11-07 Florian Weimer <fweimer@redhat.com>
3531 Implement TEST_COMPARE_STRING.
3532 * support/check.h (TEST_COMPARE_STRING): Define.
3533 (support_test_compare_string): Declare.
3534 * support/Makefile (libsupport-routines): Add
3535 support_test_compare_string.
3536 (tests): Add tst-test_compare_string.
3537 * support/support_test_compare_string.c: New file.
3538 * support/tst-test_compare_string.c: Likewise.
3540 2018-11-07 Andreas Schwab <schwab@suse.de>
3543 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
3544 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
3547 2018-11-06 Joseph Myers <joseph@codesourcery.com>
3550 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3551 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
3552 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
3553 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3556 2018-11-06 Florian Weimer <fweimer@redhat.com>
3559 * posix/Makefile (routines): Add spawn_faction_addchdir.
3560 (tests): Add tst-spawn-chdir.
3561 * posix/Versions (GLIBC_2.29): Add
3562 posix_spawn_file_actions_addchdir_np.
3563 * posix/spawn_faction_addchdir.c: New file.
3564 * posix/spawn_faction_destroy.c
3565 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
3566 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
3567 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
3569 * posix/tst-spawn-chdir.c: New file.
3570 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
3571 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3572 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3573 posix_spawn_file_actions_addchdir_np.
3574 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3576 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3578 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3579 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3581 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3583 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3585 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3587 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3589 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3591 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3592 (GLIBC_2.29): Likewise.
3593 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3594 (GLIBC_2.29): Likewise.
3595 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3596 (GLIBC_2.29): Likewise.
3597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3598 (GLIBC_2.29): Likewise.
3599 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3602 (GLIBC_2.29): Likewise.
3603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3604 (GLIBC_2.29): Likewise.
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3606 (GLIBC_2.29): Likewise.
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3608 (GLIBC_2.29): Likewise.
3609 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3613 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3615 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3616 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3618 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3620 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3622 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3625 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3627 * misc/Makefile (tests): Add tst-ldbl-error.
3628 * misc/tst-ldbl-error.c: New file.
3630 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3632 * misc/Makefile (tests): Add tst-ldbl-warn.
3633 * misc/tst-ldbl-warn.c: New file.
3635 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3637 * argp/Makefile (tests): Add tst-ldbl-argp.
3638 * argp/tst-ldbl-argp.c: New file.
3640 2018-11-05 Arjun Shankar <arjun@redhat.com>
3642 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
3643 __gconv_path_elem and call __gconv_get_path unconditionally.
3645 2018-11-05 Andreas Schwab <schwab@suse.de>
3648 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
3649 creating the first helper thread failed.
3651 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3653 * sysdeps/mach/hurd/msync.c: New file.
3655 2018-11-02 Florian Weimer <fweimer@redhat.com>
3657 * support/shell-container.c (copy_func): Call
3658 support_copy_file_range instead of copy_file_range to support
3659 cross-device copies.
3661 2018-11-02 Florian Weimer <fweimer@redhat.com>
3663 * support/test-container.c: Include <libc-pointer-arith.h> for
3666 2018-11-01 Zong Li <zong@andestech.com>
3668 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
3669 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
3670 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
3671 (__FP_FRAC_SET_8): Add implementation for RV32 use.
3673 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
3674 variable to avoid overlap arguments.
3676 2018-11-01 Joseph Myers <joseph@codesourcery.com>
3678 * posix/bug-regex22.c (main): Use puts with distinct error
3679 messages for unexpected success of re_compile_pattern, not printf
3680 with NULL argument to %s.
3682 * stdio-common/bug22.c: Include <libc-diag.h>.
3683 (do_test): Disable -Wformat-overflow= warnings around fprintf
3684 calls outputting more than INT_MAX characters.
3685 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
3686 around printf call with NULL %s argument.
3689 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
3690 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
3692 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3693 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3694 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3695 (__ASSUME_SENDTO_SYSCALL): Likewise.
3696 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3697 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
3699 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3700 (__ASSUME_CONNECT_SYSCALL): Likewise.
3701 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3702 (__ASSUME_RECVFROM_SYSCALL): Likewise.
3703 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
3705 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
3707 [__LINUX_KERNEL_VERSION >= 0x040400]
3708 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3709 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
3712 (setsockopt): Likewise.
3714 2018-11-01 Fredrik Noring <noring@nocrew.org>
3716 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
3717 with the ISA override.
3719 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
3721 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
3724 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3726 * manual/errno.texi (EIEIO): Document how translators should
3727 translate the error message.
3728 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
3729 printing trailing whitespaces refused by git.
3730 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
3731 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3732 * hurd/Makefile (user-interfaces): Add pci.
3734 2018-10-30 Joseph Myers <joseph@codesourcery.com>
3736 * conform/linknamespace.py: New file.
3737 * conform/linknamespace.pl: Remove file.
3738 * conform/Makefile ($(linknamespace-header-tests)): Use
3739 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
3742 2018-10-30 Florian Weimer <fweimer@redhat.com>
3744 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
3747 2018-10-30 Florian Weimer <fweimer@redhat.com>
3749 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
3751 2018-10-30 Florian Weimer <fweimer@redhat.com>
3753 * stdlib/tst-strtod-overflow.c (do_test): Switch to
3754 support_blob_repeat.
3756 2018-10-30 Florian Weimer <fweimer@redhat.com>
3758 Avoid spurious test failures in stdlib/test-bz22786.
3759 * support/Makefile (libsupport-routines): Add blob_repeat.
3760 (tests): Add tst-support_blob_repeat.
3761 * support/blob_repeat.h: New file.
3762 * support/blob_repeat.c: Likewise.
3763 * support/tst-support_blob_repeat.c: Likewise.
3764 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
3765 support_blob_repeat_allocate.
3767 2018-10-30 Andreas Schwab <schwab@suse.de>
3770 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
3771 Don't use tail call.
3772 * elf/tst-unwind-main.c: New file.
3773 * elf/Makefile (tests): Add tst-unwind-main.
3774 (CFLAGS-tst-unwind-main.c): Define.
3776 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
3779 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
3781 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
3783 2018-10-29 Joseph Myers <joseph@codesourcery.com>
3785 * conform/glibcconform.py: Do not import shutil.
3786 (list_exported_functions): Use tempfile.TemporaryDirectory instead
3789 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
3790 critic_missing for versions before 3.4.
3791 * configure: Regenerated.
3792 * manual/install.texi (Tools for Compilation): Document
3793 requirement for Python to build glibc.
3794 * INSTALL: Regenerated.
3795 * Rules [PYTHON]: Make code unconditional.
3796 * benchtests/Makefile [PYTHON]: Likewise.
3797 * conform/Makefile [PYTHON]: Likewise.
3798 * manual/Makefile [PYTHON]: Likewise.
3799 * math/Makefile [PYTHON]: Likewise.
3801 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3803 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
3804 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
3805 answer to interrupt_operation, return EIEIO instead of EINTR.
3806 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
3807 _hurd_intr_rpc_msg_about_to global point to start of controlled
3808 assembly snippet. Make it check canceled flag.
3809 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
3810 the _hurd_intr_rpc_msg_about_to point.
3811 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
3812 issue, remove cancel flag check.
3814 2018-10-26 Joseph Myers <joseph@codesourcery.com>
3816 * scripts/build-many-glibcs.py: Remove compatibility for missing
3817 os.cpu_count and re.fullmatch.
3819 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3822 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
3823 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
3824 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
3826 2018-10-25 Joseph Myers <joseph@codesourcery.com>
3828 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
3831 2018-10-25 Florian Weimer <fweimer@redhat.com>
3835 XFAIL siginfo_t si_band conform test on sparc64.
3836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3837 (__SI_BAND_TYPE): Only override long int default type on sparc64.
3838 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3839 (conformtest-xfail-conds): Add sparc64-linux.
3840 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
3842 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
3844 2018-10-25 Joseph Myers <joseph@codesourcery.com>
3846 * elf/elf.h (NT_MIPS_DSP): New macro.
3847 (NT_MIPS_FP_MODE): Likewise.
3849 2018-10-25 Zong Li <zong@andestech.com>
3851 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
3852 name by adding the file extension (.so).
3854 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3856 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
3857 (test-xfail-ISO11/threads.h/linknamespace,
3858 test-xfail-ISO11/threads.h/conform): Add.
3860 2018-10-24 Joseph Myers <joseph@codesourcery.com>
3862 * math/gen-libm-test.py: Import os.
3863 (ALL_FLOATS_MANUAL): New constant.
3864 (ALL_FLOATS_SUFFIX): Likewise.
3865 (Ulps.all_functions): New function.
3866 (real_all_ulps): Likewise.
3867 (generate_err_table_sub): Likewise.
3868 (generate_err_table): Likewise.
3869 (main): Handle -s and -m options.
3870 * manual/libm-err-tab.pl: Remove.
3871 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
3872 instead of libm-err-tab.pl.
3873 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
3875 * manual/install.texi (Tools for Compilation): Document
3876 requirement for Python to build manual.
3877 * INSTALL: Regenerated.
3879 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3881 * bits/time64.h: New file.
3882 * include/time.h: Replace internal_time_t with __time64_t.
3883 * posix/bits/types (__time64_t): Add.
3884 * stdlib/Makefile: Add bits/time64.h to includes.
3885 * time/tzfile.c: Replace internal_time_t with __time64_t.
3887 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3889 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
3890 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
3891 __posix_spawn_file_actions_init, __posix_spawnattr_init,
3892 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
3893 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
3895 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
3896 * posix/spawn_faction_addclose.c
3897 (__posix_spawn_file_actions_addclose): Add hidden definition.
3898 * posix/spawn_faction_adddup2.c
3899 (__posix_spawn_file_actions_adddup2): Likewise.
3900 * posix/spawn_faction_destroy.c
3901 (__posix_spawn_file_actions_destroy): Likewise.
3902 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
3904 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
3905 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
3906 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
3908 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
3909 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
3912 2018-10-24 Andreas Schwab <schwab@suse.de>
3915 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
3917 * elf/cache.c (print_cache): Likewise.
3919 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3921 * bits/timesize.h: New file.
3922 * stdlib/Makefile (headers): Add bits/timesize.h.
3923 * sysdeps/unix/sysv/linux/bits/msq-pad.h
3924 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
3925 * sysdeps/unix/sysv/linux/bits/sem-pad.h
3926 (__SEM_PAD_AFTER_TIME): Likewise.
3927 * sysdeps/unix/sysv/linux/bits/shm-pad.h
3928 (__SHM_PAD_AFTER_TIME): Likewise.
3929 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
3930 (__MSQ_PAD_BEFORE_TIME): Likewise.
3931 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
3932 (__SEM_PAD_BEFORE_TIME): Likewise.
3933 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
3934 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
3935 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
3936 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
3938 (__MSQ_PAD_BEFORE_TIME): Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
3940 (__SEM_PAD_BEFORE_TIME): Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
3942 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
3943 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
3944 (__MSQ_PAD_BEFORE_TIME): Likewise.
3945 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
3946 (__SEM_PAD_BEFORE_TIME): Likewise.
3947 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
3948 (__SHM_PAD_BEFORE_TIME): Likewise.
3949 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
3950 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
3951 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
3953 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
3955 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
3956 USE_RDTSCP is defined.
3957 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
3958 USE_RDTSCP is defined.
3960 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3962 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
3966 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
3967 independently of other flags.
3969 2018-10-23 Florian Weimer <fweimer@redhat.com>
3971 * time/tst-mktime2.c (N_STRINGS): Remove.
3972 (set_timezone): New function.
3973 (spring_forward_gap): Call it. Use FAIL_EXIT1.
3974 (mktime_test1): Report localtime failure and check errno value.
3976 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
3977 (do_test): Remove alarm call. Use set_timezone and array_length.
3979 2018-10-23 Andreas Schwab <schwab@suse.de>
3981 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
3982 (__start_context): Use END instead of PSEUDO_END.
3984 2018-10-22 Joseph Myers <joseph@codesourcery.com>
3986 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3989 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3993 * wcsmbs/c32rtomb.c: New file.
3994 * wcsmbs/mbrtoc32.c: Likewise.
3995 * wcsmbs/tst-c32-state.c: Likewise.
3996 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
3997 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
3998 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
3999 (tests): Add tst-c32-state.
4000 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4003 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4005 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4006 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4008 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4011 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4012 pair and return 0 in that case, and use saved character to
4013 interpret following character.
4014 * wcsmbs/tst-c16-surrogate.c: New file.
4015 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4016 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4017 Depend on $(gen-locales)
4019 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4022 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4023 (struct siginfo_t): Use correct type for si_band.
4025 2018-10-19 Florian Weimer <fweimer@redhat.com>
4028 * resource/bits/types/struct_rusage.h (struct rusage): Update
4029 comment on struct. Remove extraneous field comment.
4031 2018-10-18 David S. Miller <davem@davemloft.net>
4033 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4034 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4035 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4036 sysdep_routines in subdir elf.
4037 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4038 version for __vdso_clock_gettime.
4039 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4041 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4042 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4044 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4046 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4048 * sysdeps/i386/init-arch.h: Removed.
4049 * sysdeps/i386/i586/init-arch.h: Likewise.
4050 * sysdeps/i386/i686/init-arch.h: Likewise.
4051 * sysdeps/i386/i686/hp-timing.h: Likewise.
4052 * sysdeps/x86_64/hp-timing.h: Likewise.
4053 * sysdeps/i386/isa.h: New file.
4054 * sysdeps/i386/i586/isa.h: Likewise.
4055 * sysdeps/i386/i686/isa.h: Likewise.
4056 * sysdeps/x86_64/isa.h: Likewise.
4057 * sysdeps/x86/hp-timing.h: New file.
4058 * sysdeps/x86/init-arch.h: Include <isa.h>.
4060 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4062 * math/libm-test-pow.inc (pow_test_data): Do not allow
4063 divide-by-zero exception for pow(+/- 0, -Inf).
4065 2018-10-17 Zack Weinberg <zackw@panix.com>
4067 * manual/job.texi (Job Control is Optional): Remove node, as
4068 job control has not been optional in quite some time.
4069 (Job Control): Mention briefly that systems older than
4070 POSIX.1-2001 might not support job control.
4071 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4072 defined on systems conforming to POSIX.1-2001.
4074 2018-10-17 Arjun Shankar <arjun@redhat.com>
4077 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4079 * (__gconv_read_conf): Mark function static.
4080 * (once): New static variable.
4081 * (__gconv_load_conf): New function.
4082 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4083 * iconv/gconv_db.c (once): Remove static variable.
4084 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4086 * (__gconv_find_transform): Likewise.
4087 * iconv/tst-iconv-mt.c: New test.
4088 * iconv/Makefile: Add tst-iconv_mt.
4090 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4094 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4095 (shmatt_t): Define as __syscall_ulong_t.
4096 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4097 and [__SHM_PAD_AFTER_TIME].
4098 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4099 Define shm_segsz and associated padding based on
4100 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4101 Use __syscall_ulong_t instead of unsigned long int.
4102 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4104 [__USE_MISC] (struct shm_info): Likewise.
4105 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4106 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4107 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4109 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4110 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4111 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4112 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4113 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4114 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4115 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4119 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4120 (SHMLBA): Remove macro.
4121 (__getpagesize): Remove function declaration.
4122 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4124 (SHMLBA): Remove macro.
4125 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4127 (SHMLBA): Remove macro.
4128 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4130 (SHMLBA): Remove macro.
4131 (__getpagesize): Remove function declaration.
4132 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4134 (SHMLBA): Remove macro.
4135 (__getshmlba): Remove function declaration.
4136 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4137 (SHMLBA): Remove macro.
4138 (__getpagesize): Remove function declaration.
4139 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4140 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4141 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4142 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4143 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4144 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4145 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4146 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4147 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4148 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4150 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4153 * nptl/tst-mutex10.c: New File.
4154 * nptl/Makefile (tests): Add tst-mutex10.
4155 (tst-mutex10-ENV): New variable.
4156 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4157 Ensure that elision path is used if elision is available.
4158 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4160 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4162 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4163 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4164 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4165 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4167 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4168 (__pthread_mutex_cond_lock_adjust): Likewise.
4169 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4171 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4172 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4173 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4174 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4176 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4177 Use atomic_load_relaxed and atomic_store_relaxed.
4178 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4179 Use atomic_store_relaxed.
4181 2018-10-17 Andreas Schwab <schwab@suse.de>
4183 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4184 * crypt/badsalttest.c (TIMEOUT): Likewise.
4185 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4186 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4187 * io/test-lfs.c (TIMEOUT): Likewise.
4188 * libio/tst-atime.c (TIMEOUT): Likewise.
4189 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4190 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4191 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4192 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4193 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4194 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4195 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4196 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4197 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4198 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4199 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4200 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4201 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4202 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4203 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4204 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4205 * nptl/tst-once2.c (TIMEOUT): Likewise.
4206 * nptl/tst-once3.c (TIMEOUT): Likewise.
4207 * nptl/tst-once4.c (TIMEOUT): Likewise.
4208 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4209 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4210 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4211 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4212 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4213 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4214 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4215 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4216 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4217 * posix/tst-chmod.c (TIMEOUT): Likewise.
4218 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4219 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4220 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4221 * posix/tst-regex2.c (TIMEOUT): Likewise.
4222 * posix/tst-waitid.c (TIMEOUT): Likewise.
4223 * rt/tst-aio.c (TIMEOUT): Likewise.
4224 * rt/tst-aio10.c (TIMEOUT): Likewise.
4225 * rt/tst-aio4.c (TIMEOUT): Likewise.
4226 * rt/tst-aio5.c (TIMEOUT): Likewise.
4227 * rt/tst-aio6.c (TIMEOUT): Likewise.
4228 * rt/tst-aio64.c (TIMEOUT): Likewise.
4229 * rt/tst-aio7.c (TIMEOUT): Likewise.
4230 * rt/tst-aio9.c (TIMEOUT): Likewise.
4231 * rt/tst-clock.c (TIMEOUT): Likewise.
4232 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4233 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4234 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4235 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4236 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4237 * rt/tst-timer4.c (TIMEOUT): Likewise.
4238 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4239 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4240 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4241 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4242 * time/tst-ftime.c (TIMEOUT): Likewise.
4243 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4245 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4247 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4248 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4251 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4255 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4256 instead of <bits/wordsize.h>.
4257 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4258 and [__SEM_PAD_AFTER_TIME].
4259 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4260 __syscall_ulong_t instead of unsigned long int.
4261 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4262 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4263 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4264 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4265 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4266 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4267 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4268 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4269 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4270 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4271 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4273 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4275 regex: simplify by using intprops.h
4277 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4278 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4279 intprops.h defines them.
4281 regex: __builtin_expect → __glibc_unlikely
4283 This refactoring was prompted by a problem when the regex code is
4284 used as part of Gnulib and when the builder’s compiler does not grok
4285 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4286 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4287 Although this refactoring does not fix the problem directly,
4288 we might as well have Gawk use the now-preferred glibc style for when
4289 __builtin_expect is unavailable.
4290 * posix/regex_internal.h (BE): Remove.
4291 All uses replaced by __glibc_unlikely or __glibc_likely.
4293 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4297 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4298 instead of <bits/wordsize.h>.
4299 (msgqnum_t): Define as __syscall_ulong_t.
4300 (msglen_t): Likewise.
4301 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4302 and [__MSQ_PAD_AFTER_TIME].
4303 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4304 __syscall_ulong_t instead of unsigned long int.
4305 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4306 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4307 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4309 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4310 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4311 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4312 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4313 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4314 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4315 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4317 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4319 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4320 (struct shmid_ds): Condition padding after time fields on
4322 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4323 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4324 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4326 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4327 (struct semid_ds): Condition padding after time fields on
4329 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4330 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4331 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4332 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4334 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4335 (struct msqid_ds): Condition padding after time fields on
4337 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4338 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4339 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4340 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4342 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4344 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4346 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4348 * libio/tst-readline.c (TIMEOUT): Define.
4350 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4352 mktime fix for Gnulib + coreutils
4354 This fix affects only Gnulib. Problem discovered when
4355 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4357 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4358 Do not define since it is not used. Defining an unused static
4359 function prompts a warning from GCC when Coreutils is configured
4360 with --enable-gcc-warnings.
4362 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4364 * benchtests/scripts/compare_bench.py (main): set float type on
4367 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
4370 * localedata/locales/kl_GL (mon): Update, the relative case.
4371 (alt_mon): Add, fill with month names in the nominative case.
4372 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
4373 (d_fmt): Set to "%b %d %Y".
4375 2018-10-04 Joseph Myers <joseph@codesourcery.com>
4377 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4378 <bits/mman-linux.h>.
4379 (PROT_READ): Don't define here.
4380 (PROT_WRITE): Likewise.
4381 (PROT_EXEC): Likewise.
4382 (PROT_NONE): Likewise.
4383 (PROT_GROWSDOWN): Likewise.
4384 (PROT_GROWSUP): Likewise.
4385 (MAP_SHARED): Likewise.
4386 (MAP_PRIVATE): Likewise.
4387 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
4388 [__USE_MISC] (MAP_FILE): Likewise.
4389 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
4390 [__USE_MISC] (MAP_ANON): Likewise.
4391 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
4392 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
4393 (MCL_CURRENT): Likewise.
4394 (MCL_FUTURE): Likewise.
4395 (MCL_ONFAULT): Likewise.
4396 [__USE_MISC] (MADV_NORMAL): Likewise.
4397 [__USE_MISC] (MADV_RANDOM): Likewise.
4398 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
4399 [__USE_MISC] (MADV_WILLNEED): Likewise.
4400 [__USE_MISC] (MADV_DONTNEED): Likewise.
4401 [__USE_MISC] (MADV_FREE): Likewise.
4402 [__USE_MISC] (MADV_REMOVE): Likewise.
4403 [__USE_MISC] (MADV_DONTFORK): Likewise.
4404 [__USE_MISC] (MADV_DOFORK): Likewise.
4405 [__USE_MISC] (MADV_HWPOISON): Likewise.
4406 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
4407 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
4408 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
4409 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
4410 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
4411 (__MAP_ANONYMOUS): New macro.
4412 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
4413 <bits/mman-linux.h> inclusion.
4414 (MAP_FIXED): Likewise.
4415 (MS_SYNC): Likewise.
4416 (MS_ASYNC): Likewise.
4417 (MS_INVALIDATE): Likewise.
4418 [__USE_MISC] (MADV_MERGEABLE): Likewise.
4419 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
4420 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
4421 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
4422 [__USE_MISC] (MADV_DONTDUMP): Likewise.
4423 [__USE_MISC] (MADV_DODUMP): Likewise.
4424 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4425 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4428 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
4430 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
4431 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
4432 Add test-nldbl-redirect.
4433 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
4434 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
4435 $(objpfx)libnldbl_nonshared.a.
4437 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
4439 * support/support.h (support_objdir_elf_ldso): New variable.
4440 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
4441 * support/Makefile (CFLAGS-support_paths.c): Add definition
4442 for OBJDIR_ELF_LDSO_PATH.
4443 * support/test-container.c (main): Search for the ld.so
4444 which is also used by the testsuite.
4446 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
4449 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
4450 should be "sap" rather than "sab".
4451 (day): Fix spelling of Sunday, should be "sapaat" rather than
4454 2018-10-02 Joseph Myers <joseph@codesourcery.com>
4456 * math/libm-test-fma.inc (fma_test_data): Add more tests.
4458 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
4461 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
4462 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
4463 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
4465 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4467 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
4469 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
4471 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
4473 (CFLAGS-elision-unlock.c): Likewise.
4474 (CFLAGS-elision-timed.c): Likewise.
4475 (CFLAGS-elision-trylock.c): Likewise.
4476 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
4478 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4481 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
4482 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
4483 new fd_to_filename interface.
4484 * libio/freopen64.c (freopen64): Likewise.
4485 * libio/tst-memstream.h: New file.
4486 * libio/tst-memstream4.c: Likewise.
4487 * libio/tst-wmemstream4.c: Likewise.
4488 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
4489 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
4490 and remove internal dynamic allocation.
4492 2018-10-01 Joseph Myers <joseph@codesourcery.com>
4494 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4495 (MREMAP_MAYMOVE): Do not define here.
4496 [__USE_GNU] (MREMAP_FIXED): Likewise.
4497 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
4498 (MREMAP_MAYMOVE): Define here instead.
4499 [__USE_GNU] (MREMAP_FIXED): Likewise.
4500 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
4501 (MREMAP_MAYMOVE): Remove.
4502 [__USE_GNU] (MREMAP_FIXED): Likewise.
4504 2018-09-28 Joseph Myers <joseph@codesourcery.com>
4506 * math/fromfp.h: Do not include <math_private.h>.
4507 * math/s_cacosh_template.c: Likewise.
4508 * math/s_casin_template.c: Likewise.
4509 * math/s_casinh_template.c: Likewise.
4510 * math/s_ccos_template.c: Likewise.
4511 * math/s_cproj_template.c: Likewise.
4512 * math/s_fdim_template.c: Likewise.
4513 * math/s_fmaxmag_template.c: Likewise.
4514 * math/s_fminmag_template.c: Likewise.
4515 * math/s_iseqsig_template.c: Likewise.
4516 * math/s_ldexp_template.c: Likewise.
4517 * math/s_nextdown_template.c: Likewise.
4518 * math/w_log1p_template.c: Likewise.
4519 * math/w_scalbln_template.c: Likewise.
4520 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4521 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4522 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4523 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4524 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
4525 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
4526 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4527 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4528 * sysdeps/i386/fpu/s_atanl.c: Likewise.
4529 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4530 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4531 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4532 * sysdeps/i386/fpu/s_logbl.c: Likewise.
4533 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4534 * sysdeps/i386/fpu/s_significandl.c: Likewise.
4535 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
4536 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4541 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4542 * sysdeps/ieee754/k_standardf.c: Likewise.
4543 * sysdeps/ieee754/k_standardl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4546 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
4547 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4548 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4549 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4550 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4551 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4553 * sysdeps/ieee754/s_signgam.c: Likewise.
4554 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4555 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
4556 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
4557 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4558 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4559 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4560 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4561 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4562 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4563 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4564 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4565 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4566 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4567 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4568 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4569 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4570 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4571 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4572 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4573 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4574 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4575 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4576 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4577 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4578 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4579 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4580 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4581 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4582 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4583 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4584 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4585 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4586 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4587 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4588 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4589 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4590 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
4592 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4594 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
4597 * sysdeps/i386/dl-cet.c: Removed.
4598 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
4600 (_dl_runtime_profile_shstk): Likewise.
4601 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
4602 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
4604 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4607 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
4608 do_test_with_invalid_iov): New tests.
4609 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
4610 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
4611 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
4613 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4614 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4615 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4617 2018-09-27 Joseph Myers <joseph@codesourcery.com>
4619 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4620 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
4621 (MATH_REDIRECT_BINARY_ARGS): New macro.
4622 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4623 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
4624 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
4626 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4628 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
4629 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4632 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4639 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
4640 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
4643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
4645 * sysdeps/generic/math_private_calls.h
4646 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
4647 Do not declare and define as an inline function.
4648 * math/divtc3.c (__divtc3): Use copysign functions instead of
4649 __copysign variants.
4650 * math/multc3.c (__multc3): Likewise.
4651 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
4652 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
4653 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4654 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4657 (__ieee754_yn): Likewise.
4658 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4659 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
4660 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4661 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4662 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
4664 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
4665 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4671 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4672 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4674 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4675 (__ieee754_ynf): Likewise.
4676 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4677 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4678 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4679 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4681 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4682 (__ieee754_ynl): Likewise.
4683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4688 (__ieee754_ynl): Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4692 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4694 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4696 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
4697 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4698 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
4699 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4700 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4702 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4703 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
4704 using MATH_REDIRECT.
4705 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
4707 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4710 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
4711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
4715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
4717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
4718 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4719 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4721 (round): Redirect to __round.
4722 (__roundl): Call round instead of __round.
4723 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
4725 [_ARCH_PWR5X] (__roundf): Likewise.
4726 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
4727 functions instead of __round variants.
4728 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4729 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4733 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4735 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
4738 (__ieee754_expl): Call roundl instead of __roundl.
4740 2018-09-27 Andreas Schwab <schwab@suse.de>
4743 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
4744 (do_test): Make st1 static.
4746 2018-09-26 Andreas Schwab <schwab@suse.de>
4749 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
4750 * elf/Makefile (tests): Add tst-unwind-ctor.
4751 (modules-names): Add tst-unwind-ctor-lib.
4752 ($(objpfx)tst-unwind-ctor): Depend on
4753 $(objpfx)tst-unwind-ctor-lib.so.
4755 2018-09-26 Joseph Myers <joseph@codesourcery.com>
4757 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
4758 file. Most contents moved from ....
4759 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
4760 and include <bits/mman-map-flags-generic.h>.
4761 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4762 (sysdep_headers): Add bits/mman-map-flags-generic.h.
4763 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
4764 <bits/mman-map-flags-generic.h>.
4765 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
4766 macros defined in <bits/mman-map-flags-generic.h>.
4767 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
4768 <bits/mman-map-flags-generic.h>.
4769 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
4770 defined in <bits/mman-map-flags-generic.h>.
4772 2018-09-26 Andreas Schwab <schwab@suse.de>
4774 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
4777 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
4778 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4779 Fangrui Song <maskray@google.com>
4782 * config.make.in (have-textrel_ifunc): New define.
4783 * configure.ac: Add check if linker supports textrel relocation with
4785 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
4787 (CFLAGS-tst-ifunc-textrel.c): New rule.
4788 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
4789 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
4790 * elf/tst-ifunc-textrel.c: New file.
4792 2018-09-25 Joseph Myers <joseph@codesourcery.com>
4794 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4795 <bits/procfs-prregset.h>.
4796 (prgregset_t): Define using __prgregset_t.
4797 (prfpregset_t): Define using __prfpregset_t.
4798 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4799 (sysdep_headers): Add bits/procfs-prregset.h.
4800 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
4801 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
4802 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
4803 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
4805 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4806 <bits/procfs-id.h> and <bits/procfs-extra.h>.
4807 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
4809 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4810 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
4811 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
4812 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
4813 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
4814 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
4815 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
4816 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
4817 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
4818 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
4819 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
4820 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
4821 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
4822 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
4823 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
4824 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
4825 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
4826 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
4827 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
4828 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
4829 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
4830 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4832 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
4834 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
4835 AArch64 version. Include <bits/procfs.h>.
4836 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4837 (sysdep_headers): Add bits/procfs.h.
4838 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
4839 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
4840 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
4841 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
4842 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
4843 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
4844 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
4845 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
4846 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
4847 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
4848 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
4849 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
4850 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
4851 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4852 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4854 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
4856 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4858 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
4861 2018-09-25 Arjun Shankar <arjun@redhat.com>
4863 * iconv/gconv_int.h (__gconv_path_elem): Remove.
4864 (__gconv_max_path_elem_len): Likewise.
4865 (__gconv_nmodules): Likewise.
4866 (__gconv_get_path): Likewise.
4867 (path_elem): Move to ...
4868 * iconv/gconv_conf.c: ... here.
4869 (__gconv_get_path): Mark function static.
4870 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
4871 * iconv/gconv_open.c: ... here.
4873 2018-09-24 Andreas Schwab <schwab@suse.de>
4875 * scripts/haveversions.awk: New file.
4876 * Makerules ($(common-objpfx)Versions.def)
4877 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4878 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4880 * Makeconfig ($(common-objpfx)Versions.def)
4881 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4882 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4884 ($(common-objpfx)Versions.mk): New rule. Include it.
4885 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
4886 Emit error if build-obsolete-nsl = yes.
4887 * manual/install.texi (Configuring and compiling): Describe
4888 --enable-obsolete-nsl as unavaiable after version 2.28.
4889 * INSTALL: Regenerate.
4891 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4893 * NEWS: Add note about new TLE support on powerpc64le.
4894 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
4895 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
4897 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
4898 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
4899 * sysdeps/powerpc/powerpc32/sysdep.h,
4900 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
4901 ABORT_TRANSACTION): Remove macros.
4902 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
4903 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
4904 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
4906 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4907 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
4909 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
4911 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
4914 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
4915 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
4916 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
4917 which is the same as in it_IT.
4918 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
4919 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
4921 2018-09-20 Joseph Myers <joseph@codesourcery.com>
4923 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4924 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
4925 using MATH_REDIRECT.
4926 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
4928 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4930 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
4935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
4936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
4937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
4938 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4939 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4942 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
4943 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
4944 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4946 (ceil): Redirect to __ceil.
4947 (floor): Redirect to __floor.
4948 (trunc): Redirect to __trunc.
4949 (__truncl): Call trunc instead of __trunc.
4950 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
4952 [_ARCH_PWR5X] (__truncf): Likewise.
4953 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
4954 trunc functions instead of __trunc variants.
4955 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4957 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4959 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4961 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4964 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
4965 [__i586__ || __pentium__].
4966 [__i486__]: Handle explicitly.
4967 (HAS_CPUID): Define to 1 if above macros are undefined.
4968 (HAS_I586): Likewise.
4969 (HAS_I686): Likewise.
4971 2018-09-20 Florian Weimer <fweimer@redhat.com>
4973 * misc/tst-gethostid.c: New file.
4974 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
4975 (tst-gethostid): Link with -ldl.
4977 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
4979 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
4980 value from gethostbyname_r.
4982 2018-09-19 Carlos O'Donell <carlos@redhat.com>
4984 * stdlib/tst-setcontext9.c (f1): Rename to...
4986 (f1b): New function implementing lower half of f1 in alternate stack.
4988 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
4990 Fix mktime localtime offset confusion
4992 * include/time.h (__mktime_internal): The localtime offset is now
4993 of type long int instead of time_t. This is the longstanding type
4994 in glibc, and it is more than enough to represent difference
4995 between localtime and gmtime even if it is 32 bits and time_t is
4996 64. Changing it now will let us avoid an unnecessary change when
4997 time_t is widened to 64 bits on 32-bit platforms.
4998 * time/mktime-internal.h (mktime_offset_t): Now long int.
5000 Merge mktime, timegm from upstream Gnulib
5001 [BZ #23603][BZ #16346]
5002 This fixes some obscure problems with integer overflow.
5003 Although it looks scary, it is almost all a byte-for-byte copy
5004 from Gnulib, and the Gnulib code has been tested reasonably well.
5005 * include/intprops.h: New file, copied from Gnulib.
5006 * include/verify.h, time/mktime-internal.h:
5007 New tiny files, simplified from Gnulib.
5008 * time/mktime.c: Copy from Gnulib. This has the following changes:
5009 Do not include config.h if DEBUG_MKTIME is nonzero.
5010 Include stdbool.h, intprops.h, verify.h.
5011 Include string.h only if needed.
5012 Include stdlib.h on MS-Windows.
5013 Include mktime-internal.h.
5014 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5015 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5016 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5017 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5018 simplify later conditionals; default the others to zero. Use
5019 these conditionals to express only the code needed on the current
5020 platform. In uses of these conditionals, explicitly spell out how
5021 _LIBC affects things, so it’s easier to review from a glibc
5023 (WRAPV): Remove; no longer needed now that we have
5024 systematic overflow checking.
5025 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5026 compartmentalize tzset issues. Move system-dependent tzsettish
5027 code here from mktime.
5028 (verify): Remove; now done by verify.h. All uses changed.
5029 (long_int): Use a more-conservative definition, to avoid
5031 (SHR): Remove, replacing with ...
5032 (shr): New function, which means we needn’t worry about side
5033 effects in args, and conversion analysis is simpler.
5034 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5035 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5036 (time_t_avg, time_t_add_ok): Remove.
5037 (mktime_min, mktime_max): New constants.
5038 (leapyear, isdst_differ): Use bool for booleans.
5039 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5040 Use long_int, not time_t, for mktime differences.
5041 (long_int_avg): New function, replacing time_t_avg.
5042 INT_ADD_WRAPV replaces time_t_add_ok.
5043 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5045 (convert_time): New function.
5046 (ranged_convert): Use it.
5047 (__mktime_internal): Last arg now points to mktime_offset_t, not
5048 time_t. All uses changed. This is a no-op on glibc, where
5049 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5050 offset guess. Directly check for integer overflow instead of
5051 using a heuristic that works only 99.9...% of the time.
5052 Access *OFFSET only once, to avoid an unlikely race if the
5053 compiler delays a load and if this cascades into a signed integer
5055 (mktime): Move tzsettish code to my_tzset, and move
5056 localtime_offset to within mktime so that it doesn’t
5057 need a separate ifdef.
5058 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5059 instead of localtime.
5060 * time/timegm.c: Copy from Gnulib. This has the following changes:
5061 Include mktime-internal.h.
5062 [!_LIBC]: Include config.h and time.h. Do not include
5063 timegm.h or time_r.h. Make __mktime_internal a macro,
5064 and include mktime-internal.h to get its declaration.
5065 (timegm): Temporary is now mktime_offset_t, not time_t.
5066 This affects only Gnulib.
5068 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5071 * string/test-strstr.c (pr23637): New function.
5072 (test_main): Add tests with longer needles.
5073 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5074 * string/strstr.c (AVAILABLE): Likewise.
5076 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5078 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5080 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5082 * NEWS: Mention pow improvements.
5083 * math/Makefile (type-double-routines): Add e_pow_log_data.
5084 * sysdeps/generic/math_private.h (__exp1): Remove.
5085 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5086 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5087 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5089 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5090 (exp_inline): Remove.
5091 (__ieee754_exp): Only single double input is handled.
5092 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5093 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5094 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5095 (__pow_log_data): Define.
5096 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5097 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5098 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5099 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5101 (CFLAGS-e_pow-fma4.c): Likewise.
5103 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5105 Simplify tzfile fstat failure code
5107 * time/tzfile.c (__tzfile_read): Simplify slightly.
5109 Fix tzfile low-memory assertion failure
5111 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5112 when registering time zone abbreviations.
5114 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5116 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5117 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5118 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5119 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5120 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5121 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5122 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5123 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5124 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5128 (__ceill): Call ceil instead of __ceil.
5129 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5131 (__floorl): Call floor instead of __floor.
5133 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5135 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5136 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5137 using MATH_REDIRECT.
5138 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5140 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5143 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5145 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5146 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5147 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5152 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5153 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5156 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5157 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5158 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5160 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5161 functions instead of __ceil variants.
5162 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5167 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5170 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5171 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5174 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5176 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5177 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5178 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5179 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5180 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5181 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5182 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5183 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5184 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5185 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5186 (ILL_BADIADDR): Remove constant.
5187 (TRAP_BRANCH): Likewise.
5188 (TRAP_HWBKPT): Likewise.
5190 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5193 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5194 Remove [_MIPS_SIM = _ABIN32] conditional case.
5195 (struct elf_prpsinfo): Likewise.
5198 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5199 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5200 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5202 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5203 elf_prpsinfo): Likewise.
5204 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5205 elf_prpsinfo): Likewise.
5206 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5209 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5210 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5211 using MATH_REDIRECT.
5212 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5214 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5215 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5216 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5217 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5220 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5221 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5224 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5225 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5226 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5227 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5228 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5229 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5230 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5231 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5232 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5237 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5238 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5239 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5240 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5242 * math/e_scalbf.c (invalid_fn): Likewise.
5243 * math/e_scalbl.c (invalid_fn): Likewise.
5244 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5246 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5248 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5249 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5250 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5256 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5257 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5259 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5260 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5262 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5263 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5264 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5265 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5266 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5267 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5268 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5269 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5270 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5271 && !NO_MATH_REDIRECT] (floor): Likewise.
5272 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5274 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5277 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5281 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5286 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5287 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5290 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5291 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5292 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5294 [_ARCH_PWR5X] (__floorf): Likewise.
5295 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5297 [__SSE4_1__] (__floorf): Likewise.
5298 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5299 instead of __floor variants.
5300 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5301 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5302 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5303 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5304 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5305 * math/w_tgamma_compat.c (__tgamma): Likewise.
5306 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5307 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5308 * math/w_tgammal_compat.c (__tgammal): Likewise.
5309 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5312 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5313 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5314 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5317 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5318 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5320 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5323 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5324 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5326 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5328 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5329 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5330 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5331 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5333 2018-09-12 Joseph Myers <joseph@codesourcery.com>
5335 * elf/Makefile (modules-names-tests): New variable.
5337 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5339 * NEWS: Mention log2 improvements.
5340 * math/Makefile (type-double-routines): Add e_log2_data.
5341 * sysdeps/i386/fpu/e_log2_data.c: New file.
5342 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5343 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5344 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5345 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5346 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5347 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5349 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5351 * NEWS: Mention log improvement.
5352 * math/Makefile (type-double-routines): Add e_log_data.
5353 * sysdeps/i386/fpu/e_log_data.c: New file.
5354 * sysdeps/ia64/fpu/e_log_data.c: New file.
5355 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5356 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5357 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5358 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5359 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5360 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5362 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5363 Xuepeng Guo <xuepeng.guo@intel.com>
5366 * sysdeps/i386/start.S: Include <sysdep.h>
5367 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
5368 enabled. Add cfi_undefined (eip).
5370 2018-09-11 Joseph Myers <joseph@codesourcery.com>
5372 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
5374 (EXTRACT_WORDS64): Likewise.
5375 (INSERT_WORDS64): Likewise.
5376 (GET_FLOAT_WORD): Likewise.
5377 (SET_FLOAT_WORD): Likewise.
5379 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
5381 (Config.build_gcc): Use --disable-libsanitizer for first GCC
5382 build, but not for second build if --full-gcc. Use
5383 --enable-languages=all for second build if --full-gcc.
5384 (get_parser): Add --full-gcc option.
5385 (main): Update call to Context.
5387 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
5390 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
5391 Single Quotation Mark).
5392 (thousands_sep): Likewise.
5393 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
5394 * localedata/locales/it_IT (thousands_sep): Use ".".
5395 (grouping): Use "3;3".
5397 2018-09-10 Joseph Myers <joseph@codesourcery.com>
5399 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5400 x86_64 and i686 configs using --enable-obsolete-rpc
5401 --enable-obsolete-nsl.
5403 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5405 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5407 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5409 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5410 Increment size of new_argv by one.
5412 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
5415 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
5416 * localedata/locales/ar_IN (d_fmt): Likewise.
5417 * localedata/locales/bhb_IN (d_fmt): Likewise.
5418 * localedata/locales/bho_IN (d_fmt): Likewise.
5419 * localedata/locales/bn_BD (d_fmt): Likewise.
5420 * localedata/locales/bn_IN (d_fmt): Likewise.
5421 * localedata/locales/doi_IN (d_fmt): Likewise.
5422 * localedata/locales/gu_IN (d_fmt): Likewise.
5423 * localedata/locales/hi_IN (d_fmt): Likewise.
5424 * localedata/locales/hne_IN (d_fmt): Likewise.
5425 * localedata/locales/kn_IN (d_fmt): Likewise.
5426 * localedata/locales/mag_IN (d_fmt): Likewise.
5427 * localedata/locales/mai_IN (d_fmt): Likewise.
5428 * localedata/locales/mjw_IN (d_fmt): Likewise.
5429 * localedata/locales/ml_IN (d_fmt): Likewise.
5430 * localedata/locales/mni_IN (d_fmt): Likewise.
5431 * localedata/locales/mr_IN (d_fmt): Likewise.
5432 * localedata/locales/pa_IN (d_fmt): Likewise.
5433 * localedata/locales/raj_IN (d_fmt): Likewise.
5434 * localedata/locales/sat_IN (d_fmt): Likewise.
5435 * localedata/locales/sd_IN (d_fmt): Likewise.
5436 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
5437 * localedata/locales/ta_IN (d_fmt): Likewise.
5438 * localedata/locales/ta_LK (d_fmt): Likewise.
5439 * localedata/locales/tcy_IN (d_fmt): Likewise.
5440 * localedata/locales/ur_IN (d_fmt): Likewise.
5442 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
5443 * localedata/locales/ks_IN (d_fmt): Likewise.
5444 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
5446 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
5447 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
5448 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
5449 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
5451 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5453 * NEWS: Mention exp and exp2 improvements.
5454 * math/Makefile (libm-support): Remove t_exp.
5455 (type-double-routines): Add math_err and e_exp_data.
5456 * sysdeps/aarch64/libm-test-ulps: Update.
5457 * sysdeps/arm/libm-test-ulps: Update.
5458 * sysdeps/i386/fpu/e_exp_data.c: New file.
5459 * sysdeps/i386/fpu/math_err.c: New file.
5460 * sysdeps/i386/fpu/t_exp.c: Remove.
5461 * sysdeps/ia64/fpu/e_exp_data.c: New file.
5462 * sysdeps/ia64/fpu/math_err.c: New file.
5463 * sysdeps/ia64/fpu/t_exp.c: Remove.
5464 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
5465 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
5466 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
5467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
5468 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
5469 * sysdeps/ieee754/dbl-64/math_config.h: New file.
5470 * sysdeps/ieee754/dbl-64/math_err.c: New file.
5471 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
5472 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
5473 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
5474 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
5475 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
5476 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
5477 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
5478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5481 2018-09-05 Joseph Myers <joseph@codesourcery.com>
5483 * sysdeps/alpha/fpu/math_private.h: Remove.
5485 * sysdeps/generic/math_private.h
5486 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
5487 Move this inline function ....
5488 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
5489 * include/math.h [!_ISOMAC]: To here....
5491 2018-09-04 Joseph Myers <joseph@codesourcery.com>
5493 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
5495 [!FE_HAVE_ROUNDING_MODES]: And this code ....
5496 * include/fenv.h [!_ISOMAC]: ... to here.
5497 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
5498 (feraiseexcept): Likewise.
5499 * math/fromfp.h: Do not include <fenv_private.h>.
5500 * math/s_cexp_template.c: Likewise.
5501 * math/s_csin_template.c: Likewise.
5502 * math/s_csinh_template.c: Likewise.
5503 * math/s_ctan_template.c: Likewise.
5504 * math/s_ctanh_template.c: Likewise.
5505 * math/s_iseqsig_template.c: Likewise.
5506 * math/w_acos_compat.c: Likewise.
5507 * math/w_acosf_compat.c: Likewise.
5508 * math/w_acosl_compat.c: Likewise.
5509 * math/w_asin_compat.c: Likewise.
5510 * math/w_asinf_compat.c: Likewise.
5511 * math/w_asinl_compat.c: Likewise.
5512 * math/w_j0_compat.c: Likewise.
5513 * math/w_j0f_compat.c: Likewise.
5514 * math/w_j0l_compat.c: Likewise.
5515 * math/w_j1_compat.c: Likewise.
5516 * math/w_j1f_compat.c: Likewise.
5517 * math/w_j1l_compat.c: Likewise.
5518 * math/w_jn_compat.c: Likewise.
5519 * math/w_jnf_compat.c: Likewise.
5520 * math/w_log10_compat.c: Likewise.
5521 * math/w_log10f_compat.c: Likewise.
5522 * math/w_log10l_compat.c: Likewise.
5523 * math/w_log2_compat.c: Likewise.
5524 * math/w_log2f_compat.c: Likewise.
5525 * math/w_log2l_compat.c: Likewise.
5526 * math/w_log_compat.c: Likewise.
5527 * math/w_logf_compat.c: Likewise.
5528 * math/w_logl_compat.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5534 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5535 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5536 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5537 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5538 * sysdeps/ieee754/k_standardl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5551 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5552 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5556 * math/w_ilogb_template.c: Include <fenv.h> instead of
5558 * math/w_llogb_template.c: Likewise.
5559 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5560 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5562 2018-09-03 Joseph Myers <joseph@codesourcery.com>
5564 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
5565 * math/fromfp.h: Include <fenv_private.h>.
5566 * math/math-narrow.h: Likewise.
5567 * math/s_cexp_template.c: Likewise.
5568 * math/s_csin_template.c: Likewise.
5569 * math/s_csinh_template.c: Likewise.
5570 * math/s_ctan_template.c: Likewise.
5571 * math/s_ctanh_template.c: Likewise.
5572 * math/s_iseqsig_template.c: Likewise.
5573 * math/w_acos_compat.c: Likewise.
5574 * math/w_acosf_compat.c: Likewise.
5575 * math/w_acosl_compat.c: Likewise.
5576 * math/w_asin_compat.c: Likewise.
5577 * math/w_asinf_compat.c: Likewise.
5578 * math/w_asinl_compat.c: Likewise.
5579 * math/w_ilogb_template.c: Likewise.
5580 * math/w_j0_compat.c: Likewise.
5581 * math/w_j0f_compat.c: Likewise.
5582 * math/w_j0l_compat.c: Likewise.
5583 * math/w_j1_compat.c: Likewise.
5584 * math/w_j1f_compat.c: Likewise.
5585 * math/w_j1l_compat.c: Likewise.
5586 * math/w_jn_compat.c: Likewise.
5587 * math/w_jnf_compat.c: Likewise.
5588 * math/w_llogb_template.c: Likewise.
5589 * math/w_log10_compat.c: Likewise.
5590 * math/w_log10f_compat.c: Likewise.
5591 * math/w_log10l_compat.c: Likewise.
5592 * math/w_log2_compat.c: Likewise.
5593 * math/w_log2f_compat.c: Likewise.
5594 * math/w_log2l_compat.c: Likewise.
5595 * math/w_log_compat.c: Likewise.
5596 * math/w_logf_compat.c: Likewise.
5597 * math/w_logl_compat.c: Likewise.
5598 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5599 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5600 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5601 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5613 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5614 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5617 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5618 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5626 * sysdeps/ieee754/float128/float128_private.h: Likewise.
5627 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5628 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5630 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5631 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5632 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5633 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5634 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5635 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5636 * sysdeps/ieee754/k_standardl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5662 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5663 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5667 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5668 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5673 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5674 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5675 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5676 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5677 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5678 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5679 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5680 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5681 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5682 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5683 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5684 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5685 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5686 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5687 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5688 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5689 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5690 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5691 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5692 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5693 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5694 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5695 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5696 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5697 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5698 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5699 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5700 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5701 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5702 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5703 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5704 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5705 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5706 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5707 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5709 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5712 * include/stdio.h (__libc_fatal): Mention newline in comment.
5713 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
5714 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
5715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5716 * nss/nsswitch.c (__nss_next2): Likewise.
5717 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
5718 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
5719 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
5720 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5721 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
5722 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
5723 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
5724 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
5725 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
5726 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
5727 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
5728 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5729 (__netlink_assert_response): Likewise.
5731 2018-08-31 Joseph Myers <joseph@codesourcery.com>
5733 * conform/glibcconform.py: New file.
5734 * conform/list-header-symbols.py: Likewise.
5735 * conform/list-header-symbols.pl: Remove.
5736 * conform/Makefile (tests-special): Only add linknamespace tests
5738 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
5740 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
5743 * support/Makefile (libsupport-routines): Add
5744 support_copy_file_range and xcopy_file_range.
5745 * support/support.h: Include <sys/types.h>.
5746 (support_copy_file_range): New prototype.
5747 * support/support_copy_file_range.c: New file. Copied and
5748 modified from io/copy_file_range-compat.c.
5749 * support/test-container.c (copy_one_file): Call xcopy_file_rang
5750 instead of copy_file_range.
5751 * support/xcopy_file_range.c: New file.
5752 * support/xunistd.h (xcopy_file_range): New prototype.
5754 2018-08-30 Carlos O'Donell <carlos@redhat.com>
5756 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
5757 xpthread_create and xpthread_join.
5759 2018-08-30 Florian Weimer <fweimer@redhat.com>
5761 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
5763 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
5765 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
5768 2018-08-29 Joseph Myers <joseph@codesourcery.com>
5770 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
5771 and minus_oflow as non-finite.
5773 2018-08-28 Joseph Myers <joseph@codesourcery.com>
5775 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
5776 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
5777 moved to fenv_private.h except for ...
5778 (TOINT_INTRINSICS): Kept in math_private.h.
5779 (roundtoint): Likewise.
5780 (converttoint): Likewise.
5781 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
5782 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5783 * sysdeps/arm/math_private.h: Remove.
5784 * sysdeps/generic/fenv_private.h: New file. Contents moved from
5786 * sysdeps/generic/math_private.h: ... this file. Include
5787 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
5788 Include <fenv_private.h>. Remove functions and macros moved to
5790 * sysdeps/i386/fpu/math_private.h: Remove.
5791 * sysdeps/mips/math_private.h: Move to ....
5792 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
5793 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
5794 [__mips_hard_float] conditional. Include next <fenv_private.h>.
5795 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
5796 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5797 * sysdeps/powerpc/fpu/math_private.h: Do not include
5799 * sysdeps/riscv/rvf/math_private.h: Move to ....
5800 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
5801 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
5803 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
5804 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5805 * sysdeps/sparc/fpu/math_private.h: Remove.
5806 * sysdeps/i386/fpu/fenv_private.h: Move to ....
5807 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
5808 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
5810 * sysdeps/x86_64/fpu/math_private.h: Do not include
5811 <sysdeps/i386/fpu/fenv_private.h>.
5813 2018-08-28 Florian Weimer <fweimer@redhat.com>
5816 * posix/tst-regcomp-truncated.c: New file.
5817 * posix/Makefile (tests): Add it.
5818 (tst-regcomp-truncated.out): Depend on generated locales.
5820 2018-08-28 Florian Weimer <fweimer@redhat.com>
5822 * support/test-container.c (main): Treat unshare failure with
5823 EPERM as an unsupported test.
5825 2018-08-28 Florian Weimer <fweimer@redhat.com>
5828 nscd: Fix use-after-free in addgetnetgrentX and its callers.
5829 * nscd/netgroupcache.c
5830 (addgetnetgrentX): Add tofreep parameter. Do not free
5831 heap-allocated buffer.
5832 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
5833 (addgetnetgrentX_ignore): New function.
5834 (addgetnetgrent): Call it.
5835 (readdgetnetgrent): Likewise.
5837 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5839 * string/memmem.c: Use memcmp for first match.
5841 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5844 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
5846 2018-08-27 DJ Delorie <dj@redhat.com>
5848 * support/Makefile (others): Don't list programs explicitly as a
5849 dependency of "others".
5851 2018-08-27 Joseph Myers <joseph@codesourcery.com>
5853 * sysdeps/generic/math-tests-trap-force.h: New file.
5854 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
5855 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
5856 * sysdeps/powerpc/math-tests.h: Remove file.
5857 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
5859 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
5860 Torvald Riegel <triegel@redhat.com>
5863 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
5864 Update r to include the set wake-request flag if waiters are
5865 remaining after spinning.
5867 2018-08-27 Joseph Myers <joseph@codesourcery.com>
5869 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
5871 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
5874 regex: fix uninitialized memory access
5875 I introduced this bug into gnulib in commit
5876 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
5877 eventually it was merged into glibc. The bug was found by
5878 project-repo <bugs@feusi.co> and reported here:
5879 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
5880 Diagnosis and draft fix reported by Assaf Gordon here:
5881 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
5882 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
5883 * posix/regex_internal.c (build_wcs_upper_buffer):
5884 Fix bug when mbrtowc returns 0.
5886 2018-08-24 Carlos O'Donell <carlos@redhat.com>
5888 * po/be.po: Update translation.
5890 2018-08-24 DJ Delorie <dj@delorie.com>
5892 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
5895 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5898 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
5899 create temporary files in source tree.
5901 2018-08-24 Joseph Myers <joseph@codesourcery.com>
5903 * sysdeps/generic/math-tests-trap.h: New file.
5904 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
5905 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
5906 * sysdeps/aarch64/math-tests.h: Remove file.
5907 * sysdeps/arm/math-tests.h: Likewise.
5908 * sysdeps/riscv/math-tests.h: Likewise.
5909 * sysdeps/aarch64/math-tests-trap.h: New file.
5910 * sysdeps/arm/math-tests-trap.h: Likewise.
5911 * sysdeps/riscv/math-tests-trap.h: Likewise.
5913 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
5915 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
5916 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
5917 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
5918 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
5919 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
5920 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
5924 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5925 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5926 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5927 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5928 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
5929 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
5930 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
5931 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5932 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5934 2018-08-23 Joseph Myers <joseph@codesourcery.com>
5936 * sysdeps/generic/math-tests-exceptions.h: New file.
5937 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
5938 (EXCEPTION_TESTS_float): Do not define here.
5939 (EXCEPTION_TESTS_double): Likewise.
5940 (EXCEPTION_TESTS_long_double): Likewise.
5941 (EXCEPTION_TESTS_float128): Likewise.
5942 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
5944 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
5945 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
5946 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
5947 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
5948 * sysdeps/mips/math-tests.h: Likewise.
5949 * sysdeps/nios2/math-tests.h: Likewise.
5950 * sysdeps/riscv/math-tests.h [!__riscv_flen]
5951 (EXCEPTION_TESTS_float): Do not define here.
5952 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
5953 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
5954 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
5956 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
5958 * NEWS: Move optimized sinf entry to 2.29.
5960 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
5962 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
5964 2018-08-22 DJ Delorie <dj@redhat.com>
5966 * Makefile (testroot.pristine): New rules to initialize the
5967 test-in-container "testroot".
5968 * Makerules (all-testsuite): Add tests-container.
5969 * Rules (tests-expected): Add tests-container.
5970 (binaries-all-tests): Likewise.
5971 (tests-container): New, run these tests in the testroot container.
5972 * support/Makefile (others): Add *-container, support_paths.c,
5973 xmkdirp, and links-dso-program.
5974 * support/links-dso-program-c.c: New.
5975 * support/links-dso-program.cc: New.
5976 * support/test-container.c: New.
5977 * support/shell-container.c: New.
5978 * support/echo-container.c: New.
5979 * support/true-container.c: New.
5980 * support/xmkdirp.c: New.
5981 * support/xsymlink.c: New.
5982 * support/support_paths.c: New.
5983 * support/support.h: Add support paths prototypes.
5984 * support/xunistd.h: Add xmkdirp () and xsymlink ().
5986 * nss/tst-nss-test3.c: Convert to test-in-container.
5987 * nss/tst-nss-test3.root/: New.
5989 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
5991 regex: port Gnulib code to z/OS POSIX environment
5992 Problem reported by Arnold Robbins in:
5993 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
5994 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
5997 2018-08-22 Joseph Myers <joseph@codesourcery.com>
5999 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6000 (ROUNDING_TESTS_double): Remove.
6001 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6002 (ROUNDING_TESTS_double): Remove.
6003 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6004 (ROUNDING_TESTS_double): Remove.
6005 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6006 (ROUNDING_TESTS_float): Remove.
6007 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6008 (ROUNDING_TESTS_float): Remove.
6009 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6010 (ROUNDING_TESTS_float): Remove.
6011 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6013 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6014 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6016 * sysdeps/generic/math-tests-rounding.h: New file.
6017 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6018 (ROUNDING_TESTS_float): Do not define here.
6019 (ROUNDING_TESTS_double): Likewise.
6020 (ROUNDING_TESTS_long_double): Likewise.
6021 (ROUNDING_TESTS_float128): Likewise.
6022 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6023 (ROUNDING_TESTS_double): Undefine before defining.
6024 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6025 (ROUNDING_TESTS_double): Undefine before defining.
6026 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6027 (ROUNDING_TESTS_double): Undefine before defining.
6028 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6029 (ROUNDING_TESTS_float): Undefine before defining.
6030 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6031 (ROUNDING_TESTS_float): Undefine before defining.
6032 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6033 (ROUNDING_TESTS_float): Undefine before defining.
6034 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6035 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6037 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6038 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6039 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6040 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6041 (ROUNDING_TESTS_float): Do not define here.
6042 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6043 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6044 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6045 (ROUNDING_TESTS_float): Likewise.
6046 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6047 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6048 * sysdeps/mips/math-tests.h [__mips_soft_float]
6049 (ROUNDING_TESTS_float): Likewise.
6050 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6051 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6052 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6053 (ROUNDING_TESTS_double): Likewise.
6054 (ROUNDING_TESTS_long_double): Likewise.
6056 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6058 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6059 (PF_XDP): New macro.
6060 (AF_XDP): New macro.
6061 (SOL_XDP): New macro.
6063 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6065 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6066 (TCP_INQ): Likewise.
6067 (TCP_CM_INQ): Likewise.
6068 (TCP_REPAIR_ON): Likewise.
6069 (TCP_REPAIR_OFF): Likewise.
6070 (TCP_REPAIR_OFF_NO_WP): Likewise.
6071 (struct tcp_zerocopy_receive): New type.
6073 2018-08-21 Florian Weimer <fweimer@redhat.com>
6075 * support/support.h (support_descriptor_supports_holes): Declare.
6076 * support/Makefile (libsupport-routines): Add
6077 support_descriptor_supports_holes.
6078 * support/support_descriptor_supports_holes.c: New file.
6079 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6080 and stop testing if holes are not supported.
6081 * io/test-lfs.c (do_prepare): Likewise.
6082 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6084 * timezone/tst-tzset.c (create_tz_file): Likewise.
6085 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6087 (do_prepare): Set it.
6088 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6090 2018-08-21 Florian Weimer <fweimer@redhat.com>
6093 * Makeconfig (+cflags): Do not sort (and deduplicate).
6095 2018-08-21 Florian Weimer <fweimer@redhat.com>
6097 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6098 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6100 2018-08-20 Florian Weimer <fweimer@redhat.com>
6102 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6103 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6105 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6107 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6108 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6109 and ssi_arch members.
6111 * elf/elf.c (NT_VMCOREDD): New macro.
6112 (AT_MINSIGSTKSZ): Likewise.
6114 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6117 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6118 s_cosf-ppc64 and s_cosf-power8.
6119 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6120 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6121 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6122 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6129 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6130 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6132 2018-08-17 Florian Weimer <fweimer@redhat.com>
6134 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6136 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6138 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6140 2018-08-16 Florian Weimer <fweimer@redhat.com>
6142 * configure.ac: Add --with-nonshared-cflags option.
6143 * config.make.in (extra-nonshared-cflags): Set variable.
6144 * Makeconfig (CFLAGS-.oS): Use it.
6145 * manual/install.texi (Configuring and compiling): Document
6146 --with-nonshared-cflags.
6147 * configure: Regenerate.
6148 * INSTALL: Likewise.
6150 2018-08-16 Florian Weimer <fweimer@redhat.com>
6152 * Makeconfig (ASFLAGS): Always append required assembler flags.
6154 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6156 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6157 (malloc_consolidate): Likewise.
6159 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6161 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6163 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6165 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6168 * benchtests/bench-strlen.c: Print performance numbers in json.
6170 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6172 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6173 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6174 only for little endian.
6175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6176 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6177 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6178 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6179 Add check for little endian.
6180 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6181 (__strcmp_power9): Add check for little endian.
6182 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6183 Add check for little endian.
6184 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6185 (__strncmp_power9): Add check for little endian.
6186 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6187 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6188 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6189 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6190 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6192 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6194 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6195 [!STRLEN](STRLEN): Set to __strlen.
6196 * sysdeps/aarch64/multiarch/strlen.c: New file.
6197 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6198 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6199 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6200 (__libc_ifunc_impl_list): Add strlen.
6201 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6202 strlen_generic and strlen_asimd.
6204 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6207 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6208 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6210 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6212 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6214 2018-08-14 Florian Weimer <fweimer@redhat.com>
6217 * include/stdio.h (__vfxprintf): Declare.
6218 * stdio-common/fxprintf.c (__vfxprintf): New function.
6219 (__fxprintf): Call it.
6220 * misc/err.c (convert_and_print): Remove function.
6221 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6222 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6223 * misc/Makefile (tests): Add tst-warn-wide.
6224 * misc/tst-warn-wide.c: New file.
6226 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6227 Szabolcs Nagy <szabolcs.nagy@arm.com>
6229 * NEWS: Mention sinf, cosf, sincosf.
6230 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6231 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6232 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6233 constants rather than including generic sincosf.h.
6234 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6235 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6236 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6237 (reduced_cos): Remove.
6238 (sinf_poly): New function.
6239 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6241 2018-08-14 Florian Weimer <fweimer@redhat.com>
6245 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6246 processing, bail out if no room, and close the stream before
6248 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6249 (tst-nss-files-alias-leak): Link with libdl.
6250 (tst-nss-files-alias-leak.out): Depend on nss_files.
6252 * nss/tst-nss-files-alias-leak.c: New file.
6254 2018-08-14 Florian Weimer <fweimer@redhat.com>
6256 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6257 server_user, stat_user.
6259 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6261 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6263 (io_pgetevents): New syscall.
6266 * manual/install.texi (Configuring and compiling): Do not list
6267 tools used for testing pretty printers here.
6268 (Tools for Compilation): List Python, PExpect and GDB here.
6269 Update descriptions of uses of Perl and Python.
6270 * INSTALL: Regenerate.
6272 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6275 2018-08-13 Florian Weimer <fweimer@redhat.com>
6277 * misc/error.c (error): Add missing va_end call.
6278 (error_at_line): Likewise.
6280 2018-08-13 Florian Weimer <fweimer@redhat.com>
6282 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6284 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6286 * benchtests/scripts/benchout.schema.json (properties): Add
6289 * benchtests/bench-skeleton.c (main): Add duration and
6290 iterations attributes.
6292 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6294 regex: Gnulib unibyte RRI uses bytes not chars
6295 Adjust the non-glibc code to agree with what Gawk needs for
6296 rational range interpretation (RRI) for regular expression ranges.
6297 In unibyte locales, Gawk wants ranges to use the underlying byte
6298 rather than the character code point. This change does not affect
6300 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6301 In unibyte locales, use the byte value rather than
6302 running it through btowc.
6304 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6306 * sysdeps/generic/math-tests-snan.h: New file.
6307 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6308 (SNAN_TESTS_float): Do not define here.
6309 (SNAN_TESTS_double): Likewise.
6310 (SNAN_TESTS_long_double): Likewise.
6311 (SNAN_TESTS_float128): Likewise.
6312 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6313 * sysdeps/i386/fpu/math-tests.h: Remove file.
6314 * sysdeps/ia64/math-tests-snan.h: New file.
6315 * sysdeps/ia64/math-tests.h: Remove file.
6316 * sysdeps/x86/math-tests.h: Likewise.
6317 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6319 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6320 Szabolcs Nagy <szabolcs.nagy@arm.com>
6322 * math/Makefile: Add s_sincosf_data.c.
6323 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6324 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6325 (sincosf_poly): Likewise.
6326 (reduce_small): Likewise.
6327 (reduce_large): Likewise.
6328 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6329 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6330 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6331 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6333 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6334 Szabolcs Nagy <szabolcs.nagy@arm.com>
6336 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6337 (converttoint): Use lround.
6338 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6339 document the semantics when TOINT_INTRINSICS is set.
6340 (converttoint): Likewise.
6341 (TOINT_RINT): Remove.
6342 (TOINT_SHIFT): Remove.
6343 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6346 2018-08-10 Florian Weimer <fweimer@redhat.com>
6349 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6351 (__old_getdents64): Use getdents64. Convert entries without
6353 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6354 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6355 tst-readdir64-compat.
6357 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6359 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6362 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6364 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
6365 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
6366 code to s390x-mcount.h and #include it.
6367 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
6368 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6371 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6373 * stdlib/Versions: Remove __fentry__.
6374 * sysdeps/i386/Versions: Add __fentry__.
6375 * sysdeps/x86_64/Versions: Add __fentry__.
6377 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6379 * sysdeps/s390/Makefile: Register the new tests.
6380 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
6381 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
6382 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
6383 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
6384 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
6385 * sysdeps/s390/tst-dl-runtime.c: New file.
6387 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6389 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6392 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6394 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6397 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6399 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6402 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6404 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6407 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6409 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6410 Use symbolic offsets for stack variables.
6412 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6414 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6415 Use symbolic offsets for stack variables.
6417 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6419 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6420 Use symbolic offsets for stack variables.
6422 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6424 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6425 Use symbolic offsets for stack variables.
6427 2018-08-09 Joseph Myers <joseph@codesourcery.com>
6429 * math/gen-libm-test.py: New file.
6430 * math/gen-libm-test.pl: Remove.
6431 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
6432 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
6434 ($(libm-test-c-noauto-obj)): Likewise.
6435 ($(libm-test-c-auto-obj)): Likewise.
6436 ($(libm-test-c-narrow-obj)): Likewise.
6437 (regen-ulps): Likewise.
6438 * math/README.libm-test: Update references to gen-libm-test.pl.
6439 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
6440 referencing gen-libm-test.pl.
6441 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
6442 * math/libm-test-support.c: Likewise.
6443 * math/libm-test-support.h: Likewise.
6444 * sysdeps/generic/libm-test-ulps: Likewise.
6446 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
6448 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
6451 2018-08-08 Joseph Myers <joseph@codesourcery.com>
6453 * math/libm-test-nextdown.inc (do_test): Move comment to ....
6454 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
6456 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6458 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
6460 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
6461 __pthread_setspecific): Add hidden proto.
6462 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
6463 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
6465 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6467 * benchtests/bench-string.h (buf1_size, buf2_size): New
6469 (init_sizes): New function.
6470 (test_init): Use it.
6471 (alloc_buf, exit_error): New functions.
6472 (alloc_bufs): Use ALLOC_BUF.
6473 (realloc_bufs): Remove.
6474 * benchtests/bench-memcmp.c (do_test): Adjust.
6475 * benchtests/bench-memset-large.c (do_test): Likewise.
6476 * benchtests/bench-memset-walk.c (do_test): Likewise.
6477 * benchtests/bench-memset.c (do_test): Likewise.
6478 * benchtests/bench-strncmp.c (do_test): Likewise.
6480 2018-08-06 Andreas Schwab <schwab@suse.de>
6482 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
6483 of CONST_THREAD_AREA.
6485 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
6487 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
6488 (STATE_SAVE_MASK): Likewise.
6489 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
6490 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
6491 (STATE_SAVE_MASK): Likewise.
6492 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
6493 instead of <cpu-features.h>.
6495 2018-08-03 DJ Delorie <dj@redhat.com>
6497 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
6498 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
6500 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6502 2018-08-03 Joseph Myers <joseph@codesourcery.com>
6504 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
6506 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
6507 * math/libm-test-logb.inc (logb_test_data): Likewise.
6509 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
6511 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
6512 * string/strstr.c (AVAILABLE): Likewise.
6514 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6516 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
6518 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
6519 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
6520 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
6522 2018-08-03 Carlos O'Donell <carlos@redhat.com>
6524 * po/be.po: Update translation.
6526 * po/be.po: Update translation.
6528 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6530 * sysdeps/x86/cpu-features-offsets.sym
6531 (rtld_global_ro_offsetof): Removed.
6532 (CPU_FEATURES_SIZE): Likewise.
6533 (CPUID_OFFSET): Likewise.
6534 (CPUID_SIZE): Likewise.
6535 (CPUID_EAX_OFFSET): Likewise.
6536 (CPUID_EBX_OFFSET): Likewise.
6537 (CPUID_ECX_OFFSET): Likewise.
6538 (CPUID_EDX_OFFSET): Likewise.
6539 (FAMILY_OFFSET): Likewise.
6540 (MODEL_OFFSET): Likewise.
6541 (FEATURE_OFFSET): Likewise.
6542 (FEATURE_SIZ): Likewise.
6543 (COMMON_CPUID_INDEX_1): Likewise.
6544 (COMMON_CPUID_INDEX_7): Likewise.
6545 (FEATURE_INDEX_1): Likewise.
6546 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
6548 2018-08-02 Carlos O'Donell <carlos@redhat.com>
6550 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
6551 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
6552 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
6553 (install-locales): Depend on install-locale-archive.
6554 (install-locale-archive): Define.
6555 (install-locale-files): Define.
6556 (build-one-locale): Define macro.
6557 * manual/install.texi (Running make install): Document.
6558 * manual/INSTALL: Regenerate.
6560 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6562 * benchtests/scripts/compare_strings.py: Import traceback.
6563 (parse_file): Pretty-print error.
6565 * NEWS: Mention the change.
6566 * elf/dl-tunables.list: Rename tune namespace to cpu.
6567 * sysdeps/powerpc/dl-tunables.list: Likewise.
6568 * sysdeps/x86/dl-tunables.list: Likewise.
6569 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
6571 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
6572 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
6573 * manual/README.tunables: Likewise.
6574 * manual/tunables.texi: Likewise.
6575 * sysdeps/powerpc/cpu-features.c: Likewise.
6576 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6577 (init_cpu_features): Likewise.
6578 * sysdeps/x86/cpu-features.c: Likewise.
6579 * sysdeps/x86/cpu-features.h: Likewise.
6580 * sysdeps/x86/cpu-tunables.c: Likewise.
6581 * sysdeps/x86_64/Makefile: Likewise.
6582 * sysdeps/x86/dl-cet.c: Likewise.
6584 2018-08-02 Joseph Myers <joseph@codesourcery.com>
6587 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
6588 [__mips_hard_float].
6589 (FE_UNDERFLOW): Likewise.
6590 (FE_OVERFLOW): Likewise.
6591 (FE_DIVBYZERO): Likewise.
6592 (FE_INVALID): Likewise.
6593 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
6594 (FE_TOWARDZERO): Define only if [__mips_hard_float].
6595 (FE_UPWARD): Likewise.
6596 (FE_DOWNWARD): Likewise.
6597 (__FE_UNDEFINED): Define if [!__mips_hard_float]
6598 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
6599 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
6600 [__mips_hard_float].
6601 (FP_ROUNDMODE): Likewise.
6602 (FP_RND_NEAREST): Likewise.
6603 (FP_RND_ZERO): Likewise.
6604 (FP_RND_PINF): Likewise.
6605 (FP_RND_MINF): Likewise.
6606 (FP_EX_INVALID): Likewise.
6607 (FP_EX_OVERFLOW): Likewise.
6608 (FP_EX_UNDERFLOW): Likewise.
6609 (FP_EX_DIVZERO): Likewise.
6610 (FP_EX_INEXACT): Likewise.
6611 (FP_INIT_ROUNDMODE): Likewise.
6612 * sysdeps/mips/nofpu/fesetenv.c: New file.
6613 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
6615 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6617 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
6618 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
6619 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
6620 conditional on [FE_UPWARD].
6622 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
6624 regex: fix memory leak in Gnulib
6625 Problem and fix reported by Assaf Gordon in:
6626 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
6627 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
6628 range_ends members too, as they are defined in 'struct
6629 re_charset_t' even if not _LIBC. This affects only Gnulib.
6631 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
6633 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
6635 (get_common_indices): This.
6636 (init_cpu_features): Updated.
6638 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6640 * sysdeps/generic/math-tests-snan-payload.h: New file.
6641 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
6642 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
6643 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
6644 * sysdeps/generic/math-tests.h: Include
6645 <math-tests-snan-payload.h>.
6646 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6647 * sysdeps/hppa/math-tests.h: Remove file.
6648 * sysdeps/mips/math-tests.h [!__mips_nan2008]
6649 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6650 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
6653 * sysdeps/generic/math-tests-snan-cast.h: New file.
6654 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
6655 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
6656 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
6657 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
6659 2018-08-01 Carlos O'Donel <carlos@redhat.com>
6661 * version.h (RELEASE): Set to "development".
6662 (VERSION): Set to "2.28.9000".
6663 * NEWS (2.29): New section.
6665 * version.h (RELEASE): Set to "stable".
6666 (VERSION): Set to "2.28".
6667 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
6668 * NEWS: Add the list of bugs fixed in 2.28.
6670 * po/ca.po: Update to latest version.
6671 * po/cs.po: Likewise
6672 * po/da.po: Likewise
6673 * po/el.po: Likewise
6674 * po/eo.po: Likewise
6675 * po/es.po: Likewise
6676 * po/fi.po: Likewise
6677 * po/fr.po: Likewise
6678 * po/gl.po: Likewise
6679 * po/hu.po: Likewise
6680 * po/ia.po: Likewise
6681 * po/id.po: Likewise
6682 * po/it.po: Likewise
6683 * po/ja.po: Likewise
6684 * po/ko.po: Likewise
6685 * po/lt.po: Likewise
6686 * po/nb.po: Likewise
6687 * po/nl.po: Likewise
6688 * po/pt_BR.po: Likewise
6689 * po/ru.po: Likewise
6690 * po/rw.po: Likewise
6691 * po/sk.po: Likewise
6692 * po/sl.po: Likewise
6693 * po/tr.po: Likewise
6694 * po/zh_CN.po: Likewise
6695 * po/zh_TW.po: Likewise
6697 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6699 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
6701 (init): ... before initializing libpthread.
6703 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
6704 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
6705 (__mach_setup_tls): ... new function.
6706 (mach_setup_tls): New alias.
6707 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
6708 __mach_setup_thread.
6709 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
6710 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
6711 * mach/Versions [libc] (mach_setup_tls): Add symbol.
6712 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
6714 2018-07-31 Carlos O'Donell <carlos@redhat.com>
6716 * manual/install.texi: Update versions.
6717 * INSTALL: Regenerate.
6719 * manual/contrib.texi (Contributors): Update contributions.
6721 2018-07-31 Carlos O'Donell <carlos@redhat.com>
6723 * po/be.po: Update translations.
6725 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6727 * sysdeps/sh/libm-test-ulps: Update.
6729 2018-07-30 Carlos O'Donell <carlos@redhat.com>
6731 * po/bg.po: Update translations.
6732 * po/de.po: Likewise.
6733 * po/hr.po: Likewise.
6734 * po/pt_BR.po: Likewise.
6735 * po/sv.po: Likewise.
6736 * po/vi.po: Likewise.
6738 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6741 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6742 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
6743 (CFLAGS-tst-cet-property-1.o): New.
6744 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
6745 ($(objpfx)tst-cet-property-2): Likewise.
6746 ($(objpfx)tst-cet-property-2.out): Likewise.
6747 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
6748 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
6749 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
6750 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
6751 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
6753 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6756 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
6758 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6760 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
6761 __sbrk): Do not set attribute_hidden.
6762 * sysdeps/mach/hurd/not-errno.h: New file.
6763 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6764 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
6766 2018-07-27 Carlos O'Donell <carlos@redhat.com>
6768 * po/uk.po: Update translations.
6769 * po/cs.po: Likewise.
6770 * po/pl.po: Likewise.
6772 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
6774 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
6775 parse beyond the note end.
6777 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6779 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
6780 kernel does not support OFD locks.
6781 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
6783 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6785 * sysdeps/mach/hurd/Versions (libc): Make __access and
6786 __access_noerrno external so they can override the ld symbols.
6787 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
6788 __writev, __open64, __access_noerrno extern so they can be overrided.
6789 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
6790 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6792 2018-07-26 Carlos O'Donell <carlos@redhat.com>
6794 * po/libc.pot: Regenerate.
6796 2018-07-26 Joseph Myers <joseph@codesourcery.com>
6798 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6800 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6803 * sysdeps/x86/cpu-features.c (get_extended_indices): New
6805 (init_cpu_features): Call get_extended_indices for both Intel
6807 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
6808 Remove "for AMD" comment.
6810 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6813 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
6814 COMMON_CPUID_INDEX_80000001.
6816 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
6818 * string/tst-xbzero-opt.c (use_test_buffer): New function.
6819 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
6821 2018-07-26 Florian Weimer <fweimer@redhat.com>
6823 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
6824 aliases for symbols not in the implementation namespace.
6826 2018-07-25 Carlos O'Donell <carlos@redhat.com>
6829 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
6830 lowercase in LATIN script.
6831 * localedata/Makefile (test-input): Add en_US.UTF-8.
6832 * localedata/en_US.UTF-8.in: New file.
6833 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
6834 and restore old tests.
6835 * posix/tst-regexloc.c (do_test): Add back range expression test.
6837 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6839 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
6841 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6843 * nptl/threads.h: Move to ...
6844 * sysdeps/nptl/threads.h: ... here.
6845 * sysdeps/hurd/stdc-predef.h: New file.
6847 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6849 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6850 tst-cet-setcontext-1 if CET is enabled.
6851 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
6852 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
6854 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6856 * include/threads.h: Move to ...
6857 * sysdeps/nptl/threads.h: ... here.
6858 * sysdeps/htl/threads.h: New file.
6859 * conform/Makefile (linknamespace-libs-ISO11): Use
6860 static-thread-library instead of linking libpthread.
6861 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
6863 2018-07-25 Florian Weimer <fweimer@redhat.com>
6865 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
6866 nanoseconds into seconds.
6867 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
6868 (do_test): Likewise.
6869 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
6870 (do_test): Likewise. Avoid nanosecond overflow and spurious
6871 timeouts due to system load.
6872 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
6873 (child_wait): Increment it.
6874 (do_test): Wait as long as necessary until all expected threads
6877 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
6878 H.J. Lu <hongjiu.lu@intel.com>
6880 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
6882 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
6883 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
6884 (__push___start_context): New.
6885 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
6887 (__getcontext): Record the current shadow stack base. Save the
6888 caller's shadow stack pointer and base.
6889 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
6890 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
6891 (__push___start_context): New prototype.
6892 (__makecontext): Call __push___start_context to allocate a new
6893 shadow stack, push __start_context onto the new stack as well
6894 as the new shadow stack.
6895 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
6897 (__setcontext): Restore the target shadow stack.
6898 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
6900 (__swapcontext): Record the current shadow stack base. Save
6901 the caller's shadow stack pointer and base. Restore the target
6903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6904 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
6905 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
6907 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6909 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
6910 tst-setcontext8 and tst-setcontext9.
6911 * stdlib/tst-setcontext6.c: New file.
6912 * stdlib/tst-setcontext7.c: Likewise.
6913 * stdlib/tst-setcontext8.c: Likewise.
6914 * stdlib/tst-setcontext9.c: Likewise.
6916 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6918 * stdlib/Makefile ((tests): Add tst-setcontext5.
6919 * stdlib/tst-setcontext5.c: New file.
6921 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6923 * stdlib/Makefile (tests): Add tst-setcontext4.
6924 * stdlib/tst-setcontext4.c: New file.
6926 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6928 * stdlib/Makefile (tests): Add tst-swapcontext1.
6929 * stdlib/tst-swapcontext1.c: New test.
6931 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6933 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
6934 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
6935 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
6936 and tst-cet-legacy-4c.
6937 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
6938 and tst-cet-legacy-mod-4.
6939 (CFLAGS-tst-cet-legacy-2.c): New.
6940 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
6941 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
6942 (CFLAGS-tst-cet-legacy-3.c): Likewise.
6943 (CFLAGS-tst-cet-legacy-4.c): Likewise.
6944 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
6945 ($(objpfx)tst-cet-legacy-1): Likewise.
6946 ($(objpfx)tst-cet-legacy-2): Likewise.
6947 ($(objpfx)tst-cet-legacy-2.out): Likewise.
6948 ($(objpfx)tst-cet-legacy-2a): Likewise.
6949 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
6950 ($(objpfx)tst-cet-legacy-4): Likewise.
6951 ($(objpfx)tst-cet-legacy-4.out): Likewise.
6952 ($(objpfx)tst-cet-legacy-4a): Likewise.
6953 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
6954 (tst-cet-legacy-4a-ENV): Likewise.
6955 ($(objpfx)tst-cet-legacy-4b): Likewise.
6956 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
6957 (tst-cet-legacy-4b-ENV): Likewise.
6958 ($(objpfx)tst-cet-legacy-4c): Likewise.
6959 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
6960 (tst-cet-legacy-4c-ENV): Likewise.
6961 * sysdeps/x86/tst-cet-legacy-1.c: New file.
6962 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
6963 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
6964 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
6965 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
6966 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
6967 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
6968 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
6969 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
6970 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
6971 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
6973 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6975 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6976 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6978 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6979 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6982 2018-07-25 Andreas Schwab <schwab@suse.de>
6985 * locale/weightwc.h (findidx): Handle the case where usrc is a
6986 prefix of cp but one character too short.
6988 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6990 * NEWS: Add ISO C threads addition.
6992 2018-07-24 Florian Weimer <fweimer@redhat.com>
6994 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6995 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
6996 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
6999 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7001 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7002 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7003 <sys/prctl.h> and <asm/prctl.h>.
7004 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7005 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7007 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7008 ARCH_CET_LEGACY_BITMAP.
7009 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7010 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7011 * sysdeps/x86/libc-start.c: Include <startup.h>.
7013 2018-07-24 Florian Weimer <fweimer@redhat.com>
7015 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7016 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7018 2018-07-24 Rical Jasan <rj@2c3t.io>
7019 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7020 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7023 * manual/debug.texi: Update adjacent chapter name.
7024 * manual/probes.texi: Likewise.
7025 * manual/threads.texi (ISO C Threads): New section.
7026 (POSIX Threads): Convert to a section.
7028 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7029 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7032 * nptl/Makefile (tests): Add new test files.
7033 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7034 * nptl/tst-cnd-basic.c: Likewise.
7035 * nptl/tst-cnd-broadcast.c: Likewise.
7036 * nptl/tst-cnd-timedwait.c: Likewise.
7037 * nptl/tst-mtx-basic.c: Likewise.
7038 * nptl/tst-mtx-recursive.c: Likewise.
7039 * nptl/tst-mtx-timedlock.c: Likewise.
7040 * nptl/tst-mtx-trylock.c: Likewise.
7041 * nptl/tst-thrd-basic.c: Likewise.
7042 * nptl/tst-thrd-detach.c: Likewise.
7043 * nptl/tst-thrd-sleep.c: Likewise.
7044 * nptl/tst-tss-basic.c: Likewise.
7046 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7049 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7050 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7052 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7053 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7054 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7055 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7056 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7057 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7058 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7059 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7060 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7061 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7062 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7063 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7071 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7072 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7073 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7074 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7075 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7076 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7077 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7078 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7079 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7080 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7081 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7082 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7083 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7085 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7086 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7087 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7088 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7089 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7090 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7091 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7092 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7093 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7094 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7095 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7096 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7103 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7104 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7105 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7106 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7107 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7108 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7109 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7110 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7113 * conform/data/threads.h-data (thread_local): New macro.
7114 (TSS_DTOR_ITERATIONS): Likewise.
7116 (tss_dtor_t): Likewise.
7117 (tss_create): New function.
7118 (tss_get): Likewise.
7119 (tss_set): Likewise.
7120 (tss_delete): Likewise.
7121 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7122 tss_get, and tss_set objects.
7123 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7124 * nptl/tss_create.c: New file.
7125 * nptl/tss_delete.c: Likewise.
7126 * nptl/tss_get.c: Likewise.
7127 * nptl/tss_set.c: Likewise.
7128 * sysdeps/nptl/threads.h (thread_local): New define.
7129 (TSS_DTOR_ITERATIONS): Likewise.
7130 (tss_t): New typedef.
7131 (tss_dtor_t): Likewise.
7132 (tss_create): New prototype.
7133 (tss_get): Likewise.
7134 (tss_set): Likewise.
7135 (tss_delete): Likewise.
7138 * conform/data/threads.h-data (cnd_t): New type.
7139 (cnd_init): New function.
7140 (cnd_signal): Likewise.
7141 (cnd_broadcast): Likewise.
7142 (cnd_wait): Likewise.
7143 (cnd_timedwait): Likewise.
7144 (cnd_destroy): Likewise.
7145 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7146 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7148 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7149 * nptl/cnd_broadcast.c: New file.
7150 * nptl/cnd_destroy.c: Likewise.
7151 * nptl/cnd_init.c: Likewise.
7152 * nptl/cnd_signal.c: Likewise.
7153 * nptl/cnd_timedwait.c: Likewise.
7154 * nptl/cnd_wait.c: Likewise.
7155 * sysdeps/nptl/threads.h (cnd_t): New type.
7156 (cnd_init): New prototype.
7157 (cnd_signa): Likewise.
7158 (cnd_broadcast): Likewise.
7159 (cnd_wait): Likewise.
7160 (cnd_timedwait): Likewise.
7161 (cnd_destroy): Likewise.
7164 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7165 (once_flag): New type.
7166 (call_once): New function.
7167 * nptl/Makefile (libpthread-routines): Add call_once object.
7168 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7169 * nptl/call_once.c: New file.
7170 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7171 (once_flag): New type.
7172 (call_once): New prototype.
7175 * conform/data/threads.h-data (mtx_plain): New constant.
7176 (mtx_recursive): Likewise.
7177 (mtx_timed): Likewise.
7179 (mtx_init): New function.
7180 (mtx_lock): Likewise.
7181 (mtx_timedlock): Likewise.
7182 (mtx_trylock): Likewise.
7183 (mtx_unlock): Likewise.
7184 (mtx_destroy): Likewise.
7185 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7186 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7187 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7188 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7189 * nptl/mtx_destroy.c: New file.
7190 * nptl/mtx_init.c: Likewise.
7191 * nptl/mtx_lock.c: Likewise.
7192 * nptl/mtx_timedlock.c: Likewise.
7193 * nptl/mtx_trylock.c: Likewise.
7194 * nptl/mtx_unlock.c: Likewise.
7195 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7196 (mtx_recursive): Likewise.
7197 (mtx_timed): Likewise.
7199 (mtx_init): New prototype.
7200 (mtx_lock): Likewise.
7201 (mtx_timedlock): Likewise.
7202 (mtx_trylock): Likewise.
7203 (mtx_unlock): Likewise.
7204 (mtx_destroy): Likewise.
7207 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7208 (linknamespace-libs-ISO11): Add libpthread.a.
7209 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7211 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7212 * nptl/Makefile (headers): Add threads.h.
7213 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7214 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7216 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7217 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7218 thrd_join, thrd_sleep, and thrd_yield symbols.
7219 * nptl/descr.h (struct pthread): Add c11 field.
7220 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7221 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7222 routine with expected function prototype.
7223 (__pthread_create_2_1): Add C11 threads check based on attribute
7225 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7226 * nptl/thrd_create.c: New file.
7227 * nptl/thrd_current.c: Likewise.
7228 * nptl/thrd_detach.c: Likewise.
7229 * nptl/thrd_equal.c: Likewise.
7230 * nptl/thrd_exit.c: Likewise.
7231 * nptl/thrd_join.c: Likewise.
7232 * nptl/thrd_priv.h: Likewise.
7233 * nptl/thrd_sleep.c: Likewise.
7234 * nptl/thrd_yield.c: Likewise.
7235 * include/threads.h: Likewise.
7237 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7239 * bits/indirect-return.h: New file.
7240 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7241 * sysdeps/x86/bits/indirect-return.h: Likewise.
7242 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7243 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7244 (swapcontext): Add __INDIRECT_RETURN.
7245 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7246 (prepare_test_buffer): Use it.
7248 2018-07-24 Andreas Schwab <schwab@suse.de>
7251 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7252 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7254 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7256 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7257 Redefine if shadow stack is enabled.
7258 (SYSCALL_ERROR_LABEL): Likewise.
7259 (__vfork): Pop shadow stack and jump back to to caller directly
7260 when shadow stack is in use.
7261 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7262 Redefine if shadow stack is enabled.
7263 (SYSCALL_ERROR_LABEL): Likewise.
7264 (__vfork): Pop shadow stack and jump back to to caller directly
7265 when shadow stack is in use.
7267 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7269 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7272 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7275 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7277 * scripts/build-many-glibcs.py (Context.checkout): Default
7278 binutils version to 2.31 branch.
7280 2018-07-20 Zong Li <zong@andestech.com>
7282 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7283 URL of gcc's tarball.
7285 2018-07-20 Florian Weimer <fweimer@redhat.com>
7288 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7289 not compare an extra byte after the end of the weights.
7291 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7293 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7295 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7297 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7298 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7299 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7300 list of libraries whose stack executability is expected.
7301 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7302 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7304 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7305 libc.so libpthread.so.
7307 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7309 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7311 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7313 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7315 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7317 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7319 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7320 library to improve command line parsing.
7321 (__main__): make schema file as optional parameter (--schema),
7322 defaulting to benchtests/scripts/benchout.schema.json.
7323 (main): move out of the parsing stuff to __main_ and leave it
7324 only as caller of main comparison functions.
7326 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7328 * NEWS: Add a note for Intel CET status.
7329 * manual/install.texi: Likewise.
7330 * INSTALL: Regenerated.
7332 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7335 * localedata/locales/oc_FR (mon): Rename to...
7336 (alt_mon): This, then update October (typo fix).
7337 (mon): New content (genitive case, month names preceded by
7341 * localedata/locales/oc_FR (abday): Update all items.
7342 (day): Update Wednesday and Saturday (typo fixes).
7343 (abmon): Update all items, except May.
7344 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7345 (LC_IDENTIFICATION): Bump the revision number and date.
7346 Keep the "category" entries in alphabetic order.
7347 (LC_ADDRESS): Remove no longer needed comment.
7348 (LC_COLLATE): Use “copy "ca_ES"”.
7349 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7352 2018-07-18 Joseph Myers <joseph@codesourcery.com>
7354 * grp/tst_fgetgrent.c: Include <unistd.h>.
7355 (main): Use mkstemp instead of tmpnam.
7356 * io/test-utime.c (main): Likewise.
7357 * posix/annexc.c (macrofile): Change to modifiable array.
7358 (main): Remove macrofile here.
7359 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7361 (check_header): Do not remove macrofile here.
7362 * posix/bug-getopt1.c: Include <stdlib.h>.
7363 (do_test): Use mkstemp instead of tmpnam.
7364 * posix/bug-getopt2.c: Include <stdlib.h>.
7365 (do_test): Use mkstemp instead of tmpnam.
7366 * posix/bug-getopt3.c: Include <stdlib.h>.
7367 (do_test): Use mkstemp instead of tmpnam.
7368 * posix/bug-getopt4.c: Include <stdlib.h>.
7369 (do_test): Use mkstemp instead of tmpnam.
7370 * posix/bug-getopt5.c: Include <stdlib.h>.
7371 (do_test): Use mkstemp instead of tmpnam.
7372 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
7373 (main): Use mkstemp instead of tmpnam.
7374 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
7375 (main): Use mkstemp instead of tmpnam.
7376 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
7377 (main): use mkstemp instead of tmpnam.
7378 * stdlib/isomac.c (macrofile): Change to modifiable array.
7379 (main): Remove macrofile here.
7380 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7382 (check_header): Do not remove macrofile here.
7384 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7386 * manual/tunables.texi: Document glibc.tune.x86_ibt and
7387 glibc.tune.x86_shstk.
7389 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7391 * NEWS: Mention --enable-cet.
7392 * manual/install.texi: Document --enable-cet.
7393 * INSTALL: Regenerated.
7395 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7397 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
7398 Add _CET_NOTRACK before indirect jump to jump table.
7400 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7402 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
7403 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7406 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7408 * sysdeps/i386/i686/multiarch/strcat-sse2.S
7409 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7412 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
7415 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7418 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7420 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
7421 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7424 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7426 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
7427 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7429 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
7431 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
7434 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7437 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7439 * sysdeps/i386/i686/multiarch/memset-sse2.S
7440 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7443 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7445 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
7446 indirect jump to jump table.
7448 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7450 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
7451 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7455 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
7458 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7462 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7464 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7465 _CET_NOTRACK before indirect jump to jump table.
7467 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7469 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
7470 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7473 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7475 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
7476 indirect jump to jump table.
7478 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
7481 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
7482 (LOCALES): Likewise.
7483 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
7484 * localedata/locales/sah_RU: New file.
7485 * localedata/sah_RU.UTF-8.in: New file.
7487 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7489 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
7491 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7492 _CET_ENDBR to indirect jump targets and adjust jump destination
7494 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
7496 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7497 _CET_ENDBR to indirect jump targets and adjust jump destination
7499 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
7501 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
7502 _CET_ENDBR to indirect jump targets and adjust jump destination
7505 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7507 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7510 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7512 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
7514 (_dl_tlsdesc_undefweak): Likewise.
7515 (_dl_tlsdesc_dynamic): Likewise.
7516 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
7517 (_dl_tlsdesc_resolve_rel): Likewise.
7518 (_dl_tlsdesc_resolve_rela): Likewise.
7519 (_dl_tlsdesc_resolve_hold): Likewise.
7520 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
7521 (_dl_tlsdesc_undefweak): Likewise.
7522 (_dl_tlsdesc_dynamic): Likewise.
7523 (_dl_tlsdesc_resolve_rela): Likewise.
7524 (_dl_tlsdesc_resolve_hold): Likewise.
7526 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7528 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
7530 * sysdeps/x86_64/crti.S (_init): Likewise.
7533 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
7536 * localedata/locales/os_RU (mon): Rename to...
7538 (mon): Import from CLDR (genitive case).
7540 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7542 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
7543 cet-tunables.h> when CET is enabled.
7545 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
7548 * configure.ac: Add --enable-cet.
7549 * configure: Regenerated.
7550 * elf/Makefille (all-built-dso): Add a comment.
7551 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
7552 Include <dl-prop.h>.
7553 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
7555 * elf/dl-open.c: Include <dl-prop.h>.
7556 (dl_open_worker): Call _dl_open_check.
7557 * elf/rtld.c: Include <dl-prop.h>.
7558 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
7560 * sysdeps/generic/dl-prop.h: New file.
7561 * sysdeps/i386/dl-cet.c: Likewise.
7562 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
7563 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
7564 * sysdeps/x86/cet-tunables.h: Likewise.
7565 * sysdeps/x86/check-cet.awk: Likewise.
7566 * sysdeps/x86/configure: Likewise.
7567 * sysdeps/x86/configure.ac: Likewise.
7568 * sysdeps/x86/dl-cet.c: Likewise.
7569 * sysdeps/x86/dl-procruntime.c: Likewise.
7570 * sysdeps/x86/dl-prop.h: Likewise.
7571 * sysdeps/x86/libc-start.h: Likewise.
7572 * sysdeps/x86/link_map.h: Likewise.
7573 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
7575 (_dl_runtime_profile): Likewise.
7576 (_dl_runtime_resolve_shstk): New.
7577 (_dl_runtime_profile_shstk): Likewise.
7578 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
7580 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
7581 (CFLAGS-.os): Likewise.
7582 (CFLAGS-.op): Likewise.
7583 (CFLAGS-.oS): Likewise.
7584 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
7586 (tests-special): Add $(objpfx)check-cet.out.
7587 (cet-built-dso): New.
7588 (+$(cet-built-dso:=.note)): Likewise.
7589 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
7590 ($(objpfx)check-cet.out): New.
7591 (generated): Add check-cet.out.
7592 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
7594 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
7595 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7596 (init_cpu_features): Call get_cet_status to check CET status
7597 and update dl_x86_feature_1 with CET status. Call
7598 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
7599 (set_x86_shstk). Disable and lock CET in libc.a.
7600 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
7601 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
7602 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7603 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
7604 (_CET_ENDBR): Define if not defined.
7605 (ENTRY): Add _CET_ENDBR.
7606 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
7608 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
7610 (_dl_runtime_profile): Likewise.
7612 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7615 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
7616 restore r2 on longjmp.
7617 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
7619 Added rules to build test tst-setjmp-bug21895-static.
7620 Added module setjmp-bug21895 and rules to build a shared object from it.
7621 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
7622 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
7624 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
7626 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
7627 * benchtests/bench-strstr.c: Likewise.
7628 * string/memmem.c (FASTSEARCH): Define.
7629 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
7630 Add support for FASTSEARCH.
7631 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
7632 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
7633 (FASTSEARCH): Define.
7634 * string/test-strcasestr.c: Rename __strnlen to strnlen.
7635 * string/test-strstr.c: Likewise.
7637 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
7639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
7640 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
7642 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
7643 H.J. Lu <hongjiu.lu@intel.com>
7645 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
7646 (__longjmp): Restore shadow stack pointer if shadow stack is
7647 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7648 isn't defined for __longjmp_cancel.
7649 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
7650 (_setjmp): Save shadow stack pointer if shadow stack is enabled
7651 and SHADOW_STACK_POINTER_OFFSET is defined.
7652 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
7653 (setjmp): Save shadow stack pointer if shadow stack is enabled
7654 and SHADOW_STACK_POINTER_OFFSET is defined.
7655 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
7656 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7657 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7658 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
7660 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7661 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7662 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7663 Remove jmp_buf-ssp.sym.
7664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7666 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7667 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7668 * sysdeps/x86/Makefile (gen-as-const-headers): Add
7670 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
7671 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
7672 (__longjmp): Restore shadow stack pointer if shadow stack is
7673 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7674 isn't defined for __longjmp_cancel.
7675 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
7676 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7677 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7679 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
7682 * nptl/pthread_create.c: Include <tls-setup.h>.
7683 (__pthread_create_2_1): Call tls_setup_tcbhead.
7684 * sysdeps/generic/tls-setup.h: New file.
7685 * sysdeps/x86/nptl/tls-setup.h: Likewise.
7686 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7687 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
7689 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
7691 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7692 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
7693 (X86_FEATURE_1_SHSTK): Likewise.
7694 (CET_ENABLED): Likewise.
7695 (IBT_ENABLED): Likewise.
7696 (SHSTK_ENABLED): Likewise.
7698 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
7701 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
7702 (LOCALES): Likewise.
7703 * localedata/dsb_DE.UTF-8.in: New file.
7704 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
7706 2018-07-12 Florian Weimer <fweimer@redhat.com>
7708 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
7709 __mprotect, not mprotect.
7711 2018-07-11 Florian Weimer <fweimer@redhat.com>
7713 * io/Makefile (headers): Add bits/statx.h.
7715 2018-07-10 Mike FABIAN <mfabian@redhat.com>
7717 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
7718 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
7720 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
7721 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
7724 2018-07-10 Florian Weimer <fweimer@redhat.com>
7726 * io/Makefile (routines): Add statx.
7727 (tests-internal): Add tst-statx.
7728 * io/Versions (GLIBC_2.28): Export statx.
7729 * io/bits/statx.h: New file.
7730 * io/sys/stat.h [__USE_GNU]: Include it.
7731 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
7732 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
7734 * io/statx.c: New file.
7735 * io/statx_generic.: Likewise.
7736 * io/tst-statx.: Likewise.
7737 * include/bits/statx.h: Likewise.
7738 * sysdeps/unix/sysv/linux/kernel-features.h
7739 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
7740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7741 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
7742 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
7744 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7745 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
7746 * sysdeps/unix/sysv/linux/statx.c: New file.
7747 * manual/filesys.texi: Note that statx is undocumented.
7748 * sysdeps/**/libc*.abilist: Update.
7750 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7752 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
7753 a kernel issue which lead to test failure in some cases.
7755 2018-07-10 Florian Weimer <fweimer@redhat.com>
7758 * posix/regexec.c (check_node_accept_bytes): When comparing
7759 weights, do not compare an extra byte after the end of the
7762 2018-07-10 Florian Weimer <fweimer@redhat.com>
7764 * libio/readline.c: Fix copyright year.
7765 * libio/tst-readline.c Likewise.
7766 * nss/tst-nss-files-hosts-getent.c: Likewise.
7768 2018-07-06 Florian Weimer <fweimer@redhat.com>
7771 * nss/nss_files/files-XXX.c (internal_getent): Use
7772 __libc_readline_unlocked. Seek back to the start of the line if
7773 parsing failes with ERANGE.
7774 (get_contents_ret, get_contents): Remove.
7775 * nss/tst-nss-files-hosts-getent.c: New file.
7776 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
7777 (tst-nss-files-hosts-getent): Link with -ldl.
7779 2018-07-06 Florian Weimer <fweimer@redhat.com>
7781 * include/stdio.h (__libc_readline_unlocked): Declare.
7782 (__ftello64, __fseeko64): Declare aliases.
7783 * libio/readline.c: New file.
7784 * libio/tst-readline.c: Likewise.
7785 (routines): Add readline.
7786 (tests-internal): Add tst-readlime.
7787 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
7788 __libc_readline_unlocked.
7789 * libio/fseeko.c (__fseeko): Rename from fseeko.
7790 (fseeko): Add alias.
7791 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
7792 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
7793 (fseeko64): Add alias.
7794 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
7795 * libio/ftello64.c (__ftello64): Rename from ftello64.
7796 (ftello64): Add alias.
7798 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7800 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
7803 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7805 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
7806 Use dl_hwcap without masking.
7807 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
7810 2018-07-06 Florian Weimer <fweimer@redhat.com>
7812 * conform/conformtest.pl (checknamespace): Escape literal braces
7813 in regular expressions.
7815 2018-07-06 Amit Pawar <amit.pawar@amd.com>
7817 * sysdeps/x86/cpu-features.c (get_common_indeces):
7818 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
7819 * sysdeps/x86/cpu-features.c (init_cpu_features):
7820 AVX_Fast_Unaligned_Load is disabled for Excavator core.
7822 2018-07-05 Florian Weimer <fweimer@redhat.com>
7824 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
7826 (CFLAGS-elf-init.oS): Likewise.
7828 2018-07-05 Florian Weimer <fweimer@redhat.com>
7829 Carlos O'Donell <carlos@redhat.com>
7831 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
7832 $(no-stack-protector). stack_chk_fail_local.c can be compiled
7833 with stack protector enabled because there is no risk of infinite
7836 2018-07-05 Maciej W. Rozycki <macro@mips.com>
7840 * libc-abis (ABSOLUTE): New ABI.
7841 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
7842 * NEWS: Mention the new ABI.
7844 2018-07-05 Florian Weimer <fweimer@redhat.com>
7847 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
7848 (RENAME_WHITEOUT): Define.
7849 [__USE_GNU] (renameat2): Declare.
7850 * stdio-common/Makefile (routines): Add renameat2.
7851 (tests): Add tst-renameat2.
7852 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
7853 * stdio-common/renameat2.c: New file.
7854 * stdio-common/tst-renameat2.c: Likewise.
7855 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
7856 * manual/filesys.texi (Temporary Files): Note that renameat2 is
7858 * sysdeps/unix/sysv/linux/kernel-features.h
7859 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
7860 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7861 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7863 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7864 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7865 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
7866 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7867 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
7868 * include/stdio.h (__renameat): Add alias for renameat.
7869 * stdio-common/renameat.c (__renameat): Rename from renameat.
7870 Add hidden definition and alias.
7871 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7872 * sysdeps/mach/hurd/renameat.c: Likewise.
7873 * sysdeps/**/libc*.abilist: Add renameat2.
7875 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7877 * posix/bug-regex33.c: Fix build after regex sync.
7879 2018-07-04 Carlos O'Donell <carlos@redhat.com>
7882 * localedata/tst-langinfo-setlocale.c: New file.
7883 * localedata/tst-langinfo-setlocale-static.c: New file.
7884 * localedata/tst-langinfo-newlocale.c: New file.
7885 * localedata/tst-langinfo-newlocale-static.c: New file.
7886 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
7887 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
7888 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
7889 (tests-static): Remove tst-langinfo-static. Add
7890 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
7891 (tests-special): Remove $(objpfx)tst-langinfo.out,
7892 $(objpfx)tst-langinfo-static.out. Add
7893 $(objpfx)tst-langinfo-setlocale.out,
7894 $(objpfx)tst-langinfo-newlocale.out,
7895 $(objpfx)tst-langinfo-setlocale-static.out,
7896 $(objpfx)tst-langinfo-newlocale-static.out.
7897 ($(objpfx)tst-langinfo.out): Remove.
7898 ($(objpfx)tst-langinfo-static.out): Remove.
7899 ($(objpfx)tst-langinfo-newlocale.out): New target.
7900 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
7901 (test-xfail-tst-langinfo-newlocale-static): Add.
7902 ($(objpfx)tst-langinfo-setlocale.out): New target.
7903 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
7904 * localedata/tst-langinfo.c: Call test_locale.
7905 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
7908 2018-07-04 Florian Weimer <fweimer@redhat.com>
7910 testrun.sh: Implement --tool=strace, --tool=valgrind
7911 * Makefile (testrun-script): Define variable.
7912 (testrun.sh): Use variable.
7913 * manual/install.texi (Tools for Compilation): make 4.0 or later
7915 * configure.ac: Check for make 4.0 or later.
7916 * INSTALL: Regenerate.
7917 * configure: Likewise.
7919 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7925 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
7926 * posix/PCRE.tests: Remove invalid test.
7927 * posix/bug-regex28.c: Fix expected values for used syntax.
7928 * posix/bug-regex37.c: New file.
7929 * posix/bug-regex38.c: Likewise.
7930 * posix/regcomp.c: Sync with gnulib.
7931 * posix/regex.c: Likewise.
7932 * posix/regex.h: Likewise.
7933 * posix/regex_internal.c: Likewise.
7934 * posix/regex_internal.h: Likewise.
7935 * posix/regexec.c: Likewise.
7937 2018-06-26 Mike FABIAN <mfabian@redhat.com>
7940 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
7941 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
7942 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
7943 * localedata/unicode-gen/PropList.txt: likewise.
7944 * localedata/unicode-gen/UnicodeData.txt: likewise.
7945 * localedata/charmaps/UTF-8: Regenerate.
7946 * localedata/locales/i18n_ctype: likewise.
7947 * localedata/locales/tr_TR: likewise.
7948 * localedata/locales/translit_circle: likewise.
7949 * localedata/locales/translit_cjk_compat: likewise.
7950 * localedata/locales/translit_combining: likewise.
7951 * localedata/locales/translit_compat: likewise.
7952 * localedata/locales/translit_font: likewise.
7953 * localedata/locales/translit_fraction: likewise.
7955 2018-07-03 Florian Weimer <fweimer@redhat.com>
7958 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
7959 * stdio-common/tst-printf.sh: Adjust expected output.
7962 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7964 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
7967 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7969 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
7970 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
7971 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
7972 * stdio-common/tst-printfsz-islongdouble.c: New file.
7973 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
7974 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
7975 [subdir == stdio-common] (routines): Add ieee128-printf_size.
7976 [subdir == stdio-common] (tests-internal): Add
7977 test-printf-size-ieee128, and test-printf-size-ibm128.
7978 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
7979 (CFLAGS-test-printf-size-ibm128.c): New variables.
7980 [subdir == stdio-common] (tests-special): Add
7981 $(objpfx)test-printf-size-ieee128.out and
7982 $(objpfx)test-printf-size-ibm128.out.
7983 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
7984 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
7985 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
7986 __printf_sizeieee128.
7987 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
7989 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
7991 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
7994 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7996 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
7997 (exp2f_inline): Likewise.
7998 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
7999 (__math_uflowf): Likewise.
8000 (__math_may_uflowf): Likewise.
8001 (__math_divzerof): Likewise.
8002 (__math_invalidf): Likewise.
8003 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8004 (__math_oflowf): Likewise.
8005 (__math_uflowf): Likewise.
8006 (__math_may_uflowf): Likewise.
8007 (__math_divzerof): Likewise.
8008 (__math_invalidf): Likewise.
8010 2018-06-29 DJ Delorie <dj@redhat.com>
8011 Carlos O'Donell <carlos@redhat.com>
8014 * include/libc-symbols.h: Comment the freeres framework.
8015 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8016 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8017 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8018 * dlfcn/dlerror.c: Include libc-symbols.h
8019 (__dlerror_main_freeres): New function.
8020 * dlfcn/dlfreeres.c: New file.
8021 * dlfcn/sdlfreeres.c: New file.
8022 * include/dlfcn.h: Declare __dlerror_main_freeres.
8023 * malloc/set-freeres.c: Declare __libdl_freeres, and
8024 __libpthread_freeres.
8025 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8026 the releavant libraries are loaded.
8027 * malloc/thread-freeres.c: Add comments.
8028 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8029 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8030 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8031 (__free_stacks): Rename to...
8032 (free_stacks): ...this. Mark static.
8033 (queue_stack): Call free_stacks.
8034 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8035 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8036 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8037 ptr_freeres element from struct.
8038 (pthread_functions): Remove .ptr_freeres from struct initializer.
8039 [SHARED] (nptl_freeres): Remove.
8040 * nptl/nptlfreeres.c: New file.
8042 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8043 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8045 (__free_stacks): Rename to...
8046 (__nptl_stacks_freeres): ...this.
8047 (__shm_directory_freeres): Declare.
8048 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8049 (__nptl_unwind_freeres): ...this.
8050 * resolv/res-close.c: Add comment.
8051 * resolv/resolv_conf.c: Include libc-symbols.h.
8052 * string/strerror_l.c: Include libc-symbols.h.
8053 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8054 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8055 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8056 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8058 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8060 * stdlib/tst-strfmon_l.c: Add tests for long double.
8062 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8065 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8066 * localedata/locales/dsb_DE: New file.
8068 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8071 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8073 (alt_mon): New entry, import from CLDR (nominative case).
8075 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8078 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8080 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8082 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8083 Use vector registers.
8085 * sysdeps/aarch64/multiarch/memmove_falkor.S
8086 (__memcpy_falkor): Use vector registers.
8088 2018-06-29 Martin Sebor <msebor@redhat.com>
8090 * manual/stdio.texi (Customizing Printf): Mention interaction
8093 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8096 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8097 `st_value' is 0 if `st_shndx' is SHN_ABS.
8098 * elf/tst-absolute-zero.c: New file.
8099 * elf/tst-absolute-zero-lib.c: New file.
8100 * elf/tst-absolute-zero-lib.lds: New file.
8101 * elf/Makefile (tests): Add `tst-absolute-zero'.
8102 (modules-names): Add `tst-absolute-zero-lib'.
8103 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8104 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8105 ($(objpfx)tst-absolute-zero: New dependency.
8107 2018-06-29 Zack Weinberg <zackw@panix.com>
8109 * configure.ac: New command-line option --disable-crypt.
8110 Force --disable-nss-crypt when --disable-crypt is given, with a
8111 warning if it was explicitly enabled.
8112 * configure: Regenerate.
8113 * config.make.in: New boolean substitution variable $(build-crypt).
8114 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8115 when $(build-crypt).
8116 * manual/install.texi: Document --disable-crypt.
8117 * INSTALL: Regenerate.
8119 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8121 * conform/Makefile: Only include libcrypt.a in
8122 linknamespace-libs-xsi and linknamespace-libs-XPG4
8123 when $(build-crypt).
8124 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8125 USE_CRYPT to 1 when $(build-crypt).
8126 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8127 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8128 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8130 2018-06-29 Zack Weinberg <zackw@panix.com>
8132 * crypt/crypt.h, posix/unistd.h: Update comments and
8133 prototypes for crypt and crypt_r.
8135 * manual/crypt.texi (Cryptographic Functions): New initial
8137 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8138 (Unpredictable Bytes): Improve initial exposition. Clarify error
8139 behavior of getentropy and getrandom.
8140 * manual/examples/genpass.c: Generate a salt using getentropy
8141 instead of the current time. Use hash $5$ (SHA-2-256).
8142 * manual/examples/testpass.c: Demonstrate validation against
8143 hashes generated with three different one-way functions.
8145 * manual/intro.texi: crypt.texi does not need an overview
8148 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8149 * manual/terminal.texi: Consistently refer to "passphrases"
8150 * instead of "passwords", and to the "user database" instead
8151 * of the "password database".
8152 * manual/users.texi: Similarly. Add notes about how actual
8153 passphrase hashes are now stored in the shadow database.
8154 Remove 20-year-old junk todo note.
8156 2018-06-29 Zack Weinberg <zackw@panix.com>
8158 * manual/crypt.texi: Use a normal top-level @node declaration.
8159 Move most of the introductory text to the 'crypt' section.
8160 Move the example programs below the @deftypefun for 'crypt_r'.
8161 Move the 'getpass' section...
8162 * manual/terminal.texi: ...here.
8164 2018-06-29 Zack Weinberg <zackw@panix.com>
8165 Florian Weimer <fweimer@redhat.com>
8167 * posix/unistd.h: Do not declare encrypt.
8168 (_XOPEN_CRYPT): Remove macro definition.
8169 (crypt): Declare only for _USE_MISC.
8170 * stdlib/stdlib.h: Do not declare setkey.
8171 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8172 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8174 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8175 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8176 into compat symbols. Don't define initial_perm if it's not
8178 * crypt/cert.c: Link explicitly with the expected versions for
8179 setkey and encrypt. If they are not available at all, mark
8180 the test as unsupported.
8182 * sunrpc/des_crypt.c: Unconditionally block linkage with
8183 cbc_crypt and ecb_crypt for new binaries.
8184 * sunrpc/des_soft.c: Unconditionally block linkage with
8185 des_setparity for new binaries.
8187 * manual/crypt.texi: Remove the entire "DES Encryption"
8188 section. Also remove the paragraph talking about FIPS 140-2
8189 from the introduction.
8190 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8191 of libgcrypt for "real" encryption, not DES.
8192 * manual/conf.texi (Constants for Sysconf): Mention that
8193 _XOPEN_CRYPT is no longer impelemented.
8195 * conform/data/unistd.h-data: Remove crypt function declaration.
8197 2018-06-29 Florian Weimer <fweimer@redhat.com>
8200 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8201 (disallow_malloc_check): Remove variable.
8202 (__malloc_check_init): Adjust.
8203 (malloc_set_state): Update comment.
8204 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8207 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8210 * localedata/locales/ast_ES (mon): Rename to...
8212 (mon): Import from CLDR (genitive case).
8214 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8215 Jakub Sitnicki <jkbs@redhat.com>
8218 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8221 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8223 * manual/llio.texi: Remove spurious space.
8225 2018-06-28 Florian Weimer <fweimer@redhat.com>
8228 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8231 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8233 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8234 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8235 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8236 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8237 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8238 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8239 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8241 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8244 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8245 Copy and null-terminate entries that are not terminated, in
8246 addition to empty ones.
8248 2018-06-27 Florian Weimer <fweimer@redhat.com>
8251 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8252 (extend_alloca_account): Remove.
8253 * manual/stdio.texi (Variable Arguments Output): Update comment.
8255 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8257 * nptl/sockperf.c: Remove file.
8259 2018-06-27 Florian Weimer <fweimer@redhat.com>
8262 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8263 scratch_buffer instead of extend_alloca.
8265 2018-06-27 Florian Weimer <fweimer@redhat.com>
8268 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8269 scratch_buffer instead of extend_alloca. Update comments.
8271 2018-06-27 Florian Weimer <fweimer@redhat.com>
8274 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8275 instead of extend_alloca.
8277 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8280 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8281 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8283 * scripts/test-installation.pl: Put temporary files in build
8284 directory, not /tmp.
8285 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8286 (CFLAGS-bug4.c): Likewise.
8287 (CFLAGS-bug5.c): Likewise.
8288 (CFLAGS-test-fseek.c): Likewise.
8289 (CFLAGS-test-popen.c): Likewise.
8290 (CFLAGS-test_rdwr.c): Likewise.
8291 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8293 * stdio-common/bug4.c (main): Likewise.
8294 * stdio-common/bug5.c (main): Likewise.
8295 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8296 * stdio-common/test-popen.c (do_test): Likewise.
8297 * stdio-common/test_rdwr.c (main): Likewise.
8299 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8301 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8302 (sem_open): Set sem.newsem.pad to zero for valgrind.
8304 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8307 * NEWS: Mention fcntl64 addition.
8308 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8309 * login/utmp_file.c: Likewise.
8310 * sysdeps/posix/fdopendir.c: Likewise.
8311 * sysdeps/posix/opendir.c: Likewise.
8312 * sysdeps/unix/pt-fcntl.c: Likewise.
8313 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8314 __fcntl64_nocancel_adjusted): New prototype.
8315 (__fcntl_nocancel_adjusted): Remove prototype.
8316 * io/Makefile (routines): Add fcntl64.
8317 (CFLAGS-fcntl64.c): New rule.
8318 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8319 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8320 * io/fcntl.h (fcntl64): Add prototype and redirect if
8321 __USE_FILE_OFFSET64 is defined.
8322 * io/fcntl64.c: New file.
8323 * manual/llio.text: Add a note for which commands fcntl acts a
8325 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8326 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8327 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8329 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8330 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8332 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8333 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8334 to __fcntl64_nocancel.
8335 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8336 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8337 to __fcntl64_nocancel.
8338 * sysdeps/generic/not-cancel.h: Likewise.
8339 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8340 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8341 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8342 (fcntl64): New symbol.
8343 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8344 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8345 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8348 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8349 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8351 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8352 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8353 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8355 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8356 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8357 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8358 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8359 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8360 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8361 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8362 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8363 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8368 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8369 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8370 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8372 2018-06-26 Florian Weimer <fweimer@redhat.com>
8374 Run thread shutdown functions in an explicit order.
8375 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
8377 (__libc_thread_freeres): Call thread shutdown functions
8379 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
8380 * include/string.h (__strerror_thread_freeres): Declare.
8381 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
8382 arena_thread_freeres. No longer static. Remove thread shutdown
8384 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
8386 * resolv/res-close.c (__res_thread_freeres): Renamed from
8387 res_thread_freeres. No longer static. Remove thread shutdown
8389 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
8390 * resolv/resolv_conf.c (freeres): Remove incorrect section
8391 attribute and use libc_freeres_fn.
8392 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
8393 strerror_thread_freeres. No longer static. Remove thread
8394 shutdown hook registration.
8395 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
8396 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
8397 shutdown hook registration.
8398 * Makerules (shlib.lds): Do not provide section boundary symbols
8399 for __libc_thread_subfreeres.
8400 * manual/memory.texi (Basic Allocation): Update comment.
8402 2018-06-26 Florian Weimer <fweimer@redhat.com>
8404 Remove always-defined _RPC_THREAD_SAFE_ macro.
8405 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
8406 Do not define _RPC_THREAD_SAFE_.
8407 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
8409 * sunrpc/clnt_perr.c: Likewise.
8410 * sunrpc/clnt_raw.c: Likewise.
8411 * sunrpc/clnt_simp.c: Likewise.
8412 * sunrpc/key_call.c: Likewise.
8413 * sunrpc/rpc_common.c: Likewise.
8414 * sunrpc/rpc_main.c: Likewise.
8415 * sunrpc/rpc_thread.c: Likewise.
8416 * sunrpc/svc.c: Likewise.
8417 * sunrpc/svc_raw.c: Likewise.
8418 * sunrpc/svc_simple.c: Likewise.
8419 * sumrpc/svcauth_des.c: Likewise.
8421 2018-06-26 Florian Weimer <fweimer@redhat.com>
8423 * libio/Makefile (tests-internal): Add tst-vtables,
8424 tst-vtables-interposed.
8425 * libio/tst-vtables.c: New file.
8426 * libio/tst-vtables-common.c: Likewise.
8427 * libio/tst-vtables-interposed.c: Likewise.
8429 2018-06-26 Florian Weimer <fweimer@redhat.com>
8431 * support/support_test_main.c (support_test_main): Only call
8432 setvbuf if not disables.
8433 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
8434 * support/test-driver.h (struct test_config): Add no_setvbuf member.
8436 2018-06-26 Florian Weimer <fweimer@redhat.com>
8439 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
8441 2018-06-25 Florian Weimer <fweimer@redhat.com>
8444 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8445 Use struct scratch_buffer instead of extend_alloca.
8447 2018-06-25 Florian Weimer <fweimer@redhat.com>
8450 * nss/getent.c (initgroups_keys): Use dynarray instead of
8453 2018-06-25 Florian Weimer <fweimer@redhat.com>
8456 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
8457 Use struct scratch_buffer instead of extend_alloca.
8459 2018-06-25 Florian Weimer <fweimer@redhat.com>
8462 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
8463 back to malloc directly, without stack allocations.
8465 2018-06-25 Florian Weimer <fweimer@redhat.com>
8468 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
8471 2018-06-25 Florian Weimer <fweimer@redhat.com>
8474 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
8476 * nscd/hstcache.c (addhstbyX): Likewise.
8477 * nscd/pwdcache.c (addpwbyX): Likewise.
8478 * nscd/servicescache.c (addservbyX): Likewise.
8480 2018-06-25 Florian Weimer <fweimer@redhat.com>
8483 * nscd/connections.c (read_cmdline): New function.
8484 (restart): Use it. Update comment.
8486 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8489 * localedata/locales/csb_PL (mon): Rename to...
8491 (abmon): Rename to...
8493 (mon): Add with proper genitive forms, copy from Wikipedia.
8496 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8499 * localedata/locales/csb_PL (mon): Fix typos:
8500 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
8501 (yesstr): Add, value is "jo".
8502 (nostr): Add, value is "nié".
8504 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8506 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
8507 all log1p and significand functions on m680x0.
8508 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
8509 of s_significand.c..
8510 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8511 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
8512 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
8513 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
8514 s_log1p.c and include it..
8516 2018-06-21 Vincent Chen <vincentc@andestech.com>
8518 * elf/elf.h (R_NDS32_NONE): New define.
8519 (R_NDS32_32_RELA): Likewise.
8520 (R_NDS32_COPY): Likewise.
8521 (R_NDS32_GLOB_DAT): Likewise.
8522 (R_NDS32_JUMP_SLOT): Likewise.
8523 (R_NDS32_RELATIVE): Likewise.
8524 (R_NDS32_TLS_TPOFF): Likewise.
8525 (R_NDS32_TLS_DESC): Likewise.
8527 2018-06-21 Mark Wielaard <mark@klomp.org>
8529 * elf/elf.h (R_BPF_MAP_FD): Removed.
8530 (R_BPF_64_64, R_BPF_64_32): New.
8532 2018-06-21 Florian Weimer <fweimer@redhat.com>
8535 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
8536 Renamed from libc_feholdsetround_ctx.
8537 (default_libc_feresetround_ctx): Renamed from
8538 libc_feresetround_ctx.
8539 (default_libc_feholdsetround_noex_ctx): Renamed from
8540 libc_feholdsetround_noex_ctx.
8541 (default_libc_feresetround_noex_ctx): Renamed from
8542 libc_feresetround_noex_ctx.
8543 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
8544 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
8545 forwardning to the old implementations under the new names.
8546 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
8547 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
8548 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
8549 (libc_feresetround_ctx): Forward to default implements for i386
8550 and MATH_SET_BOTH_ROUNDING_MODES.
8551 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
8552 Add -DMATH_SET_BOTH_ROUNDING_MODES.
8554 2018-06-20 Joseph Myers <joseph@codesourcery.com>
8556 * string/tst-cmp.c: Include <libc-diag.h>.
8557 (strncmp_max): Disable -Wstringop-overflow= around call to
8559 (strncasecmp_max): Disable -Wstringop-overflow= around call to
8562 * string/bug-strpbrk1.c: Include <libc-diag.h>.
8563 (main): Disable -Wunused-value around call to strpbrk.
8564 * string/bug-strspn1.c: Include <libc-diag.h>.
8565 (main): Disable -Wunused-value around call to strspn.
8567 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8568 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8570 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
8571 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
8573 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8575 * math/Makefile (libm-calls): Move s_significandF to...
8576 (gen-libm-calls): ... here.
8577 * math/s_significand_template.c: New file.
8578 * math/s_significand.c: Removed.
8579 * math/s_significandf.c: Removed.
8580 * math/s_significandl.c: Removed.
8581 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
8582 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
8584 * math/e_exp2_template.c (declare_mgen_finite_alias,
8585 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
8586 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
8587 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
8589 2018-06-20 Florian Weimer <fweimer@redhat.com>
8591 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
8593 2018-06-19 Joseph Myers <joseph@codesourcery.com>
8596 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
8597 floating-point number to strtod functions rather than possibly
8598 negating result of those functions.
8599 * stdio-common/tst-scanf-round.c: New file.
8600 * stdio-common/Makefile (tests): Add tst-scanf-round.
8601 ($(objpfx)tst-scanf-round): Depend on $(libm).
8603 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8605 * sysdeps/mach/hurd/localplt.data: Move to...
8606 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
8607 R_386_GLOB_DAT like on Linux i386.
8609 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8611 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
8612 (SHM_STAT_ANY): New macro.
8613 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
8614 (SHM_STAT_ANY): Likewise.
8615 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
8616 (SHM_STAT_ANY): Likewise.
8617 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
8618 (SHM_STAT_ANY): Likewise.
8619 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
8620 (SHM_STAT_ANY): Likewise.
8621 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
8622 (SHM_STAT_ANY): Likewise.
8623 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
8624 (SHM_STAT_ANY): Likewise.
8625 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
8626 (SHM_STAT_ANY): Likewise.
8627 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
8628 (SHM_STAT_ANY): Likewise.
8629 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
8630 (SHM_STAT_ANY): Likewise.
8631 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
8632 (SHM_STAT_ANY): Likewise.
8633 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
8634 (SHM_STAT_ANY): Likewise.
8636 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
8637 (SEM_STAT_ANY): New macro.
8638 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
8639 (SEM_STAT_ANY): Likewise.
8640 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
8641 (SEM_STAT_ANY): Likewise.
8642 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
8643 (SEM_STAT_ANY): Likewise.
8644 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
8645 (SEM_STAT_ANY): Likewise.
8646 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
8647 (SEM_STAT_ANY): Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
8649 (SEM_STAT_ANY): Likewise.
8650 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
8651 (SEM_STAT_ANY): Likewise.
8652 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
8653 (SEM_STAT_ANY): Likewise.
8654 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
8655 (SEM_STAT_ANY): Likewise.
8657 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
8658 (MSG_STAT_ANY): New macro.
8659 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
8660 (MSG_STAT_ANY): Likewise.
8661 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
8662 (MSG_STAT_ANY): Likewise.
8663 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
8664 (MSG_STAT_ANY): Likewise.
8665 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
8666 (MSG_STAT_ANY): Likewise.
8667 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
8668 (MSG_STAT_ANY): Likewise.
8669 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
8670 (MSG_STAT_ANY): Likewise.
8671 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
8672 (MSG_STAT_ANY): Likewise.
8673 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
8674 (MSG_STAT_ANY): Likewise.
8675 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
8676 (MSG_STAT_ANY): Likewise.
8678 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8679 (MAP_TYPE): Change value to 0x2b.
8681 2018-06-18 Florian Weimer <fweimer@redhat.com>
8684 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
8685 socket with SOCK_CLOEXEC.
8687 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8690 * sysdeps/powerpc/powerpc64/le/Makefile
8691 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
8692 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
8693 (gnulib-tests): Also add $(f128-loader-link) for
8694 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
8696 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8698 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
8699 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
8701 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
8702 (sendfile64): New strong alias.
8703 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
8704 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
8705 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
8706 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
8708 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
8709 ___pthread_get_cleanup_stack.
8710 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
8711 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
8712 * mach/shortcut.awk: Make syscall stubs include
8713 <mach-shortcuts-hidden.h> and add hidden definition.
8714 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
8715 (__mach_msg): Add hidden prototype.
8716 * mach/msg.c: Include <mach.h>.
8717 (__mach_msg): Add hidden definition.
8718 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
8719 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
8720 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
8721 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8722 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
8723 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
8724 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
8725 prototype and definition.
8726 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
8727 hidden target for _hurd_self_sigstate.
8729 2018-06-15 Joseph Myers <joseph@codesourcery.com>
8732 * stdlib/tst-strtod-nan-sign-main.c: New file.
8733 * stdlib/tst-strtod-nan-sign.c: Likewise.
8734 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
8735 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
8736 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
8737 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
8738 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
8740 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
8743 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
8746 2018-06-14 Florian Weimer <fweimer@redhat.com>
8749 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
8750 that the result stays within the ISO-8859-1 range.
8751 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
8752 characters are defined in IBM273.
8754 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8756 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
8757 __mach_task_self): Remove attribute_hidden.
8759 2018-06-14 Joseph Myers <joseph@codesourcery.com>
8761 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
8762 ignore -Wrestrict for one test.
8764 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
8765 Szabolcs Nagy <szabolcs.nagy@arm.com>
8767 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
8769 2018-06-14 Florian Weimer <fweimer@redhat.com>
8771 * scripts/update-abilist.sh: Accept empty list of files to patch.
8773 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8775 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
8776 test-xfail-check-abi-libmachuser): Add.
8777 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
8778 __libc_read and __libc_write to __read and __write.
8779 * sysdeps/hurd/include/hurd/port.h: New file.
8780 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
8781 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
8782 __thread_switch, __evc_wait): Move declarations to...
8783 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
8785 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
8786 use PLT to call _hurd_self_sigstate.
8788 2018-06-13 Joseph Myers <joseph@codesourcery.com>
8791 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
8792 MAX_EXP as overflowing.
8793 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
8795 (round_str): Output also whether result overflows in each rounding
8797 * stdlib/tst-strtod-round-data: Add more tests.
8798 * stdlib/tst-strtod-round-data.h: Regenerated.
8799 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
8800 (TEST): Handle extra arguments for overflow flags.
8801 (struct test_overflow): New type.
8802 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
8803 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
8804 (test_in_one_mode): Take argument with overflow information.
8805 (do_test): Update calls to test_in_one_mode.
8807 2018-06-12 Carlos O'Donell <carlos@redhat.com>
8809 * elf/dl-load (_dl_dst_substitute): Correct comment.
8810 (_dl_dst_count): Likewise.
8812 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
8813 lll_futex_timed_wait.
8815 2018-06-12 Joseph Myers <joseph@codesourcery.com>
8818 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
8820 * math/test-nan-const.c: New file.
8821 * math/Makefile (tests): Add test-nan-const.
8822 (CFLAGS-test-nan-const.c): New variable.
8824 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8826 * benchtests/scripts/compare_strings.py (process_results): Add
8827 funcs argument. Compare only functions which are selected.
8828 (main): Check if base function is among selected functions.
8829 Pass selected functions to process_results.
8830 (__main__): Add -f/--functions argument.
8832 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
8833 Hongbo Zhang <hongbo.zhang@linaro.org>
8835 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
8836 __memcpy_falkor for phecda core.
8837 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
8838 __memmove_falkor for phecda core.
8839 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
8840 __memset_falkor for phecda core.
8841 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
8843 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
8844 macro to identify phecda core.
8846 2018-06-12 Carlos O'Donell <carlos@redhat.com>
8847 Andreas Schwab <schwab@suse.de>
8848 Dmitry V. Levin <ldv@altlinux.org>
8849 Florian Weimer <fweimer@redhat.com>
8856 * elf/dl-dst.h: Remove DL_DST_COUNT.
8857 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
8858 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
8859 (is_dst): Comment. Support ELF gABI.
8860 (_dl_dst_count): Comment. Simplify and count DSTs.
8861 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
8862 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
8865 2018-06-12 Zack Weinberg <zackw@panix.com>
8867 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
8868 * sysdeps/unix/sysv/linux/dl-sysdep.c
8869 Include not-cancel.h. Use __close_nocancel instead of __close,
8870 __open64_nocancel instead of __open, __read_nocancel instead of
8871 __libc_read, and __write_nocancel instead of __libc_write.
8873 * csu/check_fds.c (check_one_fd)
8874 * sysdeps/posix/fdopendir.c (__fdopendir)
8875 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
8876 instead of __fcntl and/or __libc_fcntl.
8878 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
8879 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
8880 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
8881 Use __open64_nocancel instead of __open_nocancel.
8883 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
8884 hidden_proto declarations to the end and issue them if either
8885 IS_IN(libc) or IS_IN(rtld).
8886 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
8887 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
8888 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
8889 read_nocancel, waitpid_nocancel, write_nocancel.
8891 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
8892 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
8893 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
8895 * nptl/pt-fcntl.c: New file.
8896 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
8897 (libpthread-routines): Add pt-fcntl.
8898 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
8899 (__libc_fcntl): Remove attribute_hidden.
8900 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
8901 __fcntl_nocancel_adjusted, not fcntl_common.
8902 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
8903 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
8904 to fcntl_nocancel.c.
8905 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
8907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8908 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
8910 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
8911 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
8912 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
8913 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
8914 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
8915 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
8916 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
8917 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
8918 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
8919 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
8920 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
8921 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
8922 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
8923 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
8924 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
8925 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
8926 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
8927 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
8928 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
8929 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
8931 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
8932 libpthread-routines.
8933 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
8936 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
8937 __libc_read, and __write instead of __libc_write. Define
8938 __open64 in addition to __open.
8940 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8944 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
8945 to _private_tm[3] and add __glibc_reserved2.
8946 Add _Static_assert of offset of __private_ss == 0x30.
8947 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
8948 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
8950 2018-06-12 Florian Weimer <fweimer@redhat.com>
8952 x86: Make strncmp usable from rtld.
8953 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
8954 __strncmp_ia32 if in libc (and not in rtld).
8955 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
8956 strncmp if not in libc (and not to __strncmp_sse2).
8958 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
8961 * localedata/locales/gd_GB (mon): Rename to...
8963 (mon): Import from CLDR (genitive case).
8964 * localedata/locales/hsb_DE (mon): Rename to...
8966 (mon): Import from CLDR (genitive case).
8967 * localedata/locales/wa_BE (mon): Rename to...
8969 (mon): Add, fill with the proper genitive forms, but CLDR data
8970 is incomplete; completed according to the comments in this file.
8971 (d_t_fmt): Do not use "di" before the month name, no longer needed.
8973 * localedata/locales/wa_BE (country_name): Reword
8974 "Beljike" -> "Beldjike".
8976 2018-06-11 Joseph Myers <joseph@codesourcery.com>
8979 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
8980 cases of non-finite arguments.
8981 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8983 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
8986 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
8988 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8991 * include/unistd.h (__execvpex): New prototype.
8992 * posix/Makefile (tests): Add tst-spawn4.
8993 (tests-internal): Add tst-spawn4-compat.
8994 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
8995 * posix/tst-spawn4-compat.c: New file.
8996 * posix/tst-spawn4.c: Likewise.
8997 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
8998 binaries as shell scripts.
8999 * sysdeps/posix/spawni.c (__spawni): Likewise.
9001 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9004 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9005 ($(all-built-dso:=.dynsym): New target.
9006 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9007 ($(objpfx)check-initfini.out): New target.
9008 (generated): Add check-initfini.out.
9009 * scripts/check-initfini.awk: New file.
9010 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9012 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9014 * sysdeps/arm/crti.S (_init): Mark as hidden.
9016 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9018 * sysdeps/i386/crti.S (_init): Mark as hidden.
9020 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9022 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9024 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9026 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9028 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9030 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9032 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9034 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9036 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9038 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9040 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9042 * sysdeps/sh/crti.S (_init): Mark as hidden.
9044 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9046 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9049 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9051 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9052 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9053 and TF redirection to KFtype and KF only when the default
9054 long double type is not the IEEE 128-bit floating point type.
9056 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9058 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9060 (HWCAP_USCAT): Likewise.
9061 (HWCAP_ILRCPC): Likewise.
9062 (HWCAP_FLAGM): Likewise.
9063 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9065 (_dl_aarch64_cap_flags): Add new flag names.
9067 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9068 (MAP_FIXED_NOREPLACE): New macro.
9069 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9070 (MAP_FIXED_NOREPLACE): Likewise.
9071 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9072 (MAP_FIXED_NOREPLACE): Likewise.
9073 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9074 (MAP_FIXED_NOREPLACE): Likewise.
9075 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9076 (MAP_FIXED_NOREPLACE): Likewise.
9077 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9078 (MAP_FIXED_NOREPLACE): Likewise.
9079 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9080 (MAP_FIXED_NOREPLACE): Likewise.
9081 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9082 (MAP_FIXED_NOREPLACE): Likewise.
9083 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9084 (MAP_FIXED_NOREPLACE): Likewise.
9085 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9086 (MAP_FIXED_NOREPLACE): Likewise.
9087 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9088 (MAP_FIXED_NOREPLACE): Likewise.
9089 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9090 (MAP_FIXED_NOREPLACE): Likewise.
9091 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9092 (MAP_FIXED_NOREPLACE): Likewise.
9093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9094 (MAP_FIXED_NOREPLACE): Likewise.
9095 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9096 (MAP_FIXED_NOREPLACE): Likewise.
9098 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9101 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9103 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9106 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9108 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9110 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9112 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9114 * benchtests/scripts/compare_string.py: (process_results) Catch
9115 exception in non-existent base_func and catch exception in
9116 non-existent attribute.
9117 (parse_file) Catch exception if input file does not exist.
9119 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9121 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9122 options to avoid diff calculation and omit header, respectively.
9123 (main): process --no-diff and --no-header
9125 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9126 H.J. Lu <hongjiu.lu@intel.com>
9128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9129 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9132 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9133 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9135 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9136 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9137 AVX unaligned load is fast and vzeroupper is preferred.
9138 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9139 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9140 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9141 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9142 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9143 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9144 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9145 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9146 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9147 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9150 2018-06-01 Florian Weimer <fweimer@redhat.com>
9152 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9153 configuring with --disable-multi-arch, building with
9154 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9157 2018-06-01 Florian Weimer <fweimer@redhat.com>
9159 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9160 results from building with “-march=x86-64 -mtune=generic
9161 -mfpmath=sse” and running on a Haswell-era CPU.
9163 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9166 * soft-fp/sqrttf2.c: Remove file.
9167 * soft-fp/sqrtdf2.c: Move to ....
9168 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9170 (__sqrtdf2): Make conditional on
9171 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9173 * soft-fp/sqrtsf2.c: Move to ....
9174 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9176 (__sqrtsf2): Make conditional on
9177 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9179 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9180 (gcc-double-routines): Remove sqrtdf2.
9181 (gcc-quad-routines): Remove sqrttf2.
9182 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9183 Do not filter out sqrtsf2 and sqrtdf2.
9184 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9185 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9187 2018-06-01 Florian Weimer <fweimer@redhat.com>
9189 * sysdeps/generic/libcidn.abilist: Remove file.
9191 2018-06-01 Florian Weimer <fweimer@redhat.com>
9194 * libio/strfile.h (struct _IO_str_fields): Rename members to
9195 discourage their use and add comment.
9196 (_IO_STR_DYNAMIC): Remove unused macro.
9197 * libio/strops.c (_IO_str_init_static_internal): Do not use
9198 callback pointers. Call malloc and free.
9199 (_IO_str_overflow): Do not use callback pointers. Call malloc
9201 (enlarge_userbuf): Likewise.
9202 (_IO_str_finish): Call free.
9203 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9204 _allocate_buffer_unused.
9205 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9207 (enlarge_userbuf): Likewise.
9208 (_IO_wstr_finish): Call free.
9209 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9210 _allocate_buffer_unused, _free_buffer_unused.
9211 * libio/memstream.c (__open_memstream): Likewise.
9212 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9213 * libio/wmemstream.c (open_wmemstream): Likewise.
9215 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9217 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9220 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9222 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9223 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9224 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9226 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9228 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9230 2018-05-29 Florian Weimer <fweimer@redhat.com>
9232 * support/Makefile (libsupport-routines): Add
9233 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9234 xpthread_barrierattr_setpshared.
9235 * support/xpthread_barrierattr_destroy.c: New file.
9236 * support/xpthread_barrierattr_init.c: Likewise.
9237 * support/xpthread_barrierattr_setpshared.c: Likewise.
9239 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9242 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9243 _r_debug and update DT_DEBUG for debugger.
9245 2018-05-29 Florian Weimer <fweimer@redhat.com>
9247 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9248 (tst-strtod5i.out): Likewise.
9250 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9252 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9253 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9254 (sparc64-quad-routines): New variable. Moved from ....
9255 [$(subdir) = soft-fp] (sysdep_routines): Add
9256 $(sparc64-quad-routines). Moved from ....
9257 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9258 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9259 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9261 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9262 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9263 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9264 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9265 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9266 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9267 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9268 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9269 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9270 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9271 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9272 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9273 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9274 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9275 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9276 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9277 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9278 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9279 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9280 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9281 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9282 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9283 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9284 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9285 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9286 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9287 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9288 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9289 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9290 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9291 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9292 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9293 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9294 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9295 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9296 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9297 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9298 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9299 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9300 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9301 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9302 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9303 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9304 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9305 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9306 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9307 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9308 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9309 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9310 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9311 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9312 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9313 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9314 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9315 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9316 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9317 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9318 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9320 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9321 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9322 (sparc32-quad-routines): New variable. Moved from ....
9323 [$(subdir) = soft-fp] (sysdep_routines): Add
9324 $(sparc32-quad-routines). Moved from ....
9325 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9326 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9328 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9329 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9330 * sysdeps/sparc/sparc32/q_add.c: ... here.
9331 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9332 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9333 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9334 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9335 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9336 * sysdeps/sparc/sparc32/q_div.c: ... here.
9337 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9338 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9339 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9340 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9341 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9342 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9343 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9344 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9345 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9346 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9347 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9348 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9349 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9350 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9351 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9352 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9353 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9354 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9355 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9356 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9357 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9358 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9359 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9360 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9361 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9362 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9363 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
9364 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
9365 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
9366 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
9367 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
9368 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
9369 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
9370 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
9371 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
9372 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
9373 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
9374 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
9375 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
9376 * sysdeps/sparc/sparc32/q_sub.c: ... here.
9377 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
9378 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
9379 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
9380 * sysdeps/sparc/sparc32/q_util.c: ... here.
9381 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
9382 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
9383 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
9384 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
9386 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9387 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9389 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
9390 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
9391 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
9392 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
9394 2018-05-24 Joseph Myers <joseph@codesourcery.com>
9396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
9398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9400 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
9401 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
9403 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9406 * math/math.h [C++] (iseqsig): Fix parameter type for the long
9409 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9411 * sysdeps/sh/Implies: Remove sh/soft-fp.
9412 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
9413 * sysdeps/sh/sfp-machine.h: ... here.
9415 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9417 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9418 (__mempcpy_erms): Skip zero length.
9419 (__memmove_erms): Likewise.
9420 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9421 (__memset_erms): Likewise.
9423 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9425 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
9426 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9427 Add functions moved from ....
9428 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
9429 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
9430 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
9432 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
9433 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
9434 * sysdeps/alpha/e_sqrtl.c: ... here.
9435 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
9436 * sysdeps/alpha/local-soft-fp.h: ... here.
9437 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
9438 * sysdeps/alpha/ots_add.c: ... here.
9439 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
9440 * sysdeps/alpha/ots_cmp.c: ... here.
9441 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
9442 * sysdeps/alpha/ots_cmpe.c: ... here.
9443 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
9444 * sysdeps/alpha/ots_cvtqux.c: ... here.
9445 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
9446 * sysdeps/alpha/ots_cvtqx.c: ... here.
9447 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
9448 * sysdeps/alpha/ots_cvttx.c: ... here.
9449 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
9450 * sysdeps/alpha/ots_cvtxq.c: ... here.
9451 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
9452 * sysdeps/alpha/ots_cvtxt.c: ... here.
9453 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
9454 * sysdeps/alpha/ots_div.c: ... here.
9455 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
9456 * sysdeps/alpha/ots_mul.c: ... here.
9457 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
9458 * sysdeps/alpha/ots_nintxq.c: ... here.
9459 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
9460 * sysdeps/alpha/ots_sub.c: ... here.
9461 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
9462 * sysdeps/alpha/sfp-machine.h: ... here.
9464 2018-05-23 Florian Weimer <fweimer@redhat.com>
9472 Switch to extern IDNA implementation (libidn2).
9473 * libidn: Remove subdirectory.
9474 * LICENSES: Do not mention licensing conditions for the removed
9476 * config.h.in (HAVE_LIBIDN): Remove.
9477 * include/dlfcn.h (__libc_dlopen): Update comment.
9478 * include/idna.h: Remove file.
9479 * inet/Makefile (routines): Add idna.
9480 (tests-static, tests-internal): Add tst-idna_name_classify.
9481 (LOCALES): Generate locales for tests.
9482 (tst-idna_name_classify.out): Depend on generated locales.
9483 * inet/idna_name_classify.c: New file.
9484 * inet/tst-idna_name_classify.c: Likewise.
9485 * inet/net-internal.h (__idna_to_dns_encoding)
9486 (__idna_from_dns_encoding): Declare.
9487 * inet/net-internal.h (enum idna_name_classification): Define.
9488 (__idna_name_classify): Declare.
9489 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
9490 __idna_from_dns_encoding.
9491 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
9492 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
9493 name as a fallback in case of encoding errors.
9494 (getnameinfo): Use DEPRECATED_NI_IDN.
9495 * inet/idna.c: New file.
9496 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
9497 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
9498 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
9499 (modules-names): Add tst-no-libidn2.
9500 (extra-test-objs): Add tst-no-libidn2.os.
9501 (LDFLAGS-tst-no-libidn2.so): Set soname.
9502 (LOCALES): Set, and generate locales.
9503 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
9504 (tst-resolv-ai_idn-latin1): Likewise.
9505 (tst-resolv-ai_idn-nolibidn2): Likewise.
9506 (tst-resolv-ai_idn.out): Depend on locales.
9507 (tst-resolv-ai_idn-latin1.out): Depend on locales.
9508 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
9510 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
9511 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
9512 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
9513 * resolv/tst-resolv-ai_idn.c: New file.
9514 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
9515 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
9516 * resolv/tst-no-libidn2.c: Likewise.
9517 * support/support_format_addrinfo.c (format_ai_flags): Do not
9518 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
9519 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
9520 (gaih_inet): Call __idna_to_dns_encoding and
9521 __idna_from_dns_encoding, and use the original (punycode) name if
9522 __idna_from_dns_encoding fails due to an encoding error.
9523 (getaddrinfo): Use DEPRECATED_AI_IDN.
9524 * sysdeps/unix/inet/Subdirs (libidn): Remove.
9525 * sysdeps/unix/inet/configure: Remove file.
9526 * sysdeps/unix/inet/configure.ac: Likewise.
9528 2018-05-23 Florian Weimer <fweimer@redhat.com>
9530 Implement allocate_once.
9531 * include/allocate_once.h: New file.
9532 * misc/allocate_once.c: Likewise.
9533 * misc/tst-allocate_once.c: Likewise.
9534 * misc/Makefile (routines): Add allocate_once.
9535 (tests-internal): Add tst-allocate_once.
9536 (generated): Add tst-allocate_once.mtrace,
9537 tst-allocate_once-mem.out.
9538 (tests-special): Add tst-allocate_once-mem.out.
9539 (tst-allocate_once-ENV): Set MALLOC_TRACE.
9540 (tst-allocate_once-mem.out): Call mtrace.
9541 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
9543 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9546 * string/test-memcpy.c (do_test1): New function.
9547 (test_main): Call it.
9549 2018-05-23 Andreas Schwab <schwab@suse.de>
9553 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
9554 (L(preloop_large)): Save initial destination pointer in %r11 and
9555 use it instead of %rax after the loop.
9556 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
9558 2018-05-22 Joseph Myers <joseph@codesourcery.com>
9560 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
9561 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
9562 -I../soft-fp. Moved from ....
9563 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
9564 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
9565 * sysdeps/aarch64/e_sqrtl.c: ... here.
9566 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
9567 * sysdeps/aarch64/sfp-machine.h: ... here.
9569 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
9570 -Wmaybe-uninitialized around access to fq[0].
9571 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9575 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
9576 aliases for non-libc case of versioned symbols.
9577 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
9578 (llseek): Define as compat symbol if
9579 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
9581 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
9582 Make into a compat symbol, disabled for minimum symbol version
9583 GLIBC_2.28 and later.
9584 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
9586 2018-05-22 Florian Weimer <fweimer@redhat.com>
9588 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
9589 not add -mpreferred-stack-boundary=4.
9590 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
9591 (stack-align-test-flags): Likewise.
9592 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
9594 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
9595 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
9596 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
9597 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
9598 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
9599 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
9600 (CFLAGS-tst-align2.c): Likewise.
9602 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9604 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
9605 (index_arch_Prefer_FSRM): Likewise.
9606 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9607 Also check Prefer_FSRM.
9608 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
9609 Also return OPTIMIZE (erms) for Prefer_FSRM.
9611 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9613 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
9614 (index_cpu_FSRM): Likewise.
9615 (reg_FSRM): Likewise.
9617 2018-05-18 Joseph Myers <joseph@codesourcery.com>
9619 * math/gen-tgmath-tests.py: Import sys.
9620 (Tests.__init__): Initialize macros_seen.
9621 (Tests.add_tests): Add macro to macros_seen. Only generate tests
9622 if requested to do so for this macro.
9623 (Tests.add_all_tests): Take argument for macro for which to
9625 (Tests.check_macro_list): New function.
9626 (main): Handle check-list argument and argument specifying macro
9627 for which to generate tests.
9628 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
9629 [PYTHON] (tgmath3-macro-tests): Likewise.
9630 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
9631 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
9633 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
9634 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
9636 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
9638 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
9640 [PYTHON] (tests-special): Add
9641 $(objpfx)test-tgmath3-macro-list.out.
9642 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
9644 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
9645 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
9649 * time/tzset.c (SECSPERDAY): Cast to time_t.
9650 * time/tst-y2039.c: New file.
9651 * time/Makefile (tests): Add tst-y2039.
9653 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9655 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9656 (PREFETCH_ONE_SET): Remove duplicate line.
9658 2018-05-17 Florian Weimer <fweimer@redhat.com>
9660 * sysdeps/generic/math-type-macros-double.h: Include
9661 <math-nan-payload-double.h> after <libm-alias-double.h>.
9662 * sysdeps/generic/math-type-macros-float.h: Include
9663 <math-nan-payload-float.h> after <libm-alias-float.h>.
9664 * sysdeps/generic/math-type-macros-float128.h: Include
9665 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
9666 * sysdeps/generic/math-type-macros-ldouble.h: Include
9667 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
9669 2018-05-17 Andreas Schwab <schwab@suse.de>
9671 * resolv/res_send.c (__res_context_send): Don't set errno when
9672 returing error after malloc failure.
9674 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
9676 * nptl/allocatestack.c (allocate_stack): Remove the
9677 !__ASSUME_PRIVATE_FUTEX paths.
9678 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
9679 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9681 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
9682 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9683 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9684 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9685 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
9686 !__ASSUME_PRIVATE_FUTEX path.
9687 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
9688 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
9689 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9690 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
9691 !__ASSUME_PRIVATE_FUTEX macros.
9692 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9693 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9694 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9695 * sysdeps/unix/sysv/linux/kernel-features.h
9696 (__ASSUME_PRIVATE_FUTEX): Removed.
9698 2018-05-17 Joseph Myers <joseph@codesourcery.com>
9700 * math/Makefile (libm-narrow-fns): Add div.
9701 (libm-test-funcs-narrow): Likewise.
9702 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
9703 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
9704 * math/gen-auto-libm-tests.c (test_functions): Add div.
9705 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
9706 (NARROW_DIV_ROUND_TO_ODD): Likewise.
9707 (NARROW_DIV_TRIVIAL): Likewise.
9708 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
9710 (__ddivl): Likewise.
9711 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
9713 (CFLAGS-nldbl-ddiv.c): New variable.
9714 (CFLAGS-nldbl-fdiv.c): Likewise.
9715 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9717 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
9719 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
9720 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
9721 * math/auto-libm-test-in: Add tests of div.
9722 * math/auto-libm-test-out-narrow-div: New generated file.
9723 * math/libm-test-narrow-div.inc: New file.
9724 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
9726 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
9727 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
9728 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
9729 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
9738 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
9739 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
9740 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
9741 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
9742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9743 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9744 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9745 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9746 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9747 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9748 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9749 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9750 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9751 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9752 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9753 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9754 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9755 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9760 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9761 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9762 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9763 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9764 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9765 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9766 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9769 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9772 * nscd/nscd-client.h (sendfileall): Remove prototype.
9773 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
9774 (handle_request): Use writeall instead of sendfileall.
9775 * nscd/aicache.c (addhstaiX): Likewise.
9776 * nscd/grpcache.c (cache_addgr): Likewise.
9777 * nscd/hstcache.c (cache_addhst): Likewise.
9778 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9779 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
9780 * nscd/pwdcache.c (cache_addpw): Likewise.
9781 * nscd/servicescache.c (cache_addserv): Likewise.
9782 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
9783 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
9784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
9787 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
9789 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
9790 Include <string/strncat.c>.
9791 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
9793 (__GI___strncat): New hidden alias.
9795 2018-05-16 Joseph Myers <joseph@codesourcery.com>
9797 * sysdeps/mips/mips32/libm-test-ulps: Update.
9798 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9800 2018-05-16 Florian Weimer <fweimer@redhat.com>
9802 * support/Makefile (libsupport-routines): Add support_quote_blob,
9803 support_test_compare_blob.
9804 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
9805 * support/check.h (TEST_COMPARE_BLOB): Define.
9806 (support_test_compare_blob): Declare.
9807 * support/support.h (support_quote_blob): Declare.
9808 * support/support_quote_blob.c: New file.
9809 * support/support_test_compare_blob.c: Likewise.
9810 * support/tst-support_quote_blob.c: Likewise.
9811 * support/tst-test_compare_blob.c: Likewise.
9813 2018-05-16 Florian Weimer <fweimer@redhat.com>
9815 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
9816 of <strtod_nan_double.h>.
9817 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
9818 instead of SET_MANTISSA.
9819 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
9820 of include <strtod_nan_float.h>.
9821 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
9822 instead of <strtod_nan_ldouble.h>.
9823 * stdlib/strtod_nan_double.h: Move to ...
9824 * sysdeps/generic/math-nan-payload-double.h: ... here.
9825 (FLOAT): Remove definition.
9826 (SET_MANTISSA): Rename to ...
9827 (SET_NAN_PAYLOAD): ... this.
9828 * stdlib/strtod_nan_float.h: Move to ...
9829 * sysdeps/generic/math-nan-payload-float.h: ... here.
9830 (FLOAT): Remove definition.
9831 (SET_MANTISSA): Rename to ...
9832 (SET_NAN_PAYLOAD): ... this.
9833 * sysdeps/generic/math-type-macros-double.h: Include
9834 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
9835 instead of <math-svid-compat.h>.
9836 * sysdeps/generic/math-type-macros-float.h: Include
9837 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
9838 instead of <math-svid-compat.h>.
9839 * sysdeps/generic/math-type-macros-float128.h: Include
9840 <math-nan-payload-float128.h>.
9841 * sysdeps/generic/math-type-macros-ldouble.h: Include
9842 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
9843 instead of <math-svid-compat.h>.
9844 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
9845 check for definition.
9846 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
9847 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
9848 Include <ieee754_float128.h>.
9849 (FLOAT): Remove definition.
9850 (SET_MANTISSA): Rename to ...
9851 (SET_NAN_PAYLOAD): ... this.
9852 * sysdeps/ieee754/float128/strtof128_nan.c: Include
9853 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
9854 Do not include <float128_private.h>.
9855 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
9857 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
9858 (FLOAT): Remove definition.
9859 (SET_MANTISSA): Rename to ...
9860 (SET_NAN_PAYLOAD): ... this.
9861 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
9862 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
9863 (FLOAT): Remove definition.
9864 (SET_MANTISSA): Rename to ...
9865 (SET_NAN_PAYLOAD): ... this.
9866 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
9867 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
9868 (FLOAT): Remove definition.
9869 (SET_MANTISSA): Rename to ...
9870 (SET_NAN_PAYLOAD): ... this.
9871 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
9872 of "../stdlib/strtod_nan_double.h".
9873 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
9874 of "../stdlib/strtod_nan_float.h".
9875 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
9876 instead of "../stdlib/strtod_nan_ldouble.h".
9877 * manual/arith.texi (Parsing of Floats): Adjust comment.
9879 2018-05-16 Joseph Myers <joseph@codesourcery.com>
9881 * math/Makefile (libm-narrow-fns): Add mul.
9882 (libm-test-funcs-narrow): Likewise.
9883 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
9884 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
9885 * math/gen-auto-libm-tests.c (test_functions): Add mul.
9886 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
9887 (NARROW_MUL_ROUND_TO_ODD): Likewise.
9888 (NARROW_MUL_TRIVIAL): Likewise.
9889 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
9890 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
9892 (__dmull): Likewise.
9893 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
9895 (CFLAGS-nldbl-dmul.c): New variable.
9896 (CFLAGS-nldbl-fmul.c): Likewise.
9897 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
9901 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
9902 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
9903 * math/auto-libm-test-in: Add tests of mul.
9904 * math/auto-libm-test-out-narrow-mul: New generated file.
9905 * math/libm-test-narrow-mul.inc: New file.
9906 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
9909 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
9910 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
9911 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
9917 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
9918 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
9919 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
9920 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
9921 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
9922 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
9923 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
9924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9925 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9926 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9927 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9928 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9929 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9930 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9931 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9932 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9934 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9935 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9944 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9945 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9946 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9947 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9948 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9949 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9951 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9953 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9956 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9958 * sysdeps/i386/ldsodefs.h: Removed.
9959 * sysdeps/x86_64/ldsodefs.h: Moved to ...
9960 * sysdeps/x86/ldsodefs.h: This.
9962 (La_i86_retval): Likewise.
9963 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
9964 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
9966 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9968 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
9971 2018-05-13 Alan Modra <amodra@gmail.com>
9973 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
9974 R_PARISC_TLS_DTPOFF32 reloc addend.
9976 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9978 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
9979 * math/math.h: Restrict the prototype definition for the functions
9980 issignaling(_Float128) and iszero(_Float128); and template
9981 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
9982 __HAVE_FLOAT128_UNLIKE_LDBL.
9983 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
9984 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
9985 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
9986 __f128() constants; define the type _Float128 as long double;
9987 and reuse long double in __CFLOAT128.
9989 2018-05-11 Joseph Myers <joseph@codesourcery.com>
9991 * sysdeps/generic/math_private.h: Do not include
9993 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
9995 * math/fromfp.h: Include <math-barriers.h>.
9996 * math/math-narrow.h: Likewise.
9997 * math/s_nextafter.c: Likewise.
9998 * math/s_nexttowardf.c: Likewise.
9999 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10000 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10001 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10002 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10003 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10004 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10005 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10018 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10019 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10020 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10021 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10022 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10023 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10024 * sysdeps/ieee754/k_standardl.c: Likewise.
10025 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10026 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10027 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10029 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10032 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10038 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10039 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10040 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10041 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10042 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10043 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10044 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10045 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10046 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10048 2018-05-11 Florian Weimer <fweimer@redhat.com>
10050 Use 64-bit epoch values in the time zone file parser.
10051 * include/time.h (internal_time_t): Define.
10052 (__tzfile_compute): Use it.
10053 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10055 (transitions): Switch to internal_time_t.
10056 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10058 (__tzfile_compute): Use internal_time_t for timer argument. Check
10059 for truncation before calling __offtime.
10061 2018-05-11 Florian Weimer <fweimer@redhat.com>
10064 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10065 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10067 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10068 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10069 export without --enable-obsolete-rpc.
10070 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10071 symbol. This should not have been exported, ever.
10073 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10076 * localedata/locales/gd_GB (abmon): Fix typo in May:
10077 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10079 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10081 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10082 Use multiple registers to copy data in loop tail.
10084 * sysdeps/aarch64/multiarch/memmove_falkor.S
10085 (__memmove_falkor): Use multiple registers to move data in
10088 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10090 * math/math-underflow.h: New file.
10091 * sysdeps/generic/math_private.h: Do not include <float.h>.
10092 (fabs_tg): Remove macro. Moved to math-underflow.h.
10093 (min_of_type_f): Likewise.
10094 (min_of_type_): Likewise.
10095 (min_of_type_l): Likewise.
10096 (min_of_type_f128): Likewise.
10097 (min_of_type): Likewise.
10098 (math_check_force_underflow): Likewise.
10099 (math_check_force_underflow_nonneg): Likewise.
10100 (math_check_force_underflow_complex): Likewise.
10101 * math/e_exp2_template.c: Include <math-underflow.h>.
10102 * math/k_casinh_template.c: Likewise.
10103 * math/s_catan_template.c: Likewise.
10104 * math/s_catanh_template.c: Likewise.
10105 * math/s_ccosh_template.c: Likewise.
10106 * math/s_cexp_template.c: Likewise.
10107 * math/s_clog10_template.c: Likewise.
10108 * math/s_clog_template.c: Likewise.
10109 * math/s_csin_template.c: Likewise.
10110 * math/s_csinh_template.c: Likewise.
10111 * math/s_csqrt_template.c: Likewise.
10112 * math/s_ctan_template.c: Likewise.
10113 * math/s_ctanh_template.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10132 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10137 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10139 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10140 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10141 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10142 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10143 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10144 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10145 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10146 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10147 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10148 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10149 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10150 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10151 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10152 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10154 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10182 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10184 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10189 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10190 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10191 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10192 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10194 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10199 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10201 * sysdeps/generic/math-barriers.h: New file.
10202 * sysdeps/generic/math_private.h [!math_opt_barrier]
10203 (math_opt_barrier): Move to math-barriers.h.
10204 [!math_opt_barrier] (math_force_eval): Likewise.
10205 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10206 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10208 (math_force_eval): Likewise.
10209 * sysdeps/alpha/fpu/math-barriers.h: New file.
10210 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10212 (math_force_eval): Likewise.
10213 * sysdeps/x86/fpu/math-barriers.h: New file.
10214 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10216 (math_force_eval): Likewise.
10217 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10218 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10219 multiple-include guard for rename.
10220 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10221 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10223 (math_force_eval): Likewise.
10225 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10229 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10231 * stdlib/Makefile (test-bz22786): New test.
10232 * stdlib/test-bz22786.c: New test.
10234 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10236 * include/math-narrow-eval.h: New file. Contents moved from ....
10237 * sysdeps/generic/math_private.h: ... here.
10238 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10239 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10240 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10241 * stdlib/strtod_l.c: Likewise.
10242 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10243 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10244 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10257 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10258 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10259 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10260 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10261 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10262 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10263 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10264 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10266 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10267 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10268 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10269 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10270 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10272 2018-05-08 Andreas Schwab <schwab@suse.de>
10274 * sysdeps/nptl/internaltypes.h: Fix comment.
10276 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10278 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10279 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10282 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10284 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10285 of I into loop header.
10286 * benchtests/bench-memmove-walk.c
10287 (test_main): Likewise.
10289 2018-05-07 Alexandre Oliva <oliva@gnu.org>
10292 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10293 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10295 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10298 * elf/dl-load.c (open_verify): Fix stack overflow.
10299 * elf/Makefile (tst-big-note): New test.
10300 * elf/tst-big-note-lib.S: New.
10301 * elf/tst-big-note.c: New.
10303 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10305 * scripts/abilist.awk: Ignore absolute symbols.
10306 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10307 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10308 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10309 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10310 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10311 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10312 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10313 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10314 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10315 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10316 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10317 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10318 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10319 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10320 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10321 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10322 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10323 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10324 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10325 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10326 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10327 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10328 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10329 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10330 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10331 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10332 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10333 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10334 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10335 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10336 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10337 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10338 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10339 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10340 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10341 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10342 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10343 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10344 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10345 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10346 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10347 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10348 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10349 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10350 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10351 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10352 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10353 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10354 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10355 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10356 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10357 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10358 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10359 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10360 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10361 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10362 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10363 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10364 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
10365 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10366 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
10367 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
10368 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
10369 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
10370 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10371 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
10372 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
10373 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10374 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
10375 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
10376 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10377 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
10378 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10379 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
10380 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
10381 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
10382 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
10383 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10384 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
10388 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
10389 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
10394 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
10395 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
10396 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10397 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10399 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
10400 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10401 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
10402 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
10403 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10404 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
10405 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10406 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
10407 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
10408 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
10409 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
10410 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10411 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10413 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
10414 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10415 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
10416 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
10417 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10418 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
10419 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10420 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
10421 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
10422 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
10423 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
10424 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10425 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
10426 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
10427 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10428 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
10435 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
10436 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
10437 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10438 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10439 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10441 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
10447 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
10448 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
10449 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
10450 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
10451 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
10452 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
10453 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
10454 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10455 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
10456 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
10457 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
10458 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
10459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10460 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10462 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
10463 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
10464 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
10465 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10466 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
10467 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10468 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
10469 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
10470 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
10471 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10472 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10473 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
10474 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10475 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
10477 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10478 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
10479 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
10480 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10481 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
10482 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
10483 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10484 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
10485 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10486 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
10487 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
10488 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
10489 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
10526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
10531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
10549 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
10550 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
10552 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
10553 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10554 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
10555 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
10556 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10557 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
10558 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10559 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
10560 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
10561 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
10562 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
10563 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
10564 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10565 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10567 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10568 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
10569 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
10570 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10571 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
10572 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10573 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
10574 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10578 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10581 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
10582 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
10583 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10584 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
10585 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10586 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
10587 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
10588 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
10589 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
10590 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10591 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
10592 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
10593 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10594 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
10595 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10597 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
10598 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10599 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
10600 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
10601 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
10602 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
10603 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10604 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10606 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
10607 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10608 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
10609 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
10610 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10611 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
10612 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
10615 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
10616 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10620 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
10621 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10622 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
10623 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
10624 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10625 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
10626 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10627 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
10629 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
10631 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10632 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
10634 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10635 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
10636 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
10639 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10640 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
10641 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
10642 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
10643 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
10644 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10645 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
10659 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
10662 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
10663 Use atomic_load_acquire to load __tid.
10665 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10667 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
10668 Restore the pointer into %rdx, after syscall and use %rdx,
10669 instead of %rsi, to restore context.
10671 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10673 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
10674 Pop the pointer into %rdx after syscall and use %rdx, instead
10675 of %rsi, to restore context.
10677 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10679 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
10680 handlers after setjmp.
10681 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
10683 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
10684 <libc-pointer-arith.h>.
10685 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
10686 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
10687 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
10688 _JUMP_BUF_SIGSET_BITS_PER_WORD.
10689 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
10690 * sysdeps/x86/__longjmp_cancel.S: New file.
10691 * sysdeps/x86/longjmp.c: Likewise.
10692 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
10694 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10696 * NEWS: Add ustat.h deprecation entry.
10697 * bits/ustat.h: Remove file.
10698 * misc/sys/ustat.h: Likewise.
10699 * misc/ustat.h: Likewise.
10700 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
10701 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
10702 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
10703 compatibility mode.
10704 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
10705 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
10706 generic Linux implementation.
10708 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10710 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
10711 * math/w_expl_compat.c: Likewise.
10712 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
10714 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10716 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10718 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10720 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
10721 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
10722 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
10724 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10727 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
10728 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
10731 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10733 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
10735 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
10736 * math/w_asin_template.c: Likewise.
10737 * math/w_atanh_template.c: Likewise.
10739 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10741 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
10742 to powerpc/powerpc64/be for big-endian.
10743 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
10746 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
10747 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
10748 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
10749 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
10750 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10751 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
10752 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
10753 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
10754 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
10755 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10756 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
10757 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
10758 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
10759 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
10760 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
10761 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
10762 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
10763 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
10764 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
10765 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
10766 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
10767 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10768 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
10769 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
10770 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
10771 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10772 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
10773 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
10774 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
10775 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10776 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10777 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10779 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
10780 adjusted to imply powerpc64 and older processors on powerpc64/be.
10781 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
10782 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
10783 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
10784 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
10785 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
10786 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
10787 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
10788 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
10789 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
10790 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
10791 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
10792 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
10793 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
10794 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
10795 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
10796 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
10797 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
10798 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
10799 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
10800 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
10801 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
10802 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
10803 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
10804 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
10805 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
10806 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
10807 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
10808 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
10809 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
10810 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
10811 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
10813 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
10814 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
10815 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
10816 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
10818 * sysdeps/powerpc/powerpc64/be/Implies: New file.
10819 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
10820 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
10821 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
10823 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
10824 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
10825 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
10826 * sysdeps/powerpc/powerpc64le/configure: Likewise.
10827 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
10828 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
10829 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
10830 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
10831 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
10832 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
10833 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
10835 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
10836 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
10837 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
10838 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
10839 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
10840 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
10841 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
10842 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
10843 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
10844 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
10845 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
10847 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
10848 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
10849 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
10850 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
10851 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
10852 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
10853 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
10854 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
10855 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
10856 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
10857 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
10858 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
10860 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
10861 and adjusted to imply olders processors.
10862 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
10863 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
10864 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
10865 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
10866 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
10867 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
10868 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
10869 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
10870 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
10871 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
10872 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
10891 powerpc64 and adjusted.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
10897 2018-04-27 Joseph Myers <joseph@codesourcery.com>
10899 * sysdeps/tile: Remove.
10900 * sysdeps/unix/sysv/linux/tile: Likewise.
10901 * README (tilegx-*-linux-gnu): Remove from list of supported
10903 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
10904 contribution of support for generic Linux kernel syscall
10906 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
10907 tilegx configurations.
10908 (Config.install_linux_headers): Do not handle tile.
10909 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
10911 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
10912 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
10913 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
10914 conditional undefine and redefine.
10915 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
10917 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
10918 conditional undefine and redefine.
10920 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
10922 * signal/tst-sigaction.c: New file to test BZ #23069.
10923 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
10925 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10928 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
10929 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
10930 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
10931 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10933 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10935 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
10936 _DIRENT_MATCHES_DIRENT64 is not defined.
10937 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
10938 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
10940 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
10941 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
10943 2018-04-25 Joseph Myers <joseph@codesourcery.com>
10945 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
10946 version to GCC 8 branch.
10948 2018-04-24 Joseph Myers <joseph@codesourcery.com>
10950 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
10951 (check_no_hidden): Use type of original function when declaring
10954 * sysdeps/unix/sysv/linux/sys/ptrace.h
10955 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
10956 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
10957 (struct __ptrace_seccomp_metadata): New type.
10958 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10959 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10960 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
10961 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10962 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
10963 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10965 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10967 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10968 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10969 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10970 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
10971 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10972 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
10973 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10975 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10977 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
10979 * dirent/versionsort.c (versionsort): Likewise.
10980 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
10981 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
10982 * dirent/versionsort64.c (versionsort64): Likewise.
10983 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
10984 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
10985 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
10986 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
10987 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
10988 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
10989 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
10990 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
10991 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
10992 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
10995 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
10996 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
10998 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11000 * elf/elf.h (NT_PPC_PKEY): New macro.
11002 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11005 * localedata/locales/hr_HR: fix thousands_sep and
11008 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11010 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11011 (XTABS): Define to TAB3.
11013 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11015 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11017 * dirent/scandir-tail-common.c: New file.
11018 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11019 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11020 * dirent/scandir.c: Use scandir-tail-common.c.
11021 * dirent/scandirat.c: Likewise.
11022 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11023 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11024 if _DIRENT_MATCHES_DIRENT64 is defined.
11025 * dirent/scandirat64.c (scandirat64): Likewise.
11026 * include/dirent.h (__scandir_tail): Only define iff
11027 _DIRENT_MATCHES_DIRENT64 is not defined.
11028 (__scandir64_tail): Define regardless.
11029 (__scandirat, scandirat64): Remove libc_hidden_proto.
11030 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11031 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11033 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11034 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11035 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11036 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11038 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11040 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11042 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11044 (_dl_aarch64_cap_flags): Add asimdfhm.
11046 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11048 * sysdeps/nios2/libm-test-ulps: Update.
11050 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11052 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11053 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11055 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11057 (_DIRENT_MATCHES_DIRENT64): Undef
11058 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11059 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11060 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11061 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11062 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11063 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11064 use getdents64 syscalls as base.
11065 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11066 symbol if required.
11067 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11068 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11069 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11070 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11071 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11072 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11073 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11074 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11076 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11077 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11079 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11081 * scripts/test_printers_common.py (init_test): Disable lock elision.
11083 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11085 * math/test-tgmath.c (count_double, count_float,
11086 count_ldouble, count_cdouble, count_cfloat,
11087 count_cldouble): Use volatile int.
11089 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11091 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11092 (conformtest-xfail-conds): Add i386-gnu.
11093 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11095 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11096 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11097 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11098 msqid_ds.msg_lrpid): Likewise.
11099 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11101 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11102 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11103 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11104 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11106 (struct statvfs64): Likewise.
11107 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11109 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11110 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11111 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11112 instead of wait_queue.
11113 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11114 instead of vm_area_struct.
11115 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11116 struct sched_param definition to it.
11117 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11118 * bits/types/struct_sched_param.h: New file.
11119 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11120 <bits/types/struct_sched_param.h> instead of <sched.h>.
11121 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11122 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11123 generic version but include <bits/pthreadtypes.h> to make struct
11124 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11125 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11127 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11128 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11129 [__USE_XOPEN] (OFDEL): New macro.
11130 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11131 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11132 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11134 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11135 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11136 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11138 * sysdeps/i386/sys/ucontext.h: Likewise.
11139 * sysdeps/m68k/sys/ucontext.h: Likewise.
11140 * sysdeps/mips/sys/ucontext.h: Likewise.
11141 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11142 * sysdeps/mach/hurd/i386/Makefile
11143 (test-xfail-POSIX/fcntl.h/conform): Add.
11144 (test-xfail-POSIX/signal.h/conform): Add.
11145 (test-xfail-POSIX/semaphore.h/conform): Add.
11146 (test-xfail-POSIX/regex.h/conform): Add.
11147 (test-xfail-POSIX/aio.h/conform): Add.
11148 (test-xfail-POSIX/mqueue.h/conform): Add.
11149 (test-xfail-POSIX/sys/types.h/conform): Add.
11150 (test-xfail-UNIX98/fcntl.h/conform): Add.
11151 (test-xfail-UNIX98/netdb.h/conform): Add.
11152 (test-xfail-UNIX98/signal.h/conform): Add.
11153 (test-xfail-UNIX98/semaphore.h/conform): Add.
11154 (test-xfail-UNIX98/regex.h/conform): Add.
11155 (test-xfail-UNIX98/aio.h/conform): Add.
11156 (test-xfail-UNIX98/ftw.h/conform): Add.
11157 (test-xfail-UNIX98/mqueue.h/conform): Add.
11158 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11159 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11160 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11161 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11162 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11163 (test-xfail-UNIX98/sys/types.h/conform): Add.
11164 (test-xfail-UNIX98/stdlib.h/conform): Add.
11165 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11166 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11167 (test-xfail-POSIX2008/netdb.h/conform): Add.
11168 (test-xfail-POSIX2008/signal.h/conform): Add.
11169 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11170 (test-xfail-POSIX2008/regex.h/conform): Add.
11171 (test-xfail-POSIX2008/aio.h/conform): Add.
11172 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11173 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11174 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11175 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11176 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11177 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11178 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11179 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11180 (test-xfail-XOPEN2K/signal.h/conform): Add.
11181 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11182 (test-xfail-XOPEN2K/regex.h/conform): Add.
11183 (test-xfail-XOPEN2K/aio.h/conform): Add.
11184 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11185 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11186 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11187 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11188 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11189 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11190 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11191 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11192 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11193 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11194 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11195 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11196 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11197 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11198 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11199 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11200 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11201 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11202 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11203 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11204 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11205 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11206 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11207 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11208 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11209 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11210 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11212 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11213 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11215 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11217 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11218 --enable-obsolete for powerpc-linux-gnuspe.
11220 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11222 * conform/data/sys/un.h-data: Allow sun_ prefix.
11223 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11225 * sysdeps/mach/include/mach.h: Likewise.
11226 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11227 * sysdeps/mach/include/mach_error.h: Likewise.
11229 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11231 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11232 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11233 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11234 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11236 2018-04-16 Andreas Schwab <schwab@suse.de>
11239 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11241 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11243 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11244 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11246 2018-04-12 DJ Delorie <dj@redhat.com>
11248 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11251 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11253 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11254 (struct kernel_sigaction): Use the same definition on 31bit as is used
11257 2018-04-09 Florian Weimer <fweimer@redhat.com>
11260 * resolv/res_send.c (send_dg): Use designated initializers instead
11261 of assignment to zero-initialize other fields of struct mmsghdr.
11263 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11265 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11266 __READDIR_ALIAS): Undefine after usage.
11267 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11268 __READDIR_R_ALIAS): Likewise.
11269 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11270 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11271 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11272 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11273 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11274 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11275 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11276 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11277 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11278 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11279 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11280 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11281 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11282 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11283 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11284 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11285 * sysdeps/unix/sysv/linux/readdir.c: New file.
11286 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11287 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11288 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11290 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11292 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11294 * manual/charset.texi (Converting a Character): Fix typo.
11296 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11300 * sysdeps/arm/libm-test-ulps: Update.
11302 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11303 as base implementation.
11304 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11305 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11307 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11308 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11309 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11310 remove unrequired definitions and update comments.
11311 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11312 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11313 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11314 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11315 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11316 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11317 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11318 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11319 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11320 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11321 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11322 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11323 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11324 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11325 and RESET_SA_RESTORER hooks.
11327 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11329 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11331 2018-04-05 Florian Weimer <fweimer@redhat.com>
11333 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11334 integer overflow, memory leak on error, and indeterminate errno
11335 value. Add a null wide character to terminate the result string.
11336 * manual/charset.texi (Converting a Character): Mention embedded
11337 null bytes in the mbrtowc input string. Explain what happens in
11338 the -2 result case. Do not claim that mbrtowc is simple or
11339 obvious to use. Adjust the description of the code example. Use
11340 @code, not @var, for concrete variables.
11342 2018-04-05 Florian Weimer <fweimer@redhat.com>
11344 * manual/examples/mbstouwcs.c: New file.
11345 * manual/charset.texi (Converting a Character): Include it.
11347 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11349 * include/dirent.h (dirfd): Add hidden proto.
11350 * dirent/dirfd.c (dirfd): Add hidden def.
11351 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11352 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
11354 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11356 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11357 sin, cos and sincos to 1 ULP.
11359 2018-04-04 Maciej W. Rozycki <macro@mips.com>
11362 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
11364 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
11365 * elf/tst-absolute-sym.c: New file.
11366 * elf/tst-absolute-sym-lib.c: New file.
11367 * elf/tst-absolute-sym-lib.lds: New file.
11368 * elf/Makefile (tests): Add `tst-absolute-sym'.
11369 (modules-names): Add `tst-absolute-sym-lib'.
11370 (LDLIBS-tst-absolute-sym-lib.so): New variable.
11371 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
11372 ($(objpfx)tst-absolute-sym): New dependency.
11375 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
11377 (SYMBOL_ADDRESS): New macro.
11378 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
11379 SYMBOL_ADDRESS for symbol address calculation.
11380 * elf/dl-runtime.c (_dl_fixup): Likewise.
11381 (_dl_profile_fixup): Likewise.
11382 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
11383 * elf/rtld.c (dl_main): Likewise.
11384 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
11385 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
11386 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
11387 (elf_machine_rela): Likewise.
11388 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
11389 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
11390 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11391 (elf_machine_rela): Likewise.
11392 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11393 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11394 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
11395 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11397 (elf_machine_reloc): Likewise.
11398 (elf_machine_got_rel): Likewise.
11399 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
11400 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
11401 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11405 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
11406 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11408 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11410 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11415 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
11416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11418 2018-04-04 Zack Weinberg <zackw@panix.com>
11420 * sysdeps/generic/internal-signals.h: Include signal.h,
11421 sigsetops.h, and stdbool.h.
11422 (__libc_signal_block_all): Actually block all signals.
11423 (__libc_signal_block_app): Likewise.
11424 (__libc_signal_restore_set): Actually restore the signal mask.
11426 2018-04-04 Florian Weimer <fweimer@redhat.com>
11428 inet: Actually build and run tst-deadline.
11429 * inet/Makefile (tests-internal): Add tst-deadline and do not
11430 overwrite the variable.
11431 (tests-static-internal): Remove variable.
11433 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
11436 * bits/uio-ext.h (RWF_APPEND): New.
11437 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
11438 * manual/llio.texi: Document RWF_APPEND.
11439 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
11440 (RWF_SUPPORTED): Add RWF_APPEND.
11442 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11445 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
11446 check for internal nptl signals.
11447 * nptl/sigaction.c (__sigaction): Likewise.
11448 * signal/sigaddset.c (sigaddset): Likewise.
11449 * signal/sigdelset.c (sigdelset): Likewise.
11450 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11451 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
11453 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
11454 to filter out internal nptl signals.
11455 * signal/tst-sigset.c (do_test): Check ech signal indidually and
11456 also check realtime signals using standard macros.
11457 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
11458 __is_internal_signal, __libc_signal_block_all,
11459 __libc_signal_block_app, __libc_signal_restore_set): New functions.
11460 * sysdeps/nptl/sigfillset.c: Remove file.
11461 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
11462 Change return to bool.
11463 (__clear_internal_signals): Remove SIGTIMER clean since it is
11464 equal to SIGCANEL on Linux.
11465 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
11466 signal set was constructed using standard functions.
11468 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11470 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
11471 ifname is too long.
11472 * hurd/hurdsig.c (interrupted_reply_port_location): Use
11473 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
11474 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
11476 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
11477 * signal/sigaddset.c: Include <sigsetopts.h>.
11478 * signal/sigdelset.c: Likewise.
11480 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
11484 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
11485 logic as sin and cos.
11487 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11489 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
11490 inputs. Return correct sign.
11491 (do_sincos): Remove small input check before do_sin, let do_sin set
11496 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11498 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
11499 (do_cos_slow): Likewise.
11500 (do_sin_slow): Likewise.
11501 (reduce_and_compute): Likewise.
11506 (sloww1): Likewise.
11507 (sloww2): Likewise.
11509 (bslow1): Likewise.
11510 (bslow2): Likewise.
11511 (cslow2): Likewise.
11513 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11515 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
11516 (do_cos): Remove corp parameter and calculations.
11517 (do_sin): Likewise.
11518 (do_sincos): Remove cor variable.
11519 (__sin): Use do_sincos for huge inputs.
11521 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11522 (reduce_and_compute_sincos): Remove unused function.
11524 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11526 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
11527 reduce_sincos, improve accuracy to 136 bits.
11528 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
11529 (__sin): Use improved reduction and simplified do_sincos calculation.
11531 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11533 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11535 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
11536 (do_sincos_2): Likewise.
11537 (__sin): Remove middle range reduction case.
11539 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
11542 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11544 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
11545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
11548 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
11550 2018-04-03 Joseph Myers <joseph@codesourcery.com>
11552 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11555 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11557 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
11558 Remove definitions.
11559 (opendir_oflags): Use O_DIRECTORY regardless.
11560 (__opendir, __opendirat): Remove need_isdir_precheck usage.
11561 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
11563 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11565 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
11566 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
11568 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
11569 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
11570 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
11571 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
11572 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
11573 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
11575 * htl/Makefile: Bump licence to LGPL 2.1+.
11576 * htl/alloca_cutoff.c: Likewise.
11577 * htl/cthreads-compat.c: Likewise.
11578 * htl/lockfile.c: Likewise.
11579 * htl/pt-alloc.c: Likewise.
11580 * htl/pt-cancel.c: Likewise.
11581 * htl/pt-cleanup.c: Likewise.
11582 * htl/pt-create.c: Likewise.
11583 * htl/pt-dealloc.c: Likewise.
11584 * htl/pt-detach.c: Likewise.
11585 * htl/pt-exit.c: Likewise.
11586 * htl/pt-getattr.c: Likewise.
11587 * htl/pt-initialize.c: Likewise.
11588 * htl/pt-internal.h: Likewise.
11589 * htl/pt-join.c: Likewise.
11590 * htl/pt-self.c: Likewise.
11591 * htl/pt-setcancelstate.c: Likewise.
11592 * htl/pt-setcanceltype.c: Likewise.
11593 * htl/pt-sigmask.c: Likewise.
11594 * htl/pt-spin-inlines.c: Likewise.
11595 * htl/pt-testcancel.c: Likewise.
11596 * htl/pt-yield.c: Likewise.
11597 * htl/tests/test-1.c: Likewise.
11598 * htl/tests/test-10.c: Likewise.
11599 * htl/tests/test-11.c: Likewise.
11600 * htl/tests/test-12.c: Likewise.
11601 * htl/tests/test-13.c: Likewise.
11602 * htl/tests/test-14.c: Likewise.
11603 * htl/tests/test-15.c: Likewise.
11604 * htl/tests/test-16.c: Likewise.
11605 * htl/tests/test-17.c: Likewise.
11606 * htl/tests/test-2.c: Likewise.
11607 * htl/tests/test-3.c: Likewise.
11608 * htl/tests/test-4.c: Likewise.
11609 * htl/tests/test-5.c: Likewise.
11610 * htl/tests/test-6.c: Likewise.
11611 * htl/tests/test-7.c: Likewise.
11612 * htl/tests/test-8.c: Likewise.
11613 * htl/tests/test-9.c: Likewise.
11614 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
11615 * sysdeps/htl/bits/cancelation.h: Likewise.
11616 * sysdeps/htl/bits/pthread-np.h: Likewise.
11617 * sysdeps/htl/bits/pthread.h: Likewise.
11618 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
11619 * sysdeps/htl/bits/semaphore.h: Likewise.
11620 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
11621 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
11622 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
11623 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
11624 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
11625 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
11626 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
11627 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
11628 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
11629 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
11630 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
11631 * sysdeps/htl/old_pt-atfork.c: Likewise.
11632 * sysdeps/htl/pt-atfork.c: Likewise.
11633 * sysdeps/htl/pt-attr-destroy.c: Likewise.
11634 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
11635 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
11636 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
11637 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
11638 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
11639 * sysdeps/htl/pt-attr-getscope.c: Likewise.
11640 * sysdeps/htl/pt-attr-getstack.c: Likewise.
11641 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
11642 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
11643 * sysdeps/htl/pt-attr-init.c: Likewise.
11644 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
11645 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
11646 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
11647 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
11648 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
11649 * sysdeps/htl/pt-attr-setscope.c: Likewise.
11650 * sysdeps/htl/pt-attr-setstack.c: Likewise.
11651 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
11652 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
11653 * sysdeps/htl/pt-attr.c: Likewise.
11654 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
11655 * sysdeps/htl/pt-barrier-init.c: Likewise.
11656 * sysdeps/htl/pt-barrier-wait.c: Likewise.
11657 * sysdeps/htl/pt-barrier.c: Likewise.
11658 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
11659 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
11660 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
11661 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
11662 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
11663 * sysdeps/htl/pt-cond-destroy.c: Likewise.
11664 * sysdeps/htl/pt-cond-init.c: Likewise.
11665 * sysdeps/htl/pt-cond-signal.c: Likewise.
11666 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
11667 * sysdeps/htl/pt-cond-wait.c: Likewise.
11668 * sysdeps/htl/pt-cond.c: Likewise.
11669 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
11670 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
11671 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
11672 * sysdeps/htl/pt-condattr-init.c: Likewise.
11673 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
11674 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
11675 * sysdeps/htl/pt-destroy-specific.c: Likewise.
11676 * sysdeps/htl/pt-equal.c: Likewise.
11677 * sysdeps/htl/pt-getconcurrency.c: Likewise.
11678 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
11679 * sysdeps/htl/pt-getschedparam.c: Likewise.
11680 * sysdeps/htl/pt-getspecific.c: Likewise.
11681 * sysdeps/htl/pt-init-specific.c: Likewise.
11682 * sysdeps/htl/pt-key-create.c: Likewise.
11683 * sysdeps/htl/pt-key-delete.c: Likewise.
11684 * sysdeps/htl/pt-key.h: Likewise.
11685 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
11686 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
11687 * sysdeps/htl/pt-mutex-init.c: Likewise.
11688 * sysdeps/htl/pt-mutex-lock.c: Likewise.
11689 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
11690 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
11691 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
11692 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
11693 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
11694 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
11695 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
11696 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
11697 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
11698 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
11699 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
11700 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
11701 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
11702 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
11703 * sysdeps/htl/pt-mutexattr.c: Likewise.
11704 * sysdeps/htl/pt-once.c: Likewise.
11705 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
11706 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
11707 * sysdeps/htl/pt-rwlock-init.c: Likewise.
11708 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
11709 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
11710 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
11711 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
11712 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
11713 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
11714 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
11715 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
11716 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
11717 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
11718 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
11719 * sysdeps/htl/pt-setconcurrency.c: Likewise.
11720 * sysdeps/htl/pt-setschedparam.c: Likewise.
11721 * sysdeps/htl/pt-setschedprio.c: Likewise.
11722 * sysdeps/htl/pt-setspecific.c: Likewise.
11723 * sysdeps/htl/pt-spin.c: Likewise.
11724 * sysdeps/htl/pt-startup.c: Likewise.
11725 * sysdeps/htl/pthread.h: Likewise.
11726 * sysdeps/htl/sem-close.c: Likewise.
11727 * sysdeps/htl/sem-destroy.c: Likewise.
11728 * sysdeps/htl/sem-getvalue.c: Likewise.
11729 * sysdeps/htl/sem-init.c: Likewise.
11730 * sysdeps/htl/sem-open.c: Likewise.
11731 * sysdeps/htl/sem-post.c: Likewise.
11732 * sysdeps/htl/sem-timedwait.c: Likewise.
11733 * sysdeps/htl/sem-trywait.c: Likewise.
11734 * sysdeps/htl/sem-unlink.c: Likewise.
11735 * sysdeps/htl/sem-wait.c: Likewise.
11736 * sysdeps/hurd/htl/pt-kill.c: Likewise.
11737 * sysdeps/i386/htl/pt-machdep.h: Likewise.
11738 * sysdeps/mach/htl/pt-block.c: Likewise.
11739 * sysdeps/mach/htl/pt-spin.c: Likewise.
11740 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
11741 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
11742 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
11743 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
11744 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
11745 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
11746 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
11747 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
11748 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
11749 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
11750 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
11751 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
11752 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
11753 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
11754 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
11755 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
11756 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
11757 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
11758 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
11759 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
11760 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
11761 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
11762 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
11763 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
11764 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
11765 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
11766 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
11767 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
11768 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
11769 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
11770 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
11771 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
11772 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
11773 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
11774 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
11775 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
11776 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
11777 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
11778 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
11779 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
11780 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
11781 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
11782 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
11784 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
11785 * README: Remove the mention of out-of-tree patches needed for
11788 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
11789 (UTIME_NOW, UTIME_OMIT): Define macros.
11791 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
11792 instead of pthread_detach.
11793 (__cthread_fork): Call __pthread_create instead of pthread_create.
11794 (__cthread_keycreate): Call __pthread_key_create instead of
11795 pthread_key_create.
11796 (__cthread_getspecific): Call __pthread_getspecific instead of
11797 pthread_getspecific.
11798 (__cthread_setspecific): Call __pthread_setspecific instead of
11799 pthread_setspecific.
11800 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
11801 __pthread_mutex_unlock instead of pthread_mutex_lock and
11802 pthread_mutex_unlock.
11803 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
11804 ___pthread_get_cleanup_stack.
11805 (__pthread_get_cleanup_stack): New strong alias.
11806 * htl/pt-create.c: Include <pthreadP.h>.
11807 (entry_point): Call __pthread_exit instead of pthread_exit.
11808 (pthread_create): Rename to __pthread_create.
11809 (pthread_create): New strong alias.
11810 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
11811 (pthread_detach): New strong alias.
11812 (__pthread_detach): Call __pthread_cond_broadcast instead of
11813 pthread_cond_broadcast.
11814 * htl/pt-exit.c: Include <pthreadP.h>.
11815 (__pthread_exit): Call __pthread_setcancelstate and
11816 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
11817 __pthread_get_cleanup_stack.
11818 * htl/pt-testcancel.c: Include <pthreadP.h>.
11819 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
11820 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
11821 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
11822 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
11823 pthread_attr_getstacksize.
11824 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
11825 Rename to __pthread_attr_getstackaddr.
11826 (pthread_attr_getstackaddr): New strong alias.
11827 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
11828 Rename to __pthread_attr_getstacksize.
11829 (pthread_attr_getstacksize): New strong alias.
11830 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
11831 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
11832 (pthread_attr_setstack): New strong alias.
11833 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
11834 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
11835 pthread_attr_getstacksize, pthread_attr_setstacksize and
11836 pthread_attr_setstackaddr.
11837 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
11838 Rename to __pthread_attr_setstackaddr.
11839 (pthread_attr_setstackaddr): New strong alias.
11840 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
11841 Rename to __pthread_attr_setstacksize.
11842 (pthread_attr_setstacksize): New strong alias.
11843 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
11844 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
11846 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
11847 (__pthread_key_create): New hidden def.
11848 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
11849 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
11850 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
11851 __pthread_exit, __pthread_key_create, __pthread_getspecific,
11852 __pthread_setspecific, __pthread_setcancelstate,
11853 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
11854 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
11855 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
11857 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
11858 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
11859 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
11860 (pthread_attr_setstackaddr): New strong alias.
11861 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
11862 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
11863 (pthread_attr_setstacksize): New strong alias.
11864 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
11865 (call_exit): Call __pthread_exit instead of pthread_exit.
11866 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
11867 (_pthread_mutex_init): New hidden definition.
11868 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
11869 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
11870 instead of pthread_attr_init and pthread_attr_setstack.
11872 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
11873 __vm_deallocate instead of vm_allocate and vm_deallocate.
11874 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
11876 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
11878 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
11880 * hurd/siginfo.c: Include <libioP.h>.
11881 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
11882 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
11884 * mach/devstream.c: Include <libioP.h>.
11885 (dealloc_ref): Call __mach_port_deallocate instead of
11886 mach_port_deallocate.
11887 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
11888 Call __mach_port_deallocate instead of mach_port_deallocate.
11889 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
11891 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
11893 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
11894 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
11895 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
11897 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
11899 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
11900 instead of sysconf.
11901 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
11902 __clock_gettime instead of clock_gettime.
11903 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
11904 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11905 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
11906 * sysdeps/unix/bsd/stty.c (stty): Likewise.
11907 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
11909 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
11910 __clock_gettime and __nanosleep instead of clock_gettime and
11912 * hurd/catch-signal.c (hurd_catch_signal): Rename to
11913 __hurd_catch_signal.
11914 (hurd_catch_signal): New strong alias.
11915 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
11916 __hurd_catch_signal instead of hurd_catch_signal.
11917 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
11918 * hurd/hurdexec.c (_hurd_init): Add hidden def.
11919 * hurd/hurdinit.c (_hurd_init): Add hidden def.
11920 * hurd/hurdsig.c: Include <mach/mig_support.h>.
11921 (_hurd_thread_sigstate): Add hidden def.
11922 (_hurd_internal_post_signal): Use __mutex_unlock instead of
11924 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
11925 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
11926 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
11927 __hurd_file_name_path_lookup.
11928 (hurd_file_name_path_lookup): New strong alias.
11929 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
11930 hurd_file_name_path_lookup.
11931 * mach/errstring.c (mach_error_type): Add hidden def.
11932 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
11933 * mach/mutex-init.c (__mutex_init): Add hidden def.
11934 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
11935 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
11936 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
11937 * sysdeps/mach/hurd/getcwd.c
11938 (_hurd_canonicalize_directory_name_internal): Rename to
11939 __hurd_canonicalize_directory_name_internal.
11940 (_hurd_canonicalize_directory_name_internal): New strong alias.
11941 (__canonicalize_directory_name_internal, __getcwd): Call
11942 __hurd_canonicalize_directory_name_internal instead of
11943 _hurd_canonicalize_directory_name_internal.
11944 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
11945 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
11947 * sysdeps/hurd/include/hurd.h: New file.
11948 * sysdeps/hurd/include/hurd/fd.h: New file.
11949 * sysdeps/hurd/include/hurd/signal.h: New file.
11950 * sysdeps/mach/include/lock-intern.h: New file.
11951 * sysdeps/mach/include/mach.h: New file.
11952 * sysdeps/mach/include/mach/mig_support.h: New file.
11953 * sysdeps/mach/include/mach_error.h: New file.
11954 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
11956 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
11957 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
11958 _HEADER_H_HIDDEN_DEF macro.
11959 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
11960 _hurd_fd_error_signal): Add hidden prototype.
11961 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
11963 * libio/iolibio.h (_IO_puts): New hidden prototype.
11964 * libio/ioputs.c (_IO_puts): New hidden def.
11965 * sysdeps/mach/hurd/localplt.data: New file.
11967 2018-04-02 Agustina Arzille <avarzille@riseup.net>
11968 Amos Jeffries <squid3@treenet.co.nz>
11969 David Michael <fedora.dm0@gmail.com>
11970 Marco Gerards <marco@gnu.org>
11971 Marcus Brinkmann <marcus@gnu.org>
11972 Neal H. Walfield <neal@gnu.org>
11973 Pino Toscano <toscano.pino@tiscali.it>
11974 Richard Braun <rbraun@sceen.net>
11975 Roland McGrath <roland@gnu.org>
11976 Samuel Thibault <samuel.thibault@ens-lyon.org>
11977 Thomas DiModica <ricinwich@yahoo.com>
11978 Thomas Schwinge <tschwinge@gnu.org>
11980 * htl: New directory.
11981 * sysdeps/htl: New directory.
11982 * sysdeps/hurd/htl: New directory.
11983 * sysdeps/i386/htl: New directory.
11984 * sysdeps/mach/htl: New directory.
11985 * sysdeps/mach/hurd/htl: New directory.
11986 * sysdeps/mach/hurd/i386/htl: New directory.
11987 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
11988 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
11989 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
11991 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11993 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
11994 signals in thread created for runing timers.
11996 2018-04-01 Florian Weimer <fweimer@redhat.com>
11998 * support/support_format_addrinfo.c (support_format_addrinfo):
11999 Include unknown error number in formatted result.
12001 2018-03-29 Florian Weimer <fweimer@redhat.com>
12003 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12006 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12008 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12009 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12010 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12011 (__ASSUME_CLONE_BACKWARDS): Define.
12013 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12016 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12017 early when linux sentinel value is set.
12019 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12021 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12023 2018-03-27 Andreas Schwab <schwab@suse.de>
12026 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12027 allocation of private copy of nsaddr_list fails.
12029 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12032 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12033 * sysdeps/unix/sysv/linux/umount.c: ... here.
12034 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12035 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12036 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12037 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12039 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12040 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12042 2018-03-26 Andreas Schwab <schwab@suse.de>
12044 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12045 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12046 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12047 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12048 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12049 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12050 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12051 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12052 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12053 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12054 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12055 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12056 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12057 (R_RISCV_NUM): Define.
12059 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12061 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12062 TLS declaration of errno.
12063 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12065 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12066 (ARCH_SETUP_TLS): Likewise.
12067 * sysdeps/mach/hurd/libc-start.h: New file copied from
12068 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12069 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12070 instead of __libc_setup_tls.
12071 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12072 __libc_setup_tls before initializing libpthread and running _hurd_init
12073 which starts the signal thread.
12074 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12076 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12078 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12081 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12082 after it is defined.
12084 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12085 Max Horn <max@quendi.de>
12089 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12091 * string/test-memmove.c (do_test2): New testcase.
12093 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12095 * sysdeps/generic/frame.h: Remove file.
12096 * sysdeps/arm/frame.h: Likewise.
12097 * sysdeps/hppa/frame.h: Likewise.
12098 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12100 (GET_FRAME): Likewise.
12101 (GET_STACK): Likewise.
12102 (CALL_SIGHANDLER): Likewise.
12103 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12105 (GET_FRAME): Likewise.
12106 (GET_STACK): Likewise.
12107 (CALL_SIGHANDLER): Likewise.
12108 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12109 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12110 (GET_FRAME): Likewise.
12111 (GET_STACK): Likewise.
12112 (CALL_SIGHANDLER): Likewise.
12113 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12114 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12115 (GET_FRAME): Likewise.
12116 (GET_STACK): Likewise.
12117 (ADVANCE_STACK_FRAME): Likewise.
12118 (CALL_SIGHANDLER): Likewise.
12119 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12120 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12121 (GET_FRAME): Likewise.
12122 (GET_STACK): Likewise.
12123 (CALL_SIGHANDLER): Likewise.
12124 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12125 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12126 (GET_FRAME): Likewise.
12127 (GET_STACK): Likewise.
12128 (CALL_SIGHANDLER): Likewise.
12129 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12130 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12131 (GET_FRAME): Likewise.
12132 (GET_STACK): Likewise.
12133 (CALL_SIGHANDLER): Likewise.
12134 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12135 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12136 (GET_FRAME): Likewise.
12137 (GET_STACK): Likewise.
12138 (CALL_SIGHANDLER): Likewise.
12139 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12140 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12141 (GET_FRAME): Likewise.
12142 (GET_STACK): Likewise.
12143 (CALL_SIGHANDLER): Likewise.
12144 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12145 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12146 (GET_FRAME): Likewise.
12147 (GET_STACK): Likewise.
12148 (CALL_SIGHANDLER): Likewise.
12149 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12150 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12151 (GET_FRAME): Likewise.
12152 (GET_STACK): Likewise.
12153 (CALL_SIGHANDLER): Likewise.
12154 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12155 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12156 (GET_FRAME): Likewise.
12157 (GET_STACK): Likewise.
12158 (CALL_SIGHANDLER): Likewise.
12159 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12160 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12161 (GET_FRAME): Likewise.
12162 (GET_STACK): Likewise.
12163 (CALL_SIGHANDLER): Likewise.
12164 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12165 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12166 (FIRST_FRAME_POINTER): Likewise.
12167 (ADVANCE_STACK_FRAME): Likewise.
12168 (GET_STACK): Likewise.
12169 (GET_FRAME): Likewise.
12170 (CALL_SIGHANDLER): Likewise.
12171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12172 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12173 (ADVANCE_STACK_FRAME): Likewise.
12174 (GET_STACK): Likewise.
12175 (GET_FRAME): Likewise.
12176 (CALL_SIGHANDLER): Likewise.
12177 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12178 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12179 (GET_FRAME): Likewise.
12180 (GET_STACK): Likewise.
12181 (CALL_SIGHANDLER): Likewise.
12182 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12183 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12184 (GET_FRAME): Likewise.
12185 (GET_STACK): Likewise.
12186 (CALL_SIGHANDLER): Likewise.
12188 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12190 * sysdeps/x86_64/backtrace.c: Move to ....
12191 * debug/backtrace.c: ... here.
12192 * sysdeps/aarch64/backtrace.c: Remove file.
12193 * sysdeps/alpha/backtrace.c: Likewise.
12194 * sysdeps/hppa/backtrace.c: Likewise.
12195 * sysdeps/ia64/backtrace.c: Likewise.
12196 * sysdeps/mips/backtrace.c: Likewise.
12197 * sysdeps/nios2/backtrace.c: Likewise.
12198 * sysdeps/riscv/backtrace.c: Likewise.
12199 * sysdeps/sh/backtrace.c: Likewise.
12200 * sysdeps/tile/backtrace.c: Likewise.
12202 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12205 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12208 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12211 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12212 possibly overflowing computations.
12214 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12216 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12217 values from Linux-specific section now that it is in the GNU section.
12218 * sysdeps/gnu/errlist.c: Regenerate.
12220 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12222 * math/Makefile (libm-narrow-fns): Add sub.
12223 (libm-test-funcs-narrow): Likewise.
12224 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12225 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12226 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12227 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12228 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12229 (NARROW_SUB_TRIVIAL): Likewise.
12230 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12232 (__dsubl): Likewise.
12233 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12235 (CFLAGS-nldbl-dsub.c): New variable.
12236 (CFLAGS-nldbl-fsub.c): Likewise.
12237 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12239 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12241 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12242 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12243 * math/auto-libm-test-in: Add tests of sub.
12244 * math/auto-libm-test-out-narrow-sub: New generated file.
12245 * math/libm-test-narrow-sub.inc: New file.
12246 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12249 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12250 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12251 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12260 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12261 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12262 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12263 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12265 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12271 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12272 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12293 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12296 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12298 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12300 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12302 2018-03-18 Richard Braun <rbraun@sceen.net>
12304 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12307 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12309 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12310 (__libc_cleanup_fct): Define function.
12311 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12312 __libc_cleanup_end): Rewrite implementation using
12313 __attribute__ ((__cleanup__)).
12314 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12315 * hurd/Makefile (routines): Add hurdlock.
12316 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12318 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12319 * hurd/hurdpid.c: Include <lowlevellock.h>
12320 (_S_msg_proc_newids): Use lll_wait to synchronize.
12321 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12322 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12323 * mach/Makefile (lock-headers): Remove machine-lock.h.
12324 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12326 (__spin_lock_t): New type.
12327 (__SPIN_LOCK_INITIALIZER): New macro.
12328 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12329 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12330 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12331 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12332 (__mutex_init): Initialize with lll.
12333 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12334 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12336 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12337 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12338 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12339 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12340 (__setpgid): Use lll for synchronization.
12341 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12342 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12343 instead of <cthreads.h>.
12344 (_IO_lock_inexpensive): New macro
12345 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12346 (__libc_lock_self0): New declaration.
12347 (__libc_lock_owner_self): New macro.
12348 (__libc_key_t): Remove type.
12349 (_LIBC_LOCK_INITIALIZER): New macro.
12350 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12351 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12352 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12353 __libc_lock_define_initialized_recursive,
12354 __rtld_lock_define_initialized_recursive,
12355 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12356 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12357 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12358 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12359 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12360 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12361 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12363 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
12364 * hurd/hurdlock.c: New file.
12365 * hurd/hurdlock.h: New file.
12366 * mach/lowlevellock.h: New file
12368 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12370 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
12371 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
12372 when opening a symlink with O_NOFOLLOW.
12373 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
12374 path when flags contains O_NOFOLLOW.
12375 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
12376 if flags contains O_DIRECTORY and the result is a directory.
12377 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
12378 oneself when the pointer given in D is nul (as set by ext2fs).
12379 * sysdeps/mach/hurd/mlockall.c: New file.
12380 * sysdeps/mach/hurd/munlockall.c: New file.
12382 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12384 * hurd/hurdsig.c: Include <pthread.h>.
12385 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
12386 get the signal thread stack layout.
12387 * hurd/Makefile (headers): Remove threadvar.h.
12388 (inline-headers): Remove threadvar.h.
12389 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
12390 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
12391 __hurd_threadvar_max, __hurd_errno_location.
12392 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
12393 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
12394 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
12395 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
12396 unless TLS is not initialized yet, in which case we do not need a
12397 critical section yet anyway.
12398 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
12400 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
12402 (__hurd_threadvar_index): Remove enum.
12403 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
12404 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
12406 (__hurd_reply_port0): New variable declaration.
12407 (__hurd_local_reply_port): New macro.
12408 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
12409 (interrupted_reply_port_location): Add thread_t parameter. Use it
12410 with THREAD_TCB to access thread-local variables.
12411 (_hurdsig_abort_rpcs): Pass ss->thread to
12412 interrupted_reply_port_location.
12413 (_hurd_internal_post_signal): Likewise.
12414 (_hurdsig_init): Use presence of cthread_fork instead of
12415 __hurd_threadvar_stack_mask to start signal thread by hand.
12416 Remove signal thread threadvar initialization.
12417 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
12418 * hurd/sigunwind.c: Include <hurd/threadvar.h>
12419 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
12421 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
12423 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
12424 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
12425 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
12426 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
12427 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
12428 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
12429 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
12431 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
12432 <hurd/threadvar.h>.
12433 [IS_IN(rtld)] (rtld_errno): New variable.
12434 [IS_IN(rtld)] (__errno_location): New weak function.
12435 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
12436 * sysdeps/mach/hurd/errno.c: Remove file.
12437 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
12438 (__fork): Remove THREADVAR_SPACE macro and its use.
12439 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
12441 (init): Do not initialize threadvar.
12442 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
12444 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
12445 __hurd_local_reply_port instead of threadvar.
12446 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
12447 _hurd_sigstate fields.
12448 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
12449 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
12450 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
12451 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
12452 instead of threadvar.
12453 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
12454 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
12455 (use_threadvar, global_reply_port): Remove variables.
12456 (__hurd_reply_port0): New variable.
12457 (__mig_get_reply_port): Use __hurd_local_reply_port and
12458 __hurd_reply_port0 instead of threadvar.
12459 (__mig_dealloc_reply_port): Likewise.
12460 (__mig_init): Do not initialize threadvar.
12461 * sysdeps/mach/hurd/profil.c: Fix comment.
12462 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
12463 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
12464 cthread_keycreate, cthread_getspecific, cthread_setspecific to
12465 __cthread_fork, __cthread_detach, __pthread_getattr_np,
12466 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
12467 __cthread_setspecific.
12468 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
12469 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
12470 __cthread_t instead of cthread_fork, cthread_detach,
12471 pthread_getattr_np, pthread_attr_getstack.
12472 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
12473 __cthread_keycreate.
12474 (cthread_getspecific): Rename to __cthread_getspecific.
12475 (cthread_setspecific): Rename to __cthread_setspecific.
12476 (__libc_getspecific): Use __cthread_getspecific instead of
12477 cthread_getspecific.
12478 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
12479 __cthread_keycreate instead of cthread_keycreate.
12480 (__libc_setspecific): Use __cthread_setspecific instead of
12481 cthread_setspecific.
12482 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
12484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
12485 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
12486 testing whether it is defined.
12488 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12490 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
12492 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
12493 * sysdeps/mach/i386/thread_state.h
12494 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
12496 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
12498 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
12500 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
12501 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
12503 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
12505 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
12506 descriptor instead of creating a new one.
12507 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
12509 * mach/setup-thread.c: Include <ldsodefs.h>.
12510 (__mach_setup_thread): Call _dl_allocate_tls, pass
12511 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
12512 MACHINE_THREAD_STATE_FLAVOR, before getting
12513 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
12514 MACHINE_THREAD_STATE_FLAVOR with the result.
12515 * hurd/hurdfault.c (_hurdsig_fault_init): Call
12516 MACHINE_THREAD_STATE_FIX_NEW.
12517 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
12518 too. Add original thread parameter.
12520 2018-03-16 Joseph Myers <joseph@codesourcery.com>
12522 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
12523 Remove inline function.
12525 * sysdeps/i386/fpu/libm-test-ulps: Update.
12526 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12528 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
12530 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
12533 2018-03-15 Joseph Myers <joseph@codesourcery.com>
12535 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
12536 (__sincos_code): Remove define and undefine.
12537 [__FAST_MATH__] (__sincos): Remove inline function.
12538 [__FAST_MATH__] (__sincosf): Remove inline function.
12539 [__FAST_MATH__] (__sincosl): Remove inline function.
12540 (__atan2l): Remove inline functions.
12541 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
12542 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
12544 (floor): Remove inline function.
12546 [__FAST_MATH__] (__ldexp_code): Remove macro.
12547 [__FAST_MATH__] (ldexp): Remove inline function.
12548 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
12549 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
12550 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
12551 [__USE_ISOC99] (__lrint_code): Remove macro.
12552 [__USE_ISOC99] (__llrint_code): Likewise.
12553 [__USE_ISOC99] (lrintf): Remove inline function.
12554 [__USE_ISOC99] (lrint): Likewise.
12555 [__USE_ISOC99] (lrintl): Likewise.
12556 [__USE_ISOC99] (llrint): Likewise.
12557 [__USE_ISOC99] (llrintf): Likewise.
12558 [__USE_ISOC99] (llrintl): Likewise.
12560 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12562 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
12563 (__ieee754_sqrtf): Remove.
12564 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
12565 (__ieee754_sqrtf): Remove.
12566 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
12567 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12568 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
12569 (__ieee754_sqrtf): Remove.
12570 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
12571 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
12574 (__ieee754_sqrt): Remove.
12575 (__ieee754_sqrtf): Remove.
12576 (__ieee754_sqrtl): Remove.
12577 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12578 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
12579 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
12580 (__ieee754_sqrtf): Remove.
12581 (__ieee754_sqrtl): Remove.
12583 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12585 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
12586 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12587 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12588 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
12589 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
12590 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12591 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12592 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12594 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
12595 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
12596 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12597 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12598 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12599 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
12600 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12601 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12602 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12603 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12604 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
12605 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12606 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
12607 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
12608 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
12609 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12610 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12611 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12612 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
12617 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
12618 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
12619 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
12620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
12623 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12624 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12625 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
12626 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12627 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
12628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12629 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12630 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
12631 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
12632 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12633 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
12635 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12637 * include/math.h (sqrt): Declare with asm redirect.
12640 (sqrtf128): Likewise.
12641 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
12642 nonlib and libnldbl with -fmath-errno.
12643 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
12644 * math/w_sqrt_template.c: Likewise.
12645 * math/w_sqrtf_compat.c: Likewise.
12646 * math/w_sqrtl_compat.c: Likewise.
12647 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
12648 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
12649 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
12652 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12654 * benchtests/Makefile: Define _ISOMAC.
12655 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
12656 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
12657 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
12658 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
12659 * benchtests/bench-timing.h: Define attribute_hidden.
12661 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12663 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
12666 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12669 * localedata/locales/cs_CZ (mon): Rename to...
12671 (mon): Import from CLDR (genitive case).
12673 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12676 * localedata/locales/el_CY (abmon): Rename to...
12677 (ab_alt_mon): This.
12678 (abmon): Import from CLDR (abbreviated genitive case).
12679 * localedata/locales/el_GR (abmon): Rename to...
12680 (ab_alt_mon): This.
12681 (abmon): Import from CLDR (abbreviated genitive case).
12683 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12686 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
12688 2018-03-15 Robert Buj <robert.buj@gmail.com>
12691 * localedata/locales/ca_ES (abmon): Rename to...
12692 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
12693 (mon): Rename to...
12695 (abmon): Import from CLDR (genitive case, month names preceded by
12698 (abday): Synchronize with CLDR.
12699 (d_t_fmt): Likewise.
12703 (LC_TIME): Improve indentation.
12704 (LC_TELEPHONE): Likewise.
12705 (LC_NAME): Likewise.
12706 (LC_ADDRESS): Likewise.
12708 2018-03-14 Joseph Myers <joseph@codesourcery.com>
12710 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
12711 (lrintf): Remove definitions used only with old GCC.
12712 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
12713 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
12714 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
12715 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
12716 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
12717 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
12718 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
12719 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
12720 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
12721 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
12722 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
12723 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
12724 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
12725 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
12726 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
12727 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
12728 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
12729 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
12730 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
12731 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
12732 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
12733 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
12734 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
12735 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
12736 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
12737 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
12738 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
12739 [__FAST_MATH__] (__M_SQRT2): Remove macro.
12741 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
12743 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
12744 instruction to unbreak builds with binutils 2.26 and older.
12746 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
12748 * sysdeps/aarch64/strncmp.S (count): New macro.
12749 (strncmp): Store misaligned length in SRC1 in COUNT.
12750 (mutual_align): Adjust.
12751 (misaligned8): Load dword at a time when it is safe.
12753 2018-03-12 Zack Weinberg <zackw@panix.com>
12757 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
12758 if the _IO_EOF_SEEN bit is already set; update commentary.
12759 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
12760 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12762 * support/support_openpty.c, support/tty.h: New files.
12763 * support/Makefile (libsupport-routines): Add support_openpty.
12765 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
12767 * libio/Makefile (tests): Add tst-fgetc-after-eof.
12768 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
12770 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
12772 * po/pt_BR.po: Update translations.
12774 2018-03-12 David Michael <fedora.dm0@gmail.com>
12776 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
12777 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
12778 get a port to the startup server.
12780 2018-03-11 Zack Weinberg <zackw@panix.com>
12782 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
12783 before nldbl-compat.h.
12785 2018-03-10 Zack Weinberg <zackw@panix.com>
12787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
12788 math.h or math_private.h.
12790 * sysdeps/alpha/fpu/s_isnan.c
12791 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
12792 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
12793 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
12794 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
12795 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
12796 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
12797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
12798 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
12799 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
12800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
12801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
12802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
12803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
12804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
12805 Include math_private.h.
12807 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
12808 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
12809 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
12810 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
12811 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
12812 * sysdeps/powerpc/power7/fpu/s_logb.c:
12813 Include math.h and math_private.h.
12815 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
12816 uses of $at in .set noat / .set at.
12818 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
12820 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
12821 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
12822 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
12823 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
12826 2018-03-09 Florian Weimer <fweimer@redhat.com>
12828 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
12831 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
12834 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
12835 Add nop before __startcontext, add explaining comments.
12837 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12840 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
12842 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12843 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
12844 Do not build hardware transactional code for __SPE__.
12845 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12846 (__lll_trylock_elision): Likewise.
12847 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12848 (__lll_unlock_elision): Likewise.
12850 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
12851 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
12852 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
12853 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
12854 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
12855 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
12856 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
12857 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
12858 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
12859 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
12860 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
12861 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
12862 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
12864 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
12865 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
12866 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
12867 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
12868 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
12869 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
12870 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
12871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12872 (__ASSUME_CLONE_BACKWARDS): Define.
12873 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
12874 __clone2 if __NR_clone2 is defined.
12875 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12876 (__ASSUME_CLONE_BACKWARDS): Likewise.
12877 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12878 (__ASSUME_CLONE_BACKWARDS): Likewise.
12879 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12880 (__ASSUME_CLONE2): Likewise.
12881 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12882 (__ASSUME_CLONE_BACKWARDS3): Likewise.
12883 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
12884 variants and the define architecture can use.
12885 (__ASSUME_CLONE_DEFAULT): Define as default.
12886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12887 (__ASSUME_CLONE_BACKWARDS): Likewise.
12888 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12889 (__ASSUME_CLONE_BACKWARDS): Likewise.
12890 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12891 (__ASSUME_CLONE_BACKWARDS2): Likewise.
12893 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
12895 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
12897 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
12900 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
12901 (do_test_limit): Likewise.
12903 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
12904 for every implementation.
12905 (do_test): Likewise.
12907 * benchtests/bench-strncmp.c: Convert output to json.
12909 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12911 * io/futimens.c: Add missing start-of-file descriptive comment.
12912 * io/utime.c: Likewise.
12913 * misc/futimesat.c: Likewise.
12914 * misc/utimes.c: Likewise.
12915 * sysdeps/mach/hurd/futimesat.c: Likewise.
12916 * sysdeps/mach/hurd/utimes.c: Likewise.
12917 * sysdeps/posix/utime.c: Likewise.
12918 * sysdeps/posix/utimes.c: Likewise.
12919 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
12920 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12921 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
12922 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
12924 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12926 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
12928 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
12929 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
12930 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
12931 (__futimens): Move implementation to...
12932 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
12933 utime_tvalue_from_tspec): ... new helper functions.
12934 (hurd_futimens): New function.
12935 * sysdeps/mach/hurd/futimesat.c: New file.
12936 * sysdeps/mach/hurd/utimensat.c: New file.
12938 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
12940 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
12941 UTIME_OMIT): New macros.
12942 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
12943 before reverting to converting time spec to time value and calling
12945 * sysdeps/mach/hurd/utime-helper.c: New file.
12946 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
12947 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
12948 reverting to utime_tvalue_from_tval and __file_utimes.
12949 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
12950 (__lutimes): Just call hurd_futimens after lookup.
12951 * sysdeps/mach/hurd/utimes.c: Likewise.
12953 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12955 * bits/sigaction.h: Add include guard.
12956 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
12957 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
12958 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
12959 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
12960 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
12961 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
12962 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
12963 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
12964 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
12966 2018-03-05 Joseph Myers <joseph@codesourcery.com>
12968 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
12969 -Wmaybe-uninitialized for -Os.
12970 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
12973 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12975 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
12976 __INO_T_MATCHES_INO64_T is defined.
12977 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
12978 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
12980 * dirent/alphasort64.c: Likewise.
12981 * dirent/scandir.c: Likewise.
12982 * dirent/scandir64-tail.c: Likewise.
12983 * dirent/scandir64.c: Likewise.
12984 * dirent/scandirat.c: Likewise.
12985 * dirent/scandirat64.c: Likewise.
12986 * dirent/versionsort.c: Likewise.
12987 * dirent/versionsort64.c: Likewise.
12988 * include/dirent.h: Likewise.
12990 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
12991 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
12992 for socketpair endpoint.
12993 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
12994 WRITE_BUFFER_SIZE as buffer size for sending socket.
12995 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
12996 issue on system where send is implemented with sendto syscall.
12997 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
12998 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
12999 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13000 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13003 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13004 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13005 sa_restorer for vDSO case.
13006 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13008 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13010 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13011 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13012 * hurd/hurd/ioctl.h: Include <mach/port.h>
13013 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13014 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13015 <mach/mach_types.h> and <mach/message.h>.
13016 (headers): Move mach/param.h to bits/mach/param.h.
13017 * sysdeps/mach/i386/mach/param.h: Move file to ...
13018 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13019 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13021 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13022 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13023 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13024 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13025 trivial, for C++ conformity.
13026 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13027 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13028 Process mig output through $(migheadersed).
13029 * hurd/Makefile (migheadersed): Define variable.
13030 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13031 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13033 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13034 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13035 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13036 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13037 <bits/types/sigset_t.h>.
13038 [!defined __USE_GNU]: Do not #error out.
13039 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13040 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13041 Include <stddef.h> and <bits/types/sigset_t.h>
13042 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13043 instead of sighandler_t.
13044 * stdlib/errno.h (error_t): Move definition to...
13045 * bits/types/error_t.h: ... new header.
13046 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13047 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13048 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13049 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13050 * hurd/hurd.h: Include <bits/types/error_t.h>
13051 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13052 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13053 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13054 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13055 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13056 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13057 * sysdeps/mach/hurd/futimens.c: New file.
13059 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13062 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13063 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13064 * nscd/gai.c (__nss_hosts_database): Readd definition.
13065 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13066 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13067 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13069 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13071 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13072 (ifunc_one): Likewise.
13074 2018-03-01 DJ Delorie <dj@delorie.com>
13077 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13080 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13082 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13083 `match_pid' parameter.
13084 (td_ta_thr_iter): Update accordingly.
13086 2018-03-01 Florian Weimer <fweimer@redhat.com>
13088 * nptl/Makefile (install-lib-ldscripts): Remove.
13089 (install): Remove rule.
13090 ($(inst_libdir)/libpthread.so): Likewise.
13092 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13095 * localedata/locales/an_ES: update month and day names,
13096 improve d_fmt, improve postal_fmt, add country_post,
13099 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13101 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13102 Ukrainian instead of Bulgarian.
13104 2018-03-01 Florian Weimer <fweimer@redhat.com>
13106 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13109 2018-03-01 Florian Weimer <fweimer@redhat.com>
13111 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13112 * nptl/Makefile (routines): Add pthread_atfork.
13113 (static-only-routines): Set to pthread_atfork.
13114 (libpthread-routines): Remove pthread_atfork.
13115 (libpthread-static-only-routines): Remove.
13116 (install): Update comment.
13117 (libpthread.so): Do not install libpthread_nonshared.a.
13118 (tests): Do not link with libpthread_nonshared.a.
13119 (generated): Remove libpthread_nonshared.a.
13120 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13121 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13122 with libpthread_nonshared.a.
13124 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13127 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13128 (libc_feholdexcept_setroundf128): New macro.
13129 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13132 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13134 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13135 * include/inttypes.h: New file.
13137 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13139 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13140 -Os in two more places.
13142 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13144 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13145 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13146 be sorted correctly at the moment because of a bug.
13148 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13150 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13151 treat ñ as a primary different character, sync the collation
13152 for Spanish with CLDR.
13153 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13154 * localedata/Makefile: Add new test files.
13155 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13156 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13158 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13159 * localedata/am_ET.UTF-8.in: New test file.
13160 * localedata/az_AZ.UTF-8.in: Likewise.
13161 * localedata/be_BY.UTF-8.in: Likewise.
13162 * localedata/ber_DZ.UTF-8.in: Likewise.
13163 * localedata/ber_MA.UTF-8.in: Likewise.
13164 * localedata/bg_BG.UTF-8.in: Likewise.
13165 * localedata/br_FR.UTF-8.in: Likewise.
13166 * localedata/cmn_TW.UTF-8.in: Likewise.
13167 * localedata/crh_UA.UTF-8.in: Likewise.
13168 * localedata/csb_PL.UTF-8.in: Likewise.
13169 * localedata/cv_RU.UTF-8.in: Likewise.
13170 * localedata/cy_GB.UTF-8.in: Likewise.
13171 * localedata/dz_BT.UTF-8.in: Likewise.
13172 * localedata/eo.UTF-8.in: Likewise.
13173 * localedata/es_ES.UTF-8.in: Likewise.
13174 * localedata/fa_IR.UTF-8.in: Likewise.
13175 * localedata/fi_FI.UTF-8.in: Likewise.
13176 * localedata/fil_PH.UTF-8.in: Likewise.
13177 * localedata/fur_IT.UTF-8.in: Likewise.
13178 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13179 * localedata/ha_NG.UTF-8.in: Likewise.
13180 * localedata/ig_NG.UTF-8.in: Likewise.
13181 * localedata/ik_CA.UTF-8.in: Likewise.
13182 * localedata/kk_KZ.UTF-8.in: Likewise.
13183 * localedata/ku_TR.UTF-8.in: Likewise.
13184 * localedata/ky_KG.UTF-8.in: Likewise.
13185 * localedata/ln_CD.UTF-8.in: Likewise.
13186 * localedata/mi_NZ.UTF-8.in: Likewise.
13187 * localedata/ml_IN.UTF-8.in: Likewise.
13188 * localedata/mn_MN.UTF-8.in: Likewise.
13189 * localedata/mr_IN.UTF-8.in: Likewise.
13190 * localedata/mt_MT.UTF-8.in: Likewise.
13191 * localedata/nb_NO.UTF-8.in: Likewise.
13192 * localedata/om_KE.UTF-8.in: Likewise.
13193 * localedata/os_RU.UTF-8.in: Likewise.
13194 * localedata/ps_AF.UTF-8.in: Likewise.
13195 * localedata/ro_RO.UTF-8.in: Likewise.
13196 * localedata/ru_RU.UTF-8.in: Likewise.
13197 * localedata/sc_IT.UTF-8.in: Likewise.
13198 * localedata/se_NO.UTF-8.in: Likewise.
13199 * localedata/sq_AL.UTF-8.in: Likewise.
13200 * localedata/sv_SE.UTF-8.in: Likewise.
13201 * localedata/szl_PL.UTF-8.in: Likewise.
13202 * localedata/tg_TJ.UTF-8.in: Likewise.
13203 * localedata/tk_TM.UTF-8.in: Likewise.
13204 * localedata/tt_RU.UTF-8.in: Likewise.
13205 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13206 * localedata/ug_CN.UTF-8.in: Likewise.
13207 * localedata/uz_UZ.UTF-8.in: Likewise.
13208 * localedata/vi_VN.UTF-8.in: Likewise.
13209 * localedata/yi_US.UTF-8.in: Likewise.
13210 * localedata/yo_NG.UTF-8.in: Likewise.
13211 * localedata/zh_CN.UTF-8.in: Likewise.
13212 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13213 file and fix bugs in the collation.
13214 * localedata/locales/az_AZ: Likewise.
13215 * localedata/locales/be_BY: Likewise.
13216 * localedata/locales/ber_DZ: Likewise.
13217 * localedata/locales/ber_MA: Likewise.
13218 * localedata/locales/bg_BG: Likewise.
13219 * localedata/locales/br_FR: Likewise.
13220 * localedata/locales/br_FR@euro: Likewise.
13221 * localedata/locales/ca_ES: Likewise.
13222 * localedata/locales/cns11643_stroke: Likewise.
13223 * localedata/locales/crh_UA: Likewise.
13224 * localedata/locales/cs_CZ: Likewise.
13225 * localedata/locales/csb_PL: Likewise.
13226 * localedata/locales/cv_RU: Likewise.
13227 * localedata/locales/cy_GB: Likewise.
13228 * localedata/locales/da_DK: Likewise.
13229 * localedata/locales/dz_BT: Likewise.
13230 * localedata/locales/en_CA: Likewise.
13231 * localedata/locales/eo: Likewise.
13232 * localedata/locales/es_CU: Likewise.
13233 * localedata/locales/es_EC: Likewise.
13234 * localedata/locales/es_ES: Likewise.
13235 * localedata/locales/es_US: Likewise.
13236 * localedata/locales/et_EE: Likewise.
13237 * localedata/locales/fa_IR: Likewise.
13238 * localedata/locales/fi_FI: Likewise.
13239 * localedata/locales/fil_PH: Likewise.
13240 * localedata/locales/fur_IT: Likewise.
13241 * localedata/locales/gez_ER@abegede: Likewise.
13242 * localedata/locales/ha_NG: Likewise.
13243 * localedata/locales/hr_HR: Likewise.
13244 * localedata/locales/hsb_DE: Likewise.
13245 * localedata/locales/hu_HU: Likewise.
13246 * localedata/locales/ig_NG: Likewise.
13247 * localedata/locales/ik_CA: Likewise.
13248 * localedata/locales/is_IS: Likewise.
13249 * localedata/locales/iso14651_t1_pinyin: Likewise.
13250 * localedata/locales/kk_KZ: Likewise.
13251 * localedata/locales/ku_TR: Likewise.
13252 * localedata/locales/ky_KG: Likewise.
13253 * localedata/locales/ln_CD: Likewise.
13254 * localedata/locales/lt_LT: Likewise.
13255 * localedata/locales/lv_LV: Likewise.
13256 * localedata/locales/mi_NZ: Likewise.
13257 * localedata/locales/ml_IN: Likewise.
13258 * localedata/locales/mn_MN: Likewise.
13259 * localedata/locales/mr_IN: Likewise.
13260 * localedata/locales/mt_MT: Likewise.
13261 * localedata/locales/nb_NO: Likewise.
13262 * localedata/locales/om_KE: Likewise.
13263 * localedata/locales/os_RU: Likewise.
13264 * localedata/locales/pl_PL: Likewise.
13265 * localedata/locales/ps_AF: Likewise.
13266 * localedata/locales/ro_RO: Likewise.
13267 * localedata/locales/ru_RU: Likewise.
13268 * localedata/locales/ru_UA: Likewise.
13269 * localedata/locales/sc_IT: Likewise.
13270 * localedata/locales/se_NO: Likewise.
13271 * localedata/locales/si_LK: Likewise.
13272 * localedata/locales/sq_AL: Likewise.
13273 * localedata/locales/sv_FI: Likewise.
13274 * localedata/locales/sv_FI@euro: Likewise.
13275 * localedata/locales/sv_SE: Likewise.
13276 * localedata/locales/szl_PL: Likewise.
13277 * localedata/locales/tg_TJ: Likewise.
13278 * localedata/locales/ti_ER: Likewise.
13279 * localedata/locales/tk_TM: Likewise.
13280 * localedata/locales/tl_PH: Likewise.
13281 * localedata/locales/tr_TR: Likewise.
13282 * localedata/locales/tt_RU: Likewise.
13283 * localedata/locales/tt_RU@iqtelif: Likewise.
13284 * localedata/locales/ug_CN: Likewise.
13285 * localedata/locales/uk_UA: Likewise.
13286 * localedata/locales/uz_UZ: Likewise.
13287 * localedata/locales/uz_UZ@cyrillic: Likewise.
13288 * localedata/locales/vi_VN: Likewise.
13289 * localedata/locales/yi_US: Likewise.
13290 * localedata/locales/yo_NG: Likewise.
13292 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13294 * gen-locales.mk: Make test files which contain @ modifiers in their
13296 * localedata/gen-locale.sh: Likewise.
13298 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13300 * posix/tst-fnmatch.input: Fix results for range expressions
13302 * posix/tst-regexloc.c: Do not use a range expression for
13303 de_DE.ISO-8859-1 locale.
13305 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13307 * posix/bug-regex5.c: Fix test case because with the new
13308 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13309 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13312 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13314 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13315 downloaded from ISO, the collation order of @-. and space has changed.
13316 Therefore, this test file needed to be adapted.
13317 * localedata/fr_CA.UTF-8.in: Likewise.
13318 * localedata/fr_FR.UTF-8.in: Likewise.
13319 * localedata/uk_UA.UTF-8.in: Likewise.
13321 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13323 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13324 order of ȥ in the new iso14651_t1_common file.
13325 * localedata/pl_PL.UTF-8.in: Likewise.
13327 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13329 * localedata/locales/iso14651_t1_common: Add sections for various
13330 scripts to the iso14651_t1_common file.
13332 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13334 * localedata/locales/iso14651_t1_common: Use the code point of a
13335 character in the fourth collation level instead of IGNORE for all
13336 entries which have IGNORE on all 4 levels.
13338 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13340 * localedata/locales/iso14651_t1_common: Add some convenient collation
13341 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13342 rules similar to those in CLDR.
13344 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13346 * localedata/locales/iso14651_t1_common: The new version of this
13347 file downloaded from ISO contained several syntax errors which
13348 are fixed by this patch.
13350 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13352 * localedata/locales/iso14651_t1_common: replace all <U.....>
13353 with <U000.....> because glibc understands only 4 digit or 8 digit
13355 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13357 * localedata/locales/iso14651_t1_common: Necessary changes
13358 to make the file downloaded from ISO usable by glibc.
13360 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13363 * localedata/locales/iso14651_t1_common: Update file to
13364 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
13366 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13368 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
13369 of <nptl/pthreadP.h>
13370 (thread_attr_compare): Move function to...
13371 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
13372 * sysdeps/nptl/timer_routines.h: ... new header.
13373 * sysdeps/mach/hurd/gai_misc.h: New file.
13375 2018-02-26 Joseph Myers <joseph@codesourcery.com>
13377 * string/strcoll_l.c: Include <libc-diag.h>.
13378 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13379 declarations of seq1 and seq2.
13382 * stdlib/atoi.c (atoi): Use libc_hidden_def.
13383 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
13385 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
13389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
13390 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
13391 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
13392 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
13393 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
13394 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
13396 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
13399 macros used in __ptrace_request.
13401 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
13404 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
13406 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
13407 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
13408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
13411 2018-02-23 Joseph Myers <joseph@codesourcery.com>
13414 * ctype/ctype.c (tolower): Use libc_hidden_def.
13415 (toupper): Likewise.
13416 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
13417 [!_ISOMAC] (toupper): Likewise.
13419 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13421 * localedata/Makefile: Remove --quiet argument when
13424 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13427 * localedata/locales/pt_BR (LC_TIME): use / instead of -
13429 * localedata/locales/pt_PT (LC_TIME): likewise
13431 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13434 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
13435 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
13436 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
13438 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13442 * nptl/Makefile (routines): Remove unregister-atfork.
13443 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
13444 (fork_handler_alloc): Remove function.
13445 (fork_handlers, fork_handler_init): New variables.
13446 (__fork_lock): Rename to atfork_lock.
13447 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
13448 to use a dynamic array to add/remove atfork handlers.
13449 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13450 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
13451 Remove declaration.
13452 (fork_handler): Remove next, refcntr, and need_signal member.
13453 (__run_fork_handler_type): New enum.
13454 (__run_fork_handlers): New prototype.
13455 * nptl/register-atfork.c: Remove file.
13456 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
13458 * sysdeps/nptl/nptl-signals.h: Move to ...
13459 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
13461 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
13462 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
13463 unnecessary check for SIGTIMER.
13464 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
13465 remove unnecessary removal of SIGTIMER.
13466 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
13467 include-signals.h rename.
13468 * nptl/pthreadP.h: Likewise.
13469 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
13470 __is_internal_signal instead of __nptl_is_internal_signal.
13472 2018-02-22 Andrew Waterman <andrew@sifive.com>
13475 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
13476 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
13477 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
13478 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
13480 2018-02-22 DJ Delorie <dj@delorie.com>
13482 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
13484 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
13486 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
13487 do_misaligned, not misaligned8.
13489 2018-02-22 Steve Ellcey <sellcey@cavium.com>
13491 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
13492 Add memcpy_thunderx2.
13493 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13495 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
13496 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
13497 and IS_THUNDERX2PA checks.
13498 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
13499 Use macro to set name appropriately.
13500 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
13501 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
13502 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
13504 (IS_THUNDERX2): New macro.
13506 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13508 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13510 2018-02-21 Zack Weinberg <zackw@panix.com>
13512 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
13513 Define here, unconditionally.
13514 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
13515 * libio/libioP.h: Remove #if 0 blocks.
13516 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
13517 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
13518 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
13520 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
13521 Assume weak_alias is always defined.
13523 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
13524 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
13525 Remove #if 0 and #ifdef TODO blocks.
13526 Assume text_set_element is always defined.
13528 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
13529 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
13530 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
13532 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
13533 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
13534 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
13535 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
13536 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
13537 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
13538 Reformat bit flags for _flags field to make occupancy clearer.
13540 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
13541 Keep definitions consistent with those in libio/libio.h.
13543 * libio/libio.h (_IO_file_flags): Remove macro.
13544 All uses changed to _flags.
13546 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
13547 (__HAVE_COLUMN, _IO_BE): Don't define.
13548 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
13549 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
13550 * libio/libioP.h (EOF): Don't define.
13551 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
13552 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
13553 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
13554 testing _IO_UNIFIED_JUMPTABLES.
13556 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
13557 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
13558 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
13559 (_IO_size_t): Delete; all uses changed to size_t.
13560 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
13561 (_IO_off_t): Delete; all uses changed to off_t.
13562 (_IO_off64_t): Delete; all uses changed to off64_t.
13563 (_IO_pid_t): Delete; all uses changed to pid_t.
13564 (_IO_uid_t): Delete; all uses changed to uid_t.
13565 (_IO_wint_t): Delete; all uses changed to wint_t.
13566 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
13567 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
13568 (_IO_cookie_io_functions_t): Delete; all uses changed to
13569 cookie_io_functions_t.
13570 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
13571 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
13572 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
13573 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
13575 * libio/iofopncook.c: Remove unnecessary forward declarations.
13576 * libio/iolibio.h: Correct outdated commentary.
13577 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
13578 * stdio-common/fxprintf.c (__fxprintf_nocancel):
13579 Remove unnecessary casts.
13580 * stdio-common/getline.c: Use _IO_getdelim directly.
13581 Don't redefine ssize_t.
13582 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
13583 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
13584 Remove outdated comments.
13585 * stdio-common/vfscanf.c: Don't redefine va_list.
13587 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
13588 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
13589 Remove preprocessor conditionals on _LIBC and __USE_GNU,
13590 which are always true, and __cplusplus, which is always false.
13592 2018-02-21 Joseph Myers <joseph@codesourcery.com>
13596 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
13597 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
13598 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
13599 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
13601 [!_ISOMAC] (putc_unlocked): Likewise.
13602 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
13603 define inline if [__USE_EXTERN_INLINES].
13604 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
13609 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
13610 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
13611 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
13612 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
13613 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
13615 * time/tzfile.c (__tzfile_read): Likewise.
13617 2018-02-21 Mike FABIAN <mfabian@redhat.com>
13620 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
13622 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13624 * io/fcntl.h: Fix a typo in a comment.
13626 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13629 * include/features.h: Add _ISOC11_SOURCE to test for whether to
13630 define _DEFAULT_SOURCE.
13631 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
13633 2018-02-21 Florian Weimer <fweimer@redhat.com>
13636 * elf/cache.c (save_cache): Call fsync on temporary file before
13638 (save_aux_cache): Call fdatasync on temporary file before renaming
13641 2018-02-21 Florian Weimer <fweimer@redhat.com>
13644 * include/caller.h: Remove file.
13645 * elf/dl-caller.c: Likewise.
13646 * elf/Makefile (dl-routines): Remove dl-caller.
13647 (shared-only-routines): Do not add dl-caller.
13648 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
13650 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
13652 (dl_open_worker): Do not call __check_caller.
13653 (_dl_open): Do not set caller_dl_open member.
13654 * elf/rtld.c (_rtld_global_ro): Do not initialize
13655 _dl_check_caller member.
13656 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
13657 _dl_check_caller member.
13658 (_dl_check_caller): Remove declaration.
13659 * sysdeps/unix/sysv/linux/dl-execstack.c
13660 (_dl_make_stack_executable): Do not call __check_caller.
13662 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13664 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
13665 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
13667 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13669 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
13672 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13675 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
13676 of 199606L, 200112L, and 200809L.
13677 (_XOPEN_SOURCE): Document special values of 600 and 700.
13678 (_ISOC11_SOURCE): Document macro.
13679 (_ATFILE_SOURCE): Likewise.
13680 (_FORTIFY_SOURCE): Likewise.
13682 2018-02-19 Joseph Myers <joseph@codesourcery.com>
13686 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
13687 and define as weak alias of __ferror_unlocked. Use
13689 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
13691 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
13692 function if [__USE_EXTERN_INLINES].
13693 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
13696 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
13699 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
13701 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13704 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
13705 the GLIBC_2.1 version.
13707 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13710 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
13711 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
13712 intl/tst-gettext-de.po from po/de.po by removing the
13713 POT-Creation-Date line.
13714 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
13716 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
13719 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13721 * mach/Makefile (headers): Add mach/param.h.
13722 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
13723 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
13724 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
13725 (__ptsname_r): Move implementation to...
13726 (__ptsname_internal): ... new function. Add filling the STP
13729 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
13731 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
13734 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
13736 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
13739 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13741 * nptl/Makefile (tst-mutex8-ENV): Delete.
13742 * nptl/tst-mutex8.c (check_type):
13743 Add runtime check if mutex will be elided.
13745 2018-02-15 Joseph Myers <joseph@codesourcery.com>
13749 * manual/install.texi (Configuring and compiling): Describe
13750 passing CC and CFLAGS on configure command line, not as
13751 environment variables. Use @code markup on those variables.
13752 Specify what options go in CC and what go in CFLAGS. Note the
13753 requirement to compile with optimization.
13754 * INSTALL: Regenerated.
13757 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
13758 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
13759 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
13760 __sigprocmask instead of sigprocmask.
13761 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
13763 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
13764 __sigsetjmp and sigprocmask.
13767 * include/argz.h (argz_next): Use libc_hidden_proto.
13768 (__argz_next): Likewise.
13769 * string-argz-next.c (__argz_next): Use libc_hidden_def.
13770 (argz_next): Use libc_hidden_weak.
13773 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
13775 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
13779 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
13781 * libio/iofputs.c (fputs): Use libc_hidden_weak.
13785 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
13786 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
13787 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
13788 (__feof_unlocked): New declaration, and inline function if
13789 [__USE_EXTERN_INLINES].
13790 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
13791 instead of feof_unlocked.
13792 * intl/localealias.c [_LIBC] (FEOF): Likewise.
13793 * nss/nsswitch.c (nss_parse_file): Likewise.
13794 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
13796 * time/getdate.c (__getdate_r): Likewise.
13797 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
13798 Define as macro to call __feof_unlocked.
13800 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13802 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
13804 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13806 * math/Makefile: Remove mpexp.c and mplog.c
13807 * sysdeps/i386/fpu/mpexp.c: Delete file.
13808 * sysdeps/i386/fpu/mplog.c: Likewise.
13809 * sysdeps/ia64/fpu/mpexp.c: Likewise.
13810 * sysdeps/ia64/fpu/mplog.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
13812 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
13813 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
13814 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13815 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
13816 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
13817 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
13818 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
13819 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13820 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13821 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
13822 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13823 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13824 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
13825 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13826 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13828 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13830 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13832 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13834 * sysdeps/sh/libm-test-ulps: Update.
13836 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13838 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
13841 2018-02-12 Zack Weinberg <zackw@panix.com>
13844 * posix/sys/types.h: Don't include sys/sysmacros.h.
13845 * misc/sys/sysmacros.h: Remove the conditional deprecation
13846 warnings for the macros defined by this header.
13848 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13850 * manual/probes.texi: Remove slowexp probes.
13851 * math/Makefile: Remove slowexp.
13852 * sysdeps/generic/math_private.h (__slowexp): Remove.
13853 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
13854 document error bounds.
13855 * sysdeps/i386/fpu/slowexp.c: Remove.
13856 * sysdeps/ia64/fpu/slowexp.c: Remove.
13857 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
13858 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
13859 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
13860 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
13861 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
13862 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
13863 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
13864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
13865 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
13866 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
13867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
13869 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
13872 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
13873 * benchtests/pow-inputs: Update comment for slow path cases.
13874 * manual/probes.texi (slowpow_p10): Delete removed probe.
13875 (slowpow_p10): Likewise.
13876 * math/Makefile: Remove halfulp.c and slowpow.c.
13877 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
13878 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
13879 (__halfulp): Remove.
13880 (__slowpow): Remove.
13881 * sysdeps/i386/fpu/halfulp.c: Delete file.
13882 * sysdeps/i386/fpu/slowpow.c: Likewise.
13883 * sysdeps/ia64/fpu/halfulp.c: Likewise.
13884 * sysdeps/ia64/fpu/slowpow.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
13886 improve comments and add error analysis.
13887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
13888 (power1): Remove function:
13889 (log1): Remove error argument, add error analysis.
13890 (my_log2): Remove function.
13891 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
13892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13893 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
13894 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
13895 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
13896 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
13897 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
13898 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
13899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
13900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
13901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
13902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13903 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13904 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13906 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
13908 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
13909 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
13911 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
13914 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
13915 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
13916 and PTRACE_SETHBPREGS.
13918 2018-02-10 Zack Weinberg <zackw@panix.com>
13921 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
13923 * malloc/tst-malloc-stats-cancellation.c: New test case.
13924 * malloc/Makefile: Add new test case.
13926 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
13928 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
13930 2018-02-10 Joseph Myers <joseph@codesourcery.com>
13932 * math/Makefile (libm-narrow-fns): Add add.
13933 (libm-test-funcs-narrow): Likewise.
13934 * math/Versions (GLIBC_2.28): Add narrowing add functions.
13935 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
13936 * math/gen-auto-libm-tests.c (test_functions): Add add.
13937 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
13938 (NARROW_ADD_ROUND_TO_ODD): Likewise.
13939 (NARROW_ADD_TRIVIAL): Likewise.
13940 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
13942 (__daddl): Likewise.
13943 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
13945 (CFLAGS-nldbl-dadd.c): New variable.
13946 (CFLAGS-nldbl-fadd.c): Likewise.
13947 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13949 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
13951 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
13952 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
13953 * math/auto-libm-test-in: Add tests of add.
13954 * math/auto-libm-test-out-narrow-add: New generated file.
13955 * math/libm-test-narrow-add.inc: New file.
13956 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
13959 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
13960 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
13961 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
13970 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
13971 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
13972 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
13973 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
13974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13975 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14003 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14004 (f128-pairs): New variable.
14005 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14006 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14008 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14009 Also make tests add $(f128-loader-link) to gnulib-tests.
14011 2018-02-09 DJ Delorie <dj@redhat.com>
14014 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14015 64-bit ELF type for 64-bit ELF objects.
14017 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14019 * math/libm-test-driver.c (snan_tests_arg): New variable.
14020 * math/libm-test-support.h (snan_tests_arg): New declaration.
14021 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14023 * math/Makefile (test-type-pairs): New variable.
14024 (test-type-pairs-f64xf128-yes): Likewise.
14025 (tests): Add test-narrow-macros.
14026 (libm-test-funcs-narrow): New variable.
14027 (libm-test-c-narrow): Likewise.
14028 (generated): Add $(libm-test-c-narrow).
14029 (libm-tests-base-narrow): New variable.
14030 (libm-tests-narrow): Likewise.
14031 (libm-tests): Add $(libm-tests-narrow).
14032 (libm-tests-for-type): Handle $(libm-tests-narrow).
14033 (libm-test-c-narrow-obj): New variable.
14034 ($(libm-test-c-narrow-obj)): New rule.
14035 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14036 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14037 $(o-iterator) to set dependencies and CFLAGS.
14038 * math/gen-auto-libm-tests.c: Document use for narrowing
14040 (output_for_one_input_case): Take argument NARROW.
14041 (generate_output): Likewise. Update call to
14042 output_for_one_input_case.
14043 (main): Take --narrow option. Update call to generate_output.
14044 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14045 (apply_lit): Update call to _apply_lit.
14046 (apply_arglit): New function.
14047 (parse_args): Handle "a" arguments.
14048 (parse_auto_input): Handle format names using ":".
14049 * math/README.libm-test: Document "a" parameter type.
14050 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14051 (ARG_TYPE_TRUE_MIN): Likewise.
14052 (ARG_TYPE_MAX): Likwise.
14053 (ARG_MIN_EXP): Likewise.
14054 (ARG_MAX_EXP): Likewise.
14055 (ARG_MANT_DIG): Likewise.
14056 (TEST_COND_arg_ibm128): Likewise.
14057 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14058 (TEST_COND_arg_fmt): New macro.
14059 (init_max_error): Update prototype.
14060 * math/libm-test-support.c (test_ibm128): New variable.
14061 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14062 instead of using [TEST_COND_ibm128] conditional.
14063 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14064 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14065 [TEST_NARROW] (TEST_MSG): New definition.
14066 (arg_plus_zero): New macro.
14067 (arg_minus_zero): Likewise.
14068 (arg_plus_infty): Likewise.
14069 (arg_minus_infty): Likewise.
14070 (arg_qnan_value_pl): Likewise.
14071 (arg_qnan_value): Likewise.
14072 (arg_snan_value_pl): Likewise.
14073 (arg_snan_value): Likewise.
14074 (arg_max_value): Likewise.
14075 (arg_min_value): Likewise.
14076 (arg_min_subnorm_value): Likewise.
14077 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14078 (RUN_TEST_LOOP_aa_f): New macro.
14079 (TEST_SUFF): New macro.
14080 (TEST_SUFF_STR): Likewise.
14081 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14082 (TEST_COND_any_ibm128): New macro.
14083 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14084 this_func. Update call to init_max_error.
14085 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14086 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14087 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14088 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14089 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14090 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14091 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14092 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14093 * math/test-math-vector.h (TEST_NARROW): Likewise.
14094 * math/test-arg-double.h: New file.
14095 * math/test-arg-float128.h: Likewise.
14096 * math/test-arg-float32x.h: Likewise.
14097 * math/test-arg-float64.h: Likewise.
14098 * math/test-arg-float64x.h: Likewise.
14099 * math/test-arg-ldouble.h: Likewise.
14100 * math/test-math-narrow.h: Likewise.
14101 * math/test-narrow-macros.c: Likewise.
14102 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14103 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14104 test-narrow-macros-ldbl-64.
14105 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14107 * math/bits/mathcalls-narrow.h: New file.
14108 * include/bits/mathcalls-narrow.h: Likewise.
14109 * math/math-narrow.h: Likewise.
14110 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14111 (__MATHCALL_NARROW_ARGS_2): Likewise.
14112 (__MATHCALL_NARROW_ARGS_3): Likewise.
14113 (__MATHCALL_NARROW_NORMAL): Likewise.
14114 (__MATHCALL_NARROW_REDIR): Likewise.
14115 (__MATHCALL_NARROW): Likewise.
14116 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14117 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14119 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14120 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14121 (libm-narrow-fns): New variable.
14122 (libm-narrow-types-basic): Likewise.
14123 (libm-narrow-types-ldouble-yes): Likewise.
14124 (libm-narrow-types-float128-yes): Likewise.
14125 (libm-narrow-types-float128-alias-yes): Likewise.
14126 (libm-narrow-types): Likewise.
14127 (libm-routines): Add narrowing functions.
14128 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14129 (libc_feholdexcept_setroundf128): New macro.
14130 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14131 * sysdeps/ieee754/float128/float128_private.h: Include
14132 <math/math-narrow.h>.
14133 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14134 Undefine and redefine.
14135 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14136 (libm_alias_float_ldouble): Undefine and redefine.
14137 (libm_alias_double_ldouble): Likewise.
14139 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14141 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14143 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14146 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14148 * manual/creature.texi: Convert references to gcc.info to gcc.
14149 * manual/stdio.texi: Likewise.
14150 * manual/string.texi: Likewise.
14152 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14155 * posix/bits/types.h (__int_least8_t): New typedef.
14156 (__uint_least8_t): Likewise.
14157 (__int_least16_t): Likewise.
14158 (__uint_least16_t): Likewise.
14159 (__int_least32_t): Likewise.
14160 (__uint_least32_t): Likewise.
14161 (__int_least64_t): Likewise.
14162 (__uint_least64_t): Likewise.
14163 * sysdeps/generic/stdint.h (int_least8_t): Define using
14165 (int_least16_t): Define using __int_least16_t.
14166 (int_least32_t): Define using __int_least32_t.
14167 (int_least64_t): Define using __int_least64_t.
14168 (uint_least8_t): Define using __uint_least8_t.
14169 (uint_least16_t): Define using __uint_least16_t.
14170 (uint_least32_t): Define using __uint_least32_t.
14171 (uint_least64_t): Define using __uint_least64_t.
14172 * wcsmbs/uchar.h: Include <bits/types.h>.
14173 (char16_t): Define using __uint_least16_t conditional only on
14175 (char32_t): Define using __uint_least32_t conditional only on
14177 * wcsmbs/test-char-types.c: New file.
14178 * wcsmbs/Makefile (tests): Add test-char-types.
14180 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14183 2018-02-07 Zack Weinberg <zackw@panix.com>
14185 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14186 Delete all contents except for definitions of _G_HAVE_MMAP and
14187 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14188 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14189 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14192 * libio/libio.h: Don't include bits/_G_config.h here.
14193 Include stddef.h with __need_wchar_t defined. Include
14194 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14195 Define _IO_iconv_t here, directly.
14196 Don't define _IO_HAVE_ST_BLKSIZE.
14197 * libio/libioP.h: Include _G_config.h here. Move include of
14198 shlib-compat.h up with rest of includes. Simplify conditionals
14199 controlling definition of _IO_JUMPS_OFFSET.
14201 * csu/init.c: Remove always-true #if around entire file.
14202 Don't include stdio.h. Set _IO_stdin_used to hardwired
14203 constant 0x20001, and update commentary.
14204 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14205 Replace all uses of _G_va_list with __gnuc_va_list.
14206 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14207 instead of #if _IO_HAVE_ST_BLKSIZE.
14208 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14209 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14212 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14213 multiple-include guard to match.
14214 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14216 Remove preprocessor conditionals that are always true and/or
14217 redundant to other preprocessor conditionals in the same nest.
14218 Include shlib-compat.h unconditionally.
14219 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14220 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14221 defined after including stdio.h.
14222 Use __BEGIN_DECLS/__END_DECLS.
14224 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14225 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14226 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14228 2018-02-07 Zack Weinberg <zackw@panix.com>
14230 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14231 New single-type headers split from _G_config.h.
14232 * libio/bits/types/cookie_io_functions_t.h
14233 * libio/bits/types/struct_FILE.h
14234 New single-type headers split from libio.h.
14236 * libio/Makefile: Install the above new headers. Don't install
14237 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14239 * libio/_G_config.h, libio/libio.h: Delete file.
14241 * libio/bits/libio.h: Remove improper-inclusion guard.
14242 Include stdio.h and don't repeat anything that it does.
14243 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14244 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14245 __io_read_fn as cookie_read_function_t,
14246 __io_write_fn as cookie_write_function_t,
14247 __io_seek_fn as cookie_seek_function_t,
14248 __io_close_fn as cookie_close_function_t,
14249 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14250 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14251 here, in the "compatibility defines" section. Remove an #if 0
14252 block. Use the "body" macros from bits/types/struct_FILE.h to
14253 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14254 and _IO_ferror_unlocked.
14255 Move prototypes of __uflow and __overflow...
14257 * libio/stdio.h: ...here. Don't include bits/libio.h.
14258 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14259 directly from stdarg.h. Include bits/types/__fpos_t.h,
14260 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14261 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14262 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14263 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14264 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14265 __ssize_t, not _IO_ssize_t. Unconditionally define
14266 BUFSIZ as 8192 and EOF as (-1).
14268 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14269 macros from bits/types/struct_FILE.h instead of _IO_* macros
14270 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14271 instead of _IO_ssize_t.
14272 * libio/bits/stdio2.h: Similarly.
14274 * libio/iolibio.h: Add multiple-include guard.
14275 Include bits/libio.h after stdio.h.
14276 * libio/libioP.h: Add multiple-include guard.
14277 Include stdio.h and bits/libio.h before iolibio.h.
14279 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14280 * include/bits/types/cookie_io_functions_t.h
14281 * include/bits/types/struct_FILE.h: New wrappers.
14283 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
14284 Get definitions of _G_fpos_t and _G_fpos64_t from
14285 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14286 respectively. Remove improper-inclusion guards.
14288 * conform/data/stdio.h-data: Update expectations of va_list.
14289 * scripts/check-installed-headers.sh: Remove special case for
14290 libio.h and _G_config.h.
14292 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14296 * include/sys/sysmacros.h [!_ISOMAC]
14297 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14298 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14299 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14300 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14302 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14303 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14305 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14306 Undefine and redefine to add use __gnu_dev_ prefix.
14307 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14309 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14310 and define as hidden inline function.
14311 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14313 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14315 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14316 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14317 (gnu_dev_minor): Likewise.
14318 (gnu_dev_makedev): Likewise.
14319 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14321 * posix/wordexp.c (exec_comm_child): Likewise.
14322 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14323 instead of minor and __gnu_dev_major instead of major.
14324 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14325 __gnu_dev_major instead of major.
14326 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14327 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14328 instead of gnu_dev_minor.
14329 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14330 (SLAVE_P): Likewise.
14331 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14332 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14336 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14338 * locale/weightwc.h (findidx): Likewise.
14340 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14342 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14343 (slowlog_inexact): Likewise
14344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14345 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14347 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14350 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14351 missing second underscore to parameter name.
14353 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14359 * bits/byteswap.h: Update file comment. Do not include
14360 <bits/byteswap-16.h>.
14361 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14363 (__bswap_16): Define as inline function.
14364 (__bswap_constant_32): Reformat definition.
14365 (__bswap_32): Always define as inline function, not macro, using
14366 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
14367 otherwise __bswap_constant_32.
14368 (__bswap_constant_64): Reformat definition. Do not use
14369 __extension__ here.
14370 (__bswap_64): Always define as inline function, not macro. Use
14371 __extension__ on function definition. Use __builtin_bswap64 if
14372 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
14373 * string/test-endian-file-scope.c: New file.
14374 * string/test-endian-sign-conversion.c: Likewise.
14375 * string/Makefile (headers): Remove bits/byteswap-16.h.
14376 (tests): Add test-endian-file-scope and
14377 test-endian-sign-conversion.
14378 (CFLAGS-test-endian-sign-conversion.c): New variable.
14379 * bits/byteswap-16.h: Remove file.
14380 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
14381 * sysdeps/ia64/bits/byteswap.h: Likewise.
14382 * sysdeps/m68k/bits/byteswap.h: Likewise.
14383 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14384 * sysdeps/s390/bits/byteswap.h: Likewise.
14385 * sysdeps/tile/bits/byteswap.h: Likewise.
14386 * sysdeps/x86/bits/byteswap-16.h: Likewise.
14387 * sysdeps/x86/bits/byteswap.h: Likewise.
14390 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
14391 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
14392 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
14393 199901L] (__restrict): Define to restrict.
14396 * string/testcopy.c: Include <support/support.h>. Do not include
14397 <malloc.h>. Use <support/test-driver.c>.
14398 (main): Rename to do_test. Make static. Use xmalloc instead of
14402 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
14403 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
14404 (SSIZE_MAX): Define to INT_MAX.
14405 * posix/test-ssize-max.c: New file.
14406 * posix/Makefile (tests): Add test-ssize-max.
14409 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
14410 <support/support.h>. Do not include <malloc.h>.
14411 (query_auxv): Use xmalloc instead of malloc.
14414 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
14415 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
14418 2018-02-06 Florian Weimer <fweimer@redhat.com>
14421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14422 Use scratch_buffer instead of extend_alloca.
14424 2018-02-06 Zack Weinberg <zackw@panix.com>
14426 * libio/stdio.h: Don't define getc or putc as macros.
14427 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
14428 not _IO_getc and _IO_putc.
14430 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
14431 * stdio-common/tstgetln.c: Don't redefine ssize_t.
14433 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14435 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
14436 (TCP_FASTOPEN_NO_COOKIE): Likewise.
14438 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
14441 * elf/elf.h (NT_PRFPREG): New macro.
14442 (NT_S390_VXRS_LOW): Likewise.
14443 (NT_S390_VXRS_HIGH): Likewise.
14444 (NT_S390_GS_CB): Likewise.
14445 (NT_S390_GS_BC): Likewise.
14446 (NT_S390_RI_CB): Likewise.
14448 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14449 (MAP_SYNC): New macro.
14450 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
14452 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14453 (MAP_SYNC): Likewise.
14454 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14455 (MAP_SYNC): Likewise.
14456 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14457 (MAP_SYNC): Likewise.
14458 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14459 (MAP_SYNC): Likewise.
14460 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14461 (MAP_SYNC): Likewise.
14462 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14463 (MAP_SYNC): Likewise.
14464 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
14466 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
14469 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
14470 (MAP_SHARED_VALIDATE): New macro.
14471 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14472 (MAP_SHARED_VALIDATE): Likewise.
14474 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14476 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
14477 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
14478 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14480 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14482 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
14483 (DT_NUM): Updated to 35.
14485 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14487 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
14488 __builtin_expect with __glibc_likely and __glibc_unlikely.
14489 (elf_machine_rela): Likewise.
14490 (elf_machine_lazy_rel): Likewise.
14492 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
14495 __builtin_expect with __glibc_likely and __glibc_unlikely.
14496 (elf_machine_lazy_rel): Likewise.
14498 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14501 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
14503 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
14505 2018-02-05 Andreas Schwab <schwab@suse.de>
14508 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
14511 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14513 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
14514 not check against PTHREAD_STACK_MIN.
14516 2018-02-02 Sean McKean <smckean83@gmail.com>
14519 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
14521 2018-02-02 Florian Weimer <fweimer@redhat.com>
14524 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
14525 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14526 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14527 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
14528 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14529 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14530 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14531 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
14532 * manual/llio.texi (Scatter-Gather): Mention offset -1.
14533 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
14534 * misc/tst-preadvwritev2.c (do_test): Call it.
14535 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
14537 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14539 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
14541 * benchtests/bench-memcmp.c: Print json instead of plain text.
14543 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
14546 2018-02-01 Joseph Myers <joseph@codesourcery.com>
14548 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14550 (s390_sthyi): New syscall.
14552 * sysdeps/generic/ldbl-classify-compat.h: New file.
14553 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
14554 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
14555 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
14556 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
14557 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
14558 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
14559 * sysdeps/ieee754/dbl-64/s_finite.c: Include
14560 <ldbl-classify-compat.h>.
14561 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14562 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
14563 <ldbl-classify-compat.h>.
14564 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14565 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
14566 <ldbl-classify-compat.h>.
14567 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
14569 <ldbl-classify-compat.h>.
14570 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
14572 <ldbl-classify-compat.h>.
14573 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
14575 <ldbl-classify-compat.h>.
14576 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14577 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
14578 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14579 * sysdeps/m68k/coldfire/math_private.h: Remove file.
14580 * sysdeps/microblaze/math_private.h: Likewise.
14581 * sysdeps/nios2/math_private.h: Likewise.
14582 * sysdeps/sh/math_private.h: Likewise.
14584 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
14585 * sysdeps/m68k/coldfire/math_private.h: ... here.
14586 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
14587 * sysdeps/tile/math_private.h: Likewise.
14588 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
14590 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
14593 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
14595 (libc_fetestexcept): Likewise.
14596 (libc_feupdateenv_test): Likewise.
14597 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
14598 (libc_fetestexcept): Likewise.
14599 (libc_feupdateenv_test): Likewise.
14600 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
14601 (libc_fetestexcept): Likewise.
14602 (libc_feupdateenv_test): Likewise.
14603 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
14604 (libc_fetestexcept): Likewise.
14605 (libc_feupdateenv_test): Likewise.
14607 * sysdeps/generic/math_private.h
14608 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
14609 New inline function.
14610 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
14613 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
14614 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
14615 * sysdeps/generic/math_private.h
14616 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
14618 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
14620 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
14622 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
14624 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
14626 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
14628 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
14629 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
14630 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
14631 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
14632 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
14633 (__fegetenv): Likewise.
14634 (fesetenv): Likewise.
14635 (__fesetenv): Likewise.
14636 (feupdateenv): Likewise.
14637 (__feupdateenv): Likewise.
14638 (fegetround): Likewise.
14639 (__fegetround): Likewise.
14640 (fesetround): Likewise.
14641 (__fesetround): Likewise.
14643 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
14644 (feraiseexcept): New macro.
14645 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
14646 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
14648 (__feraiseexcept): Likewise.
14649 (feclearexcept): Likewise.
14650 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
14651 (__feraiseexcept): Likewise.
14652 (feclearexcept): Likewise.
14653 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
14654 (__feraiseexcept): Likewise.
14655 (feclearexcept): Likewise.
14656 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
14657 (__feraiseexcept): Likewise.
14658 (feclearexcept): Likewise.
14659 (fetestexcept): Likewise.
14661 * sysdeps/m68k/coldfire/math-tests.h: New file.
14663 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
14664 * sysdeps/m68k/bits/fenv.h: ... here.
14665 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
14667 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
14669 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
14671 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
14673 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
14675 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
14677 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
14678 (__FE_UNDEFINED): New enum constant.
14679 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
14681 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
14683 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
14685 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
14686 to match generic bits/fenv.h.
14687 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
14690 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
14692 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
14693 * soft-fp/half.h (union _FP_UNION_H): Likewise.
14694 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
14695 * soft-fp/single.h (union _FP_UNION_S): Likewise.
14697 2018-02-01 Carlos O'Donell <carlos@redhat.com>
14698 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
14699 Joseph Myers <joseph@codesourcery.com>
14702 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
14703 (__log1p): Disable -Wmaybe-uninitialized for -Os around
14704 computation using c.
14705 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
14706 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
14707 computation using c.
14709 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14711 * version.h (RELEASE): Set to "development".
14712 (VERSION): Set to "2.27.9000".
14713 * NEWS (2.28): New section.
14715 * version.h (RELEASE): Set to "stable".
14716 (VERSION): Set to "2.27".
14717 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
14719 * NEWS: Add the list of bugs fixed in 2.27.
14721 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14723 * stdlib/test-atexit-race-common.c (do_test): Check stack size
14724 against PTHREAD_STACK_MIN.
14726 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14728 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
14730 (Rafal Luzynski, Andreas Schwab): Update.
14732 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
14735 * NEWS: List the languages which actually use the alternative
14736 months feature in this release. Also explain that "alt_mon" and
14737 "ab_alt_mon" are optional.
14739 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
14742 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
14744 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
14746 * manual/install.texi (Tools for Compilation): Update the newest
14747 versions of gcc, binutils, texinfo, gawk, bison, and sed.
14748 * INSTALL: Regenerated.
14750 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14752 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
14753 instead of __builtin_expect.
14755 2018-01-30 Florian Weimer <fweimer@redhat.com>
14757 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
14759 * nss/tst-nss-getpwent.c (do_test): Likewise.
14761 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
14764 * localedata/locales/hr_HR (mon): Rename to...
14766 (mon): Import from CLDR (genitive case).
14767 (d_t_fmt): Update the comment.
14769 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
14771 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
14772 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
14773 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
14775 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14777 * mach/Versions: Fix version when __mach_host_self_ was added.
14778 * hurd/Versions: Fix version when _hurd_exec_paths was added.
14779 * sysdeps/mach/hurd/i386/ld.abilist: New file.
14780 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
14781 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
14782 * sysdeps/mach/hurd/i386/libc.abilist: New file.
14783 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
14784 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
14785 * sysdeps/mach/hurd/i386/libm.abilist: New file.
14786 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
14787 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
14788 * sysdeps/mach/hurd/i386/librt.abilist: New file.
14789 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
14790 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
14791 || to respect codestyle.
14792 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
14793 (do_test_bz20181): Rename accordingly.
14794 * malloc/malloc.c: Include <assert.h>.
14795 (assert): Do not define.
14796 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
14797 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
14798 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
14799 * sysdeps/mach/hurd/hp-timing.h: New file.
14800 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
14802 2018-01-29 Darius Rad <darius@bluespec.com>
14804 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
14806 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
14808 * sysdeps/init_array/crti.S (.section .init_array): Add
14809 PREINIT_FUNCTION when defined.
14810 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
14811 * config.h.in: Regenerate.
14812 * manual/platform.texi: Add RISC-V documenation for
14813 __riscv_flush_icache.
14814 * sysdeps/riscv/__longjmp.S: New file.
14815 * sysdeps/riscv/backtrace.c: Likewise.
14816 * sysdeps/riscv/bits/endian.h: Likewise.
14817 * sysdeps/riscv/bits/setjmp.h: Likewise.
14818 * sysdeps/riscv/bits/wordsize.h: Likewise.
14819 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
14820 * sysdeps/riscv/bsd-setjmp.c: Likewise.
14821 * sysdeps/riscv/dl-trampoline.S: Likewise.
14822 * sysdeps/riscv/gccframe.h: Likewise.
14823 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
14824 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
14825 * sysdeps/riscv/machine-gmon.h: Likewise.
14826 * sysdeps/riscv/memusage.h: Likewise.
14827 * sysdeps/riscv/setjmp.S: Likewise.
14828 * sysdeps/riscv/sys/asm.h: Likewise.
14829 * sysdeps/riscv/tls-macros.h: Likewise.
14830 * sysdeps/riscv/dl-tls.h: New file.
14831 * sysdeps/riscv/libc-tls.c: Likewise.
14832 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
14833 * sysdeps/riscv/nptl/tls.h: Likewise.
14834 * sysdeps/riscv/stackinfo.h: Likewise.
14835 * sysdeps/riscv/bits/fenv.h: New file.
14836 * sysdeps/riscv/e_sqrtl.c: Likewise.
14837 * sysdeps/riscv/fpu_control.h: Likewise.
14838 * sysdeps/riscv/math-tests.h: Likewise.
14839 * sysdeps/riscv/nofpu/Implies: Likewise.
14840 * sysdeps/riscv/sfp-machine.h: Likewise.
14841 * sysdeps/riscv/tininess.h: Likewise.
14842 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
14843 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
14844 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
14845 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
14846 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
14847 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
14848 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
14849 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
14850 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
14851 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
14852 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
14853 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
14854 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
14855 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
14856 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
14857 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
14858 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
14859 * sysdeps/riscv/rvd/s_finite.c: Likewise.
14860 * sysdeps/riscv/rvd/s_fma.c: Likewise.
14861 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
14862 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
14863 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
14864 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
14865 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
14866 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
14867 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
14868 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
14869 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
14870 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
14871 * sysdeps/riscv/rvf/fegetround.c: Likewise.
14872 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
14873 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
14874 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
14875 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
14876 * sysdeps/riscv/rvf/fesetround.c: Likewise.
14877 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
14878 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
14879 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
14880 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
14881 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
14882 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
14883 * sysdeps/riscv/rvf/math_private.h: Likewise.
14884 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
14885 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
14886 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
14887 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
14888 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
14889 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
14890 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
14891 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
14892 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
14893 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
14894 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
14895 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
14896 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
14897 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
14898 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
14899 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
14900 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
14901 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
14902 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
14903 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
14904 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
14905 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14906 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
14907 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
14908 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
14909 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
14910 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
14911 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
14912 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
14913 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
14914 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
14915 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
14916 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
14917 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
14918 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
14919 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
14920 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
14921 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
14922 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
14923 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
14924 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
14925 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
14926 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
14927 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
14928 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
14929 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
14930 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
14931 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
14932 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
14933 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
14934 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
14935 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
14936 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
14937 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
14938 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
14939 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
14940 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
14941 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
14942 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
14943 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
14944 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14952 * sysdeps/riscv/Implies: New file.
14953 * sysdeps/riscv/Makefile: Likewise.
14954 * sysdeps/riscv/configure: Likewise.
14955 * sysdeps/riscv/configure.ac: Likewise.
14956 * sysdeps/riscv/nptl/Makefile: Likewise.
14957 * sysdeps/riscv/preconfigure: Likewise.
14958 * sysdeps/riscv/rv64/Implies-after: Likewise.
14959 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
14960 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
14961 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
14962 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
14963 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
14964 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
14965 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
14966 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
14967 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
14968 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
14969 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
14970 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
14971 (Config): Likewise.
14973 2018-01-29 Florian Weimer <fweimer@redhat.com>
14976 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
14977 libnsl_hidden_proto.
14978 * include/rpcsvc/yp.h (yp_xdrall): Declare with
14979 libnsl_hidden_proto.
14980 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
14981 * nis/Makefile (libnsl-routines): Add nss-default only for
14982 build-obsolete-nsl.
14983 * nis/nis_defaults.c (__nis_default_ttl): Add
14984 libnsl_hidden_nolink_def.
14985 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
14987 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
14988 * nis/ypclnt.c (yp_maplist): Likewise.
14990 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
14992 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14993 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
14995 2018-01-29 Joseph Myers <joseph@codesourcery.com>
14997 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
14998 clean -dxfq for git updates when replacing sources.
15000 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15001 --disable-libcilkrts unconditionally, not just for the final GCC
15004 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15007 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15010 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15013 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15016 * localedata/locales/be_BY (mon): Rename to...
15017 (alt_mon): This, then synchronize with CLDR (nominative case).
15018 (abmon): Rename to...
15019 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15020 (mon): Import from CLDR (genitive case).
15022 * localedata/locales/be_BY@latin (mon): Rename to...
15024 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15026 * localedata/locales/be_BY@latin (lang_name): Reworded to
15027 "biełaruskaja mova".
15029 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15032 * localedata/locales/el_CY (mon): Renamed to...
15034 (mon): Import from CLDR (genitive case).
15035 * localedata/locales/el_GR: Likewise.
15037 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15040 * localedata/locales/ru_RU (mon): Rename to...
15042 (abmon): Rename to...
15043 (ab_alt_mon): This.
15044 (mon): Import from CLDR (genitive case).
15045 (abmon): Copy from the old content except the 5th month which is
15046 now in the genitive case, even when abbreviated.
15047 * localedata/locales/ru_UA: Likewise.
15048 * time/tst-strptime.c (day_tests): Add an actual example of
15049 a difference between %b and %Ob in Russian.
15051 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15053 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15054 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15056 * resolv/res-close.c: Include <stdlib.h>.
15057 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15058 <sys/wait.h>, <time.h>, <sys/uio.h>.
15059 (NOT_CANCEL_H): Add inclusion guard.
15060 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15061 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15062 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15064 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15065 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15066 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15068 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15069 timer_ptr2id to cast struct timer_node * to void *.
15070 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15071 --disable-libcilkrts to gcc configure.
15072 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15073 and make them the default for now.
15074 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15075 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15076 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15077 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15078 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15080 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15081 __task_terminate would ever return successfully.
15082 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15084 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15085 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15086 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15087 critical section to make code simpler and avoid warning.
15088 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15089 critical section to make code simpler and avoid warning.
15090 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15091 const char * instead of char *.
15092 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15093 __hurd_file_name_split, hurd_file_name_split,
15094 __hurd_directory_name_split, hurd_directory_name_split,
15095 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15096 hurd_file_name_path_lookup): Make lookup function parameter take a
15097 const char *name instead of char *name.
15098 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15099 __hurd_directory_name_split): Likewise.
15100 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15101 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15102 * sysdeps/mach/hurd/check_native.c: New file.
15103 * sysdeps/mach/hurd/check_pf.c: New file.
15104 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15105 (__freeifaddrs): Define macro to freeifaddrs.
15106 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15107 * sysdeps/mach/libmachuser.abilist: New file.
15108 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15109 (do_test_bz20181): Rename accordingly.
15110 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15111 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15113 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15114 version only if __USE_EXTERN_INLINES is defined.
15115 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15116 __hurd_sockfail): Likewise.
15117 (_hurd_fd_get): Always declare functions, and provide inline versions
15118 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15119 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15120 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15121 _hurd_port_set): Always declare functions, and provide inline versions
15122 only if __USE_EXTERN_INLINES and _LIBC are defined and
15124 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15125 _hurd_critical_section_unlock): Likewise.
15126 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15127 * __hurd_threadvar_location): Likewise.
15128 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15129 _hurd_userlink_clear): Likewise.
15130 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15131 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15132 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15133 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15134 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15135 __spin_lock_locked): Likewise.
15136 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15137 __spin_lock_locked): Likewise.
15138 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15139 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15140 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15141 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15142 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15143 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15144 _POSIX_NO_TRUNC): Define to 0.
15145 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15146 check size against PTHREAD_STACK_MIN.
15147 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15148 IS_IN(libpthread)]: Include <sigsetops.h>.
15149 * mach/Makefile (user-interfaces): Add mach/gnumach.
15150 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15151 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15152 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15153 instead of invalid -1.
15154 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15155 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15156 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15159 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15161 * hurd/fcntl-internal.h: New file.
15163 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15165 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15167 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15169 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15172 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15173 Build only shared objects.
15175 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15177 * README: Update for hppa.
15179 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15181 * sysdeps/sparc/fpu/libm-test-ulps: Update
15182 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15184 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15188 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15191 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15192 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15193 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15194 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15197 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15200 * bits/types/__cancel_jmp_buf_tag.h: New file.
15201 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15202 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15203 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15204 * nptl/Makefile (headers): Add
15205 bits/types/__cancel_jmp_buf_tag.h.
15206 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15207 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15208 * sysdeps/nptl/pthread.h: Include
15209 <bits/types/__cancel_jmp_buf_tag.h>.
15210 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15212 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15214 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15217 * localedata/locales/uk_UA (mon): Renamed to...
15219 (alt_digits): "0" removed and then renamed to...
15221 (date_fmt): Definition changed not to use the alternative
15224 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15226 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15227 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15228 * elf/elf.h (EF_RISCV_RVC): New define.
15229 (EF_RISCV_FLOAT_ABI): Likewise.
15230 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15231 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15232 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15233 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15234 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15236 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15238 2018-01-25 Andreas Schwab <schwab@suse.de>
15240 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15242 * sysdeps/gnu/configure: Regenerate.
15243 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15244 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15246 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15247 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15248 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15249 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15250 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15252 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15254 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15255 URL, and run autoconf, make it the default for now.
15257 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15259 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15260 soft-float ColdFire configuration.
15262 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15263 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15264 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15266 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15269 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15271 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15273 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15276 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15277 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15278 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15281 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15284 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15285 Rename to __reserved and add comment.
15286 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15287 Rename to __reserved.
15289 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15291 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15292 i686-gnu configurations.
15293 (Context.run_builds): Include mig, gnumach and hurd in components
15295 (Context.checkout): Add mig, gnumach and hurd to components.
15296 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15298 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15299 (Config.build): Install gnumach headers, build mig and install
15300 hurd headers for 'gnu' OS.
15301 (Config.install_gnumach_headers): New function.
15302 (Config.install_hurd_headers): Likewise.
15303 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15304 when building for 'gnu' OS.
15306 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15308 * manual/tunables.texi (Hardware Capability Tunables): Fix
15311 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15313 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15314 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15315 (ALTMON_11, ALTMON_12): Improve documentation.
15316 * manual/time.texi (strftime): Likewise.
15318 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15321 * localedata/locales/pl_PL: Alternative month names added,
15322 primary month names are genitive now.
15323 * time/tst-strptime.c (day_tests): Actually use a genitive case
15324 of a month name in Polish language.
15326 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15329 * manual/locale.texi: Document ALTMON_1..12 constants for
15330 nl_langinfo. Specify when to use ALTMON instead of MON.
15331 * manual/time.texi (strftime, strptime): Document GNU extension
15332 permitting O modifier with %B and %b. Specify when to use
15335 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15338 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15339 names, define them as the same as abbreviated month names explicitly.
15340 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15341 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15342 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15343 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15344 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15345 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15346 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15347 _NL_WABALTMON_12): New enum constants.
15348 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15349 wab_alt_mon, and ab_alt_mon_defined members.
15350 (time_output): Output ab_alt_mon and wab_alt_mon members.
15351 (time_read): Read them, initialize them as copies of abmon and wabmon
15352 respectively if they are missing, initialize ab_alt_mon_defined.
15353 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15354 * locale/programs/locfile-kw.h: Regenerate.
15355 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15356 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15358 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15359 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15360 (__strftime_internal): Handle %Ob and %Oh formats.
15361 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15362 (__strptime_internal): Handle %Ob and %Oh formats.
15363 * time/tst-strptime.c (day_tests): Add more tests to parse different
15364 forms of month names including the new %Ob format specifier.
15366 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15369 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
15370 define them as the same as primary full month names explicitly.
15371 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
15372 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
15373 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
15374 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
15375 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
15376 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
15377 _NL_WALTMON_12): New enum constants.
15378 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
15379 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
15381 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
15382 walt_mon, and alt_mon_defined members.
15383 (time_output): Output alt_mon and walt_mon members.
15384 (time_read): Read them, initialize them as copies of mon and wmon
15385 respectively if they are missing, initialize alt_mon_defined.
15386 * locale/programs/locfile-kw.gperf (alt_mon): Define.
15387 * locale/programs/locfile-kw.h: Regenerate.
15388 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
15389 * localedata/tst-langinfo.c (map): Add tests for the new constants
15390 ALTMON_1 .. ALTMON_12.
15391 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
15393 * time/strftime_l.c (f_altmonth): New macro.
15394 (__strftime_internal): Handle %OB format.
15395 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
15396 (__strptime_internal): Handle %OB format.
15397 * time/tst-strptime.c (day_tests): Add tests to parse different forms
15398 of month names including the new %OB format specifier.
15400 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15403 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
15404 from ABORT_TRANSACTION.
15405 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
15406 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
15407 ABORT_TRANSACTION_IMPL): Likewise.
15408 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
15409 Linux code, but remove the code that aborts transactions.
15411 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15413 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
15415 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15417 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
15418 in date: "2004-14-09" should be "2004-09-14".
15419 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
15420 "2003-15-09" should be "2003-09-15".
15422 2018-01-18 Arjun Shankar <arjun@redhat.com>
15428 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
15430 (_int_memalign): check for integer overflow before calling
15432 * malloc/tst-malloc-too-large.c: New test.
15433 * malloc/Makefile: Add tst-malloc-too-large.
15435 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
15437 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
15438 in date: "2017-24-07" should be "2017-07-24".
15439 * localedata/locales/mai_IN: Likewise.
15440 * localedata/locales/mai_NP: Likewise.
15442 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
15444 * po/ru.po: Update translations.
15446 2018-01-17 Joseph Myers <joseph@codesourcery.com>
15449 * sysdeps/hppa/backtrace.c: New file.
15451 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
15454 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
15455 align La_x86_64_retval to VEC_SIZE.
15457 2018-01-16 Joseph Myers <joseph@codesourcery.com>
15459 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
15460 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
15462 2018-01-16 Florian Weimer <fweimer@redhat.com>
15464 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
15465 Move tst-thread-exit-clobber ...
15466 [$(CXX)] (tests-unsupported): ... to here.
15468 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15470 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
15471 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
15472 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15473 (_dl_aarch64_cap_flags): Update.
15474 (_DL_HWCAP_COUNT): Update.
15476 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15478 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
15479 (_DL_HWCAP_LAST): Remove.
15480 (_DL_HWCAP_COUNT): Move to ...
15481 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15482 (_DL_HWCAP_COUNT): ... here.
15484 2018-01-16 Florian Weimer <fweimer@redhat.com>
15486 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
15487 mode with GNU extensions.
15489 2018-01-15 Alan Hayward <alan.hayward@arm.com>
15491 * elf/elf.h (NT_ARM_SVE): Define.
15493 2018-01-15 Florian Weimer <fweimer@redhat.com>
15496 * nptl/tst-minstack-throw.cc: New file.
15497 * nptl/Makefile (tests): Add tst-minstack-throw.
15498 (LDLIBS-tst-minstack-throw): Link with libstdc++.
15499 [!CXX] (tests-unsupported): Add tst-minstack-throw.
15501 2018-01-15 Joseph Myers <joseph@codesourcery.com>
15503 * scripts/build-many-glibcs.py (Context.checkout): Default
15504 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
15507 2018-01-13 Carlos O'Donell <carlos@redhat.com>
15510 * elf/elf.h (DF_1_STUB): Define.
15511 (DF_1_PIE): Define.
15513 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
15517 Do not add 0.5 to integer or out-of-range arguments.
15519 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15521 * po/bg.po: Update translations.
15522 * po/cs.po: Likewise.
15523 * po/de.po: Likewise.
15524 * po/ko.po: Likewise.
15525 * po/pl.po: Likewise.
15526 * po/sv.po: Likewise.
15527 * po/uk.po: Likewise.
15528 * po/vi.po: Likewise.
15530 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15532 * aarch64/start.S (_start): Use __wrap_main.
15533 (__wrap_main): New local symbol.
15535 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15539 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
15540 generic_getcwd if the path returned by getcwd syscall is not absolute.
15541 * io/tst-getcwd-abspath.c: New test.
15542 * io/Makefile (tests): Add tst-getcwd-abspath.
15544 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
15546 * malloc/malloc.c (malloc_consolidate): Add size check.
15548 2018-01-12 Florian Weimer <fweimer@redhat.com>
15550 * support/write_message.c (write_message): Preserve errno.
15551 * support/check.c (print_failure): Likewise.
15552 * support/support_test_verify_impl.c (support_test_verify_impl):
15554 * support/support_test_compare_failure.c
15555 (support_test_compare_failure): Likewise.
15557 2018-01-12 Florian Weimer <fweimer@redhat.com>
15560 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
15561 Prevent installation of libnsl.so.
15562 (libnsl-inhibit-o): Do not build (or install) static libraries.
15564 2018-01-12 Egmont Koblinger <egmont@gmail.com>
15567 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
15568 before the day number which may produce a double space.
15569 (date_fmt): Likewise.
15571 2018-01-12 Joseph Myers <joseph@codesourcery.com>
15573 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
15574 instead of fegetenv.
15576 2018-01-11 Joseph Myers <joseph@codesourcery.com>
15579 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
15580 comment to say exceptions are discarded.
15581 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
15583 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
15586 2018-01-11 Florian Weimer <fweimer@redhat.com>
15588 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
15591 2018-01-11 Florian Weimer <fweimer@redhat.com>
15594 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
15595 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
15597 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15600 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
15601 negative arguments in test for NaN or infinity argument.
15603 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
15605 * po/libc.pot: Regenerate.
15607 2018-01-10 Florian Weimer <fweimer@redhat.com>
15610 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
15611 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
15613 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15615 * hurd/hurd/fd.h: Include <fcntl.h>
15616 (__hurd_at_flags): New function.
15617 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
15618 with call to __hurd_at_flags.
15619 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
15620 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
15622 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
15623 (__access_noerrno): Use __faccessat_common instead of access_common.
15624 (__access): Likewise.
15625 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
15626 with a call to __faccessat.
15627 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
15628 (__faccessat_common): ... this. Move implementation of __access into it when
15629 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
15630 reauthenticate_cwdir_at helper to implement AT mechanism.
15631 (__faccessat_noerrno): New function, just calls __faccessat_common.
15632 (__faccessat): New function, just calls __faccessat_common.
15633 (faccessat): Define weak alias.
15635 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15638 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15639 (CFLAGS-s_fmaxmagl.c): New variable.
15640 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
15644 long int for arguments of possibly overflowing addition or
15646 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15648 2018-01-09 Joseph Myers <joseph@codesourcery.com>
15651 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15652 (CFLAGS-e_remainderl.c): New variable.
15655 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
15657 (CFLAGS-s_cacoshl.c): Likewise.
15658 (CFLAGS-s_casinhl.c): Likewise.
15659 (CFLAGS-s_catanl.c): Likewise.
15660 (CFLAGS-s_catanhl.c): Likewise.
15661 (CFLAGS-s_cexpl.c): Likewise.
15662 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
15663 (CFLAGS-s_csinhl.c): Likewise.
15664 (CFLAGS-s_clogl.c): Likewise.
15665 (CFLAGS-s_clog10l.c): Likewise.
15666 (CFLAGS-s_csinl.c): Likewise.
15667 (CFLAGS-s_csqrtl.c): Likewise.
15669 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
15670 2017-01-09 Svante Signell <svante.signell@gmail.com>
15672 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
15673 (_hurd_exec_paths): New function.
15674 * hurd/hurd.h (_hurd_exec): Deprecate function.
15675 (_hurd_exec_paths): Declare function.
15676 * hurd/Versions: Export _hurd_exec_paths.
15677 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
15678 (__execve): Use __getcwd to build absolute path, and use
15679 _hurd_exec_paths instead of _hurd_exec.
15680 * sysdeps/mach/hurd/spawni.c: Likewise.
15681 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
15684 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
15686 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
15687 test instead of failing in case of ENOENT returned by posix_openpt.
15689 2018-01-08 Florian Weimer <fweimer@redhat.com>
15691 resolv: Support binary labels in test framework.
15692 * support/resolv_test.c (struct to_be_freed): Remove.
15693 (struct compressed_name): New.
15694 (allocate_compressed_name, ascii_tolower)
15695 (compare_compressed_name): New functions.
15696 (struct resolv_response_builder): Update type of
15697 compression_offsets for use with tsearch. Rempve to_be_freed.
15698 (response_push_pointer_to_free): Remove function.
15699 (resolv_response_add_name): Rewrite using struct compressed_name
15700 and tsearch instead of hsearch_r.
15701 (response_builder_allocate): Remove initialization of
15702 compression_offsets.
15703 (response_builder_free): Update for removal of to_be_freed. Use
15704 tdestroy instead of hdestroy_r.
15705 * resolv/Makefile (tests): Add tst-resolv-binary.
15706 (tst-resolv-binary): Link with -lresolv -lpthread.
15708 2018-01-08 Florian Weimer <fweimer@redhat.com>
15710 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
15711 time. Pass positive flag instead of negative flag to
15712 support_test_compare_failure.
15713 (support_test_compare_failure): Change negative parameter to
15715 * support/support_test_compare_failure.c (report)
15716 (support_test_compare_failure): Likewise.
15717 * support/tst-test_compare.c (return_ssize_t, return_int): New.
15718 (do_test): Check int/size_t, ssize_t/size_t comparisons.
15720 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
15723 * nptl/descr.h (stackblock, stackblock_size): Update comments.
15724 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
15725 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
15727 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15729 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
15731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15732 Add s_sincosf-sse2 and s_sincosf-fma.
15733 (CFLAGS-s_sincosf-fma.c): New.
15734 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
15735 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
15736 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
15737 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
15738 __sincosf is defined.
15740 2018-01-08 Florian Weimer <fweimer@redhat.com>
15742 * nptl/tst-thread-exit-clobber.cc: New file.
15743 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
15745 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
15746 (tests): Add tst-thread-exit-clobber.
15747 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
15749 2018-01-08 Florian Weimer <fweimer@redhat.com>
15751 * support/check.h (support_static_assert): Define.
15752 (TEST_COMPARE): Use it.
15754 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
15756 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
15757 [!__RLIM_T_MATCHES_RLIM64_T]
15758 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
15759 __getrlimit64. Add libc_hidden_weak.
15761 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
15763 * elf/elf.h (R_RISCV_NONE): New define.
15764 (R_RISCV_32): Likewise.
15765 (R_RISCV_64): Likewise.
15766 (R_RISCV_RELATIVE): Likewise.
15767 (R_RISCV_COPY): Likewise.
15768 (R_RISCV_JUMP_SLOT): Likewise.
15769 (R_RISCV_TLS_DTPMOD32): Likewise.
15770 (R_RISCV_TLS_DTPMOD64): Likewise.
15771 (R_RISCV_TLS_DTPREL32): Likewise.
15772 (R_RISCV_TLS_DTPREL64): Likewise.
15773 (R_RISCV_TLS_TPREL32): Likewise.
15774 (R_RISCV_TLS_TPREL64): Likewise.
15775 * Makerules (make-link-multidir): Make directories before linking into
15777 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
15779 (VDSO_HASH_LINUX_4_15): Likewise.
15780 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
15781 in subdirectories of lib.
15782 * nptl/Makefile (/librt.so): Always depend on
15783 "$(shared-thread-library)".
15785 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15787 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
15788 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
15789 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
15791 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
15792 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
15794 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
15795 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
15796 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
15797 * sysdeps/gnu/glob-lstat-compat.c: New file.
15798 * sysdeps/gnu/glob64-lstat-compat.c: New file.
15799 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
15801 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15803 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
15804 Reserve 16 chars to reloc_addr before calling _itoa_word.
15806 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15809 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
15810 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
15812 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
15813 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
15815 * resource/tst-getrlimit.c: Add copyright header.
15817 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15818 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15820 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15821 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
15822 Define __GI_getrlimit64 as weak alias of __getrlimit64.
15823 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
15825 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15826 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
15827 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
15828 RLIM64_INFINITY): Fix values to match the kernel ones.
15829 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
15830 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
15831 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
15832 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
15833 getrlimit64@@GLIBC_2_27.
15834 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
15836 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
15837 getrlimit, setrlimit, getrlimit64 and setrlimit64.
15838 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
15839 setrlimit, getrlimit64 and setrlimit64.
15841 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15844 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
15845 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
15847 2018-01-04 Joseph Myers <joseph@codesourcery.com>
15849 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
15850 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
15851 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
15853 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15857 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
15858 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
15862 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
15863 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
15864 * sysdeps/alpha/fpu/s_floor.c: Likewise.
15865 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
15867 2018-01-04 Florian Weimer <fweimer@redhat.com>
15870 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15871 Align the stack before calling exit.
15872 * stdlib/tst-makecontext-align.c: New file.
15873 * stdlib/Makefile (tests): Add tst-makecontext-align.
15875 2018-01-04 Florian Weimer <fweimer@redhat.com>
15877 Add support for calling dlvsym from libc.so.
15878 * include/dlfcn.h (__libc_dlvsym): Declare.
15879 * elf/Makefile (tests-static-internal): Add
15880 tst-libc_dlvsym-static.
15881 (tests-internal): Add tst-libc_dlvsym.
15882 (modules-names): Add tst-libc_dlvsym-dso.
15883 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
15884 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
15885 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
15886 object tst-libc_dlvsym-dso.so needs to be built before running
15888 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
15889 * elf/Versions: Export __libc_dlvsym.
15890 * elf/dl-libc.c (struct do_dlvsym_args): New.
15891 (do_dlvsym, __libc_dlvsym): New functions.
15892 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
15893 (_dl_open_hook2): New variable.
15894 (__libc_register_dl_open_hook): Set it.
15895 * elf/tst-libc_dlvsym-dso.c: New file.
15896 * elf/tst-libc_dlvsym-static.c: Likewise.
15897 * elf/tst-libc_dlvsym.c: Likewise.
15898 * elf/tst-libc_dlvsym.h: Likewise.
15900 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15902 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
15903 include <sys/mount.h>.
15905 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
15907 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
15908 Add __NO_MATH_ERRNO__ check.
15910 2018-01-02 Joseph Myers <joseph@codesourcery.com>
15912 * sysdeps/mips/mips32/libm-test-ulps: Update.
15913 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15915 2018-01-02 Florian Weimer <fweimer@redhat.com>
15917 * misc/tst-pselect.c: Add copyright header.
15919 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
15921 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
15923 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
15925 (settrlimit): Rename into setrlimit.
15926 (__sttrlimit): Rename into __setrlimit.
15928 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
15929 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
15930 never defined in that case.
15932 2018-01-02 Joseph Myers <joseph@codesourcery.com>
15934 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
15936 * sysdeps/arm/libm-test-ulps: Update.
15938 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
15939 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
15941 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15943 * NEWS: Add cosf and sincosf to list of optimized functions.
15945 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
15948 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
15949 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
15950 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
15951 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
15953 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
15956 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
15958 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
15959 making a copy of it.
15961 2018-01-01 Joseph Myers <joseph@codesourcery.com>
15963 * manual/texinfo.tex: Update to version 2017-12-26.21 with
15964 trailing whitespace removed.
15965 * scripts/config.guess: Update to version 2018-01-01.
15966 * scripts/config.sub: Update to version 2018-01-01.
15967 * scripts/move-if-change: Update from gnulib.
15969 * NEWS: Update copyright dates.
15970 * catgets/gencat.c (print_version): Likewise.
15971 * csu/version.c (banner): Likewise.
15972 * debug/catchsegv.sh: Likewise.
15973 * debug/pcprofiledump.c (print_version): Likewise.
15974 * debug/xtrace.sh (do_version): Likewise.
15975 * elf/ldconfig.c (print_version): Likewise.
15976 * elf/ldd.bash.in: Likewise.
15977 * elf/pldd.c (print_version): Likewise.
15978 * elf/sotruss.sh: Likewise.
15979 * elf/sprof.c (print_version): Likewise.
15980 * iconv/iconv_prog.c (print_version): Likewise.
15981 * iconv/iconvconfig.c (print_version): Likewise.
15982 * locale/programs/locale.c (print_version): Likewise.
15983 * locale/programs/localedef.c (print_version): Likewise.
15984 * login/programs/pt_chown.c (print_version): Likewise.
15985 * malloc/memusage.sh (do_version): Likewise.
15986 * malloc/memusagestat.c (print_version): Likewise.
15987 * malloc/mtrace.pl: Likewise.
15988 * manual/libc.texinfo: Likewise.
15989 * nptl/version.c (banner): Likewise.
15990 * nscd/nscd.c (print_version): Likewise.
15991 * nss/getent.c (print_version): Likewise.
15992 * nss/makedb.c (print_version): Likewise.
15993 * posix/getconf.c (main): Likewise.
15994 * scripts/test-installation.pl: Likewise.
15995 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15997 * All files with FSF copyright notices: Update copyright dates
15998 using scripts/update-copyrights.
15999 * locale/programs/charmap-kw.h: Regenerated.
16000 * locale/programs/locfile-kw.h: Likewise.
16002 2017-12-31 Zack Weinberg <zackw@panix.com>
16004 * libio/bits/libio-ldbl.h: Correct check for improper
16005 inclusion. Add own multiple include guard.
16007 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16008 Dmitry V. Levin <ldv@altlinux.org>
16012 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16013 string token expansion. Check for NULL pointer or empty string possibly
16014 returned by expand_dynamic_string_token.
16015 (decompose_rpath): Check for empty path after dynamic string
16018 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16021 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16023 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16024 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16025 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16026 and PTRACE_SYSCALL.
16027 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16028 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16032 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16034 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16035 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16036 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16037 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16039 bits/ptrace-shared.h.
16040 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16041 <bits/ptrace-shared.h>.
16042 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16043 __ptrace_peeksiginfo_flags, ptrace): Remove.
16044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16045 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16046 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16047 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16048 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16050 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16053 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16054 end of the loop. Improve comments.
16056 2017-12-29 Zack Weinberg <zackw@panix.com>
16059 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16060 might be set on success.
16062 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16065 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16066 is unchanged on success.
16068 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16070 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16072 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16073 expand_dynamic_string_token): Likewise.
16074 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16077 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16080 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16081 is set and name contains ':', and all code depending on these checks.
16083 2017-12-24 Zack Weinberg <zackw@panix.com>
16085 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16086 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16088 * libio/libio.h: Rename the original version of this file to
16089 libio/bits/libio.h. Error out if not included by stdio.h or the
16091 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16092 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16093 if not included by bits/libio.h or the stub _G_config.h.
16094 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16095 sysdeps/unix/sysv/linux/bits. Error out if not included by
16096 bits/libio.h or the stub _G_config.h.
16097 * libio/stdio.h: Include bits/libio.h, not libio.h.
16098 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16099 well as libio.h and _G_config.h.
16101 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16102 * libio/strfile.h, stdio-common/vfscanf.c
16103 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16104 Include stdio.h, not _G_config.h nor libio.h.
16105 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16106 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16108 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16110 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16113 * stdlib/getrandom.c (getrandom): Fix comment.
16114 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16116 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16119 * manual/arith.texi (strtoul): Fix a typo.
16122 * manual/arith.texi (finite): Fix the description of the return
16125 2017-12-22 Eric Blake <ebb9@byu.net>
16127 Avoid gcc warnings on cygwin
16128 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16129 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16130 Avoid unused variable.
16132 2017-12-22 Florian Weimer <fweimer@redhat.com>
16134 * io/Makefile (routines): Add copy_file_range.
16135 (tests): Add tst-copy_file_range.
16136 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16137 * io/Versions (GLIBC_2.27): Export copy_file_range.
16138 * io/copy_file_range-compat.c: New file.
16139 * io/copy_file_range.c: Likewise.
16140 * io/tst-copy_file_range-compat.c: Likewise.
16141 * io/tst-copy_file_range.c: Likewise.
16142 * manual/llio.texi (Copying File Data): New section.
16143 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16144 * support/Makefile (libsupport-routines): Add support-xfstat,
16145 xftruncate, xlseek.
16146 * support/support-xfstat.c: New file.
16147 * support/xftruncate.c: Likewise.
16148 * support/xlseek.c: Likewise.
16149 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16150 * sysdeps/unix/sysv/linux/**.abilist: Update.
16151 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16153 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16155 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16156 disable-multi-arch variant to aarch64-linux-gnu.
16158 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16160 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16161 trailing whitespace removed.
16162 * scripts/config.guess: Update to version 2017-12-17.
16163 * scripts/config.sub: Update to version 2017-11-23.
16164 * scripts/install-sh: Update to version 2017-09-23.17.
16165 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16167 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16169 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16170 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16171 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16172 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16173 * sysdeps/tile/crtn.S: Likewise.
16174 * sysdeps/tile/dl-start.S (_start): Likewise.
16175 * sysdeps/tile/dl-trampoline.S: Likewise.
16176 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16177 * sysdeps/tile/start.S (_start): Likewise.
16178 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16179 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16180 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16181 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16182 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16183 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16184 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16186 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16188 * sysdeps/tile/preconfigure: Remove tilegx folder.
16189 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16190 * sysdeps/tile/Implies: ... here.
16191 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16192 * sysdeps/tile/Makefile: ... here.
16193 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16194 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16195 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16196 * sysdeps/tile/bits/wordsize.h: ... here.
16197 * sysdeps/tile/tilegx/*: Move to ...
16198 * sysdeps/tile/*: ... here.
16199 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16200 * sysdeps/tile/tilegx32/Implies: ... here.
16201 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16202 * sysdeps/tile/tilegx64/Implies: ... here.
16203 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16205 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16206 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16207 * sysdeps/unix/sysv/linux/tile/*: ... here.
16208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16209 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16211 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16213 * README: Remove tilepro-*-linux-gnu from supported architecture.
16214 * scripts/build-many-glibcs.py: Likewise.
16215 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16216 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16217 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16218 elf_machine_matches_host, elf_machine_dynamic,
16219 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16220 howto, elf_machine_rela): Likewise.
16221 * sysdeps/tile/dl-start.S (_start): Likewise.
16222 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16223 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16224 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16225 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16226 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16227 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16229 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16230 * sysdeps/tile/preconfigure: Likewise.
16231 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16232 POINTER_CHK_GUARD): Likewise.
16233 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16234 * sysdeps/tile/start.S (_start): Likewise.
16235 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16237 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16238 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16240 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16241 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16242 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16244 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16245 * sysdeps/tile/tilepro/Implies: Remove file.
16246 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16247 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16248 * sysdeps/tile/tilepro/memchr.c: Likewise.
16249 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16250 * sysdeps/tile/tilepro/memset.c: Likewise.
16251 * sysdeps/tile/tilepro/memusage.h: Likewise.
16252 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16253 * sysdeps/tile/tilepro/strchr.c: Likewise.
16254 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16255 * sysdeps/tile/tilepro/strlen.c: Likewise.
16256 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16257 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16258 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16259 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16260 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16261 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16262 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16264 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16265 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16266 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16267 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16276 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16277 tilepro mention in comment.
16279 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16280 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16281 * nptl/pthread_join_common.c: New file: common function used on
16282 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16283 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16284 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16285 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16286 (cleanup): Move definition to pthread_join_common.c.
16287 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16288 Remove superflous checks.
16289 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16292 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16294 * sysdeps/aarch64/libm-test-ulps: Update.
16296 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16298 * sysdeps/aarch64/memset.S (MEMSET): Define.
16300 2017-12-20 Florian Weimer <fweimer@redhat.com>
16303 nptl: Provide full implementation of pthread_self in libc.so.
16304 * nptl/Makefile (routines): Add pthread_self.
16305 (libpthread-routines): Replace pthread_self with
16306 compat-pthread_self.
16307 * nptl/forward.c (pthread_self): Remove.
16308 * nptl/nptl-init.c (pthread_functions): Do not initialize
16310 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16311 * nptl/compat-pthread_self.c: New file.
16312 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16313 Remove ptr_pthread_self.
16315 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16317 * posix/regcomp.c: Fix spelling in comments.
16318 * posix/regex.h: Likewise.
16319 * posix/regex_internal.c: Likewise.
16320 * posix/regexec.c: Likewise.
16322 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16325 * math/Makefile [C++] (tests): Add test for iseqsig.
16326 * math/math.h [C++] (iseqsig): New implementation, which does
16327 not rely on __MATH_TG/__builtin_types_compatible_p.
16328 * math/test-math-iseqsig.cc: New file.
16329 * sysdeps/powerpc/powerpc64le/Makefile
16330 (CFLAGS-test-math-iseqsig.cc): New variable.
16332 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16334 * elf/dl-load.c (is_trusted_path): Remove.
16335 (fillin_rpath): Remove check_trusted argument and its use,
16336 all callers changed.
16338 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16341 * Makeconfig (link-pie-before-libc): Replace -pie with
16342 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16343 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16344 (tst-dlopen-aout-no-pie): New.
16345 (LDFLAGS-tst-prelink): Removed.
16346 (tst-prelink-no-pie): New.
16347 (LDFLAGS-tst-main1): Removed.
16348 (tst-main1-no-pie): New.
16349 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16350 (tst-gmon-no-pie): New.
16352 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16354 * manual/install.texi: Document that --enable-static-pie
16356 * INSTALL: Regenerated.
16358 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16361 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
16364 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16368 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16372 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16374 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16375 <errno.h>. Include "eexp.tbl".
16376 (half): New constant.
16378 (__ieee754_exp): Rewrite.
16379 (__slowexp): Remove prototype.
16380 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16381 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16382 * sysdeps/i386/fpu/slowexp.c: Likewise.
16383 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16384 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16385 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16386 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16387 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16388 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16389 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16391 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16392 (CPPFLAGS-slowexp.c): Remove variable.
16393 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16394 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16395 (CFLAGS-slowexp-fma.c): Remove variable.
16396 (CFLAGS-slowexp-fma4.c): Likewise.
16397 (CFLAGS-slowexp-avx.c): Likewise.
16398 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16400 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16402 * math/Makefile (type-double-routines): Remove slowexp.
16403 * manual/probes.texi (slowexp_p6): Remove.
16404 (slowexp_p32): Likewise.
16406 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16408 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
16411 * lib/glob.c (glob): Do not pass NULL to mempcpy.
16413 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16417 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16419 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16420 <errno.h>. Include "eexp.tbl".
16421 (half): New constant.
16423 (__ieee754_exp): Rewrite.
16424 (__slowexp): Remove prototype.
16425 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16426 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16427 * sysdeps/i386/fpu/slowexp.c: Likewise.
16428 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16429 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16430 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16431 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16432 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16433 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16434 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16436 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16437 (CPPFLAGS-slowexp.c): Remove variable.
16438 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16439 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16440 (CFLAGS-slowexp-fma.c): Remove variable.
16441 (CFLAGS-slowexp-fma4.c): Likewise.
16442 (CFLAGS-slowexp-avx.c): Likewise.
16443 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16445 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16446 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16447 * math/Makefile (type-double-routines): Remove slowexp.
16448 * manual/probes.texi (slowexp_p6): Remove.
16449 (slowexp_p32): Likewise.
16451 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16452 James Clarke <jrtc27@jrtc27.com>
16455 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
16458 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16461 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
16464 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16467 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16468 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16469 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16470 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16473 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16476 * bits/types/__cancel_jmp_buf_tag.h: New file.
16477 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16478 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16479 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16480 * nptl/Makefile (headers): Add
16481 bits/types/__cancel_jmp_buf_tag.h.
16482 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16483 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16484 * sysdeps/nptl/pthread.h: Include
16485 <bits/types/__cancel_jmp_buf_tag.h>.
16486 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16488 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16490 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16492 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16493 --enable-static-pie variants to x86_64, x32 and i686.
16495 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16498 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
16499 argument for attrubutes. All callers changed.
16500 (__inline_mathop1): Likewise. All callers changed.
16501 (__inline_mathop): Likewise. All callers changed.
16502 [__USE_MISC] (scalbn): Use __inline_forward instead of
16503 __inline_forward_c.
16504 [__USE_ISOC99] (scalbln): Likewise.
16505 [__USE_ISOC99] (nearbyint): Likewise.
16506 [__USE_ISOC99] (lrint): Likewise.
16507 [__USE_MISC] (scalbnf): Likewise.
16508 [__USE_ISOC99] (scalblnf): Likewise.
16509 [__USE_ISOC99] (nearbyintf): Likewise.
16510 [__USE_ISOC99] (lrintf): Likewise.
16511 [__USE_MISC] (scalbnl): Likewise.
16512 [__USE_ISOC99] (scalblnl): Likewise.
16513 [__USE_ISOC99] (nearbyintl): Likewise.
16514 [__USE_ISOC99] (lrintl): Likewise.
16515 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
16516 __inline_mathop and __m81_defun changed.
16518 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
16519 CPU or FPU for ARM hard-float configurations.
16521 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16523 * nptl/tst-attr3.c: Include <libc-diag.h>.
16524 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
16526 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
16528 * string/tester.c (test_strncat): Also disable -Warray-bounds
16529 warnings for two tests.
16531 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16534 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
16535 $(cc-pie-default) == yes.
16536 * config.make.in (cc-pie-default): New.
16537 * configure.ac (libc_cv_pie_default): Renamed to ...
16538 (libc_cv_cc_pie_default): This.
16539 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
16540 * configure: Regenerated.
16542 2017-12-18 Florian Weimer <fweimer@redhat.com>
16545 ld.so: Harden dl-libc/libdl hooks.
16546 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
16547 (rtld_active): New function.
16548 * dlfcn/dladdr.c (__dladdr): Call it.
16549 * dlfcn/dladdr1.c (__dladdr1): Likewise.
16550 * dlfcn/dlclose.c (__dlcose): Likewise.
16551 * dlfcn/dlerror.c (__dlerror): Likewise.
16552 * dlfcn/dlinfo.c (__dlinfo): Likewise.
16553 * dlfcn/dlmopen.c (__dlmopen): Likewise.
16554 * dlfcn/dlopen.c (__dlopen): Likewise.
16555 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16556 * dlfcn/dlsym.c (__dlsym): Likewise.
16557 * dlfcn/dlvsym.c (__dlvsym): Likewise.
16558 * libio/vtables.c (_IO_vtable_check): Likewise.
16559 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
16560 (__libc_dlclose): Likewise.
16561 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
16564 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16567 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
16568 buffers for readlink input and output.
16570 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
16573 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
16574 inhibit_stack_protector.
16577 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
16578 inhibit_stack_protector.
16580 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
16583 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
16584 code and invocation.
16586 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16588 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
16590 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
16593 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
16595 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16597 * sysdeps/s390/fpu/libm-test-ulps: Update.
16599 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16603 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16605 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
16606 constants to s_sincosf.h file.
16607 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16608 * sysdeps/ieee754/flt-32/s_sincosf.c: New
16610 * sysdeps/ieee754/flt-32/s_sincosf.h:
16613 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16616 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
16619 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
16622 * INSTALL: Regenerated.
16623 * Makeconfig (real-static-start-installed-name): New.
16624 (pic-default): Updated for --enable-static-pie.
16625 (pie-default): New for --enable-static-pie.
16626 (default-pie-ldflag): Likewise.
16627 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16628 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
16629 Replace $(static-start-installed-name) with
16630 $(real-static-start-installed-name).
16631 (+prectorT): Updated for --enable-static-pie.
16632 (+postctorT): Likewise.
16633 (CFLAGS-.o): Add $(pie-default).
16634 (CFLAGS-.op): Likewise.
16635 * NEWS: Mention --enable-static-pie.
16636 * config.h.in (ENABLE_STATIC_PIE): New.
16637 * configure.ac (--enable-static-pie): New configure option.
16638 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
16639 (have-static-pie): Likewise.
16640 Enable static PIE if linker supports --no-dynamic-linker.
16641 (ENABLE_STATIC_PIE): New AC_DEFINE.
16642 (enable-static-pie): New LIBC_CONFIG_VAR.
16643 * configure: Regenerated.
16644 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
16645 gr$(start-installed-name) for --enable-static-pie.
16646 (extra-objs): Likewise.
16647 (install-lib): Likewise.
16648 (extra-objs): Add static-reloc.o and static-reloc.os
16649 ($(objpfx)$(start-installed-name)): Also depend on
16650 $(objpfx)static-reloc.o.
16651 ($(objpfx)r$(start-installed-name)): New.
16652 ($(objpfx)g$(start-installed-name)): Also depend on
16653 $(objpfx)static-reloc.os.
16654 ($(objpfx)gr$(start-installed-name)): New.
16655 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
16657 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
16659 * csu/static-reloc.c: New file.
16660 * elf/Makefile (routines): Add dl-reloc-static-pie.
16661 (elide-routines.os): Likewise.
16662 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
16663 (tst-tls1-static-non-pie-no-pie): New.
16664 * elf/dl-reloc-static-pie.c: New file.
16665 * elf/dl-support.c (_dl_get_dl_main_map): New function.
16666 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
16667 STATIC_PIE_BOOTSTRAP.
16668 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16669 * gmon/Makefile (tests): Add tst-gmon-static-pie.
16670 (tests-static): Likewise.
16671 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
16672 (tst-gmon-static-no-pie): New.
16673 (CFLAGS-tst-gmon-static-pie.c): Likewise.
16674 (CRT-tst-gmon-static-pie): Likewise.
16675 (tst-gmon-static-pie-ENV): Likewise.
16676 (tests-special): Likewise.
16677 ($(objpfx)tst-gmon-static-pie.out): Likewise.
16678 (clean-tst-gmon-static-pie-data): Likewise.
16679 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
16680 * gmon/tst-gmon-static-pie.c: New file.
16681 * manual/install.texi: Document --enable-static-pie.
16682 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
16683 (_dl_get_dl_main_map): Likewise.
16684 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
16685 * sysdeps/x86_64/configure.ac: Likewise.
16686 * sysdeps/i386/configure: Regenerated.
16687 * sysdeps/x86_64/configure: Likewise.
16688 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
16689 (ASFLAGS-.op): Likewise.
16691 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16693 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
16694 * posix/tst-mmap-offset.c (fname): Use /tmp.
16695 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
16697 2017-12-15 Steve Ellcey <sellcey@cavium.com>
16699 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
16701 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
16703 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
16706 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16708 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16709 --with-float=hard for arm-linux-gnueabihf configurations.
16712 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
16713 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
16714 ($(mo-installed)): Use $(objpfx)%.mo.
16715 (realclean): Remove rule.
16717 * po/Makefile (linguas): Remove rule and dependencies.
16718 (linguas.mo): Likewise.
16719 (.PHONY): Do not depend on linguas and linguas.mo.
16720 (podir): Remove variable.
16721 (pofiles): Likewise.
16722 [$(pofiles)] (%.po): Remove rule.
16724 * sysdeps/sparc/sparc32/Makefile
16725 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
16726 start-of-line whitespace in argument of echo.
16727 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
16728 with whitespace. Generate __wrap_.udiv alias.
16729 * sysdeps/sparc/sparc32/rem.S: Regenerated.
16730 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16731 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16732 * sysdeps/sparc/sparc32/urem.S: Likewise.
16734 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16736 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
16737 for aligned inputs.
16739 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16741 * benchtests/bench-strcmp.c: Print output in JSON format.
16743 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
16745 2017-12-14 Florian Weimer <fweimer@redhat.com>
16749 * elf/dl-load.c (_dl_init_paths): Compute number of components in
16750 the expanded path string.
16752 2017-12-14 Florian Weimer <fweimer@redhat.com>
16756 * elf/dl-load.c (system_dirs): Update comment.
16757 (nsystem_dirs_len): Use array_length.
16758 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
16760 2017-12-14 Florian Weimer <fweimer@redhat.com>
16762 Simplify compiling most of support/ outside of glibc.
16763 * support/check_addrinfo.c: Include <string.h>.
16764 * support/check_dns_packet.c: Likewise.
16765 * support/check_hostent.c: Likewise.
16766 * support/support_can_chroot.c: Include <support/xunistd.h>.
16767 * support/support_format_addrinfo.c: Include <stdlib.h>
16768 * support/support_format_dns_packet.c: Include <stdbool.h>.
16769 * support/support_format_hostent.c: Include <stdlib.h>.
16770 * support/support_format_netent.c: Likewise.
16771 * support/support_write_string.c: Include <support/xunistd.h>.
16772 * support/xdlfcn.c: Include <stddef.h>.
16774 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
16776 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
16778 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16779 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16782 (sysdeps_routines): Add memset-niagara7.
16783 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
16785 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
16787 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
16788 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16789 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
16790 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
16791 Add niagara7 option.
16792 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
16795 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16796 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
16797 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
16799 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
16801 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
16802 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
16803 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16804 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
16805 and __memmove_niagara7.
16806 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
16807 Add niagara7 option.
16808 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
16809 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
16810 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
16811 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
16812 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
16814 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
16816 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
16817 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
16818 * sysdeps/sparc/sparc64/memmove.S: Likewise.
16819 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
16821 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
16822 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
16823 _dl_sparc_cap_flags array.
16824 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
16826 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16828 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
16829 time whenever possible.
16831 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16833 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
16834 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
16836 2017-12-12 Joseph Myers <joseph@codesourcery.com>
16838 * soft-fp/fmadf4.c: Move to ....
16839 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
16840 * soft-fp/fmasf4.c: Move to ....
16841 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
16842 * soft-fp/fmatf4.c: Move to ....
16843 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
16844 * sysdeps/ieee754/soft-fp/Makefile: New file.
16845 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
16846 * sysdeps/arm/preconfigure: Regenerated.
16847 * sysdeps/arm/nofpu/Implies: New file.
16848 * sysdeps/arm/s_fma.c: Remove file.
16849 * sysdeps/arm/s_fmaf.c: Likewise.
16850 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
16851 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
16852 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16853 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
16854 * sysdeps/microblaze/s_fma.c: Remove file.
16855 * sysdeps/microblaze/s_fmaf.c: Likewise.
16856 * sysdeps/mips/mips32/nofpu/Implies: New file.
16857 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
16858 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
16859 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
16860 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
16861 * sysdeps/mips/ieee754/s_fma.c: Remove file.
16862 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
16863 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
16865 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
16866 * sysdeps/nios2/s_fma.c: Remove file.
16867 * sysdeps/nios2/s_fmaf.c: Likewise.
16868 * sysdeps/sh/nofpu/Implies: New file.
16869 * sysdeps/sh/s_fma.c: Remove file.
16870 * sysdeps/sh/s_fmaf.c: Likewise.
16871 * sysdeps/tile/Implies: Add ieee754/soft-fp.
16872 * sysdeps/tile/s_fma.c: Remove file.
16873 * sysdeps/tile/s_fmaf.c: Likewise.
16875 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
16877 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16878 Add s_cosf-sse2 and s_cosf-fma.
16879 (CFLAGS-s_cosf-fma.c): New.
16880 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
16881 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
16882 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
16884 2017-12-12 Steve Ellcey <sellcey@cavium.com>
16886 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
16888 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16890 * libio/Makefile (tests): Add tst-bz22415.
16891 (tst-bz22415-ENV): New rule.
16892 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
16893 (tests-special): Add tst-bz22415-mem.out.
16894 ($(objpfx)tst-bz22415-mem.out): New rule.
16895 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
16896 in case of a successful seek operation.
16897 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16898 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
16899 buffer is required.
16900 * libio/tst-bz22415.c: New test.
16902 * sysdeps/ia64/fpu/libm-test-ulps: Update.
16904 2017-12-12 James Clarke <jrtc27@jrtc27.com>
16906 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
16907 __IPC_64 to 0 to avoid IPC_64 being set.
16909 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16912 * math/bits/mathcalls.h (nextafter): Remove const.
16913 (nexttoward): Likewise.
16915 2017-12-12 Joseph Myers <joseph@codesourcery.com>
16917 * configure.ac (--with-fp): Remove configure option.
16918 (with_fp_cond): New variable.
16919 (libc_cv_with_fp): New configure test. Use this variable instead
16921 * configure: Regenerated.
16922 * config.make.in (with-fp): Use @libc_cv_with_fp@.
16923 * manual/install.texi (Configuring and compiling): Remove
16925 * INSTALL: Regenerated.
16926 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
16927 * sysdeps/mips/preconfigure (with_fp_cond): Define.
16928 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
16929 * sysdeps/sh/preconfigure (with_fp_cond): Define.
16930 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
16931 use --without-fp to configure glibc.
16933 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
16935 * manual/locale.texi (nl_langinfo): Fix a typo.
16937 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
16940 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
16942 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
16944 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
16945 (CFLAGS-argp-parse.c): Likewise.
16946 (CFLAGS-argp-fmtstream.c): Likewise.
16947 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
16948 (CPPFLAGS-sha512-crypt.c): Likewise.
16949 (CPPFLAGS-md5-crypt.c): Likewise.
16950 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
16951 (CFLAGS-stack_chk_fail_local.c): Likewise.
16952 (CFLAGS-backtrace.c): Likewise.
16953 (CFLAGS-sprintf_chk.c): Likewise.
16954 (CFLAGS-snprintf_chk.c): Likewise.
16955 (CFLAGS-vsprintf_chk.c): Likewise.
16956 (CFLAGS-vsnprintf_chk.c): Likewise.
16957 (CFLAGS-asprintf_chk.c): Likewise.
16958 (CFLAGS-vasprintf_chk.c): Likewise.
16959 (CFLAGS-obprintf_chk.c): Likewise.
16960 (CFLAGS-dprintf_chk.c): Likewise.
16961 (CFLAGS-vdprintf_chk.c): Likewise.
16962 (CFLAGS-printf_chk.c): Likewise.
16963 (CFLAGS-fprintf_chk.c): Likewise.
16964 (CFLAGS-vprintf_chk.c): Likewise.
16965 (CFLAGS-vfprintf_chk.c): Likewise.
16966 (CFLAGS-gets_chk.c): Likewise.
16967 (CFLAGS-fgets_chk.c): Likewise.
16968 (CFLAGS-fgets_u_chk.c): Likewise.
16969 (CFLAGS-fread_chk.c): Likewise.
16970 (CFLAGS-fread_u_chk.c): Likewise.
16971 (CFLAGS-swprintf_chk.c): Likewise.
16972 (CFLAGS-vswprintf_chk.c): Likewise.
16973 (CFLAGS-wprintf_chk.c): Likewise.
16974 (CFLAGS-fwprintf_chk.c): Likewise.
16975 (CFLAGS-vwprintf_chk.c): Likewise.
16976 (CFLAGS-vfwprintf_chk.c): Likewise.
16977 (CFLAGS-fgetws_chk.c): Likewise.
16978 (CFLAGS-fgetws_u_chk.c): Likewise.
16979 (CFLAGS-read_chk.c): Likewise.
16980 (CFLAGS-pread_chk.c): Likewise.
16981 (CFLAGS-pread64_chk.c): Likewise.
16982 (CFLAGS-recv_chk.c): Likewise.
16983 (CFLAGS-recvfrom_chk.c): Likewise.
16984 (CFLAGS-tst-longjmp_chk.c): Likewise.
16985 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
16986 (CFLAGS-tst-longjmp_chk2.c): Likewise.
16987 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
16988 (CFLAGS-tst-longjmp_chk3.c): Likewise.
16989 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16990 (CFLAGS-tst-chk1.c): Likewise.
16991 (CFLAGS-tst-chk2.c): Likewise.
16992 (CFLAGS-tst-chk3.c): Likewise.
16993 (CFLAGS-tst-chk4.cc): Likewise.
16994 (CFLAGS-tst-chk5.cc): Likewise.
16995 (CFLAGS-tst-chk6.cc): Likewise.
16996 (CFLAGS-tst-lfschk1.c): Likewise.
16997 (CFLAGS-tst-lfschk2.c): Likewise.
16998 (CFLAGS-tst-lfschk3.c): Likewise.
16999 (CFLAGS-tst-lfschk4.cc): Likewise.
17000 (CFLAGS-tst-lfschk5.cc): Likewise.
17001 (CFLAGS-tst-lfschk6.cc): Likewise.
17002 (CFLAGS-tst-ssp-1.c): Likewise.
17003 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17004 (CFLAGS-scandir64.c): Likewise.
17005 (CFLAGS-scandir-tail.c): Likewise.
17006 (CFLAGS-scandir64-tail.c): Likewise.
17007 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17008 (CFLAGS-dl-tunables.c): Likewise.
17009 (CFLAGS-dl-runtime.c): Likewise.
17010 (CFLAGS-dl-lookup.c): Likewise.
17011 (CFLAGS-dl-iterate-phdr.c): Likewise.
17012 (CFLAGS-vismain.c): Likewise.
17013 (CFLAGS-tst-linkall-static.c): Likewise.
17014 (CFLAGS-tst-linkall-static.c): Likewise.
17015 (CPPFLAGS-dl-load.c): Likewise.
17016 (CFLAGS-ldconfig.c): Likewise.
17017 (CFLAGS-dl-cache.c): Likewise.
17018 (CFLAGS-cache.c): Likewise.
17019 (CFLAGS-rtld.c): Likewise.
17020 (CFLAGS-multiload.c): Likewise.
17021 (CFLAGS-filtmod1.c): Likewise.
17022 (CFLAGS-tst-align.c): Likewise.
17023 (CFLAGS-tst-align2.c): Likewise.
17024 (CFLAGS-tst-alignmod.c): Likewise.
17025 (CFLAGS-tst-alignmod2.c): Likewise.
17026 (CPPFLAGS-tst-execstack.c): Likewise.
17027 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17028 (CFLAGS-tst-latepthreadmod.c): Likewise.
17029 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17030 (CFLAGS-getgrnam_r.c): Likewise.
17031 (CFLAGS-getgrent_r.c): Likewise.
17032 (CFLAGS-getgrent.c): Likewise.
17033 (CFLAGS-fgetgrent.c): Likewise.
17034 (CFLAGS-fgetgrent_r.c): Likewise.
17035 (CFLAGS-putgrent.c): Likewise.
17036 (CFLAGS-initgroups.c): Likewise.
17037 (CFLAGS-getgrgid.c): Likewise.
17038 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17039 (CFLAGS-getsgent.c): Likewise.
17040 (CFLAGS-fgetsgent.c): Likewise.
17041 (CFLAGS-fgetsgent_r.c): Likewise.
17042 (CFLAGS-putsgent.c): Likewise.
17043 (CFLAGS-getsgnam.c): Likewise.
17044 (CFLAGS-getsgnam_r.c): Likewise.
17045 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17046 (CFLAGS-iconv_charmap.c): Likewise.
17047 (CFLAGS-dummy-repertoire.c): Likewise.
17048 (CFLAGS-charmap.c): Likewise.
17049 (CFLAGS-linereader.c): Likewise.
17050 (CFLAGS-simple-hash.c): Likewise.
17051 (CFLAGS-gconv_conf.c): Likewise.
17052 (CFLAGS-iconvconfig.c): Likewise.
17053 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17054 (CFLAGS-gethstbyad.c): Likewise.
17055 (CFLAGS-gethstbynm_r.c): Likewise.
17056 (CFLAGS-gethstbynm.c): Likewise.
17057 (CFLAGS-gethstbynm2_r.c): Likewise.
17058 (CFLAGS-gethstbynm2.c): Likewise.
17059 (CFLAGS-gethstent_r.c): Likewise.
17060 (CFLAGS-gethstent.c): Likewise.
17061 (CFLAGS-rcmd.c): Likewise.
17062 (CFLAGS-getnetbynm_r.c): Likewise.
17063 (CFLAGS-getnetbynm.c): Likewise.
17064 (CFLAGS-getnetbyad_r.c): Likewise.
17065 (CFLAGS-getnetbyad.c): Likewise.
17066 (CFLAGS-getnetent_r.c): Likewise.
17067 (CFLAGS-getnetent.c): Likewise.
17068 (CFLAGS-getaliasent_r.c): Likewise.
17069 (CFLAGS-getaliasent.c): Likewise.
17070 (CFLAGS-getrpcent_r.c): Likewise.
17071 (CFLAGS-getrpcent.c): Likewise.
17072 (CFLAGS-getservent_r.c): Likewise.
17073 (CFLAGS-getservent.c): Likewise.
17074 (CFLAGS-getprtent_r.c): Likewise.
17075 (CFLAGS-getprtent.c): Likewise.
17076 (CFLAGS-either_ntoh.c): Likewise.
17077 (CFLAGS-either_hton.c): Likewise.
17078 (CFLAGS-getnetgrent.c): Likewise.
17079 (CFLAGS-getnetgrent_r.c): Likewise.
17080 (CFLAGS-tst-checks-posix.c): Likewise.
17081 (CFLAGS-tst-sockaddr.c): Likewise.
17082 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17083 (CFLAGS-tst-translit.c): Likewise.
17084 (CFLAGS-tst-gettext2.c): Likewise.
17085 (CFLAGS-tst-codeset.c): Likewise.
17086 (CFLAGS-tst-gettext3.c): Likewise.
17087 (CFLAGS-tst-gettext4.c): Likewise.
17088 (CFLAGS-tst-gettext5.c): Likewise.
17089 (CFLAGS-tst-gettext6.c): Likewise.
17090 * io/Makefile (CFLAGS-open.c): Likewise.
17091 (CFLAGS-open64.c): Likewise.
17092 (CFLAGS-creat.c): Likewise.
17093 (CFLAGS-creat64.c): Likewise.
17094 (CFLAGS-fcntl.c): Likewise.
17095 (CFLAGS-poll.c): Likewise.
17096 (CFLAGS-ppoll.c): Likewise.
17097 (CFLAGS-lockf.c): Likewise.
17098 (CFLAGS-statfs.c): Likewise.
17099 (CFLAGS-fstatfs.c): Likewise.
17100 (CFLAGS-statvfs.c): Likewise.
17101 (CFLAGS-fstatvfs.c): Likewise.
17102 (CFLAGS-fts.c): Likewise.
17103 (CFLAGS-fts64.c): Likewise.
17104 (CFLAGS-ftw.c): Likewise.
17105 (CFLAGS-ftw64.c): Likewise.
17106 (CFLAGS-lockf.c): Likewise.
17107 (CFLAGS-posix_fallocate.c): Likewise.
17108 (CFLAGS-posix_fallocate64.c): Likewise.
17109 (CFLAGS-fallocate.c): Likewise.
17110 (CFLAGS-fallocate64.c): Likewise.
17111 (CFLAGS-read.c): Likewise.
17112 (CFLAGS-write.c): Likewise.
17113 (CFLAGS-test-stat.c): Likewise.
17114 (CFLAGS-test-lfs.c): Likewise.
17115 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17116 (CFLAGS-fputc.c): Likewise.
17117 (CFLAGS-fputwc.c): Likewise.
17118 (CFLAGS-freopen64.c): Likewise.
17119 (CFLAGS-freopen.c): Likewise.
17120 (CFLAGS-fseek.c): Likewise.
17121 (CFLAGS-fseeko64.c): Likewise.
17122 (CFLAGS-fseeko.c): Likewise.
17123 (CFLAGS-ftello64.c): Likewise.
17124 (CFLAGS-ftello.c): Likewise.
17125 (CFLAGS-fwide.c): Likewise.
17126 (CFLAGS-genops.c): Likewise.
17127 (CFLAGS-getc.c): Likewise.
17128 (CFLAGS-getchar.c): Likewise.
17129 (CFLAGS-getwc.c): Likewise.
17130 (CFLAGS-getwchar.c): Likewise.
17131 (CFLAGS-iofclose.c): Likewise.
17132 (CFLAGS-iofflush.c): Likewise.
17133 (CFLAGS-iofgetpos64.c): Likewise.
17134 (CFLAGS-iofgetpos.c): Likewise.
17135 (CFLAGS-iofgets.c): Likewise.
17136 (CFLAGS-iofgetws.c): Likewise.
17137 (CFLAGS-iofputs.c): Likewise.
17138 (CFLAGS-iofputws.c): Likewise.
17139 (CFLAGS-iofread.c): Likewise.
17140 (CFLAGS-iofsetpos64.c): Likewise.
17141 (CFLAGS-iofsetpos.c): Likewise.
17142 (CFLAGS-ioftell.c): Likewise.
17143 (CFLAGS-iofwrite.c): Likewise.
17144 (CFLAGS-iogetdelim.c): Likewise.
17145 (CFLAGS-iogetline.c): Likewise.
17146 (CFLAGS-iogets.c): Likewise.
17147 (CFLAGS-iogetwline.c): Likewise.
17148 (CFLAGS-ioputs.c): Likewise.
17149 (CFLAGS-ioseekoff.c): Likewise.
17150 (CFLAGS-ioseekpos.c): Likewise.
17151 (CFLAGS-iosetbuffer.c): Likewise.
17152 (CFLAGS-iosetvbuf.c): Likewise.
17153 (CFLAGS-ioungetc.c): Likewise.
17154 (CFLAGS-ioungetwc.c): Likewise.
17155 (CFLAGS-oldfileops.c): Likewise.
17156 (CFLAGS-oldiofclose.c): Likewise.
17157 (CFLAGS-oldiofgetpos64.c): Likewise.
17158 (CFLAGS-oldiofgetpos.c): Likewise.
17159 (CFLAGS-oldiofsetpos64.c): Likewise.
17160 (CFLAGS-oldiofsetpos.c): Likewise.
17161 (CFLAGS-peekc.c): Likewise.
17162 (CFLAGS-putc.c): Likewise.
17163 (CFLAGS-putchar.c): Likewise.
17164 (CFLAGS-putwc.c): Likewise.
17165 (CFLAGS-putwchar.c): Likewise.
17166 (CFLAGS-rewind.c): Likewise.
17167 (CFLAGS-wfileops.c): Likewise.
17168 (CFLAGS-wgenops.c): Likewise.
17169 (CFLAGS-oldiofopen.c): Likewise.
17170 (CFLAGS-iofopen.c): Likewise.
17171 (CFLAGS-iofopen64.c): Likewise.
17172 (CFLAGS-oldtmpfile.c): Likewise.
17173 (CFLAGS-tst_putwc.c): Likewise.
17174 * locale/Makefile (CFLAGS-md5.c): Likewise.
17175 (CFLAGS-charmap.c): Likewise.
17176 (CFLAGS-locfile.c): Likewise.
17177 (CFLAGS-charmap-dir.c): Likewise.
17178 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17179 (CFLAGS-getpt.c): Likewise.
17180 (CFLAGS-pt_chown.c): Likewise.
17181 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17182 (CFLAGS-obstack.c): Likewise.
17183 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17184 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17185 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17186 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17187 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17188 (CFLAGS-test-tgmath.c): Likewise.
17189 (CFLAGS-test-tgmath2.c): Likewise.
17190 (CFLAGS-test-tgmath-ret.c): Likewise.
17191 (CFLAGS-test-powl.c): Likewise.
17192 (CFLAGS-test-snan.c): Likewise.
17193 (CFLAGS-test-signgam-finite.c): Likewise.
17194 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17195 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17196 (CFLAGS-test-signgam-uchar.c): Likewise.
17197 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17198 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17199 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17200 (CFLAGS-test-signgam-uint.c): Likewise.
17201 (CFLAGS-test-signgam-uint-init.c): Likewise.
17202 (CFLAGS-test-signgam-uint-static.c): Likewise.
17203 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17204 (CFLAGS-test-signgam-ullong.c): Likewise.
17205 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17206 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17207 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17208 (CFLAGS-test-math-cxx11.cc): Likewise.
17209 (CFLAGS-test-math-isinff.cc): Likewise.
17210 (CFLAGS-test-math-iszero.cc): Likewise.
17211 (CFLAGS-test-math-issignaling.cc): Likewise.
17212 (CFLAGS-test-math-iscanonical.cc): Likewise.
17213 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17214 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17215 (CFLAGS-test-flt-eval-method.c): Likewise.
17216 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17217 (CFLAGS-test-finite-macros.c): Likewise.
17218 * misc/Makefile (CFLAGS-select.c): Likewise.
17219 (CFLAGS-tsearch.c): Likewise.
17220 (CFLAGS-lsearch.c): Likewise.
17221 (CFLAGS-pselect.c): Likewise.
17222 (CFLAGS-readv.c): Likewise.
17223 (CFLAGS-writev.c): Likewise.
17224 (CFLAGS-preadv.c): Likewise.
17225 (CFLAGS-preadv64.c): Likewise.
17226 (CFLAGS-pwritev.c): Likewise.
17227 (CFLAGS-pwritev64.c): Likewise.
17228 (CFLAGS-preadv2.c): Likewise.
17229 (CFLAGS-preadv64v2.c): Likewise.
17230 (CFLAGS-pwritev2.c): Likewise.
17231 (CFLAGS-pwritev64v2.c): Likewise.
17232 (CFLAGS-usleep.c): Likewise.
17233 (CFLAGS-syslog.c): Likewise.
17234 (CFLAGS-error.c): Likewise.
17235 (CFLAGS-getpass.c): Likewise.
17236 (CFLAGS-mkstemp.c): Likewise.
17237 (CFLAGS-mkstemp64.c): Likewise.
17238 (CFLAGS-getsysstats.c): Likewise.
17239 (CFLAGS-getusershell.c): Likewise.
17240 (CFLAGS-err.c): Likewise.
17241 (CFLAGS-tst-tsearch.c): Likewise.
17242 (CFLAGS-msync.c): Likewise.
17243 (CFLAGS-fdatasync.c): Likewise.
17244 (CFLAGS-fsync.c): Likewise.
17245 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17246 (CFLAGS-unwind.c): Likewise.
17247 (CFLAGS-unwind-forcedunwind.c): Likewise.
17248 (CFLAGS-pthread_cancel.c): Likewise.
17249 (CFLAGS-pthread_setcancelstate.c): Likewise.
17250 (CFLAGS-pthread_setcanceltype.c): Likewise.
17251 (CFLAGS-cancellation.c): Likewise.
17252 (CFLAGS-libc-cancellation.c): Likewise.
17253 (CFLAGS-pthread_exit.c): Likewise.
17254 (CFLAGS-forward.c): Likewise.
17255 (CFLAGS-pthread_testcancel.c): Likewise.
17256 (CFLAGS-pthread_join.c): Likewise.
17257 (CFLAGS-pthread_timedjoin.c): Likewise.
17258 (CFLAGS-pthread_once.c): Likewise.
17259 (CFLAGS-pthread_cond_wait.c): Likewise.
17260 (CFLAGS-sem_wait.c): Likewise.
17261 (CFLAGS-sem_timedwait.c): Likewise.
17262 (CFLAGS-fcntl.c): Likewise.
17263 (CFLAGS-lockf.c): Likewise.
17264 (CFLAGS-pread.c): Likewise.
17265 (CFLAGS-pread64.c): Likewise.
17266 (CFLAGS-pwrite.c): Likewise.
17267 (CFLAGS-pwrite64.c): Likewise.
17268 (CFLAGS-wait.c): Likewise.
17269 (CFLAGS-waitpid.c): Likewise.
17270 (CFLAGS-sigwait.c): Likewise.
17271 (CFLAGS-msgrcv.c): Likewise.
17272 (CFLAGS-msgsnd.c): Likewise.
17273 (CFLAGS-tcdrain.c): Likewise.
17274 (CFLAGS-open.c): Likewise.
17275 (CFLAGS-open64.c): Likewise.
17276 (CFLAGS-pause.c): Likewise.
17277 (CFLAGS-recv.c): Likewise.
17278 (CFLAGS-send.c): Likewise.
17279 (CFLAGS-accept.c): Likewise.
17280 (CFLAGS-sendto.c): Likewise.
17281 (CFLAGS-connect.c): Likewise.
17282 (CFLAGS-recvfrom.c): Likewise.
17283 (CFLAGS-recvmsg.c): Likewise.
17284 (CFLAGS-sendmsg.c): Likewise.
17285 (CFLAGS-close.c): Likewise.
17286 (CFLAGS-read.c): Likewise.
17287 (CFLAGS-write.c): Likewise.
17288 (CFLAGS-nanosleep.c): Likewise.
17289 (CFLAGS-sigsuspend.c): Likewise.
17290 (CFLAGS-msync.c): Likewise.
17291 (CFLAGS-fdatasync.c): Likewise.
17292 (CFLAGS-fsync.c): Likewise.
17293 (CFLAGS-pt-system.c): Likewise.
17294 (CFLAGS-tst-cleanup2.c): Likewise.
17295 (CFLAGS-tst-cleanupx2.c): Likewise.
17296 (CFLAGS-flockfile.c): Likewise.
17297 (CFLAGS-ftrylockfile.c): Likewise.
17298 (CFLAGS-funlockfile.c): Likewise.
17299 (CFLAGS-tst-initializers1.c): Likewise.
17300 (CFLAGS-tst-initializers1-c89.c): Likewise.
17301 (CFLAGS-tst-initializers1-c99.c): Likewise.
17302 (CFLAGS-tst-initializers1-c11.c): Likewise.
17303 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17304 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17305 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17306 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17307 (CFLAGS-nscd_getgr_r.c): Likewise.
17308 (CFLAGS-nscd_gethst_r.c): Likewise.
17309 (CFLAGS-nscd_getai.c): Likewise.
17310 (CFLAGS-nscd_initgroups.c): Likewise.
17311 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17312 (CFLAGS-pause.c): Likewise.
17313 (CFLAGS-pread.c): Likewise.
17314 (CFLAGS-pread64.c): Likewise.
17315 (CFLAGS-pwrite.c): Likewise.
17316 (CFLAGS-pwrite64.c): Likewise.
17317 (CFLAGS-sleep.c): Likewise.
17318 (CFLAGS-wait.c): Likewise.
17319 (CFLAGS-waitid.c): Likewise.
17320 (CFLAGS-waitpid.c): Likewise.
17321 (CFLAGS-getopt.c): Likewise.
17322 (CFLAGS-wordexp.c): Likewise.
17323 (CFLAGS-sysconf.c): Likewise.
17324 (CFLAGS-pathconf.c): Likewise.
17325 (CFLAGS-fpathconf.c): Likewise.
17326 (CFLAGS-spawn.c): Likewise.
17327 (CFLAGS-spawnp.c): Likewise.
17328 (CFLAGS-spawni.c): Likewise.
17329 (CFLAGS-glob.c): Likewise.
17330 (CFLAGS-glob64.c): Likewise.
17331 (CFLAGS-getconf.c): Likewise.
17332 (CFLAGS-nanosleep.c): Likewise.
17333 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17334 (CFLAGS-getpwent.c): Likewise.
17335 (CFLAGS-getpw.c): Likewise.
17336 (CFLAGS-fgetpwent_r.c): Likewise.
17337 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17338 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17339 (CFLAGS-mq_timedreceive.c): Likewise.
17340 (CFLAGS-mq_timedsend.c): Likewise.
17341 (CFLAGS-clock_nanosleep.c): Likewise.
17342 (CFLAGS-librt-cancellation.c): Likewise.
17343 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17344 (CFLAGS-getspent.c): Likewise.
17345 (CFLAGS-fgetspent.c): Likewise.
17346 (CFLAGS-fgetspent_r.c): Likewise.
17347 (CFLAGS-putspent.c): Likewise.
17348 (CFLAGS-getspnam.c): Likewise.
17349 (CFLAGS-getspnam_r.c): Likewise.
17350 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17351 (CFLAGS-sigsuspend.c): Likewise.
17352 (CFLAGS-sigtimedwait.c): Likewise.
17353 (CFLAGS-sigwait.c): Likewise.
17354 (CFLAGS-sigwaitinfo.c): Likewise.
17355 (CFLAGS-sigreturn.c): Likewise.
17356 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17357 (CFLAGS-vfwprintf.c): Likewise.
17358 (CFLAGS-tmpfile.c): Likewise.
17359 (CFLAGS-tmpfile64.c): Likewise.
17360 (CFLAGS-tempname.c): Likewise.
17361 (CFLAGS-psignal.c): Likewise.
17362 (CFLAGS-vprintf.c): Likewise.
17363 (CFLAGS-cuserid.c): Likewise.
17364 (CFLAGS-errlist.c): Likewise.
17365 (CFLAGS-siglist.c): Likewise.
17366 (CFLAGS-scanf15.c): Likewise.
17367 (CFLAGS-scanf17.c): Likewise.
17368 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
17369 (CFLAGS-msort.c): Likewise.
17370 (CFLAGS-qsort.c): Likewise.
17371 (CFLAGS-system.c): Likewise.
17372 (CFLAGS-fmtmsg.c): Likewise.
17373 (CFLAGS-strfmon.c): Likewise.
17374 (CFLAGS-strfmon_l.c): Likewise.
17375 (CFLAGS-strfromd.c): Likewise.
17376 (CFLAGS-strfromf.c): Likewise.
17377 (CFLAGS-strfroml.c): Likewise.
17378 (CFLAGS-tst-bsearch.c): Likewise.
17379 (CFLAGS-tst-qsort.c): Likewise.
17380 (CFLAGS-tst-makecontext2.c): Likewise.
17381 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
17382 (CFLAGS-xnlm_prot.c): Likewise.
17383 (CFLAGS-xrstat.c): Likewise.
17384 (CFLAGS-xyppasswd.c): Likewise.
17385 (CFLAGS-xklm_prot.c): Likewise.
17386 (CFLAGS-xrex.c): Likewise.
17387 (CFLAGS-xsm_inter.c): Likewise.
17388 (CFLAGS-xmount.c): Likewise.
17389 (CFLAGS-xrusers.c): Likewise.
17390 (CFLAGS-xspray.c): Likewise.
17391 (CFLAGS-xnfs_prot.c): Likewise.
17392 (CFLAGS-xrquota.c): Likewise.
17393 (CFLAGS-xkey_prot.c): Likewise.
17394 (CFLAGS-auth_unix.c): Likewise.
17395 (CFLAGS-key_call.c): Likewise.
17396 (CFLAGS-pmap_rmt.c): Likewise.
17397 (CFLAGS-clnt_perr.c): Likewise.
17398 (CFLAGS-openchild.c): Likewise.
17399 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
17400 (CFLAGS-msgsnd.c): Likewise.
17401 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
17402 * time/Makefile (CFLAGS-tzfile.c): Likewise.
17403 (CFLAGS-tzset.c): Likewise.
17404 (CFLAGS-getdate.c): Likewise.
17405 (CFLAGS-test_time.c): Likewise.
17406 (CPPFLAGS-tst-tzname.c): Likewise.
17407 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
17408 (CFLAGS-zic.c): Likewise.
17409 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
17410 (CFLAGS-wcswidth.c): Likewise.
17411 (CFLAGS-wcstol.c): Likewise.
17412 (CFLAGS-wcstoul.c): Likewise.
17413 (CFLAGS-wcstoll.c): Likewise.
17414 (CFLAGS-wcstoull.c): Likewise.
17415 (CFLAGS-wcstod.c): Likewise.
17416 (CFLAGS-wcstold.c): Likewise.
17417 (CFLAGS-wcstof128.c): Likewise.
17418 (CFLAGS-wcstof.c): Likewise.
17419 (CFLAGS-wcstol_l.c): Likewise.
17420 (CFLAGS-wcstoul_l.c): Likewise.
17421 (CFLAGS-wcstoll_l.c): Likewise.
17422 (CFLAGS-wcstoull_l.c): Likewise.
17423 (CFLAGS-wcstod_l.c): Likewise.
17424 (CFLAGS-wcstold_l.c): Likewise.
17425 (CFLAGS-wcstof128_l.c): Likewise.
17426 (CFLAGS-wcstof_l.c): Likewise.
17427 (CPPFLAGS-tst-wchar-h.c): Likewise.
17428 (CPPFLAGS-wcstold_l.c): Likewise.
17430 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
17432 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
17434 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17435 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17437 * manual/tunables.texi (Hardware Capability Tunables): Document
17438 glibc.tune.cached_memopt.
17439 * sysdeps/powerpc/cpu-features.c: New file.
17440 * sysdeps/powerpc/cpu-features.h: New file.
17441 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
17442 _dl_powerpc_cpu_features.
17443 * sysdeps/powerpc/dl-tunables.list: New file.
17444 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
17445 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17446 (INIT_ARCH): Initialize use_aligned_memopt.
17447 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
17448 IS_IN(rtld))]: Restrict dl_platform_init availability and
17449 initialize CPU features used by tunables.
17450 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
17451 Add memcpy-power8-cached.
17452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
17453 __memcpy_power8_cached.
17454 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
17458 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17460 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
17461 (CFLAGS-noinl-tester.c): Likewise.
17462 (CFLAGS-tst-strlen.c): Likewise.
17463 (CFLAGS-stratcliff.c): Likewise.
17464 (CFLAGS-test-ffs.c): Likewise.
17465 (CFLAGS-tst-inlcall.c): Likewise.
17466 (CFLAGS-tst-xbzero-opt.c): Likewise.
17467 (CFLAGS-memcpy.c): Likewise.
17468 (CFLAGS-wordcopy.c): Likewise.
17470 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17472 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
17473 Store r15 on stack and add cfi rule.
17474 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17477 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
17480 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
17483 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17485 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17486 Add s_sinf-sse2 and s_sinf-fma.
17487 (CFLAGS-s_sinf-fma.c): New.
17488 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
17489 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
17490 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
17492 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17494 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
17496 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17499 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
17500 part of result to imaginary part of argument if it is zero and the
17501 real part of the argument is not finite.
17502 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
17503 of result to real part of argument if it is zero and the imaginary
17504 part of the argument is not finite.
17506 2017-12-07 Mike FABIAN <mfabian@redhat.com>
17509 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
17510 and to the list of locales to be built for testing.
17511 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
17512 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
17513 and build the collation rules upon that.
17515 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17517 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
17518 * manual/math.texi (Mathematics): Document support for _Float32.
17519 * math/Makefile (test-types): Add float32.
17520 * math/Versions (GLIBC_2.27): Add _Float32 functions.
17521 * stdlib/Versions (GLIBC_2.27): Likewise.
17522 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17523 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17524 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17527 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17530 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17532 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17533 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17545 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17547 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17549 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17567 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17570 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17571 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17575 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17576 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17585 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17591 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17592 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17594 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17596 * stdlib/strtof.c: Include <bits/floatn.h>
17597 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
17598 and later undefine as macro. Define as weak alias if
17600 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
17601 and later undefine as macro. Define as weak alias if
17603 * stdlib/strtof_l.c: Include <bits/floatn.h>
17604 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
17605 and later undefine as macro. Define as weak alias if
17607 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
17608 and later undefine as macro. Define as weak alias if
17611 * stdlib/strfromf.c: Include <bits/floatn.h>.
17612 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
17613 and later undefine as macro and define as weak alias.
17615 * math/test-float32.h: New file.
17617 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
17618 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
17619 (libm_alias_float_other_r): Create f32 alias.
17620 (libm_alias_float_r): Use semicolon before call to
17621 libm_alias_float_other_r.
17623 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
17624 second argument to libm_alias_float_other.
17625 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
17626 second argument to libm_alias_float_other.
17627 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
17628 argument to libm_alias_float_other.
17631 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
17632 real part of result for argument 0 + i * NaN.
17633 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
17634 results for tests of 0 + i * NaN.
17636 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17638 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17640 2017-12-06 David S. Miller <davem@davemloft.net>
17642 * sysdeps/sparc/fpu/libm-test-ulps: Update
17643 exp_{downward,towardzero,upward} ulps.
17645 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17647 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
17650 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
17652 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
17654 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
17656 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
17659 2017-12-06 Mike FABIAN <mfabian@redhat.com>
17662 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
17663 and to the list of locales to be built for testing.
17664 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
17665 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
17666 and build the collation rules upon that.
17668 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17670 * NEWS: Add sinf to list of optimized functions.
17672 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17674 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
17675 (__HAVE_FLOAT32X): Likewise.
17676 * manual/math.texi (Mathematics): Document support for _Float64
17678 * math/Makefile (test-types): Add float64 and float32x.
17679 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
17681 * stdlib/Versions (GLIBC_2.27): Likewise.
17682 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17683 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17685 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17686 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17687 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17688 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17689 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17690 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17691 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17692 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17693 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17694 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17695 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17696 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17697 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17698 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17699 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17700 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17701 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17702 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17703 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17705 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17706 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17707 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17708 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17709 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17726 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17727 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17728 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17730 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17731 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17732 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17734 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17735 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17744 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17749 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17750 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17751 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17753 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17755 * bits/floatn-common.h: Include <bits/long-double.h>.
17756 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17757 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
17758 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17759 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
17760 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17761 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
17762 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17763 (__builtin_huge_valf64): Use __builtin_huge_vall.
17764 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17765 (__builtin_inff64): Use __builtin_infl.
17766 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17767 (__builtin_nanf64): Use __builtin_nanl.
17768 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17769 (__builtin_nansf64): Use __builtin_nansl.
17771 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
17772 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17773 Carlos O'Donnell <carlos@redhat.com>
17775 * elf/dl-tunables.list: Add elision parameters.
17776 * manual/tunables.texi: Add entries about elision tunable.
17777 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
17778 Add callback functions to dynamically enable/disable elision.
17779 Add multiple callbacks functions to set elision parameters.
17780 Deleted __libc_enable_secure check.
17781 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
17782 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
17783 * configure: Regenerated.
17784 * configure.ac: Option enable_lock_elision was deleted.
17785 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
17786 * config.make.in: Remove references to enable_lock_elision.
17787 * manual/install.texi: Elision configure option was removed.
17788 * INSTALL: Regenerated to remove enable_lock_elision.
17790 Disable elision so it can verify error case for destroying a mutex.
17791 * sysdeps/powerpc/nptl/elide.h:
17792 Cleanup ENABLE_LOCK_ELISION check.
17793 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
17794 * sysdeps/s390/configure: Regenerated.
17795 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
17796 * nptl/tst-mutex8.c:
17797 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
17798 * sysdeps/powerpc/powerpc32/sysdep.h:
17799 Deleted all ENABLE_LOCK_ELISION checks.
17800 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17801 * sysdeps/powerpc/sysdep.h: Likewise.
17802 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
17803 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
17804 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17805 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17806 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17807 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
17808 enable-lock-elision.
17810 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17812 * stdlib/strtod.c: Include <bits/floatn.h>.
17813 (BUILD_DOUBLE): New macro.
17814 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17815 (strtof64): Define and later undefine as macro. Define as weak
17816 alias if [!USE_WIDE_CHAR].
17817 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17818 (wcstof64): Define and later undefine as macro. Define as weak
17819 alias if [USE_WIDE_CHAR].
17820 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17821 (strtof32x): Define and later undefine as macro. Define as weak
17822 alias if [!USE_WIDE_CHAR].
17823 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17824 (wcstof32x): Define and later undefine as macro. Define as weak
17825 alias if [USE_WIDE_CHAR].
17826 * stdlib/strtod_l.c: Include <bits/floatn.h>.
17827 (BUILD_DOUBLE): New macro.
17828 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17829 (strtof64_l): Define and later undefine as macro. Define as weak
17830 alias if [!USE_WIDE_CHAR].
17831 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17832 (wcstof64_l): Define and later undefine as macro. Define as weak
17833 alias if [USE_WIDE_CHAR].
17834 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17835 (strtof32x_l): Define and later undefine as macro. Define as weak
17836 alias if [!USE_WIDE_CHAR].
17837 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17838 (wcstof32x_l): Define and later undefine as macro. Define as weak
17839 alias if [USE_WIDE_CHAR].
17841 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17843 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
17844 (reduced): Use ones as double instead of integer.
17846 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
17848 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
17850 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17852 * stdlib/strfromd.c: Include <bits/floatn.h>.
17853 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
17854 and later undefine as macro and define as weak alias.
17855 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
17858 * math/test-float32x.h: New file.
17859 * math/test-float64.h: Likewise.
17861 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
17862 (libm_alias_double_other_r_f64): New macro.
17863 (libm_alias_double_other_r_f32x): Likewise.
17864 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17865 libm_alias_double_other_r_f32x.
17866 (libm_alias_double_r): Use semicolon before call to
17867 libm_alias_double_other_r.
17868 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
17870 (libm_alias_double_other_r_f64): New macro.
17871 (libm_alias_double_other_r_f32x): Likewise.
17872 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17873 libm_alias_double_other_r_f32x.
17875 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
17877 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
17879 (SINF_FUNC): Likewise. Replace floor with simple casts.
17881 2017-12-05 Mike FABIAN <mfabian@redhat.com>
17884 * localedata/Makefile: Add et_EE.UTF-8 to test-input
17885 and to the list of locales to be built for testing.
17886 * localedata/et_EE.UTF-8.in: New file for testing the collation.
17887 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
17888 and build the collation rules upon that.
17890 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
17892 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
17893 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
17894 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
17895 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
17896 instead of __insn__xxx.
17897 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
17898 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
17899 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
17900 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
17901 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
17902 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
17904 2017-12-05 Florian Weimer <fweimer@redhat.com>
17906 Linux: Implement interfaces for memory protection keys
17907 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
17909 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
17910 * support/xunistd.h (xsysconf): Declare.
17911 * support/xraise.c: New file.
17912 * support/xsigaction.c: Likewise.
17913 * support/xsignal.c: Likewise.
17914 * support/xsysconf.c: Likewise.
17915 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
17916 pkey_set, pkey_get, pkey_mprotect.
17917 [misc] (tests): Add tst-pkey.
17918 (tst-pkey): Link with -lpthread.
17919 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
17920 pkey_free, pkey_set, pkey_get, pkey_mprotect.
17921 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
17922 (PKEY_DISABLE_WRITE): Define.
17923 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
17925 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
17926 (SEGV_PKUERR): Add.
17927 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
17928 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
17929 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
17930 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
17932 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
17933 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
17934 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
17935 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
17936 * sysdeps/unix/sysv/linux/**.abilist: Update.
17938 2017-12-05 Florian Weimer <fweimer@redhat.com>
17940 * support/tst-test_compare.c (subprocess): Use long long instead
17941 of long argument for consistent type width across 32-bit and
17942 64-bit architectures.
17943 (do_test): Adjust expected output.
17945 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17947 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
17948 (cosf): Define using libm_alias_float.
17949 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
17950 (fabsf): Define using libm_alias_float.
17951 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
17952 (fmaf): Define using libm_alias_float.
17953 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
17954 (rintf): Define using libm_alias_float.
17955 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
17956 (sinf): Define using libm_alias_float.
17957 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
17958 <libm-alias-float.h>.
17959 (modff): Define using libm_alias_float.
17960 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
17961 <libm-alias-float.h>.
17962 (logbf): Define using libm_alias_float.
17963 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
17964 <libm-alias-float.h>.
17965 (ceilf): Define using libm_alias_float.
17966 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17967 <libm-alias-float.h>.
17968 (copysignf): Define using libm_alias_float.
17969 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
17970 <libm-alias-float.h>.
17971 (floorf): Define using libm_alias_float.
17972 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
17973 <libm-alias-float.h>.
17974 (llrintf): Define using libm_alias_float.
17975 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17976 <libm-alias-float.h>.
17977 (llroundf): Define using libm_alias_float.
17978 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17979 <libm-alias-float.h>.
17980 (lrintf): Define using libm_alias_float.
17981 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17982 <libm-alias-float.h>.
17983 (lroundf): Define using libm_alias_float.
17984 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
17985 <libm-alias-float.h>.
17986 (nearbyintf): Define using libm_alias_float.
17987 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
17988 <libm-alias-float.h>.
17989 (rintf): Define using libm_alias_float.
17990 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
17991 <libm-alias-float.h>.
17992 (roundf): Define using libm_alias_float.
17993 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
17994 <libm-alias-float.h>.
17995 (truncf): Define using libm_alias_float.
17996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
17997 Include <libm-alias-float.h>.
17998 (ceilf): Define using libm_alias_float.
17999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18000 Include <libm-alias-float.h>.
18001 (copysignf): Define using libm_alias_float.
18002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18003 Include <libm-alias-float.h>.
18004 (floorf): Define using libm_alias_float.
18005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18006 Include <libm-alias-float.h>.
18007 (llrintf): Define using libm_alias_float.
18008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18009 Include <libm-alias-float.h>.
18010 (llroundf): Define using libm_alias_float.
18011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18012 Include <libm-alias-float.h>.
18013 (logbf): Define using libm_alias_float.
18014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18015 Include <libm-alias-float.h>.
18016 (lrintf): Define using libm_alias_float.
18017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18018 Include <libm-alias-float.h>.
18019 (lroundf): Define using libm_alias_float.
18020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18021 Include <libm-alias-float.h>.
18022 (modff): Define using libm_alias_float.
18023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18024 Include <libm-alias-float.h>.
18025 (roundf): Define using libm_alias_float.
18026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18027 Include <libm-alias-float.h>.
18028 (truncf): Define using libm_alias_float.
18029 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18030 <libm-alias-float.h>.
18031 (llrintf): Define using libm_alias_float.
18032 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18033 <libm-alias-float.h>.
18034 (llroundf): Define using libm_alias_float.
18035 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18036 <libm-alias-float.h>.
18037 (ceilf): Define using libm_alias_float.
18038 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18039 <libm-alias-float.h>.
18040 (floorf): Define using libm_alias_float.
18041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18042 <libm-alias-float.h>.
18043 (llroundf): Define using libm_alias_float.
18044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18045 <libm-alias-float.h>.
18046 (lroundf): Define using libm_alias_float.
18047 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18048 <libm-alias-float.h>.
18049 (roundf): Define using libm_alias_float.
18050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18051 <libm-alias-float.h>.
18052 (truncf): Define using libm_alias_float.
18053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18054 <libm-alias-float.h>.
18055 (copysignf): Define using libm_alias_float.
18056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18057 <libm-alias-float.h>.
18058 (llrintf): Define using libm_alias_float.
18059 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18060 <libm-alias-float.h>.
18061 (llroundf): Define using libm_alias_float.
18062 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18063 <libm-alias-float.h>.
18064 (lrintf): Define using libm_alias_float.
18065 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18066 <libm-alias-float.h>.
18067 (lroundf): Define using libm_alias_float.
18068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18069 <libm-alias-float.h>.
18070 (ceilf): Define using libm_alias_float.
18071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18072 <libm-alias-float.h>.
18073 (copysignf): Define using libm_alias_float.
18074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18075 <libm-alias-float.h>.
18076 (cosf): Define using libm_alias_float.
18077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18078 <libm-alias-float.h>.
18079 (floorf): Define using libm_alias_float.
18080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18081 <libm-alias-float.h>.
18082 (llrintf): Define using libm_alias_float.
18083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18084 <libm-alias-float.h>.
18085 (llroundf): Define using libm_alias_float.
18086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18087 <libm-alias-float.h>.
18088 (logbf): Define using libm_alias_float.
18089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18090 <libm-alias-float.h>.
18091 (modff): Define using libm_alias_float.
18092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18093 <libm-alias-float.h>.
18094 (roundf): Define using libm_alias_float.
18095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18096 <libm-alias-float.h>.
18097 (sinf): Define using libm_alias_float.
18098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18099 <libm-alias-float.h>.
18100 (truncf): Define using libm_alias_float.
18101 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18102 <libm-alias-float.h>.
18103 (ceilf): Define using libm_alias_float.
18104 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18105 <libm-alias-float.h>.
18106 (copysignf): Define using libm_alias_float.
18107 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18108 <libm-alias-float.h>.
18109 (floorf): Define using libm_alias_float.
18110 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18111 <libm-alias-float.h>.
18112 (llrintf): Define using libm_alias_float.
18113 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18114 <libm-alias-float.h>.
18115 (llroundf): Define using libm_alias_float.
18116 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18117 <libm-alias-float.h>.
18118 (nearbyintf): Define using libm_alias_float.
18119 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18120 <libm-alias-float.h>.
18121 (rintf): Define using libm_alias_float.
18122 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18123 <libm-alias-float.h>.
18124 (roundf): Define using libm_alias_float.
18125 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18126 <libm-alias-float.h>.
18127 (truncf): Define using libm_alias_float.
18128 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18129 <libm-alias-float.h>.
18130 (ceilf): Define using libm_alias_float.
18131 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18132 <libm-alias-float.h>.
18133 (floorf): Define using libm_alias_float.
18134 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18135 <libm-alias-float.h>.
18136 (llroundf): Define using libm_alias_float.
18137 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18138 <libm-alias-float.h>.
18139 (roundf): Define using libm_alias_float.
18140 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18141 <libm-alias-float.h>.
18142 (truncf): Define using libm_alias_float.
18143 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18144 <libm-alias-float.h>.
18145 (copysignf): Define using libm_alias_float.
18146 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18147 <libm-alias-float.h>.
18148 (llrintf): Define using libm_alias_float.
18149 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18150 <libm-alias-float.h>.
18151 (llroundf): Define using libm_alias_float.
18152 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18153 <libm-alias-float.h>.
18154 (cosf): Define using libm_alias_float.
18155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18156 <libm-alias-float.h>.
18157 (llrintf): Define using libm_alias_float.
18158 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18159 <libm-alias-float.h>.
18160 (llroundf): Define using libm_alias_float.
18161 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18162 <libm-alias-float.h>.
18163 (sinf): Define using libm_alias_float.
18165 2017-12-04 Florian Weimer <fweimer@redhat.com>
18167 * support/check.h (TEST_COMPARE): Define.
18168 (support_test_compare_failure): Declare.
18169 * support/Makefile (libsupport-routines): Add
18170 support_test_compare_failure.
18171 (tests): Add tst-test_compare.
18172 * support /support_test_compare_failure.c: New file.
18173 * support/tst-test_compare.c: Likewise.
18175 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18178 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18179 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18180 available, this rewrite of the collation rules does reproduce
18181 the test file in the same order.
18183 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18186 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18187 digraphs in the month and day names. Using single code points for
18188 digraphs is deprecated. While there are dedicated Unicode
18189 codepoints, for the digraphs, these are included for backwards
18190 compatibility and modern texts use a sequence of Basic Latin
18191 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18192 This makes the month and day names agree exactly with CLDR now,
18193 CLDR does not use the single code points for the digraphs either.
18195 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18197 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18199 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18201 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18204 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18206 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18207 Define only for libc.so.
18209 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18211 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18212 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18213 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18214 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18217 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18220 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18222 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18225 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18226 PREINIT_FUNCTION_WEAK is nonzero.
18227 (gmon_initializer): New function. Put procedure label for it in
18228 .init_array section.
18229 (_init): Don't call PREINIT_FUNCTION.
18230 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18231 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18232 value when map argument is null.
18234 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18235 depi instruction from PIC pc-relative sequence.
18236 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18237 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18238 (elf_machine_load_address): Likewise.
18239 (elf_machine_runtime_setup): Likewise.
18241 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18243 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18244 <libm-alias-double.h>.
18245 (logb): Define using libm_alias_double.
18246 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18247 <libm-alias-double.h>.
18248 (copysign): Define using libm_alias_double.
18249 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18250 <libm-alias-double.h>.
18251 (llrint): Define using libm_alias_double.
18252 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18253 <libm-alias-double.h>.
18254 (llround): Define using libm_alias_double.
18255 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18256 <libm-alias-double.h>.
18257 (lrint): Define using libm_alias_double.
18258 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18259 <libm-alias-double.h>.
18260 (lround): Define using libm_alias_double.
18261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18262 Include <libm-alias-double.h>.
18263 (copysign): Define using libm_alias_double.
18264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18265 Include <libm-alias-double.h>.
18266 (llrint): Define using libm_alias_double.
18267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18268 Include <libm-alias-double.h>.
18269 (llround): Define using libm_alias_double.
18270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18271 <libm-alias-double.h>.
18272 (logb): Define using libm_alias_double.
18273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18274 Include <libm-alias-double.h>.
18275 (lrint): Define using libm_alias_double.
18276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18277 Include <libm-alias-double.h>.
18278 (lround): Define using libm_alias_double.
18279 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18280 <libm-alias-double.h>.
18281 (llrint): Define using libm_alias_double.
18282 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18283 <libm-alias-double.h>.
18284 (llround): Define using libm_alias_double.
18285 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18286 <libm-alias-double.h>.
18287 (llround): Define using libm_alias_double.
18288 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18289 <libm-alias-double.h>.
18290 (lround): Define using libm_alias_double.
18291 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18292 <libm-alias-double.h>.
18293 (copysign): Define using libm_alias_double.
18294 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18295 <libm-alias-double.h>.
18296 (llrint): Define using libm_alias_double.
18297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18298 <libm-alias-double.h>.
18299 (llround): Define using libm_alias_double.
18300 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18301 <libm-alias-double.h>.
18302 (lrint): Define using libm_alias_double.
18303 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18304 <libm-alias-double.h>.
18305 (lround): Define using libm_alias_double.
18306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18307 <libm-alias-double.h>.
18308 (copysign): Define using libm_alias_double.
18309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18310 <libm-alias-double.h>.
18311 (llrint): Define using libm_alias_double.
18313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18314 <libm-alias-double.h>.
18315 (llround): Define using libm_alias_double.
18316 (lround): Likewise.
18317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18318 <libm-alias-double.h>.
18319 (logb): Define using libm_alias_double.
18320 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18321 <libm-alias-double.h>.
18322 (copysign): Define using libm_alias_double.
18323 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18324 <libm-alias-double.h>.
18325 (llrint): Define using libm_alias_double.
18327 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18328 <libm-alias-double.h>.
18329 (llround): Define using libm_alias_double.
18330 (lround): Likewise.
18331 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18332 <libm-alias-double.h>.
18333 (llround): Define using libm_alias_double.
18334 (lround): Likewise.
18335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18336 <libm-alias-double.h>.
18337 (copysign): Define using libm_alias_double.
18338 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18339 <libm-alias-double.h>.
18340 (llrint): Define using libm_alias_double.
18342 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18343 <libm-alias-double.h>.
18344 (llround): Define using libm_alias_double.
18345 (lround): Likewise.
18346 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18347 <libm-alias-double.h>.
18348 (llrint): Define using libm_alias_double.
18350 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18351 <libm-alias-double.h>.
18352 (llround): Define using libm_alias_double.
18353 (lround): Likewise.
18355 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18358 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18359 compat symbol based on llround.
18361 * sysdeps/powerpc/power7/fpu/s_logb.c
18362 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18363 symbol based on __logb, not on logb.
18364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
18365 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
18367 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18369 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
18370 (rint): Define using libm_alias_double.
18371 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
18372 <libm-alias-double.h>.
18373 (modf): Define using libm_alias_double.
18374 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
18375 <libm-alias-double.h>.
18376 (ceil): Define using libm_alias_double.
18377 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
18378 <libm-alias-double.h>.
18379 (floor): Define using libm_alias_double.
18380 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
18381 <libm-alias-double.h>.
18382 (nearbyint): Define using libm_alias_double.
18383 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
18384 <libm-alias-double.h>.
18385 (rint): Define using libm_alias_double.
18386 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
18387 <libm-alias-double.h>.
18388 (round): Define using libm_alias_double.
18389 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
18390 <libm-alias-double.h>.
18391 (trunc): Define using libm_alias_double.
18392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
18393 <libm-alias-double.h>.
18394 (ceil): Define using libm_alias_double.
18395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
18396 Include <libm-alias-double.h>.
18397 (floor): Define using libm_alias_double.
18398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
18399 <libm-alias-double.h>.
18400 (modf): Define using libm_alias_double.
18401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
18402 Include <libm-alias-double.h>.
18403 (round): Define using libm_alias_double.
18404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
18405 Include <libm-alias-double.h>.
18406 (trunc): Define using libm_alias_double.
18407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
18408 <libm-alias-double.h>.
18409 (ceil): Define using libm_alias_double.
18410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
18411 <libm-alias-double.h>.
18412 (floor): Define using libm_alias_double.
18413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
18414 <libm-alias-double.h>.
18415 (round): Define using libm_alias_double.
18416 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
18417 <libm-alias-double.h>.
18418 (trunc): Define using libm_alias_double.
18419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
18420 <libm-alias-double.h>.
18421 (ceil): Define using libm_alias_double.
18422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
18423 <libm-alias-double.h>.
18424 (floor): Define using libm_alias_double.
18425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
18426 <libm-alias-double.h>.
18427 (modf): Define using libm_alias_double.
18428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
18429 <libm-alias-double.h>.
18430 (round): Define using libm_alias_double.
18431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
18432 <libm-alias-double.h>.
18433 (trunc): Define using libm_alias_double.
18434 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
18435 <libm-alias-double.h>.
18436 (ceil): Define using libm_alias_double.
18437 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
18438 <libm-alias-double.h>.
18439 (floor): Define using libm_alias_double.
18440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
18441 <libm-alias-double.h>.
18442 (nearbyint): Define using libm_alias_double.
18443 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
18444 <libm-alias-double.h>.
18445 (rint): Define using libm_alias_double.
18446 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
18447 <libm-alias-double.h>.
18448 (round): Define using libm_alias_double.
18449 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
18450 <libm-alias-double.h>.
18451 (trunc): Define using libm_alias_double.
18452 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
18453 <libm-alias-double.h>.
18454 (ceil): Define using libm_alias_double.
18455 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
18456 <libm-alias-double.h>.
18457 (floor): Define using libm_alias_double.
18458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
18459 <libm-alias-double.h>.
18460 (round): Define using libm_alias_double.
18461 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
18462 <libm-alias-double.h>.
18463 (trunc): Define using libm_alias_double.
18465 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
18466 (fabs): Define using libm_alias_double.
18467 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
18468 (fma): Define using libm_alias_double.
18469 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
18470 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
18471 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
18472 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
18474 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18476 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
18478 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
18479 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
18480 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
18483 due redirect macro.
18485 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
18487 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
18489 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18491 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
18492 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
18493 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
18494 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18497 (libm-sysdep_routines): Add s_nearbyintf-generic and
18498 s_nearbyint-generic.
18499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
18501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
18504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
18506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
18508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18512 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
18513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
18518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
18519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
18520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18523 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
18524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
18526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
18527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
18529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
18530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
18531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
18533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18534 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
18540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18545 (sysdep_calls): New rule.
18546 (sysdep_routines): Use sysdep_calls as base.
18547 (libm-sysdep_routines): Add generic rule for symbols shared with
18548 libc. Add s_copysign-generic and s_copysign-generic objects.
18549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
18551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
18552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
18554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
18556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
18558 2017-12-01 Mike FABIAN <mfabian@redhat.com>
18561 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
18562 the list of locales to be built for testing.
18563 * localedata/is_IS.UTF-8.in: New file.
18564 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
18567 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18569 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
18570 <libm-alias-float.h>.
18571 (fabsf): Define using libm_alias_float.
18573 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18575 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
18577 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18579 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
18580 <libm-alias-float.h>.
18581 (fabsf): Define using libm_alias_float.
18582 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
18583 <libm-alias-float.h>.
18584 (lrintf): Define using libm_alias_float.
18585 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
18586 <libm-alias-float.h>.
18587 (rintf): Define using libm_alias_float.
18589 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
18590 <libm-alias-double.h>.
18591 (fabs): Define using libm_alias_double.
18592 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
18593 <libm-alias-double.h>.
18594 (lrint): Define using libm_alias_double.
18595 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
18596 <libm-alias-double.h>.
18597 (rint): Define using libm_alias_double.
18599 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
18600 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
18601 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
18602 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
18603 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
18604 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
18605 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
18606 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
18607 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
18608 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
18609 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
18610 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
18611 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
18612 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
18613 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
18614 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
18615 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
18616 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
18618 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
18619 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
18620 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
18622 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
18623 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
18624 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
18626 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
18627 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
18628 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
18629 s_expm1_template.c.
18630 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
18631 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
18632 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
18634 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
18635 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
18636 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
18637 s_floor_template.c.
18638 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
18639 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
18640 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
18641 s_frexp_template.c.
18642 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
18643 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
18644 s_lrint_template.c.
18645 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
18646 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
18647 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
18649 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
18650 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
18651 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
18652 s_nearbyint_template.c.
18653 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
18654 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
18655 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
18656 s_remquo_template.c.
18657 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
18658 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
18659 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
18661 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
18662 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
18663 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
18665 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
18666 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
18667 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
18668 s_sincos_template.c.
18669 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
18670 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
18671 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
18673 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
18674 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
18675 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
18677 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
18678 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
18679 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
18680 s_trunc_template.c.
18681 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
18682 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
18683 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
18684 s_atan.c instead of including s_atan.c.
18685 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
18686 s_atanf.c instead of including s_atanf.c.
18687 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
18688 s_atanl.c instead of including s_atanl.c.
18689 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
18690 instead of s_atan.c.
18691 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
18692 instead of s_atanf.c.
18693 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
18694 instead of s_atanl.c.
18696 * scripts/update-copyrights: Do not handle intl/plural.c
18699 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
18702 * configure.ac (BISON): Require to be present.
18703 * configure: Regenerated.
18704 * intl/Makefile (generated): Add plural.c.
18705 [$(BISON) != no]: Make code unconditional.
18706 (plural.c): Change rule to $(objpfx)plural.c.
18707 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
18708 * intl/plural.c: Remove.
18709 * manual/install.texi (Tools for Compilation): Document bison as
18711 * INSTALL: Regenerated.
18713 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18715 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
18716 <libm-alias-double.h>.
18717 (llrint): Define using libm_alias_double.
18718 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
18719 <libm-alias-float.h>.
18720 (llrintf): Define using libm_alias_float.
18721 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
18722 <libm-alias-ldouble.h>.
18723 (llrintl): Define using libm_alias_ldouble.
18725 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
18726 declare_mgen_alias instead of weak_alias.
18727 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
18728 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
18729 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
18731 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18733 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18735 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
18736 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
18737 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
18739 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18740 Add submul_1-generic.
18741 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
18742 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
18743 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
18745 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18746 Add addmul_1-generic.
18747 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
18748 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
18749 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
18751 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18753 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
18754 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
18755 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
18757 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18759 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
18760 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
18761 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
18763 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18765 According to CLDR, collation rules for Serbian and Bosnian
18766 should be the same as for Croatian.
18769 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
18770 and to the list of locales to be built for testing.
18771 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18772 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18773 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
18774 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
18776 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18778 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
18779 to make test case pass.
18780 * localedata/hr_HR.UTF-8.in: Add more test strings.
18782 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18784 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
18786 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
18788 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
18789 the list of locales to built for testing.
18790 * localedata/hr_HR.UTF-8.in: New file.
18792 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
18795 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
18797 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
18798 CLDR (except use ligatures for the digraphs, CLDR does not use
18799 the ligatures), add first_workday, some fixes in the date and time
18801 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
18803 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
18804 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
18805 Add int_p_cs_precedes and int_n_cs_precedes.
18806 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
18807 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
18809 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
18810 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
18812 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
18813 and lang_lib. Change postal_fmt.
18815 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18817 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
18819 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18820 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
18821 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18822 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
18823 * sysdeps/generic/setjmpP.h: New file.
18824 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
18825 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
18826 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
18827 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
18828 Add jmp_buf-ssp.sym.
18829 (tests): Add tst-saved_mask-1.
18831 2017-11-30 Arjun Shankar <arjun@redhat.com>
18835 * malloc/malloc.c (__libc_malloc): Use checked_request2size
18836 instead of request2size.
18838 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
18841 (__lllrint): Remove alias.
18842 (lllrint): Likewise.
18843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
18844 (__lllrintf): Likewise.
18845 (lllrintf): Likewise.
18847 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
18848 <libm-alias-float.h>.
18849 (copysignf): Define using libm_alias_float.
18850 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
18851 <libm-alias-float.h>.
18852 (fabsf): Define using libm_alias_float.
18853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18854 Include <libm-alias-float.h>.
18855 (copysignf): Define using libm_alias_float.
18856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
18857 <libm-alias-float.h>.
18858 (fabsf): Define using libm_alias_float.
18859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
18860 <libm-alias-float.h>.
18861 (fdimf): Define using libm_alias_float.
18862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
18863 <libm-alias-float.h>.
18864 (fmaf): Define using libm_alias_float.
18865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
18866 <libm-alias-float.h>.
18867 (llrintf): Define using libm_alias_float.
18868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18869 Include <libm-alias-float.h>.
18870 (nearbyintf): Define using libm_alias_float.
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
18872 <libm-alias-float.h>.
18873 (rintf): Define using libm_alias_float.
18874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
18875 <libm-alias-float.h>.
18876 (llrintf): Define using libm_alias_float.
18877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
18878 <libm-alias-float.h>.
18879 (lrintf): Define using libm_alias_float.
18880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
18881 <libm-alias-float.h>.
18882 (nearbyintf): Define using libm_alias_float.
18883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
18884 <libm-alias-float.h>.
18885 (rintf): Define using libm_alias_float.
18886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
18887 <libm-alias-float.h>.
18888 (ceilf): Define using libm_alias_float.
18889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
18890 <libm-alias-float.h>.
18891 (floorf): Define using libm_alias_float.
18892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
18893 <libm-alias-float.h>.
18894 (fmaf): Define using libm_alias_float.
18895 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
18896 <libm-alias-float.h>.
18897 (lrintf): Define using libm_alias_float.
18898 (llrintf): Likewise.
18899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
18900 <libm-alias-float.h>.
18901 (nearbyintf): Define using libm_alias_float.
18902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
18903 <libm-alias-float.h>.
18904 (rintf): Define using libm_alias_float.
18905 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
18906 <libm-alias-float.h>.
18907 (truncf): Define using libm_alias_float.
18908 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
18909 <libm-alias-float.h>.
18910 (copysignf): Define using libm_alias_float.
18911 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
18912 <libm-alias-float.h>.
18913 (fabsf): Define using libm_alias_float.
18914 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
18915 <libm-alias-float.h>.
18916 (lrintf): Define using libm_alias_float.
18917 (llrintf): Likewise.
18918 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
18919 <libm-alias-float.h>.
18920 (nearbyintf): Define using libm_alias_float.
18921 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
18922 <libm-alias-float.h>.
18923 (rintf): Define using libm_alias_float.
18925 2017-11-29 Joseph Myers <joseph@codesourcery.com>
18927 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
18928 <libm-alias-double.h>.
18929 (copysign): Define using libm_alias_double.
18930 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
18931 <libm-alias-double.h>.
18932 (fabs): Define using libm_alias_double.
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18934 Include <libm-alias-double.h>.
18935 (copysign): Define using libm_alias_double.
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
18937 <libm-alias-double.h>.
18938 (fabs): Define using libm_alias_double.
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
18940 <libm-alias-double.h>.
18941 (fdim): Define using libm_alias_double.
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
18943 <libm-alias-double.h>.
18944 (fma): Define using libm_alias_double.
18945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
18946 <libm-alias-double.h>.
18947 (llrint): Define using libm_alias_double.
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
18949 Include <libm-alias-double.h>.
18950 (nearbyint): Define using libm_alias_double.
18951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
18952 <libm-alias-double.h>.
18953 (rint): Define using libm_alias_double.
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
18955 <libm-alias-double.h>.
18956 (fabs): Define using libm_alias_double.
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
18958 <libm-alias-double.h>.
18959 (llrint): Define using libm_alias_double.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
18961 <libm-alias-double.h>.
18962 (nearbyint): Define using libm_alias_double.
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
18964 <libm-alias-double.h>.
18965 (rint): Define using libm_alias_double.
18966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
18967 <libm-alias-double.h>.
18968 (ceil): Define using libm_alias_double.
18969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
18970 <libm-alias-double.h>.
18971 (floor): Define using libm_alias_double.
18972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
18973 <libm-alias-double.h>.
18974 (fma): Define using libm_alias_double.
18975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
18976 <libm-alias-double.h>.
18977 (lrint): Define using libm_alias_double.
18978 (llrint): Likewise.
18979 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
18980 <libm-alias-double.h>.
18981 (nearbyint): Define using libm_alias_double.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
18983 <libm-alias-double.h>.
18984 (rint): Define using libm_alias_double.
18985 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
18986 <libm-alias-double.h>.
18987 (trunc): Define using libm_alias_double.
18988 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
18989 <libm-alias-double.h>.
18990 (copysign): Define using libm_alias_double.
18991 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
18992 <libm-alias-double.h>.
18993 (fabs): Define using libm_alias_double.
18994 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
18995 <libm-alias-double.h>.
18996 (lrint): Define using libm_alias_double.
18997 (llrint): Likewise.
18998 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
18999 <libm-alias-double.h>.
19000 (nearbyint): Define using libm_alias_double.
19001 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19002 <libm-alias-double.h>.
19003 (rint): Define using libm_alias_double.
19006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19008 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19010 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19011 SPARC --disable-multi-arch glibc variants.
19013 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19014 <libm-alias-float.h>.
19015 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19017 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19018 <libm-alias-float.h>.
19019 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19021 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19022 <libm-alias-float.h>.
19023 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19025 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19026 <libm-alias-float.h>.
19027 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19029 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19030 <libm-alias-float.h>.
19031 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19033 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19034 <libm-alias-float.h>.
19035 (ceilf): Define using libm_alias_float.
19036 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19037 <libm-alias-float.h>.
19038 (floorf): Define using libm_alias_float.
19039 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19040 <libm-alias-float.h>.
19041 (fmaf): Define using libm_alias_float.
19042 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19043 <libm-alias-float.h>.
19044 (nearbyintf): Define using libm_alias_float.
19045 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19046 <libm-alias-float.h>.
19047 (rintf): Define using libm_alias_float.
19048 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19049 <libm-alias-float.h>.
19050 (truncf): Define using libm_alias_float.
19051 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19052 (copysignf): Define using libm_alias_float.
19053 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19054 (cosf): Define using libm_alias_float.
19055 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19056 (fabsf): Define using libm_alias_float.
19057 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19058 (fmaxf): Define using libm_alias_float.
19059 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19060 (fminf): Define using libm_alias_float.
19061 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19062 (llrintf): Define using libm_alias_float.
19063 [!__ILP32__] (lrintf): Likewise.
19064 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19065 (sincosf): Define using libm_alias_float.
19066 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19067 (sinf): Define using libm_alias_float.
19068 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19069 (lrintf): Define using libm_alias_float.
19071 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19072 <libm-alias-double.h>.
19073 (atan): Define using libm_alias_double.
19074 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19075 <libm-alias-double.h>.
19076 (ceil): Define using libm_alias_double.
19077 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19078 <libm-alias-double.h>.
19079 (floor): Define using libm_alias_double.
19080 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19081 <libm-alias-double.h>.
19082 (fma): Define using libm_alias_double.
19083 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19084 <libm-alias-double.h>.
19085 (nearbyint): Define using libm_alias_double.
19086 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19087 <libm-alias-double.h>.
19088 (rint): Define using libm_alias_double.
19089 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19090 <libm-alias-double.h>.
19091 (sin): Define using libm_alias_double.
19093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19094 <libm-alias-double.h>.
19095 (tan): Define using libm_alias_double.
19096 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19097 <libm-alias-double.h>.
19098 (trunc): Define using libm_alias_double.
19099 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19100 (copysign): Define using libm_alias_double.
19101 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19102 (fabs): Define using libm_alias_double.
19103 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19104 (fmax): Define using libm_alias_double.
19105 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19106 (fmin): Define using libm_alias_double.
19107 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19108 (llrint): Define using libm_alias_double.
19109 [!__ILP32__] (lrint): Likewise.
19110 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19111 (lrint): Define using libm_alias_double.
19113 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19116 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19126 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19136 (libm-sysdep_routines): Add s_nearbyint-generic and
19137 s_nearbyintf-generic objects.
19138 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19139 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19140 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19142 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19146 Add s_finitef-generic and s_finite-generic objects.
19147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19155 Add s_isinff-generic and s_isinf-generic objects.
19156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19164 Add s_isnanf-generic and s_isnan-generic objects.
19165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19172 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19176 (sysdep_routines): Use sysdep_calls as base.
19177 (libm-sysdep_routines): Add generic rule for symbols shared with
19178 libc. Add s_signbit-generic and s_signbitf-generic objects.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19186 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19188 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19189 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19190 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19191 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19192 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19193 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19194 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19195 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19196 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19197 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19198 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19199 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19200 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19201 libm_alias_float_r.
19202 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19203 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19205 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19206 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19207 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19208 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19209 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19210 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19211 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19212 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19213 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19214 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19216 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19218 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19219 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19220 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19221 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19222 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19223 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19224 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19225 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19226 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19227 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19228 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19229 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19230 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19231 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19232 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19233 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19234 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19235 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19236 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19238 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19239 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19240 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19241 * sysdeps/ia64/fpu/w_lgammaf_main.c
19242 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19243 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19245 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19246 Alexandre Oliva <aoliva@redhat.com>
19249 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19250 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19252 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19254 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19255 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19256 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19257 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19258 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19259 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19260 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19261 instead of “ifdef DIACRIT_BACKWARD”.
19263 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19265 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19266 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19267 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19268 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19269 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19270 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19277 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19278 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19279 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19280 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19281 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19282 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19284 ($(have-as-vis3) == yes): Remove conditional.
19285 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19301 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19302 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19304 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19306 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19307 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19308 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19309 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19310 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19311 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19312 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19313 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19314 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19315 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19316 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19317 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19318 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19319 libm_alias_double_r.
19320 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19322 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19323 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19324 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19325 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19326 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19327 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19328 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19329 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19330 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19331 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19332 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19334 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19336 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19337 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19338 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19339 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19340 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19341 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19342 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19343 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19344 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19345 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19346 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19347 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19348 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19349 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19350 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19351 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19352 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19353 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19355 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19356 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19357 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19358 * sysdeps/ia64/fpu/w_lgamma_main.c
19359 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19360 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19362 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
19364 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
19365 address of $global$ into %dp register earlier. Use pc-relative
19366 instruction sequence for PIC case.
19368 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19370 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
19371 (asinhf): Define using libm_alias_float.
19372 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
19373 (atanf): Define using libm_alias_float.
19374 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
19375 (cbrtf): Define using libm_alias_float.
19376 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
19377 (ceilf): Define using libm_alias_float.
19378 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19379 (copysignf): Define using libm_alias_float.
19380 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
19381 (expm1f): Define using libm_alias_float.
19382 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
19383 (fabsf): Define using libm_alias_float.
19384 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
19385 (floorf): Define using libm_alias_float.
19386 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19387 (fmaxf): Define using libm_alias_float.
19388 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
19389 (fminf): Define using libm_alias_float.
19390 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
19391 (frexpf): Define using libm_alias_float.
19392 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19393 (llrintf): Define using libm_alias_float.
19394 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
19395 (logbf): Define using libm_alias_float.
19396 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19397 (lrintf): Define using libm_alias_float.
19398 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
19399 (nearbyintf): Define using libm_alias_float.
19400 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
19401 (remquof): Define using libm_alias_float.
19402 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
19403 (rintf): Define using libm_alias_float.
19404 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
19405 (truncf): Define using libm_alias_float.
19406 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
19407 <libm-alias-float.h>.
19408 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19410 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
19411 <libm-alias-float.h>.
19412 (expf): Define using libm_alias_float, or libm_alias_float_other
19414 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
19415 <libm-alias-float.h>.
19416 (log2f): Define using libm_alias_float, or libm_alias_float_other
19418 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
19419 <libm-alias-float.h>.
19420 (logf): Define using libm_alias_float, or libm_alias_float_other
19422 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
19423 <libm-alias-float.h>.
19424 (powf): Define using libm_alias_float, or libm_alias_float_other
19426 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
19427 <libm-alias-float.h>.
19428 (cosf): Define using libm_alias_float.
19429 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
19430 <libm-alias-float.h>.
19431 (sincosf): Define using libm_alias_float.
19432 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
19433 <libm-alias-float.h>.
19434 (sinf): Define using libm_alias_float.
19435 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19436 (fmaxf): Define using libm_alias_float.
19437 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
19438 (fminf): Define using libm_alias_float.
19439 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19440 <libm-alias-float.h>.
19441 (fmaf): Define using libm_alias_float.
19443 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
19444 (asinh): Define using libm_alias_double.
19445 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
19446 (atan): Define using libm_alias_double.
19447 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
19448 (cbrt): Define using libm_alias_double.
19449 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
19450 (ceil): Define using libm_alias_double.
19451 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
19452 (copysign): Define using libm_alias_double.
19453 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
19454 (expm1): Define using libm_alias_double.
19455 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
19456 (fabs): Define using libm_alias_double.
19457 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
19458 (fdim): Define using libm_alias_double.
19459 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
19460 (floor): Define using libm_alias_double.
19461 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
19462 (fmax): Define using libm_alias_double.
19463 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
19464 (fmin): Define using libm_alias_double.
19465 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
19466 (frexp): Define using libm_alias_double.
19467 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
19468 (llrint): Define using libm_alias_double.
19469 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
19470 (logb): Define using libm_alias_double.
19471 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
19472 (lrint): Define using libm_alias_double.
19473 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
19474 (nearbyint): Define using libm_alias_double.
19475 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
19476 (remquo): Define using libm_alias_double.
19477 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
19478 (rint): Define using libm_alias_double.
19479 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
19480 (trunc): Define using libm_alias_double.
19481 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
19482 (fmax): Define using libm_alias_double.
19483 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
19484 (fmin): Define using libm_alias_double.
19485 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
19486 (fma): Define using libm_alias_double.
19488 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
19491 * elf/dl-hwcaps.c (ROUND): Removed.
19492 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
19493 and ELF_NOTE_NEXT_OFFSET.
19494 * elf/dl-load.c (ROUND): Removed.
19495 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19496 * elf/readelflib.c (ROUND): Removed.
19497 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19498 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
19499 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
19500 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
19502 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19504 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19505 [!__fmaf] (fmaf): Define using libm_alias_float.
19507 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
19508 [!__fma] (fma): Define using libm_alias_double.
19509 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
19511 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19514 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
19515 and implement the collation rules for cs from CLDR on top of that.
19516 * Makefile: Add cs_CZ.UTF-8 to test-input.
19517 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
19519 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
19521 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
19523 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19524 Icarus Sparry <icarus.w.sparry@intel.com>
19526 * benchtests/Makefile:Add BENCHSET to allow subsets of
19527 benchmarks to be run.
19528 * benchtests/README: Add documentation for: Running subsets of
19531 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19533 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
19534 range of tests names.
19536 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
19537 result from property and remove "max", min" and "mean" from
19538 required properties based on benchtests/bench-skeleton.c.
19540 2017-11-28 Florian Weimer <fweimer@redhat.com>
19543 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
19544 due to Internet requirement.
19545 * posix/Makefile (tests): Remove tst-getaddrinfo4,
19547 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
19549 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19551 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19552 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
19553 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19554 (sysdep_routines): Add memset-ultra1.
19555 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
19557 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
19558 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
19559 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
19560 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
19561 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
19562 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
19563 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
19564 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19566 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
19568 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
19569 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
19570 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
19571 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
19572 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
19573 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
19574 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
19576 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19577 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
19578 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19579 (sysdep_routines): Add memcpy-ultra1.
19580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
19581 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
19583 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19585 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
19586 (cfloat_versions): Take function argument without trailing 'f'.
19587 Call libm_alias_float_other.
19588 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
19589 * sysdeps/alpha/fpu/cargf.c: Likewise.
19590 * sysdeps/alpha/fpu/cimagf.c: Likewise.
19591 * sysdeps/alpha/fpu/conjf.c: Likewise.
19592 * sysdeps/alpha/fpu/crealf.c: Likewise.
19593 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
19594 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
19595 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
19596 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
19597 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
19598 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
19599 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
19600 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19601 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
19602 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
19603 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
19604 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
19605 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
19606 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
19607 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
19608 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
19609 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
19610 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
19611 (clog10f): Use libm_alias_float_other.
19612 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19613 (ceilf): Define using libm_alias_float.
19614 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
19615 (copysignf): Define using libm_alias_float.
19616 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19617 (fabsf): Define using libm_alias_float.
19618 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
19619 (floorf): Define using libm_alias_float.
19620 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
19621 (fmaxf): Define using libm_alias_float.
19622 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
19623 (fminf): Define using libm_alias_float.
19624 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19625 (lrintf): Define using libm_alias_float.
19626 (llrintf): Likewise.
19627 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19628 (lroundf): Define using libm_alias_float.
19629 (llroundf): Likewise.
19630 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
19631 (rintf): Define using libm_alias_float.
19632 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
19633 (truncf): Define using libm_alias_float.
19635 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19636 (ceilf): Define using libm_alias_float.
19637 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
19638 (floorf): Define using libm_alias_float.
19639 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19640 (fmaf): Define using libm_alias_float.
19641 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
19642 (fmaxf): Define using libm_alias_float.
19643 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
19644 (fminf): Define using libm_alias_float.
19645 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
19646 (llrintf): Define using libm_alias_float.
19647 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
19648 (llroundf): Define using libm_alias_float.
19649 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19650 (lrintf): Define using libm_alias_float.
19651 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19652 (lroundf): Define using libm_alias_float.
19653 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
19654 <libm-alias-float.h>.
19655 (nearbyintf): Define using libm_alias_float.
19656 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
19657 (rintf): Define using libm_alias_float.
19658 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
19659 (roundf): Define using libm_alias_float.
19660 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
19661 (truncf): Define using libm_alias_float.
19663 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
19664 (ceil): Define using libm_alias_double.
19665 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
19666 (copysign): Define using libm_alias_double.
19667 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
19668 (fabs): Define using libm_alias_double.
19669 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
19670 (floor): Define using libm_alias_double.
19671 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
19672 (fmax): Define using libm_alias_double.
19673 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
19674 (fmin): Define using libm_alias_double.
19675 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
19676 (lrint): Define using libm_alias_double.
19677 (llrint): Likewise.
19678 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
19679 (lround): Define using libm_alias_double.
19680 (llround): Likewise.
19681 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
19682 (rint): Define using libm_alias_double.
19683 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
19684 (trunc): Define using libm_alias_double.
19686 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
19687 (libm_alias_double_r): Add semicolon after weak_alias call.
19689 2017-11-27 Joseph Myers <joseph@codesourcery.com>
19691 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
19692 (ceil): Define using libm_alias_double.
19693 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
19694 (floor): Define using libm_alias_double.
19695 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
19696 (fma): Define using libm_alias_double.
19697 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
19698 (fmax): Define using libm_alias_double.
19699 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
19700 (fmin): Define using libm_alias_double.
19701 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
19702 (llrint): Define using libm_alias_double.
19703 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
19704 (llround): Define using libm_alias_double.
19705 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
19706 (lrint): Define using libm_alias_double.
19707 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
19708 (lround): Define using libm_alias_double.
19709 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
19710 (nearbyint): Define using libm_alias_double.
19711 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
19712 (rint): Define using libm_alias_double.
19713 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
19714 (round): Define using libm_alias_double.
19715 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
19716 (trunc): Define using libm_alias_double.
19718 2017-11-27 Florian Weimer <fweimer@redhat.com>
19720 * sysdeps/unix/sysv/linux/mlock2.c: New file.
19721 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
19722 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
19723 (tests): Add tst-mlock2.
19724 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
19725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
19726 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
19727 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
19728 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
19729 for mlock. Document mlock2.
19731 2017-11-27 Joseph Myers <joseph@codesourcery.com>
19733 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
19734 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
19736 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
19738 * sysdeps/x86/Makeconfig: New file.
19739 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
19740 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19741 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
19742 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19743 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19744 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19745 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
19747 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19748 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19749 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19750 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19751 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19752 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19753 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19754 * manual/math.texi (Mathematics): Document support for _Float64x.
19755 * math/Versions (GLIBC_2.27): Add _Float64x functions.
19756 * stdlib/Versions (GLIBC_2.27): Likewise.
19757 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19758 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19759 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19760 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19761 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19762 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19763 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19764 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19765 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19766 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19767 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19768 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19773 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19774 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19775 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19776 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19777 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19778 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19779 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19780 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19781 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19782 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19783 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19784 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19785 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19786 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19788 2017-11-27 Andreas Schwab <schwab@suse.de>
19790 * elf/Makefile (dl-routines): Add dl-sort-maps.
19791 * elf/dl-sort-maps.c: New file.
19792 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
19793 (_dl_sort_maps): Declare.
19794 * elf/dl-fini.c (_dl_sort_fini): Remove.
19795 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
19796 * elf/dl-close.c (_dl_close_worker): Likewise.
19797 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
19799 * elf/dl-open.c (dl_open_worker): Likewise.
19801 2017-11-24 Joseph Myers <joseph@codesourcery.com>
19803 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
19804 using libm_alias_float128.
19805 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
19807 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
19809 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
19810 (setpayloadsigf128): Likewise.
19811 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
19813 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
19816 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
19817 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
19818 -mfloat128 to CFLAGS.
19820 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
19822 (CFLAGS-libm-test-support-float64x.c): New variable.
19823 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
19824 $(f128-loader-link) to gnulib-tests.
19826 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
19827 (libm_alias_float128_other_r): If
19828 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
19830 (libm_alias_float128_r): Add semicolon after weak_alias call.
19831 * sysdeps/generic/libm-alias-ldouble.h
19832 (libm_alias_ldouble_other_r_f128): New macro.
19833 (libm_alias_ldouble_other_r_f64x): Likewise.
19834 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19835 and libm_alias_ldouble_other_r_f64x.
19836 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
19837 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
19838 (libm_alias_ldouble_other_r_f128): New macro.
19839 (libm_alias_ldouble_other_r_f64x): Likewise.
19840 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19841 and libm_alias_ldouble_other_r_f64x.
19843 * stdlib/strfroml.c: Always include <stdlib.h>.
19844 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
19845 undefine as macro and define as weak alias.
19846 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
19847 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
19849 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
19850 Define and later undefine as macro and define as weak alias.
19852 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19853 Define and later undefine as macro. Define as weak alias if
19855 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
19856 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19857 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
19858 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19859 Define and later undefine as macro. Define as weak alias if
19861 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
19862 Define and later undefine as macro. Define as weak alias if
19864 * sysdeps/ieee754/float128/strtof128_l.c
19865 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
19866 Define and later undefine as macro. Define as weak alias if
19868 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
19869 Define and later undefine as macro. Define as weak alias if
19871 * sysdeps/ieee754/ldbl-128/strtold_l.c
19872 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19873 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19874 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19875 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19876 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
19877 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19878 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19879 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19880 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19881 * sysdeps/ieee754/ldbl-96/strtold_l.c
19882 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19883 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19884 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19885 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19887 * math/test-float64x.h: New file.
19888 * math/Makefile (type-float64x-yes): New variable.
19889 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
19891 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
19892 function-like macro.
19893 (min_of_type_): Likewise.
19894 (min_of_type_l): Likewise.
19895 (min_of_type_f128): Likewise.
19896 (min_of_type): Pass () as last argument of __MATH_TG.
19898 * stdlib/tst-strtod-round-skeleton.c
19899 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
19902 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
19903 for combinations of long double with _Float64 and _Float64x.
19905 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
19906 (__DECL_SIMD_cosf32): Likewise.
19907 (__DECL_SIMD_cosf64): Likewise.
19908 (__DECL_SIMD_cosf32x): Likewise.
19909 (__DECL_SIMD_cosf64x): Likewise.
19910 (__DECL_SIMD_cosf128x): Likewise.
19911 (__DECL_SIMD_sinf16): Likewise.
19912 (__DECL_SIMD_sinf32): Likewise.
19913 (__DECL_SIMD_sinf64): Likewise.
19914 (__DECL_SIMD_sinf32x): Likewise.
19915 (__DECL_SIMD_sinf64x): Likewise.
19916 (__DECL_SIMD_sinf128x): Likewise.
19917 (__DECL_SIMD_sincosf16): Likewise.
19918 (__DECL_SIMD_sincosf32): Likewise.
19919 (__DECL_SIMD_sincosf64): Likewise.
19920 (__DECL_SIMD_sincosf32x): Likewise.
19921 (__DECL_SIMD_sincosf64x): Likewise.
19922 (__DECL_SIMD_sincosf128x): Likewise.
19923 (__DECL_SIMD_logf16): Likewise.
19924 (__DECL_SIMD_logf32): Likewise.
19925 (__DECL_SIMD_logf64): Likewise.
19926 (__DECL_SIMD_logf32x): Likewise.
19927 (__DECL_SIMD_logf64x): Likewise.
19928 (__DECL_SIMD_logf128x): Likewise.
19929 (__DECL_SIMD_expf16): Likewise.
19930 (__DECL_SIMD_expf32): Likewise.
19931 (__DECL_SIMD_expf64): Likewise.
19932 (__DECL_SIMD_expf32x): Likewise.
19933 (__DECL_SIMD_expf64x): Likewise.
19934 (__DECL_SIMD_expf128x): Likewise.
19935 (__DECL_SIMD_powf16): Likewise.
19936 (__DECL_SIMD_powf32): Likewise.
19937 (__DECL_SIMD_powf64): Likewise.
19938 (__DECL_SIMD_powf32x): Likewise.
19939 (__DECL_SIMD_powf64x): Likewise.
19940 (__DECL_SIMD_powf128x): Likewise.
19942 * stdlib/Versions (libc): Move entries for wcstof128 and
19943 wcstof128_l to ....
19944 * wcsmbs/Versions (libc): ... here.
19945 Include <float128-abi.h>.
19947 2017-11-24 Florian Weimer <fweimer@redhat.com>
19949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19950 bits/mman-shared.h.
19951 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
19952 <bits/mman-shared.h>.
19953 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
19955 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
19956 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
19957 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
19958 <bits/mman-shared.h>.
19960 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19963 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
19964 posix_memalign/free.
19965 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
19967 2017-11-22 Mike FABIAN <mfabian@redhat.com>
19970 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
19971 and implement the collation rules for pl from CLDR on top of that.
19972 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
19973 of locales to be built for testing.
19974 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
19976 2017-11-23 Joseph Myers <joseph@codesourcery.com>
19978 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
19979 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
19980 libm_alias_ldouble_other.
19981 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
19982 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
19983 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
19984 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
19985 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
19986 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
19987 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
19988 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
19989 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
19990 libm_alias_ldouble_r.
19991 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
19992 libm_alias_ldouble_other.
19993 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
19994 (log10l): Likewise.
19995 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
19996 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
19997 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
19998 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
19999 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20000 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20001 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20002 (atan2l): Likewise.
20003 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20004 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20005 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20006 libm_alias_ldouble.
20007 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20009 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20010 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20011 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20013 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20014 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20015 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20016 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20017 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20018 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20019 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20020 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20021 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20022 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20023 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20024 libm_alias_ldouble.
20025 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20026 libm_alias_ldouble_other.
20027 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20028 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20029 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20030 libm_alias_ldouble.
20031 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20032 libm_alias_ldouble_other.
20033 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20034 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20035 * sysdeps/ia64/fpu/w_lgammal_main.c
20036 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20037 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20039 2017-11-23 Florian Weimer <fweimer@redhat.com>
20041 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20042 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20043 alike. Remove freeres marker.
20044 * malloc/arena.c (arena_thread_freeres): Call
20045 tcache_thread_shutdown.
20047 2017-11-23 Florian Weimer <fweimer@redhat.com>
20050 Export nscd hash function as __nss_hash.
20051 * include/nss.h (__nss_hash): Declare.
20052 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20054 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20055 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20057 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20058 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20059 * nss/Makefiles (routines): Add nss_hash.
20060 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20061 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20062 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20063 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20065 2017-11-23 Florian Weimer <fweimer@redhat.com>
20068 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20069 Return error code, not -1.
20070 * signal/tst-sigwait-eintr.c: New file.
20071 * signal/Makefile (tests): Add tst-sigwait-eintr.
20073 2017-11-23 Florian Weimer <fweimer@redhat.com>
20075 Linux: Add memfd_create system call wrapper
20076 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20078 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20079 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20080 [__USE_GNU] (memfd_create): Declare.
20081 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20082 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20083 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20084 * sysdeps/unix/sysv/linux/**.abilist: Update.
20085 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20087 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20089 * localedata/gen-locale.sh: Fix typo in variable name.
20091 * resolv/res_debug.c (p_secstodate): Condition definition on
20092 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20093 directly as __p_secstodate, and as a compat symbol. Do not use
20094 libresolv_hidden_def.
20095 * resolv/resolv.h (p_secstodate): Remove macro and function
20097 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20098 using p_secstodate.
20099 * include/resolv.h (__p_secstodate): Do not use
20100 libresolv_hidden_proto.
20101 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20102 (tests-internal): ... here.
20103 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20104 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20105 and declare and use __p_secstodate and use compat_symbol_reference
20107 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20108 implementation returning 77.
20111 * resolv/res_debug.c: Include <libc-diag.h>.
20112 (p_secstodate): Assert time_t at least as wide as u_long. On
20113 overflow, use integer seconds since the epoch as output, or use
20114 "<overflow>" as output and set errno to EOVERFLOW if integer
20115 seconds since the epoch would be 14 or more characters.
20116 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20118 * resolv/tst-p_secstodate.c: New file.
20119 * resolv/Makefile (tests): Add tst-p_secstodate.
20120 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20122 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20123 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20124 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20126 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20128 * posix/regcomp.c (init_word_char): Add comments.
20130 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20133 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20134 strlen to compute length of ut_user and set trailing NUL byte of
20137 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20140 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20141 using “copy "iso14651_t1"” and then implementing the
20142 collation rules for lv from CLDR on top of that.
20143 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20144 of locales to be built for testing.
20145 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20148 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20150 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20151 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20152 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20153 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20154 [__USE_MISC] (MADV_HWPOISON): New macro.
20155 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20157 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20159 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20160 -Wmissing-braces on GCC 4.9.
20162 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20164 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20165 * sysdeps/s390/s390-32/start.S (_start): Likewise
20166 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20167 (thread_start): Likewise.
20168 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20169 (thread_start): Likewise.
20170 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20171 (__makecontext_ret): Likewise.
20172 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20173 (__makecontext_ret): Likewise.
20175 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20177 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20178 __wcschrnul): Remove attribute_hidden.
20180 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20182 regex: don't assume uint64_t or uint32_t
20183 This avoids -Werror=overflow errors for 32-bit systems in
20184 the 64-bit case. Problem reported by Joseph Myers in:
20185 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20186 Also, when this code is used in Gnulib it ports to platforms
20187 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20188 them, and on some 32-bit compilers there is no uint64_t.
20189 Problem reported by Gianluigi Tiesi in:
20190 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20191 * posix/regcomp.c (init_word_char): Don't assume that the types
20192 uint64_t and uint32_t exist. Adapted from Gnulib patch
20193 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20194 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20196 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20198 * sysdeps/aarch64/memset-reg.h: New file.
20199 * sysdeps/aarch64/memset.S: Use it.
20200 (__memset): Rename to MEMSET macro.
20201 [ZVA_MACRO]: Use zva_macro.
20202 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20203 Add memset_generic and memset_falkor.
20204 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20205 (__libc_ifunc_impl_list): Add memset ifuncs.
20206 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20207 local variable zva_size.
20208 * sysdeps/aarch64/multiarch/memset.c: New file.
20209 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20210 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20211 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20212 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20213 (DCZID_DZP_MASK): New macro.
20214 (DCZID_BS_MASK): Likewise.
20215 (init_cpu_features): Read and set zva_size.
20216 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20217 (struct cpu_features): New member zva_size.
20219 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20220 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20221 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20223 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20224 backwards. Fix timing computation.
20225 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20226 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20227 on memset by N at a time. Fix timing computation.
20229 2017-11-20 Florian Weimer <fweimer@redhat.com>
20231 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20232 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20234 2017-11-19 Florian Weimer <fweimer@redhat.com>
20236 manual: Document mprotect
20237 * manual/memory.texi (Memory Protection): New section.
20238 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20239 documentation of PROT_* flags and reference the Memory Protection
20242 2017-11-19 Florian Weimer <fweimer@redhat.com>
20244 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20245 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20246 (Scatter-Gather): ... to here. Remove misleading comment.
20248 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20250 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20253 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20254 when /proc/<pid>/setgroups does not exist.
20256 2017-11-18 Florian Weimer <fweimer@redhat.com>
20258 * sysdeps/unix/sysv/linux/tst-ttyname.c
20259 (become_root_in_mount_ns): Remove.
20260 (do_in_chroot_1): Call support_enter_mount_namespace.
20261 (do_in_chroot_2): Likewise.
20262 (do_test): Call support_become_root early.
20264 2017-11-18 Florian Weimer <fweimer@redhat.com>
20266 * support/namespace.h (support_enter_mount_namespace): Declare.
20267 * support/support_enter_mount_namespace.c: New file.
20268 * support/Makefile (libsupport-routines): Add
20269 support_enter_mount_namespace.
20271 2017-11-18 Florian Weimer <fweimer@redhat.com>
20273 * support/temp_file.c (support_create_temp_directory): Use
20274 test_dir and do not rely on the presence of the XXXXXX suffix.
20275 * support/temp_file.h (support_create_temp_directory): Update
20277 * support/tst-xreadlink.c (do_test): Adjust.
20278 * support/support_chroot.c (support_chroot_create): Likewise.
20280 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20282 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20284 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20287 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20289 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20290 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20291 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20292 (ceill): Define using libm_alias_ldouble.
20293 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20294 <libm-alias-ldouble.h>.
20295 (copysignl): Define using libm_alias_ldouble.
20296 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20297 (fabsl): Define using libm_alias_ldouble.
20298 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20299 (floorl): Define using libm_alias_ldouble.
20300 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20301 (fmaxl): Define using libm_alias_ldouble.
20302 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20303 (fminl): Define using libm_alias_ldouble.
20304 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20305 (llrintl): Define using libm_alias_ldouble.
20306 (lrintl): Likewise.
20307 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20308 <libm-alias-ldouble.h>.
20309 (nearbyintl): Define using libm_alias_ldouble.
20310 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20311 (truncl): Define using libm_alias_ldouble.
20312 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20313 <libm-alias-ldouble.h>.
20314 (lrintl): Define using libm_alias_ldouble.
20316 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20317 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20318 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20319 (asinhl): Define using libm_alias_ldouble.
20320 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20321 (atanl): Define using libm_alias_ldouble.
20322 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20323 (cbrtl): Define using libm_alias_ldouble.
20324 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20325 (ceill): Define using libm_alias_ldouble.
20326 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20327 (copysignl): Define using libm_alias_ldouble.
20328 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20329 (fabsl): Define using libm_alias_ldouble.
20330 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20331 (floorl): Define using libm_alias_ldouble.
20332 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20333 (fmaxl): Define using libm_alias_ldouble.
20334 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20335 (fminl): Define using libm_alias_ldouble.
20336 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20337 (frexpl): Define using libm_alias_ldouble.
20338 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20339 (llrintl): Define using libm_alias_ldouble.
20340 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20341 (logbl): Define using libm_alias_ldouble.
20342 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20343 (lrintl): Define using libm_alias_ldouble.
20344 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20345 (nearbyintl): Define using libm_alias_ldouble.
20346 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20347 (nextafterl): Define using libm_alias_ldouble.
20348 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20349 (remquol): Define using libm_alias_ldouble.
20350 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20351 (rintl): Define using libm_alias_ldouble.
20352 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20353 (truncl): Define using libm_alias_ldouble.
20354 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20355 (fmaxl): Define using libm_alias_ldouble.
20356 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20357 (fminl): Define using libm_alias_ldouble.
20359 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20360 to C syntax instead of availability and properties of types.
20361 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20362 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20363 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
20364 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
20365 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
20366 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
20368 2017-11-17 Florian Weimer <fweimer@redhat.com>
20370 support_become_root: Enable file creation in namespaces.
20371 * support/support_become_root.c (setup_mapping): New function.
20372 (support_become_root): Call it.
20374 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20376 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
20379 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20381 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
20382 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
20384 2017-11-16 Joseph Myers <joseph@codesourcery.com>
20386 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
20388 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20391 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20393 * INSTALL: Fix botched up regeneration.
20395 * NEWS: Update sourceare link to https.
20396 * configure.ac: Likewise.
20397 * crypt/md5test-giant.c: Likewise.
20398 * dlfcn/bug-atexit1.c: Likewise.
20399 * dlfcn/bug-atexit2.c: Likewise.
20400 * localedata/README: Likewise.
20401 * malloc/tst-mallocfork.c: Likewise.
20402 * manual/install.texi: Likewise.
20403 * nptl/tst-pthread-getattr.c: Likewise.
20404 * stdio-common/tst-fgets.c: Likewise.
20405 * stdio-common/tst-fwrite.c: Likewise.
20406 * sunrpc/Makefile: Likewise.
20407 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
20408 * wcsmbs/tst-mbrtowc2.c: Likewise.
20409 * configure: Regenerate.
20410 * INSTALL: Regenerate.
20412 2017-11-15 Martin Sebor <msebor@redhat.com>
20414 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
20415 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
20416 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
20418 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20421 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
20422 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
20425 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
20426 Defer is_pty check until end of the function.
20427 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20430 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
20431 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
20432 (ttyname): Likewise.
20433 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
20434 (__ttyname_r): Likewise.
20436 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
20439 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
20441 * manual/terminal.texi (Is It a Terminal):
20442 Mention ENODEV for ttyname and ttyname_r.
20444 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20446 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
20447 constant and macro.
20449 * sysdeps/unix/sysv/linux/bits/mman-linux.h
20450 [__USE_MISC] (MADV_WIPEONFORK): New macro.
20451 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20452 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20453 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
20454 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20456 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20458 * signal/sigrelse.c (sigrelse): Optimize implementation.
20460 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
20461 (__sigpause): Rely on __sigsuspend to implement single thread
20462 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
20464 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20466 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20467 kernel version to 4.14.
20469 2017-11-15 Steve Ellcey <sellcey@cavium.com>
20472 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
20473 Check if ifname is too long.
20475 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20477 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
20479 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20481 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
20482 was accidentally lost.
20484 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20486 * localedata/locales/az_IR: Add standard copyright header.
20488 2017-11-15 Florian Weimer <fweimer@redhat.com>
20491 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
20492 not just the top one. Output a new "subheaps" statistic.
20494 2017-11-15 Florian Weimer <fweimer@redhat.com>
20497 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
20498 under the per-arena lock.
20499 * malloc/Makefile (tests): Add tst-malloc_info.
20500 (tst-malloc_info): Link with libpthread.
20501 * malloc/tst-malloc_info.c: New file.
20503 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20506 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
20507 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
20508 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
20509 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
20510 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
20511 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
20512 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
20513 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
20514 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
20515 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
20516 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
20517 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
20518 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
20519 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
20520 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
20521 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
20522 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
20523 (__floating_type): Likewise.
20524 (__real_integer_type): Likewise.
20525 (__complex_integer_type): Likewise.
20526 (__expr_is_real): Likewise.
20527 (__tgmath_real_type_sub): Likewise.
20528 (__tgmath_real_type): Likewise.
20529 (__tgmath_complex_type_sub): Likewise.
20530 (__tgmath_complex_type): Likewise.
20531 (__TGMATH_F128): Likewise.
20532 (__TGMATH_CF128): Likewise.
20533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
20535 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
20538 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
20540 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
20541 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20543 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
20545 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20546 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
20548 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
20549 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
20550 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
20552 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
20553 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
20554 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
20558 2017-11-14 Joseph Myers <joseph@codesourcery.com>
20560 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
20561 for stpncpy calls for GCC 8.
20562 (test_strncat): Disable -Wstringop-truncation warning for strncat
20563 calls for GCC 8. Disable -Wstringop-overflow= warning for one
20564 strncat call for GCC 7.
20565 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
20567 (test_memcmp): Use memcpy instead of strncpy for calls not copying
20570 * string/bug-strncat1.c: Include <libc-diag.h>.
20571 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
20573 2017-11-13 Claude Paroz <claude@2xlibre.net>
20576 * localedata/locales/aa_DJ: Improved readibility by replacing
20577 <Uxxxx> sequences in the ASCII printable range by their ASCII
20578 character equivalents.
20579 * localedata/locales/aa_ER: Likewise.
20580 * localedata/locales/aa_ER@saaho: Likewise.
20581 * localedata/locales/aa_ET: Likewise.
20582 * localedata/locales/af_ZA: Likewise.
20583 * localedata/locales/agr_PE: Likewise.
20584 * localedata/locales/ak_GH: Likewise.
20585 * localedata/locales/am_ET: Likewise.
20586 * localedata/locales/anp_IN: Likewise.
20587 * localedata/locales/ar_AE: Likewise.
20588 * localedata/locales/ar_BH: Likewise.
20589 * localedata/locales/ar_DZ: Likewise.
20590 * localedata/locales/ar_EG: Likewise.
20591 * localedata/locales/ar_IN: Likewise.
20592 * localedata/locales/ar_IQ: Likewise.
20593 * localedata/locales/ar_JO: Likewise.
20594 * localedata/locales/ar_KW: Likewise.
20595 * localedata/locales/ar_LB: Likewise.
20596 * localedata/locales/ar_LY: Likewise.
20597 * localedata/locales/ar_MA: Likewise.
20598 * localedata/locales/ar_OM: Likewise.
20599 * localedata/locales/ar_QA: Likewise.
20600 * localedata/locales/ar_SA: Likewise.
20601 * localedata/locales/ar_SD: Likewise.
20602 * localedata/locales/ar_SS: Likewise.
20603 * localedata/locales/ar_SY: Likewise.
20604 * localedata/locales/ar_TN: Likewise.
20605 * localedata/locales/ar_YE: Likewise.
20606 * localedata/locales/as_IN: Likewise.
20607 * localedata/locales/ast_ES: Likewise.
20608 * localedata/locales/ayc_PE: Likewise.
20609 * localedata/locales/az_AZ: Likewise.
20610 * localedata/locales/az_IR: Likewise.
20611 * localedata/locales/be_BY: Likewise.
20612 * localedata/locales/be_BY@latin: Likewise.
20613 * localedata/locales/bem_ZM: Likewise.
20614 * localedata/locales/ber_DZ: Likewise.
20615 * localedata/locales/ber_MA: Likewise.
20616 * localedata/locales/bg_BG: Likewise.
20617 * localedata/locales/bhb_IN: Likewise.
20618 * localedata/locales/bho_IN: Likewise.
20619 * localedata/locales/bi_VU: Likewise.
20620 * localedata/locales/bn_BD: Likewise.
20621 * localedata/locales/bn_IN: Likewise.
20622 * localedata/locales/bo_CN: Likewise.
20623 * localedata/locales/bo_IN: Likewise.
20624 * localedata/locales/br_FR: Likewise.
20625 * localedata/locales/brx_IN: Likewise.
20626 * localedata/locales/bs_BA: Likewise.
20627 * localedata/locales/byn_ER: Likewise.
20628 * localedata/locales/ca_AD: Likewise.
20629 * localedata/locales/ca_ES: Likewise.
20630 * localedata/locales/ca_FR: Likewise.
20631 * localedata/locales/ca_IT: Likewise.
20632 * localedata/locales/ce_RU: Likewise.
20633 * localedata/locales/chr_US: Likewise.
20634 * localedata/locales/cmn_TW: Likewise.
20635 * localedata/locales/crh_UA: Likewise.
20636 * localedata/locales/cs_CZ: Likewise.
20637 * localedata/locales/csb_PL: Likewise.
20638 * localedata/locales/cv_RU: Likewise.
20639 * localedata/locales/cy_GB: Likewise.
20640 * localedata/locales/da_DK: Likewise.
20641 * localedata/locales/de_AT: Likewise.
20642 * localedata/locales/de_BE: Likewise.
20643 * localedata/locales/de_CH: Likewise.
20644 * localedata/locales/de_DE: Likewise.
20645 * localedata/locales/de_IT: Likewise.
20646 * localedata/locales/de_LI: Likewise.
20647 * localedata/locales/de_LU: Likewise.
20648 * localedata/locales/doi_IN: Likewise.
20649 * localedata/locales/dv_MV: Likewise.
20650 * localedata/locales/dz_BT: Likewise.
20651 * localedata/locales/el_CY: Likewise.
20652 * localedata/locales/el_GR: Likewise.
20653 * localedata/locales/en_AG: Likewise.
20654 * localedata/locales/en_AU: Likewise.
20655 * localedata/locales/en_BW: Likewise.
20656 * localedata/locales/en_CA: Likewise.
20657 * localedata/locales/en_DK: Likewise.
20658 * localedata/locales/en_GB: Likewise.
20659 * localedata/locales/en_HK: Likewise.
20660 * localedata/locales/en_IE: Likewise.
20661 * localedata/locales/en_IL: Likewise.
20662 * localedata/locales/en_IN: Likewise.
20663 * localedata/locales/en_NG: Likewise.
20664 * localedata/locales/en_NZ: Likewise.
20665 * localedata/locales/en_PH: Likewise.
20666 * localedata/locales/en_SG: Likewise.
20667 * localedata/locales/en_US: Likewise.
20668 * localedata/locales/en_ZA: Likewise.
20669 * localedata/locales/en_ZM: Likewise.
20670 * localedata/locales/en_ZW: Likewise.
20671 * localedata/locales/eo: Likewise.
20672 * localedata/locales/es_AR: Likewise.
20673 * localedata/locales/es_BO: Likewise.
20674 * localedata/locales/es_CL: Likewise.
20675 * localedata/locales/es_CO: Likewise.
20676 * localedata/locales/es_CR: Likewise.
20677 * localedata/locales/es_CU: Likewise.
20678 * localedata/locales/es_DO: Likewise.
20679 * localedata/locales/es_EC: Likewise.
20680 * localedata/locales/es_ES: Likewise.
20681 * localedata/locales/es_GT: Likewise.
20682 * localedata/locales/es_HN: Likewise.
20683 * localedata/locales/es_MX: Likewise.
20684 * localedata/locales/es_NI: Likewise.
20685 * localedata/locales/es_PA: Likewise.
20686 * localedata/locales/es_PE: Likewise.
20687 * localedata/locales/es_PR: Likewise.
20688 * localedata/locales/es_PY: Likewise.
20689 * localedata/locales/es_SV: Likewise.
20690 * localedata/locales/es_US: Likewise.
20691 * localedata/locales/es_UY: Likewise.
20692 * localedata/locales/es_VE: Likewise.
20693 * localedata/locales/et_EE: Likewise.
20694 * localedata/locales/eu_ES: Likewise.
20695 * localedata/locales/eu_ES@euro: Likewise.
20696 * localedata/locales/fa_IR: Likewise.
20697 * localedata/locales/ff_SN: Likewise.
20698 * localedata/locales/fi_FI: Likewise.
20699 * localedata/locales/fil_PH: Likewise.
20700 * localedata/locales/fo_FO: Likewise.
20701 * localedata/locales/fr_BE: Likewise.
20702 * localedata/locales/fr_CA: Likewise.
20703 * localedata/locales/fr_CH: Likewise.
20704 * localedata/locales/fr_FR: Likewise.
20705 * localedata/locales/fr_LU: Likewise.
20706 * localedata/locales/fur_IT: Likewise.
20707 * localedata/locales/fy_DE: Likewise.
20708 * localedata/locales/fy_NL: Likewise.
20709 * localedata/locales/ga_IE: Likewise.
20710 * localedata/locales/gd_GB: Likewise.
20711 * localedata/locales/gez_ER: Likewise.
20712 * localedata/locales/gez_ET: Likewise.
20713 * localedata/locales/gl_ES: Likewise.
20714 * localedata/locales/gu_IN: Likewise.
20715 * localedata/locales/gv_GB: Likewise.
20716 * localedata/locales/ha_NG: Likewise.
20717 * localedata/locales/hak_TW: Likewise.
20718 * localedata/locales/he_IL: Likewise.
20719 * localedata/locales/hi_IN: Likewise.
20720 * localedata/locales/hif_FJ: Likewise.
20721 * localedata/locales/hne_IN: Likewise.
20722 * localedata/locales/hr_HR: Likewise.
20723 * localedata/locales/hsb_DE: Likewise.
20724 * localedata/locales/ht_HT: Likewise.
20725 * localedata/locales/hu_HU: Likewise.
20726 * localedata/locales/hy_AM: Likewise.
20727 * localedata/locales/i18n: Likewise.
20728 * localedata/locales/ia_FR: Likewise.
20729 * localedata/locales/id_ID: Likewise.
20730 * localedata/locales/ig_NG: Likewise.
20731 * localedata/locales/ik_CA: Likewise.
20732 * localedata/locales/is_IS: Likewise.
20733 * localedata/locales/it_CH: Likewise.
20734 * localedata/locales/it_IT: Likewise.
20735 * localedata/locales/iu_CA: Likewise.
20736 * localedata/locales/ja_JP: Likewise.
20737 * localedata/locales/ka_GE: Likewise.
20738 * localedata/locales/kk_KZ: Likewise.
20739 * localedata/locales/kl_GL: Likewise.
20740 * localedata/locales/kn_IN: Likewise.
20741 * localedata/locales/ko_KR: Likewise.
20742 * localedata/locales/kok_IN: Likewise.
20743 * localedata/locales/ks_IN: Likewise.
20744 * localedata/locales/ks_IN@devanagari: Likewise.
20745 * localedata/locales/ku_TR: Likewise.
20746 * localedata/locales/kw_GB: Likewise.
20747 * localedata/locales/ky_KG: Likewise.
20748 * localedata/locales/lb_LU: Likewise.
20749 * localedata/locales/lg_UG: Likewise.
20750 * localedata/locales/li_BE: Likewise.
20751 * localedata/locales/li_NL: Likewise.
20752 * localedata/locales/lij_IT: Likewise.
20753 * localedata/locales/ln_CD: Likewise.
20754 * localedata/locales/lo_LA: Likewise.
20755 * localedata/locales/lt_LT: Likewise.
20756 * localedata/locales/lv_LV: Likewise.
20757 * localedata/locales/lzh_TW: Likewise.
20758 * localedata/locales/mag_IN: Likewise.
20759 * localedata/locales/mai_IN: Likewise.
20760 * localedata/locales/mg_MG: Likewise.
20761 * localedata/locales/mhr_RU: Likewise.
20762 * localedata/locales/mi_NZ: Likewise.
20763 * localedata/locales/mk_MK: Likewise.
20764 * localedata/locales/ml_IN: Likewise.
20765 * localedata/locales/mn_MN: Likewise.
20766 * localedata/locales/mni_IN: Likewise.
20767 * localedata/locales/mr_IN: Likewise.
20768 * localedata/locales/ms_MY: Likewise.
20769 * localedata/locales/mt_MT: Likewise.
20770 * localedata/locales/my_MM: Likewise.
20771 * localedata/locales/nan_TW: Likewise.
20772 * localedata/locales/nan_TW@latin: Likewise.
20773 * localedata/locales/nb_NO: Likewise.
20774 * localedata/locales/nds_DE: Likewise.
20775 * localedata/locales/nds_NL: Likewise.
20776 * localedata/locales/ne_NP: Likewise.
20777 * localedata/locales/nhn_MX: Likewise.
20778 * localedata/locales/niu_NU: Likewise.
20779 * localedata/locales/niu_NZ: Likewise.
20780 * localedata/locales/nl_AW: Likewise.
20781 * localedata/locales/nl_BE: Likewise.
20782 * localedata/locales/nl_NL: Likewise.
20783 * localedata/locales/nn_NO: Likewise.
20784 * localedata/locales/nr_ZA: Likewise.
20785 * localedata/locales/nso_ZA: Likewise.
20786 * localedata/locales/oc_FR: Likewise.
20787 * localedata/locales/om_ET: Likewise.
20788 * localedata/locales/om_KE: Likewise.
20789 * localedata/locales/or_IN: Likewise.
20790 * localedata/locales/os_RU: Likewise.
20791 * localedata/locales/pa_IN: Likewise.
20792 * localedata/locales/pa_PK: Likewise.
20793 * localedata/locales/pap_AW: Likewise.
20794 * localedata/locales/pap_CW: Likewise.
20795 * localedata/locales/pl_PL: Likewise.
20796 * localedata/locales/ps_AF: Likewise.
20797 * localedata/locales/pt_BR: Likewise.
20798 * localedata/locales/pt_PT: Likewise.
20799 * localedata/locales/quz_PE: Likewise.
20800 * localedata/locales/raj_IN: Likewise.
20801 * localedata/locales/ro_RO: Likewise.
20802 * localedata/locales/ru_RU: Likewise.
20803 * localedata/locales/ru_UA: Likewise.
20804 * localedata/locales/rw_RW: Likewise.
20805 * localedata/locales/sa_IN: Likewise.
20806 * localedata/locales/sat_IN: Likewise.
20807 * localedata/locales/sc_IT: Likewise.
20808 * localedata/locales/sd_IN: Likewise.
20809 * localedata/locales/sd_IN@devanagari: Likewise.
20810 * localedata/locales/se_NO: Likewise.
20811 * localedata/locales/sgs_LT: Likewise.
20812 * localedata/locales/shs_CA: Likewise.
20813 * localedata/locales/si_LK: Likewise.
20814 * localedata/locales/sid_ET: Likewise.
20815 * localedata/locales/sk_SK: Likewise.
20816 * localedata/locales/sl_SI: Likewise.
20817 * localedata/locales/sm_WS: Likewise.
20818 * localedata/locales/so_DJ: Likewise.
20819 * localedata/locales/so_ET: Likewise.
20820 * localedata/locales/so_KE: Likewise.
20821 * localedata/locales/so_SO: Likewise.
20822 * localedata/locales/sq_AL: Likewise.
20823 * localedata/locales/sq_MK: Likewise.
20824 * localedata/locales/sr_ME: Likewise.
20825 * localedata/locales/sr_RS: Likewise.
20826 * localedata/locales/sr_RS@latin: Likewise.
20827 * localedata/locales/ss_ZA: Likewise.
20828 * localedata/locales/st_ZA: Likewise.
20829 * localedata/locales/sv_FI: Likewise.
20830 * localedata/locales/sv_SE: Likewise.
20831 * localedata/locales/sw_KE: Likewise.
20832 * localedata/locales/sw_TZ: Likewise.
20833 * localedata/locales/szl_PL: Likewise.
20834 * localedata/locales/ta_IN: Likewise.
20835 * localedata/locales/ta_LK: Likewise.
20836 * localedata/locales/tcy_IN: Likewise.
20837 * localedata/locales/te_IN: Likewise.
20838 * localedata/locales/tg_TJ: Likewise.
20839 * localedata/locales/th_TH: Likewise.
20840 * localedata/locales/the_NP: Likewise.
20841 * localedata/locales/ti_ER: Likewise.
20842 * localedata/locales/ti_ET: Likewise.
20843 * localedata/locales/tig_ER: Likewise.
20844 * localedata/locales/tk_TM: Likewise.
20845 * localedata/locales/tl_PH: Likewise.
20846 * localedata/locales/tn_ZA: Likewise.
20847 * localedata/locales/to_TO: Likewise.
20848 * localedata/locales/tpi_PG: Likewise.
20849 * localedata/locales/tr_CY: Likewise.
20850 * localedata/locales/tr_TR: Likewise.
20851 * localedata/locales/ts_ZA: Likewise.
20852 * localedata/locales/tt_RU: Likewise.
20853 * localedata/locales/tt_RU@iqtelif: Likewise.
20854 * localedata/locales/ug_CN: Likewise.
20855 * localedata/locales/uk_UA: Likewise.
20856 * localedata/locales/unm_US: Likewise.
20857 * localedata/locales/ur_IN: Likewise.
20858 * localedata/locales/ur_PK: Likewise.
20859 * localedata/locales/uz_UZ: Likewise.
20860 * localedata/locales/uz_UZ@cyrillic: Likewise.
20861 * localedata/locales/ve_ZA: Likewise.
20862 * localedata/locales/vi_VN: Likewise.
20863 * localedata/locales/wa_BE: Likewise.
20864 * localedata/locales/wae_CH: Likewise.
20865 * localedata/locales/wal_ET: Likewise.
20866 * localedata/locales/wo_SN: Likewise.
20867 * localedata/locales/xh_ZA: Likewise.
20868 * localedata/locales/yi_US: Likewise.
20869 * localedata/locales/yo_NG: Likewise.
20870 * localedata/locales/yue_HK: Likewise.
20871 * localedata/locales/yuw_PG: Likewise.
20872 * localedata/locales/zh_CN: Likewise.
20873 * localedata/locales/zh_HK: Likewise.
20874 * localedata/locales/zh_SG: Likewise.
20875 * localedata/locales/zh_TW: Likewise.
20876 * localedata/locales/zu_ZA: Likewise.
20878 2017-11-13 Florian Weimer <fweimer@redhat.com>
20880 * support/next_to_fault.h, support/next_to_fault.c: New files.
20881 * support/Makefile (libsupport-routines): Add next_to_fault.
20882 * resolv/tst-inet_pton.c (struct next_to_fault)
20883 (next_to_fault_allocate, next_to_fault_free): Remove.
20884 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
20886 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
20888 * elf/dl-support.c: Include <dl-procruntime.c>.
20889 * include/link.h: Include <link_map.h>.
20890 * sysdeps/generic/dl-procruntime.c: New file.
20891 * sysdeps/generic/link_map.h: Likewise.
20892 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
20893 the writable ld.so namespace.
20895 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
20897 timezone: pacify GCC -Wstringop-truncation
20898 Problem reported by Martin Sebor in:
20899 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
20900 * timezone/zic.c (writezone): Use memcpy, not strncpy.
20902 2017-11-12 Florian Weimer <fweimer@redhat.com>
20904 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
20906 (tests): Add tst-xreadlink.
20907 * support/support.h (xstrndup): Declare.
20908 * support/xunistd.h (xunlink, xreadlink): Declare.
20909 * support/temp_file.h (support_create_temp_directory): Declare.
20910 * support/temp_file.c (support_create_temp_directory): New function.
20911 * support/support_chroot.c (support_chroot_create): Use it.
20912 * support/xreadlink.c: New file.
20913 * support/xstrndup.c: Likewise.
20914 * support/xunlink.c: Likewise.
20915 * support/tst-xreadlink.c: Likewise.
20917 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
20919 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
20921 2017-11-11 Florian Weimer <fweimer@redhat.com>
20925 * resolv/res_comp.c (printable_string, binary_hnok)
20926 (binary_leading_dash): New functions.
20927 (res_hnok): Reimplement using these functions and ns_name_pton.
20928 (res_ownok): Likewise.
20929 (res_mailok): Reimplement using printable_string, ns_name_pton and
20931 (res_dnok): Reimplement using printable_string and ns_name_pton.
20932 * resolv/tst-res_hnok.c (tests): Add additional tests.
20933 (LETTERDIGITS, PRINTABLE): Define.
20934 (do_test): Adjust one_char results.
20936 2017-11-11 Florian Weimer <fweimer@redhat.com>
20939 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
20940 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
20942 2017-11-11 Florian Weimer <fweimer@redhat.com>
20944 * resolv/tst-ns_name_pton.c: New file.
20945 * resolv/Makefile (tests): Add tst-ns_name_pton.
20946 (tst-ns_name_pton): Link against libresolv.
20948 2017-11-11 Florian Weimer <fweimer@redhat.com>
20950 * resolv/tst-res_hnok.c: New file.
20951 * resolv/Makefile (tests): Add tst-res_hnok.
20952 (tst-res_hnok): Link against libresolv.
20954 2017-11-11 Florian Weimer <fweimer@redhat.com>
20956 * resolv/tst-resolv-network.c: Use test framework instead explicit
20959 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
20961 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
20962 <jmp_buf-macros.h>.
20963 [!_ISOMAC] (STR_HELPER): New.
20964 [!_ISOMAC] (STR): Likewise.
20965 [!_ISOMAC] (TEST_SIZE): Likewise.
20966 [!_ISOMAC] (TEST_ALIGN): Likewise.
20967 [!_ISOMAC] (TEST_OFFSET): Likewise.
20968 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
20969 field offsets of jmp_buf as well as sigjmp_buf.
20970 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
20971 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
20972 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
20973 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
20974 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
20975 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
20976 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
20977 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
20978 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
20979 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
20981 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
20983 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
20986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
20988 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
20989 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
20990 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
20991 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
20992 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
20993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
20995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
20997 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20998 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
20999 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21001 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21004 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21005 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21006 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21007 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21008 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21009 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21010 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21011 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21012 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21013 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21014 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21015 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21016 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21017 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21018 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21019 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21020 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21021 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21022 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21023 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21024 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21025 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21026 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21027 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21028 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21029 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21031 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21033 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21035 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21037 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21039 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21041 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21043 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21045 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21047 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21049 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21051 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21053 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21055 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21057 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21059 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21061 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21063 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21065 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21067 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21069 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21071 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21073 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21075 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21077 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21079 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21081 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21083 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21085 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21087 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21089 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21091 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21093 * stdlib/tst-strtod.h (F16): New macro.
21099 (IF_FLOAT16): Likewise.
21100 (IF_FLOAT32): Likewise.
21101 (IF_FLOAT64): Likewise.
21102 (IF_FLOAT32X): Likewise.
21103 (IF_FLOAT64X): Likewise.
21104 (IF_FLOAT128X): Likewise.
21105 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21106 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21107 (STRTOD_TEST_FOREACH): Likewise.
21108 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21109 (CHOOSE_f64): Likewise.
21110 (CHOOSE_f32x): Likewise.
21111 (CHOOSE_f64x): Likewise.
21113 2017-11-07 Andreas Schwab <schwab@suse.de>
21115 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21117 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21120 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21122 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21125 2017-11-07 Claude Paroz <claude@2xlibre.net>
21128 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21130 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21132 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21135 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21138 * nptl/allocatestack.c (allocate_stack): Check if
21139 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21140 __PTHREAD_MUTEX_HAVE_PREV is defined.
21141 * nptl/descr.h (pthread): Likewise.
21142 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21144 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21145 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21146 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21147 * sysdeps/nptl/bits/thread-shared-types.h
21148 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21150 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21151 of __WORDSIZE for internal layout.
21152 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21153 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21154 instead of __WORDSIZE whether to use an union for __spins and __list
21156 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21158 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21159 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21161 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21162 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21164 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21165 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21167 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21168 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21170 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21171 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21173 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21174 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21176 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21177 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21179 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21180 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21182 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21183 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21185 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21186 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21188 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21189 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21191 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21192 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21194 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21195 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21197 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21198 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21200 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21201 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21204 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21206 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21207 checks for expected input type size.
21208 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21209 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21211 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21212 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21213 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21214 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21215 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21216 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21217 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21218 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21219 superflous runtime assert check.
21220 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21222 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21224 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21226 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21228 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21230 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21232 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21233 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21234 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21236 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21238 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21240 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21242 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21244 * nptl/pthread_attr_setinheritsched.c
21245 (__pthread_attr_setinheritsched): Likewise.
21246 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21248 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21250 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21251 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21252 __old_pthread_attr_setstack): Likewise.
21253 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21255 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21257 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21259 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21260 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21262 * nptl/tst-typesizes.c: Remove file.
21264 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21265 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21266 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21267 checks for internal pthread_mutex_t offsets.
21268 * sysdeps/aarch64/nptl/pthread-offsets.h
21269 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21270 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21271 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21272 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21273 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21274 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21275 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21276 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21277 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21278 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21279 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21280 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21281 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21282 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21283 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21284 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21285 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21286 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21288 2017-11-07 Florian Weimer <fweimer@redhat.com>
21290 * bits/mman-linux.h: Move ...
21291 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21293 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21296 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21298 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21299 Redefine STRNLEN as __strnlen_power8.
21301 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21303 * signal/sighold.c (sighold): Optimize implementation.
21305 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21306 __NR_rt_sigqueueinfo.
21308 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21310 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21311 assume __NR_rt_sigtimedwait.
21312 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21313 and add LIBC_CANCEL_HANDLED for cancellation marking.
21314 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21316 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21317 (sysdeps_routines): Add memchr_noneon.
21318 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21319 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21320 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21321 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21322 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21323 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21324 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21326 * sysdeps/arm/arm-ifunc.h: New file.
21327 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21328 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21329 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21330 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21331 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21332 (__memcpy_neon): Avoid create hidden alias.
21333 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21334 (__memcpy_vfp): Likewise.
21335 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21336 (sysdep_routines): Add memcpy_arm.
21337 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21339 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21342 * Makerules (make-link-multidir): New.
21343 * config.make.in (multidir): New.
21344 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21345 * configure: Regenerated.
21346 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21347 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21348 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21351 2017-11-06 Joseph Myers <joseph@codesourcery.com>
21354 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21355 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21357 2017-11-04 Mike FABIAN <mfabian@redhat.com>
21359 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21362 2017-11-04 Florian Weimer <fweimer@redhat.com>
21364 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
21366 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21368 * math/math.h [__HAVE_DISTINCT_FLOAT16
21369 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21370 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21371 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21372 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
21373 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
21374 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
21375 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21376 (__MATH_TG_F32): New macro.
21377 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21378 (__MATH_TG_F64X): Likewise.
21379 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21380 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
21382 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
21384 * po/de.po: Update translations.
21385 * po/ru.po: Likewise.
21387 2017-11-03 Florian Weimer <fweimer@redhat.com>
21389 * manual/filesys.texi (Hard Links): Document linkat.
21391 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21393 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
21394 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21395 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21396 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21397 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21398 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21399 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
21400 the same as _Float128.
21401 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21402 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21403 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
21406 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
21408 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
21410 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
21412 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21413 (strtof32x): Likewise.
21414 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21415 (strtof64x): Likewise.
21416 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21417 (strtof128x): Likewise.
21418 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21419 (strfromf16): Likewise.
21420 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21421 (strfromf32): Likewise.
21422 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21423 (strfromf64): Likewise.
21424 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21425 (strfromf32x): Likewise.
21426 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21427 (strfromf64x): Likewise.
21428 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21429 (strfromf128x): Likewise.
21430 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
21431 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
21432 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
21433 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
21434 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
21435 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
21437 2017-11-03 Richard Henderson <rth@twiddle.net>
21439 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
21441 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21443 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
21445 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21447 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
21448 DT_TLSDESC_GOT initialization.
21449 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
21450 (_dl_tlsdesc_resolve_hold): Likewise.
21451 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
21452 (_dl_tlsdesc_resolve_hold): Likewise.
21453 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
21454 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21456 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21458 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
21460 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21463 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
21464 non-lazily for R_ARM_TLS_DESC.
21466 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21469 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
21470 R_ARM_TLS_DESC case.
21471 (elf_machine_lazy_rel): Remove the prelink check.
21473 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21475 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
21476 DT_TLSDESC_GOT initialization.
21477 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
21478 (_dl_tlsdesc_resolve_rela): Likewise.
21479 (_dl_tlsdesc_resolve_hold): Likewise.
21480 (_dl_tlsdesc_undefweak): Remove ldar.
21481 (_dl_tlsdesc_dynamic): Likewise.
21482 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
21483 (_dl_tlsdesc_resolve_rela): Likewise.
21484 (_dl_tlsdesc_resolve_hold): Likewise.
21485 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
21486 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21487 (_dl_tlsdesc_resolve_rela): Likewise.
21488 (_dl_tlsdesc_resolve_hold): Likewise.
21490 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21492 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
21493 binding and initialization non-lazily for R_AARCH64_TLSDESC.
21495 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21497 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
21498 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21500 2017-11-02 Joseph Myers <joseph@codesourcery.com>
21502 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
21504 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
21505 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
21506 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
21507 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
21508 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
21509 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
21510 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
21511 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
21512 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
21513 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
21514 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
21516 2017-11-02 Mike FABIAN <mfabian@redhat.com>
21519 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
21520 * localedata/locales/tpi_PG: Add standard header.
21522 2017-11-02 Florian Weimer <fweimer@redhat.com>
21524 test-errno-linux: quotactl can fail with EPERM in containers.
21525 * sysdeps/unix/sysv/linux/test-errno-linux.c
21526 (LIST, LIST_FORWARD): New macros.
21527 (check_error_in_list): New function.
21528 (test_wrp_rv): Accept list of permitted error codes.
21529 (test_wrp_rv2): Remove.
21530 (test_wrp): Call test_wrp_rv with list of error codes.
21531 (test_wrp2): Accept list of error codes.
21532 (do_test): Adjust. Allow EPERM for quotactl.
21534 2017-11-02 Florian Weimer <fweimer@redhat.com>
21536 * stdio-common/bug16.c (do_test): Use array_length.
21537 * stdio-common/errlist.c (_sys_nerr): Likewise.
21538 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
21539 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
21540 * stdio-common/psiginfo.c (psiginfo): Use array_length.
21541 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
21542 (do_test): Use array_length.
21543 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
21544 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
21545 * stdio-common/tst-printf-round.c (do_test): Likewise.
21546 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
21547 (CHECK): Use array_length.
21548 * stdio-common/tstdiomisc.c (t3, F): Likewise.
21549 * stdio-common/tstscanf.c (main): Likewise.
21550 * stdio-common/vfprintf.c (process_string_arg): Likewise.
21552 2017-11-02 Florian Weimer <fweimer@redhat.com>
21554 Add array_length and array_end macros.
21555 * include/array_length.h: New file.
21557 2017-11-02 Florian Weimer <fweimer@redhat.com>
21560 * posix/tst-glob-tilde.c (do_noescape): New variable.
21561 (one_test): Process it.
21562 (do_test): Set do_noescape. Add unescaping test case.
21564 2017-11-01 Joseph Myers <joseph@codesourcery.com>
21567 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
21568 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
21569 with appropriate macros defined and undefined.
21570 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
21571 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21572 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
21573 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21574 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
21575 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21576 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
21577 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21578 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
21579 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21582 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
21583 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
21584 that for long double. Do not condition define and undefine of
21585 _Mdouble_complex_ on [__CFLOAT128].
21587 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
21589 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21590 of <sysdeps/generic/sysdep.h>.
21591 (ALIGNARG): Removed.
21592 (ASM_SIZE_DIRECTIVE): Likewise.
21595 (ENTRY_CHK): Likewise.
21596 (END_CHK): Likewise.
21597 (syscall_error): Likewise.
21598 (mcount): Likewise.
21599 (PSEUDO_END): Likewise.
21601 (atom_text_section): Likewise.
21602 * sysdeps/x86/sysdep.h: New file.
21603 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21604 of <sysdeps/generic/sysdep.h>.
21605 (ALIGNARG): Removed.
21606 (ASM_SIZE_DIRECTIVE): Likewise.
21609 (ENTRY_CHK): Likewise.
21610 (END_CHK): Likewise.
21611 (syscall_error): Likewise.
21612 (mcount): Likewise.
21613 (PSEUDO_END): Likewise.
21615 (atom_text_section): Likewise.
21617 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
21619 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
21620 category of LC_CTYPE set to "i18n:2012".
21621 * localedata/locales/i18n_ctype: Regenerate.
21623 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
21625 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
21626 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
21627 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21628 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21630 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
21631 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
21632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
21633 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
21635 2017-10-31 Joseph Myers <joseph@codesourcery.com>
21638 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
21640 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
21642 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
21644 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21645 (CMPLXF32X): Likewise.
21646 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21647 (CMPLXF64X): Likewise.
21648 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21649 (CMPLXF128X): Likewise.
21652 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
21653 (__MATH_EVAL_FMT2): Define to add 0.0f.
21655 2017-10-31 Alan Modra <amodra@gmail.com>
21657 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
21659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
21660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
21661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
21662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
21663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
21664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
21665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
21666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
21667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
21668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
21669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
21670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
21671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
21672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
21673 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
21674 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
21675 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
21676 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
21677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
21678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
21679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
21680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
21681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
21682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
21683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21684 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
21685 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
21686 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
21687 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
21688 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
21689 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21690 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21691 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
21692 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
21693 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
21694 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
21695 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
21696 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
21697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
21698 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21699 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
21700 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
21701 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
21702 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
21703 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
21704 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
21705 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
21706 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
21707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21708 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21709 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
21710 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
21711 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
21712 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
21713 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21714 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
21715 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
21716 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
21717 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21718 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21719 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21720 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
21721 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
21722 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21723 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
21724 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
21725 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
21726 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
21727 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
21729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
21730 include sysdep.h and math_ldbl_opt.h.
21732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
21733 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
21734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
21735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
21736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
21737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
21738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
21739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
21740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
21741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
21742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
21743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
21744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
21745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
21746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
21747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
21748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
21749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
21750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
21751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
21752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
21753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
21754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
21755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
21756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
21757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
21759 2017-10-31 Alan Modra <amodra@gmail.com>
21761 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
21762 string/strncase_l.c, not string/strncase.c.
21763 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
21764 (libc_hidden_def): Redefine.
21766 2017-10-31 Alan Modra <amodra@gmail.com>
21768 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
21769 (__STRCMP, STRCMP, __strcasecmp_l): Define.
21770 (__strcasecmp): Don't define.
21772 2017-10-31 Alan Modra <amodra@gmail.com>
21774 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
21776 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21777 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21780 2017-10-31 Alan Modra <amodra@gmail.com>
21782 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
21785 2017-10-31 Alan Modra <amodra@gmail.com>
21787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
21788 Redefine only when SHARED.
21790 2017-10-30 Joseph Myers <joseph@codesourcery.com>
21792 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21793 Include <bits/math-finite.h> with appropriate macros defined and
21795 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21796 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21797 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21798 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21799 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21801 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
21802 [!_Mlong_double_] (_Mlong_double_): Likewise.
21803 [!_Mfloat16_] (_Mfloat16_): Likewise.
21804 [!_Mfloat32_] (_Mfloat32_): Likewise.
21805 [!_Mfloat64_] (_Mfloat64_): Likewise.
21806 [!_Mfloat128_] (_Mfloat128_): Likewise.
21807 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
21808 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
21809 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
21810 (_Mdouble_): Define without indirection through those macros.
21811 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
21812 [!_Mfloat128_] (_Mfloat128_): Likewise.
21813 [_Mlong_double_] (_Mlong_double_): Likewise.
21814 (_Mdouble_): Define without indirection through those macros.
21815 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
21816 not add -D_Mlong_double_=double.
21817 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
21818 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
21820 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21822 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
21824 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21826 * sysdeps/x86/libc-start.c: Reformat.
21828 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21831 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
21832 (1): Renamed to ...
21835 (L(Src2)): Likewise.
21836 (L(1)): Renamed to ...
21839 2017-10-30 Joseph Myers <joseph@codesourcery.com>
21841 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
21842 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
21843 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
21844 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
21845 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
21846 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
21847 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
21848 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
21849 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
21850 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
21851 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
21852 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
21853 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
21854 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
21855 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
21856 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
21857 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
21858 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
21859 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
21860 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
21861 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
21862 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
21863 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
21864 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
21865 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
21866 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
21867 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
21868 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
21869 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
21870 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
21871 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
21872 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
21873 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
21874 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
21875 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
21876 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
21877 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
21878 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
21879 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
21880 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
21881 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
21882 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
21883 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
21884 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
21885 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
21886 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
21887 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
21888 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
21889 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
21890 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
21891 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
21892 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
21893 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
21894 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
21895 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
21896 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
21897 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
21898 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
21899 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
21900 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
21901 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
21902 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
21903 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
21904 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
21905 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
21906 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
21908 2017-10-30 Florian Weimer <fweimer@redhat.com>
21910 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
21912 * io/tst-mkdirat.c (do_test): Likewise.
21913 * io/tst-mkfifoat.c (do_test): Likewise.
21914 * io/tst-mknodat.c (do_test): Likewise.
21915 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
21916 * locale/programs/locale.c (select_dirs): Likewise.
21917 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
21918 * posix/bug-glob2.c (my_readdir): Likewise.
21919 * posix/tst-dir.c (main): Likewise.
21920 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
21921 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
21923 2017-10-30 Florian Weimer <fweimer@redhat.com>
21925 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
21928 2017-10-30 Florian Weimer <fweimer@redhat.com>
21930 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
21931 Convert to support/test-driver.c.
21932 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
21933 New macro parameters.
21934 (PRINTF): Remove macro. Use test_verbose conditionals instead.
21935 * posix/tst-gnuglob.c: New file.
21936 * posix/tst-gnuglob64.c: Likewise.
21937 * posix/Makefile (tests): Add tst-gnuglob64.
21939 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
21942 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
21943 and use a better translation for March in “mon”.
21944 * localedata/locales/csb_PL: Use more ASCII to improve the
21945 readability of the source.
21947 2017-10-30 Mike FABIAN <mfabian@redhat.com>
21950 * localedata/locales/km_KH: Use ASCII as much
21951 as possible for better readability of the source and
21952 remove useless comments.
21953 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
21954 was commented out and apparently wrong anyway because it was
21955 using Lao characters. If Buddhist era should be used
21956 for km_KH, a native speaker should write the correct formaat
21958 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
21959 (According to CLDR, the first weekday for Cambodia is Sunday).
21960 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
21961 (These were using Lao characters which must be wrong. If we get
21962 the correct data from a native speaker, we could add it back, until
21963 then it is better not to have name_mr and name_mrs at all than
21966 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
21968 * locale/loadlocale.c: Correct size of
21969 _nl_value_type_LC_<category> arrays.
21971 2017-10-27 Joseph Myers <joseph@codesourcery.com>
21973 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21974 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
21975 with appropriate macros defined and undefined.
21976 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21977 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21978 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21979 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21980 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21982 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
21984 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21987 2017-10-27 Mike FABIAN <mfabian@redhat.com>
21989 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
21990 with lowercase letters to make it agree with CLDR.
21992 2017-10-27 Mike FABIAN <mfabian@redhat.com>
21995 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
21996 first letters of yesstr and nostr in yesexpr and noexpr,
21997 not for the full words.
21998 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21999 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22000 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22001 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22002 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22003 first letters of yesstr and nostr in yesexpr and noexpr,
22004 until now only English was matched in yesexpr and noexpr.
22005 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22006 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22007 fil but not for tl. As tl and fil are very similar, using fil
22008 is probably better than using English.
22010 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22013 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22014 in yesstr and nostr.
22016 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22018 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22019 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22020 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22022 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22024 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22026 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22028 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22029 (SNANF128X): Likewise.
22031 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22032 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22033 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22034 (HUGE_VAL_F32): Likewise.
22035 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22036 (HUGE_VAL_F64): Likewise.
22037 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22038 (HUGE_VAL_F32X): Likewise.
22039 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22040 (HUGE_VAL_F64X): Likewise.
22041 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22042 (HUGE_VAL_F128X): Likewise.
22044 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22046 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22047 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22048 for the br_FR locale.
22050 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22053 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22055 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22057 * locale/programs/record-status.h: Define globals, and function
22058 prototypes. Move function bodies...
22059 * locale/programs/record-status.c: ... to here. New file.
22060 * iconv/Makefile (iconv_prog-modules): Add record-status.
22061 * locale/Makefile (lib-modules): Likewise.
22062 * iconv/iconv_prog.c: Remove verbose.
22063 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22064 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22065 record a warning about ASCII compatibility.
22066 * locale/programs/ld-monetary.c (monetary_finish): If
22067 warn_int_curr_symbol is true then record a warning about the symbol
22068 not being in our ISO 4217 list.
22069 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22070 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22071 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22072 (OPT_NO_WARN): Define.
22073 (OPT_WARN): Define.
22074 (options): Add entry for --no-warnings, and --warnings.
22075 (set_warnings): New function to enable/disable warnings.
22076 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22077 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22078 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22079 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22080 Pass flags to generate_locale.
22081 (generate_locale): Accept new flag argument and pass it to localedef
22083 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22084 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22086 * localedata/Makefile (test-input-data): Use full file name.
22087 * localedata/da_DK.in: Rename to...
22088 * localedata/da_DK.ISO-8859-1.in: ...this.
22089 * localedata/de_DE.in: Rename to...
22090 * localedata/de_DE.ISO-8859-1.in: ...this.
22091 * localedata/en_US.in: Rename to...
22092 * localedata/en_US.ISO-8859-1.in: ...this.
22093 * localedata/fr_FR.in: Rename to...
22094 * localedata/fr_FR.UTF-8.in: ... this.
22095 * localedata/hr_HR.in: Rename to...
22096 * localedata/hr_HR.ISO-8859-2.in: ...this.
22097 * localedata/hu_HU.in: Rename to...
22098 * localedata/hu_HU.UTF-8.in: ...this.
22099 * localedata/si_LK.in: Rename to...
22100 * localedata/si_LK.UTF-8.in: ...this.
22101 * localedata/sv_SE.in: Rename to...
22102 * localedata/sv_SE.ISO-8859-1.in: ...this.
22103 * localedata/tr_TR.in: Rename to...
22104 * localedata/tr_TR.UTF-8.in: ...this.
22105 * localedata/uk_UA.in: Rename to...
22106 * localedata/uk_UA.UTF-8.in: ...this.
22107 * localedata/sort-test.sh: Test file is locale name with the
22110 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22111 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22113 * localedata/locales/i18n_ctype: Regenerate.
22114 * localedata/locales/tr_TR: Likewise.
22115 * localedata/locales/translit_circle: Likewise.
22116 * localedata/locales/translit_cjk_compat: Likewise.
22117 * localedata/locales/translit_combining: Likewise.
22118 * localedata/locales/translit_compat: Likewise.
22119 * localedata/locales/translit_font: Likewise.
22120 * localedata/locales/translit_fraction: Likewise.
22122 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22124 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22125 lxvd2x/stxvd2x with lvx/stvx.
22126 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22128 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22130 * include/alloc_buffer.h: Replace "if if " with "if " in
22132 * sysdeps/mips/memcpy.S: Likkewise.
22133 * sysdeps/mips/memset.S: Likewise.
22134 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22136 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22138 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22141 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22144 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22145 yesexpr and noexpr.
22146 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22147 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22148 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22149 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22150 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22151 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22152 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22154 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22156 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22157 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22158 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22159 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22160 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22161 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22162 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22163 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22164 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22165 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22166 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22167 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22169 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22171 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22172 as possible for better readability of the source.
22173 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22174 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22175 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22176 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22177 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22178 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22179 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22180 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22181 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22182 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22183 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22184 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22185 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22186 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22187 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22188 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22189 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22190 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22191 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22192 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22193 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22194 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22195 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22196 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22197 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22198 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22199 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22200 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22201 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22202 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22203 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22204 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22205 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22206 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22207 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22208 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22209 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22210 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22211 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22212 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22213 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22214 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22215 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22216 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22217 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22218 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22219 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22220 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22221 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22222 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22223 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22224 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22225 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22226 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22227 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22228 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22229 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22230 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22231 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22232 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22233 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22234 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22235 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22236 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22237 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22238 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22239 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22240 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22241 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22242 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22243 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22244 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22245 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22246 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22247 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22248 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22249 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22250 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22251 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22252 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22253 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22254 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22255 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22256 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22257 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22258 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22259 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22260 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22261 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22262 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22263 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22264 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22265 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22266 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22267 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22268 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22269 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22270 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22271 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22272 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22273 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22274 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22275 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22276 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22277 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22278 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22279 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22280 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22281 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22282 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22283 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22284 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22285 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22286 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22287 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22288 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22289 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22290 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22291 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22292 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22293 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22294 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22295 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22296 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22297 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22298 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22299 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22300 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22301 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22302 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22303 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22304 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22305 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22306 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22307 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22308 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22309 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22310 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22311 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22312 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22313 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22314 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22315 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22316 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22317 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22318 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22319 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22320 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22321 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22322 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22323 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22324 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22325 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22326 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22327 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22328 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22329 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22330 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22331 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22332 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22333 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22334 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22335 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22336 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22337 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22338 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22339 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22340 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22341 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22342 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22343 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22344 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22345 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22346 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22348 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22350 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22351 (Use first letters of yesstr and nostr correctly instead of using
22354 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22356 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22357 (Use first letters of yesstr and nostr correctly).
22359 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22361 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22362 also check for the first characters of yesstr and nostr.
22363 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
22364 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
22366 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22368 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22369 also check for Chinese characters.
22371 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22373 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
22374 match also for the contents of yesstr and nostr. As the first letter
22375 of yesstr and nostr is equal, checking only for the first letter
22378 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22380 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
22381 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
22383 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22385 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
22386 of main contributor.
22388 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22390 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
22391 instead of using English.
22393 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22395 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
22396 by including the first letters of nostr and yesexpr in the regexp.
22397 Also make it more readable by using ASCII where possible.
22399 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22401 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
22402 the first letter of nostr in the regexp. It agrees with CLDR now.
22403 Also make it more readable by using ASCII where possible.
22405 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22407 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
22408 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22409 these strings contain a U+17D6 (which somewhat looks like a colon)
22410 instead of a real colon to separate the full words for “yes”
22411 and “no” from the single letter responses.
22413 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22415 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
22416 it agree with CLDR (include the first letter of yesstr).
22417 Also make it more readable by using ASCII where possible.
22419 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22421 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
22422 and improve yesexpr and noexpr. The yesstr and nostr apparently
22423 came from CLDR. And CLDR has a bug there: these strings contain
22424 a U+0903 (which looks like a colon) instead of a real colon
22425 to separate the full words for “yes” and “no” from the single
22428 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22430 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
22431 letters of the full yesstr and nostr in yesexpr and noexpr.
22433 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22435 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
22436 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
22437 * localedata/locales/an_ES: Make source more readable by using ASCII
22440 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22443 * localedata/locales/yuw_PG: New file.
22444 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
22445 * locale/iso-639.def: Add Yau (Uruwa).
22447 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22449 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
22451 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22453 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
22454 (__libc_realloc): Likewise.
22455 (_mid_memalign): Likewise.
22456 (__libc_calloc): Likewise.
22458 2017-10-23 Mike FABIAN <mfabian@redhat.com>
22460 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
22461 by adding the generic +1 and -0 as in all other locales.
22462 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
22463 day names and make it more readable by using ASCII where possible.
22465 2017-10-24 Joseph Myers <joseph@codesourcery.com>
22467 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
22468 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
22470 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22472 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
22473 WNOHANG in waitpid call.
22475 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
22477 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
22478 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
22480 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
22481 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
22482 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
22483 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
22484 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
22485 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
22486 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
22487 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
22490 2017-10-23 Michael Collison <michael.collison@arm.com>
22492 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
22493 with __builtin_sqrt.
22494 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
22495 with __builtin_sqrtf.
22496 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
22497 with __builtin_ceil.
22498 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
22499 with __builtin_ceilf.
22500 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
22501 with __builtin_floor.
22502 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
22503 with __builtin_floorf.
22504 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
22505 with __builtin_fma.
22506 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
22507 with __builtin_fmaf.
22508 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
22509 with __builtin_fmax.
22510 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
22511 with __builtin_fmaxf.
22512 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
22513 with __builtin_fmin.
22514 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
22515 with __builtin_fminf.
22516 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
22517 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
22518 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
22519 with builtin_rint and conversion to int.
22520 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
22521 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
22522 with builtin_llround.
22523 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
22524 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
22525 with builtin_rint and conversion to long int.
22526 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
22527 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
22528 with builtin_lround.
22529 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
22530 with builtin_lroundf.
22531 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
22532 statements with __builtin_nearbyint.
22533 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
22534 statements with __builtin_nearbyintf.
22535 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
22536 with __builtin_rint.
22537 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
22538 with __builtin_rintf.
22539 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
22540 with __builtin_round.
22541 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
22542 with __builtin_roundf.
22543 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
22544 with __builtin_trunc.
22545 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
22546 with __builtin_truncf.
22547 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
22548 and s_l[l]round[f].c too.
22550 2017-10-23 Alan Modra <amodra@gmail.com>
22552 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
22553 Adjust stack after restoring regs. Add missing LR cfi_restore.
22555 2017-10-23 Alan Modra <amodra@gmail.com>
22557 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
22558 Move LR save and frame setup/teardown and LR restore to
22559 immediately around memset call. Provide cfi.
22561 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22563 * sysdeps/i386/fpu/e_powf.S: Removed.
22564 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
22565 * sysdeps/i386/fpu/w_powf.c: Likewise.
22566 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
22567 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22568 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22570 (CFLAGS-e_powf-sse2.c): New.
22571 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
22572 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
22574 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22576 * sysdeps/i386/fpu/e_log2f.S: Removed.
22577 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
22578 * sysdeps/i386/fpu/w_log2f.c: Likewise.
22579 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
22580 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22581 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22583 (CFLAGS-e_log2f-sse2.c): New.
22584 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
22585 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
22587 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22589 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22591 (CFLAGS-e_powf-fma.c): New.
22592 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
22593 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
22595 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22597 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22599 (CFLAGS-e_log2f-fma.c): New.
22600 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
22601 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
22603 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22605 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22607 (CFLAGS-e_logf-fma.c): New.
22608 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
22609 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
22611 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22613 * sysdeps/i386/fpu/e_logf.S: Removed.
22614 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
22615 * sysdeps/i386/fpu/w_logf.c: Likewise.
22616 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
22617 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
22618 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22619 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22621 (CFLAGS-e_logf-sse2.c): New.
22622 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
22623 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
22625 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22627 * sysdeps/i386/fpu/e_exp2f.S: Removed.
22628 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
22629 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
22630 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22631 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22633 (CFLAGS-e_exp2f-sse2.c): New.
22634 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
22635 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
22637 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22639 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22641 (CFLAGS-e_exp2f-fma.c): New.
22642 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
22643 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
22645 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22647 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
22648 * sysdeps/i386/fpu/e_expf.S: Likewise.
22649 * sysdeps/i386/fpu/math_errf.c: Likewise.
22650 * sysdeps/i386/fpu/w_expf.c: Likewise.
22651 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
22652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22653 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
22654 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
22655 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22656 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22657 Remove e_expf-ia32.
22658 (CFLAGS-e_expf-sse2.c): New.
22659 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
22660 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
22662 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22664 * sysdeps/x86_64/fpu/e_expf.S: Removed.
22665 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
22666 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
22667 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
22669 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
22671 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
22672 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
22674 (__redirect_expf): This.
22675 (SYMBOL_NAME): Changed to expf.
22676 (__ieee754_expf): Renamed to ...
22678 (__GI___expf): This.
22679 (__ieee754_expf): Add strong_alias.
22680 (__expf_finite): Likewise.
22682 Include <sysdeps/ieee754/flt-32/e_expf.c>.
22684 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
22687 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
22690 2017-10-21 Florian Weimer <fweimer@redhat.com>
22692 * posix/Makefile (tests): Add tst-glob-tilde.
22693 (tests-special): Add tst-glob-tilde-mem.out
22694 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
22695 (tst-glob-tilde-mem.out): Add mtrace check.
22696 * posix/tst-glob-tilde.c: New file.
22698 2017-10-20 Joseph Myers <joseph@codesourcery.com>
22700 * bits/floatn-common.h: New file.
22701 * math/Makefile (headers): Add bits/floatn-common.h.
22702 * bits/floatn.h: Include <bits/floatn-common.h>.
22703 * sysdeps/ia64/bits/floatn.h: Likewise.
22704 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22705 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
22706 * sysdeps/powerpc/bits/floatn.h: Likewise.
22707 * sysdeps/x86/bits/floatn.h: Likewise.
22709 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22711 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
22712 indicates whether compiler emits an warning for alias for
22713 functions with incompatible types.
22716 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
22717 the auxiliary process is terminated by a signal before calling _exit
22720 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22723 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
22725 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
22726 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
22727 and bit_arch_XSAVEC_Usable if needed.
22728 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
22729 and bit_arch_Use_dl_runtime_resolve_opt.
22730 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
22732 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
22733 (bit_arch_Prefer_No_AVX512): Updated.
22734 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
22735 (bit_arch_XSAVEC_Usable): New.
22736 (STATE_SAVE_OFFSET): Likewise.
22737 (STATE_SAVE_MASK): Likewise.
22738 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
22739 (cpu_features): Add xsave_state_size and xsave_state_full_size.
22740 (index_arch_Use_dl_runtime_resolve_opt): Removed.
22741 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
22742 (index_arch_XSAVEC_Usable): New.
22743 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
22744 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
22745 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
22747 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
22748 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
22749 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
22750 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
22751 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
22752 _dl_runtime_resolve_xsavec.
22753 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
22755 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
22756 instead of VEC_SIZE.
22757 (REGISTER_SAVE_BND0): Removed.
22758 (REGISTER_SAVE_BND1): Likewise.
22759 (REGISTER_SAVE_BND3): Likewise.
22760 (REGISTER_SAVE_RAX): Always defined to 0.
22762 (_dl_runtime_resolve_avx): Likewise.
22763 (_dl_runtime_resolve_avx_slow): Likewise.
22764 (_dl_runtime_resolve_avx_opt): Likewise.
22765 (_dl_runtime_resolve_avx512): Likewise.
22766 (_dl_runtime_resolve_avx512_opt): Likewise.
22767 (_dl_runtime_resolve_sse): Likewise.
22768 (_dl_runtime_resolve_sse_vex): Likewise.
22770 (_dl_runtime_resolve_fxsave): Likewise.
22771 (USE_XSAVE): Likewise.
22772 (_dl_runtime_resolve_xsave): Likewise.
22773 (USE_XSAVEC): Likewise.
22774 (_dl_runtime_resolve_xsavec): Likewise.
22775 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
22777 (_dl_runtime_resolve_avx512_opt): Likewise.
22778 (_dl_runtime_resolve_avx): Likewise.
22779 (_dl_runtime_resolve_avx_opt): Likewise.
22780 (_dl_runtime_resolve_sse): Likewise.
22781 (_dl_runtime_resolve_sse_vex): Likewise.
22782 (_dl_runtime_resolve_fxsave): New.
22783 (_dl_runtime_resolve_xsave): Likewise.
22784 (_dl_runtime_resolve_xsavec): Likewise.
22786 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
22790 * posix/glob.c (__glob): Fix one-byte overflow.
22792 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22794 * malloc/malloc.c (sysdep-cancel.h): Add include.
22796 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22798 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
22800 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
22802 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
22803 (tests): Remove $(objpfx)ga_test depdendency.
22804 * resolv/ga_test.c: Remove file.
22806 2017-10-20 Mike FABIAN <mfabian@redhat.com>
22809 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
22810 * localedata/locales/kab_DZ: New file.
22812 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22814 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
22815 _dl_relocate_static_pie instead of _dl_start to compute load
22816 address in static PIE.
22818 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22820 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
22822 2017-10-20 Mike FABIAN <mfabian@redhat.com>
22825 * localedata/SUPPORTED: Add shn_MM/UTF-8.
22826 * localedata/locales/shn_MM: New file.
22828 2017-10-20 Florian Weimer <fweimer@redhat.com>
22831 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
22832 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
22833 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
22834 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
22835 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
22836 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
22838 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
22840 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22842 2017-10-19 Joseph Myers <joseph@codesourcery.com>
22844 * sysdeps/mips/ieee754/bits/floatn.h: New file.
22847 * sysdeps/mips/bits/long-double.h: Move to ....
22848 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
22850 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
22852 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
22854 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
22855 H.J. Lu <hongjiu.lu@intel.com>
22858 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22859 GLRO(dl_platform) to NULL.
22860 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
22861 (modules-names): Add tst-platformmod-1 and
22862 x86_64/tst-platformmod-2.
22863 (CFLAGS-tst-platform-1.c): New.
22864 (CFLAGS-tst-platformmod-1.c): Likewise.
22865 (CFLAGS-tst-platformmod-2.c): Likewise.
22866 (LDFLAGS-tst-platformmod-2.so): Likewise.
22867 ($(objpfx)tst-platform-1): Likewise.
22868 ($(objpfx)tst-platform-1.out): Likewise.
22869 (tst-platform-1-ENV): Likewise.
22870 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
22871 * sysdeps/x86_64/tst-platform-1.c: New file.
22872 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
22873 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
22875 2017-10-19 Mike FABIAN <mfabian@redhat.com>
22878 * locale/iso-639.def: Add Karbi.
22879 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
22880 * localedata/locales/mjw_IN: New file.
22882 2017-10-18 Joseph Myers <joseph@codesourcery.com>
22884 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
22885 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22886 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
22887 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
22888 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22889 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22890 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
22892 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22893 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22894 * manual/math.texi (Mathematics): Document additional architecture
22895 support for _Float128.
22896 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22897 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22898 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22899 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22900 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22901 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22902 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22903 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22904 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22905 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22906 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22907 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22908 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22909 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22910 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22912 2017-10-18 Renlin Li <renlin.li@arm.com>
22914 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
22915 _DYNAMIC symbol to calculate load address.
22917 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
22919 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
22920 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
22922 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
22923 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
22925 2017-10-18 Mike FABIAN <mfabian@redhat.com>
22928 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
22929 and improve readability by using more ASCII.
22930 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
22931 and improve readability by using more ASCII.
22933 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
22935 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
22936 not all targets support atomics on bool.
22938 2017-10-17 Joseph Myers <joseph@codesourcery.com>
22940 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
22941 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
22943 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22944 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
22945 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22946 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
22947 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22948 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
22950 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22952 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
22955 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22958 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
22959 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
22960 (do_check_remalloced_chunk): Fix build bug.
22961 (do_check_malloc_state): Add assert that checks arena->top.
22962 (malloc_consolidate): Remove initialization.
22963 (int_mallinfo): Remove call to malloc_consolidate.
22964 (__libc_mallopt): Clarify why malloc_consolidate is needed.
22966 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22968 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
22969 (have_fastchunks): Remove.
22970 (clear_fastchunks): Remove.
22971 (set_fastchunks): Remove.
22972 (malloc_state): Add have_fastchunks.
22973 (malloc_init_state): Use have_fastchunks.
22974 (do_check_malloc_state): Remove incorrect invariant checks.
22975 (_int_malloc): Use have_fastchunks.
22976 (_int_free): Likewise.
22977 (malloc_consolidate): Likewise.
22979 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22981 * malloc/malloc.c (tcache_put): Inline.
22982 (tcache_get): Inline.
22984 2017-10-17 Jordi Mallach <jordi@gnu.org>
22986 Aurelien Jarno <aurelien@aurel32.net>
22988 * localedata/locales/ca_ES@valencia: New file.
22989 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
22991 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
22994 * math/math.h: Let signbit use the builtin in C++ mode with gcc
22997 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22999 * scripts/build-many-glibcs.py (Context.add_all_configs):
23000 Add arm-linux-gnueabihf multiarch extra_glibcs.
23002 * sysdeps/generic/ifunc-init.h: New file.
23003 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23005 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23008 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23009 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23010 * stdlib/tst-strfmon_l.c: adapt test case.
23012 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23014 * sysdeps/generic/float128-abi.h: New file.
23015 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23016 non-__prefixed symbols to ....
23017 * math/Versions: ... here. Include <float128-abi.h>.
23018 * stdlib/Versions ... and here. Include <float128-abi.h>
23020 2017-10-16 Florian Weimer <fweimer@redhat.com>
23022 * version.h (VERSION): Switch to ".9000" as the development
23025 2017-10-16 Florian Weimer <fweimer@redhat.com>
23028 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23029 compat_symbol_reference to access non-default version.
23031 2017-10-16 Florian Weimer <fweimer@redhat.com>
23033 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23035 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23037 * include/shlib-compat.h (compat_symbol_reference): Update
23040 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23042 * math/Makefile (test-types): Add
23043 $(type-float128-$(float128-alias-fcts)).
23044 * math/test-float128.h (TYPE_STR): Define conditional on
23045 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23046 (ULP_IDX): Likewise.
23047 (ULP_I_IDX): Likewise.
23049 * stdlib/strtold.c: Include <bits/floatn.h>
23050 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23051 and later undefine as macro. Define as weak alias if
23053 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23054 and later undefine as macro. Define as weak alias if
23056 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23057 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23058 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23059 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23060 Define and later undefine as macro. Define as weak alias if
23062 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23064 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23065 Define and later undefine as macro. Define as weak alias if
23067 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23068 Define and later undefine as macro. Define as weak alias if
23071 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23073 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23074 record_verbose messages.
23076 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23079 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23080 to silence -O3 -Wall warning with GCC 7.
23082 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23084 * Makeconfig (+link-static-before-libc): Use the first of
23085 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23086 * gmon/Makefile (tests): Add tst-gmon-static.
23087 (tests-static): Likewise.
23088 (CFLAGS-tst-gmon-static.c): New.
23089 (CRT-tst-gmon-static): Likewise.
23090 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23091 (tst-gmon-static-ENV): Likewise.
23092 (tests-special): Likewise.
23093 ($(objpfx)tst-gmon-static.out): Likewise.
23094 (clean-tst-gmon-static-data): Likewise.
23095 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23096 * gmon/tst-gmon-static-gprof.sh: New file.
23097 * gmon/tst-gmon-static.c: Likewise.
23099 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23102 * locale/programs/linereader.c (get_string): Don't warn on
23103 non-symbolic character.
23106 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23110 * locale/programs/record-status.h: New file
23111 * locale/programs/locale.c: Add comment.
23112 * locale/programs/charmap-dir.c: Don't include error.h.
23113 (charmap_opendir): Use record_error.
23114 * locale/programs/charmap.c: Don't include error.h.
23115 (charmap_read): Use record_error, and record_warning.
23116 (parse_charmap): Likewise.
23117 * locale/programs/ld-address.c: Don't include error.h.
23118 (address_finish): Use record_error, and record_warning.
23119 * locale/programs/ld-collate.c: Don't include error.h.
23120 (collate_finish): Use record_error, and record_error_at_line.
23121 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23122 (ctype_class_new): Likewise.
23123 (ctype_map_new): Likewise.
23124 (set_one_default): Likewise.
23125 (set_class_defaults): Likewise.
23126 (translit_flatten): Likewise.
23127 (allocate_arrays): Use record_error, and record_verbose.
23128 * locale/programs/ld-identification.c: Don't include error.h.
23129 (indentation_finish): Use record_error and record_warning.
23130 * locale/programs/ld-measurement.c: Don't include error.h.
23131 (measurement_finish): Use record_error.
23132 * locale/programs/ld-messages.c
23133 (message_finish): Likewise.
23134 * locale/programs/ld-monetary.c
23135 (monetary_finish): Likewise.
23136 * locale/programs/ld-name.c (name_finish): Use record_error
23137 and record_warning.
23138 * locale/programs/ld-numeric.c
23139 (numeric_finish): Use record_error.
23140 * locale/programs/ld-paper.c: Don't include error.h.
23141 (paper_finish): Use record_error.
23142 * locale/programs/ld-telephone.c: Don't include error.h.
23143 (telephone_finish): Use record_error.
23144 * locale/programs/ld-time.c (time_finish): Likewise.
23145 * locale/programs/linereader.h (lr_error): Make inline func.
23146 * locale/programs/localedef.c: Define recorded_warning_count,
23147 and recorded_error_count.
23148 (main): Use record_error. Use recorded_error_count and
23149 recorded_warning_count to issue correct error returns.
23150 (add_to_readlist): Use record_error.
23151 (find_locale): Likewise.
23152 (load_locale): Likewise.
23153 * locale/programs/localedef.h: Remove be_quiet
23154 and WITH_CUR_LOCALE.
23155 * locale/programs/locarchive.c (compare_from_file): Use
23157 * locale/programs/locfile.c (write_locale_data): Use
23159 * locale/programs/repertoire.c: Dont include error.h.
23160 (repertoire_complain): Use record_error.
23161 * localedata/tst-fmon.sh: Expect failures from localedef.
23162 * localedata/tst-locale.sh: Likewise.
23163 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23165 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23166 (REPORTS): Likewise.
23168 (i18n): Rename to...
23169 (i18n_ctype): ...this.
23170 (i18n-report): Rename to...
23171 (i18n_ctype-report): ...this.
23172 * localedata/locales/i18n_ctype: Regenerate.
23173 * localedata/locales/i18n: copy i18n_ctype.
23175 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23177 * stdlib/strfroml.c: Include <bits/floatn.h>.
23178 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23179 Define before include of <stdlib.h> and undefine afterwards, then
23180 define as weak alias.
23182 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23183 Undefine and restore default definition. Use
23184 libm_alias_ldouble_other.
23186 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23189 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23192 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23194 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23195 Assign sym_map to be map for local symbols, as TLS relocations
23196 use sym_map to determine whether the symbol is defined and to
23197 extract the TLS information.
23198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23201 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23204 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23205 (math_force_eval): Add powerpc version.
23208 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23210 (do_test): Likewise.
23211 * stdio-common/tst-printf.sh: Likewise.
23212 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23213 ifdef clause in order to set the carry bit right. Replace r0 by
23214 0 without changing the behavior.
23216 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23218 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23219 <libm-alias-ldouble.h>.
23220 (fabsl): Define using libm_alias_ldouble.
23221 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23222 <libm-alias-ldouble.h>.
23223 (fabsl): Define using libm_alias_ldouble.
23225 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23226 Remove conditional code.
23228 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23229 Rename to __clog10_internal_l.
23230 (__clog10_internal_l): Define aliases using
23231 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23234 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23236 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23237 * benchtests/sincosf-inputs: New file.
23238 * benchtests/cosf-inputs: New file.
23239 * benchtests/sinf-inputs: New file.
23241 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23243 * posix/tst-spawn.c (do_test): Wait for both children.
23245 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23248 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23249 tests-pie): Add tst-gmon-pie.
23250 (CFLAGS-tst-gmon-pie.c): New.
23251 (CRT-tst-gmon-pie): Likewise.
23252 (tst-gmon-pie-ENV): Likewise.
23253 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23254 ($(objpfx)tst-gmon-pie.out): Likewise.
23255 (clean-tst-gmon-pie-data): Likewise.
23256 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23257 * gmon/gmon.c [PIC]: Include <link.h>.
23258 [PIC] (callback): New function.
23259 (write_hist): Add an argument for load address. Subtract load
23261 (write_call_graph): Likewise.
23262 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23263 it to write_hist and write_call_graph.
23264 * gmon/tst-gmon-pie.c: New file.
23266 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23268 * math/Makefile (test-types-basic): New variable.
23269 (test-types): Likewise.
23270 (libm-test-support): Use $(test-types) instead of $(types).
23271 (libm-tests-base-normal): Likewise.
23272 (libm-tests-base-finite): Likewise.
23273 (libm-tests-base-inline): Likewise.
23274 (generated): Likewise.
23275 ($(objpfx)libm-test-support-$(t).c): Likewise.
23276 (libm-tests-for-type iterator): Likewise.
23277 (libm-test-support iterator): Likewise.
23278 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23279 (ulp_idx): Use ULP_IDX.
23280 * math/test-ldouble.h: Include <float.h>.
23281 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23282 (ULP_IDX): New macro.
23283 (ULP_I_IDX): Likewise.
23284 * math/test-double.h (ULP_IDX): Likewise.
23285 (ULP_I_IDX): Likewise.
23286 * math/test-float.h (ULP_IDX): Likewise.
23287 (ULP_I_IDX): Likewise.
23288 * math/test-float128.h (ULP_IDX): Likewise.
23289 (ULP_I_IDX): Likewise.
23291 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23293 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23294 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23295 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23296 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23297 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23298 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23299 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23300 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23301 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23302 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23303 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23304 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23305 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23307 (SINGLE_THREAD_BY_GLOBAL): Define.
23308 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23310 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23312 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23314 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23316 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23317 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23321 2017-10-11 Andreas Schwab <schwab@suse.de>
23323 * nis/Makefile (aux): Remove.
23324 * nscd/Makefile (aux): Add nscd_hash.
23325 (nscd-modules): Likewise.
23326 ($(objpfx)nscd): Don't depend on libnsl.
23327 * nscd/nscd_hash.c: New file.
23328 * nscd/nscd_hash.h: Likewise.
23329 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23330 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23331 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23332 instead of <nis/rpcsvc/nis.h>.
23333 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23335 2017-10-11 Florian Weimer <fweimer@redhat.com>
23338 Avoid large NSS buffers with many addresses, aliases.
23339 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23340 using dynarrays and struct alloc_buffer.
23341 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23342 (tst-nss-files-hosts-multi): Link with -ldl.
23343 * nss/tst-nss-files-hosts-multi.c: New file.
23345 2017-10-11 Florian Weimer <fweimer@redhat.com>
23348 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23349 scratch_buffer. Eliminate gotos.
23351 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23353 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23354 libm_alias_ldouble_other.
23355 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23356 undefine and redefine.
23357 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23358 (exp10l): Do not define here.
23359 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23360 (weak_alias): Undefine and redefine.
23361 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23362 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23363 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
23364 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
23366 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
23367 [!__fma] (fma): Define using libm_alias_double.
23368 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
23369 [!__fmaf] (fmaf): Define using libm_alias_float.
23370 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
23371 (fmal): Define using libm_alias_ldouble.
23373 2017-10-10 Joseph Myers <joseph@codesourcery.com>
23375 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
23377 (libm_alias_double_other): Likewise.
23378 (libm_alias_double_r): Use libm_alias_double_other_r.
23379 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
23381 (libm_alias_float_other): Likewise.
23382 (libm_alias_float_r): Use libm_alias_float_other_r.
23383 * sysdeps/generic/libm-alias-float128.h
23384 (libm_alias_float128_other_r): New macro.
23385 (libm_alias_float128_other): Likewise.
23386 (libm_alias_float128_r): Use libm_alias_float128_other_r.
23387 * sysdeps/generic/libm-alias-ldouble.h
23388 (libm_alias_ldouble_other_r): New macro.
23389 (libm_alias_ldouble_other): Likewise.
23390 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23391 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23392 (libm_alias_double_other_r): New macro.
23393 (libm_alias_double_other): Likewise.
23394 (libm_alias_double_r): Use libm_alias_double_other_r.
23395 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23396 (libm_alias_ldouble_other_r): New macro.
23397 (libm_alias_ldouble_other): Likewise.
23398 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23399 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
23400 [!USE_AS_COMPAT]: Use libm_alias_double_other.
23401 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
23402 [!USE_AS_COMPAT]: Use libm_alias_float_other.
23403 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
23404 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
23405 * math/w_exp2f.c: Use libm_alias_float_other.
23406 * math/w_expf.c: Likewise.
23407 * math/w_log2f.c: Likewise.
23408 * math/w_logf.c: Likewise.
23409 * math/w_powf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
23411 [!__exp2f]: Use libm_alias_float_other.
23412 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
23413 [!__expf]: Use libm_alias_float_other.
23414 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
23415 [!__log2f]: Use libm_alias_float_other.
23416 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
23417 [!__logf]: Use libm_alias_float_other.
23418 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
23419 [!__powf]: Use libm_alias_float_other.
23421 2017-10-10 Florian Weimer <fweimer@redhat.com>
23423 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
23425 (_nss_files_gethostbyname3_r): Call it.
23427 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23429 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
23430 error. Remove default definition of declare_mgen_alias.
23431 [!declare_mgen_alias_r]: Likewise.
23432 * sysdeps/generic/math-type-macros-double.h
23433 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
23434 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
23435 (declare_mgen_alias_r): Likewise.
23436 * sysdeps/generic/math-type-macros-float128.h
23437 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23438 * sysdeps/generic/math-type-macros-ldouble.h
23439 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23440 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
23442 (declare_mgen_alias_r_s): Likewise.
23443 (declare_mgen_alias_r): Likewise.
23444 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
23445 (lgamma_r): Define using libm_alias_double_r.
23446 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
23447 (lgammaf_r): Define using libm_alias_float_r.
23448 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
23449 (lgammal_r): Define using libm_alias_ldouble_r.
23450 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
23451 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
23453 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23455 * lib/glob.c (__glob_pattern_type): Remove now-spurious
23456 extern declaration.
23458 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23460 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
23462 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
23465 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
23466 [__cplusplus >= 201103] (__USE_ISOC99): Define.
23467 * math/Makefile (test-math-cxx11): New test.
23468 * math/test-math-cxx11.cc: New file.
23470 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
23472 * login/openpty.c (openpty): Close slave pty file descriptor on error.
23474 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
23475 call to allocate the slave pty file descriptor.
23477 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23479 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
23480 [!__fma] (fma): Define using libm_alias_double.
23481 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
23482 [!__fma] (fma): Define using libm_alias_double.
23484 * sysdeps/ieee754/float128/float128_private.h: Include
23485 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
23486 (libm_alias_ldouble_r): Undefine and redefine.
23487 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
23488 <libm-alias-ldouble.h>.
23489 (asinhl): Define using libm_alias_ldouble.
23490 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
23491 <libm-alias-ldouble.h>.
23492 (atanl): Define using libm_alias_ldouble.
23493 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
23494 <libm-alias-ldouble.h>.
23495 (cbrtl): Define using libm_alias_ldouble.
23496 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
23497 <libm-alias-ldouble.h>.
23498 (ceill): Define using libm_alias_ldouble.
23499 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
23500 <libm-alias-ldouble.h>.
23501 (copysignl): Define using libm_alias_ldouble.
23502 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
23503 <libm-alias-ldouble.h>.
23504 (cosl): Define using libm_alias_ldouble.
23505 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
23506 <libm-alias-ldouble.h>.
23507 (erfl): Define using libm_alias_ldouble.
23509 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
23510 <libm-alias-ldouble.h>.
23511 (expm1l): Define using libm_alias_ldouble.
23512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
23513 <libm-alias-ldouble.h>.
23514 (fabsl): Define using libm_alias_ldouble.
23515 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
23516 <libm-alias-ldouble.h>.
23517 (floorl): Define using libm_alias_ldouble.
23518 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
23519 <libm-alias-ldouble.h>.
23520 (fmal): Define using libm_alias_ldouble.
23521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
23522 <libm-alias-ldouble.h>.
23523 (frexpl): Define using libm_alias_ldouble.
23524 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
23525 libm_alias_ldouble.
23526 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
23527 <libm-alias-ldouble.h>.
23528 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
23529 libm_alias_ldouble.
23530 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
23531 <libm-alias-ldouble.h>.
23532 (getpayloadl): Define using libm_alias_ldouble.
23533 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
23534 <libm-alias-ldouble.h>.
23535 (llrintl): Define using libm_alias_ldouble.
23536 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
23537 <libm-alias-ldouble.h>.
23538 (llroundl): Define using libm_alias_ldouble.
23539 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
23540 <libm-alias-ldouble.h>.
23541 (logbl): Define using libm_alias_ldouble.
23542 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
23543 <libm-alias-ldouble.h>.
23544 (lrintl): Define using libm_alias_ldouble.
23545 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
23546 <libm-alias-ldouble.h>.
23547 (lroundl): Define using libm_alias_ldouble.
23548 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
23549 <libm-alias-ldouble.h>.
23550 (modfl): Define using libm_alias_ldouble.
23551 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
23552 <libm-alias-ldouble.h>.
23553 (nearbyintl): Define using libm_alias_ldouble.
23554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
23555 <libm-alias-ldouble.h>.
23556 (nextafterl): Define using libm_alias_ldouble.
23557 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
23558 <libm-alias-ldouble.h>.
23559 (nextupl): Define using libm_alias_ldouble.
23560 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
23561 <libm-alias-ldouble.h>.
23562 (remquol): Define using libm_alias_ldouble.
23563 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
23564 <libm-alias-ldouble.h>.
23565 (rintl): Define using libm_alias_ldouble.
23566 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
23567 <libm-alias-ldouble.h>.
23568 (roundevenl): Define using libm_alias_ldouble.
23569 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
23570 <libm-alias-ldouble.h>.
23571 (roundl): Define using libm_alias_ldouble.
23572 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
23573 using libm_alias_ldouble.
23574 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
23575 <libm-alias-ldouble.h>.
23576 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
23577 Define using libm_alias_ldouble.
23578 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
23579 <libm-alias-ldouble.h>.
23580 (sincosl): Define using libm_alias_ldouble.
23581 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
23582 <libm-alias-ldouble.h>.
23583 (sinl): Define using libm_alias_ldouble.
23584 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
23585 <libm-alias-ldouble.h>.
23586 (tanhl): Define using libm_alias_ldouble.
23587 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
23588 <libm-alias-ldouble.h>.
23589 (tanl): Define using libm_alias_ldouble.
23590 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
23591 <libm-alias-ldouble.h>.
23592 (totalorderl): Define using libm_alias_ldouble.
23593 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
23594 <libm-alias-ldouble.h>.
23595 (totalordermagl): Define using libm_alias_ldouble.
23596 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
23597 <libm-alias-ldouble.h>.
23598 (truncl): Define using libm_alias_ldouble.
23599 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
23600 libm_alias_ldouble.
23601 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
23602 libm_alias_ldouble.
23603 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
23604 <libm-alias-ldouble.h>.
23605 (weak_alias): Do not undefine and redefine.
23606 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23607 (copysignl): Define with long_double_symbol only if [IS_IN
23609 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
23610 <libm-alias-ldouble.h>.
23611 (weak_alias): Do not undefine and redefine.
23612 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23613 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
23614 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
23615 <libm-alias-ldouble.h>.
23616 (weak_alias): Do not undefine and redefine.
23617 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23618 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
23619 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
23620 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
23623 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
23626 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
23629 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
23636 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
23638 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
23644 2017-10-06 Carlos O'Donell <carlos@redhat.com>
23647 * malloc/malloc.c (tcache_shutting_down): Use bool type.
23648 (tcache_thread_freeres): Set tcache_shutting_down before
23649 freeing the tcache.
23650 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
23651 * malloc/tst-malloc-tcache-leak.c: New file.
23653 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23655 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
23656 back to powerpc32 file.
23657 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23658 (memrchr): Add __memrchr_power8 to ifunc list.
23659 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
23660 extra bytes for unaligned inputs.
23662 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23664 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
23665 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23670 2017-10-05 Joseph Myers <joseph@codesourcery.com>
23672 * sysdeps/arm/libm-test-ulps: Update.
23674 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
23675 <libm-alias-ldouble.h>.
23676 (asinhl): Define using libm_alias_ldouble.
23677 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
23678 <libm-alias-ldouble.h>.
23679 (cbrtl): Define using libm_alias_ldouble.
23680 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
23681 <libm-alias-ldouble.h>.
23682 (copysignl): Define using libm_alias_ldouble.
23683 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
23684 <libm-alias-ldouble.h>.
23685 (cosl): Define using libm_alias_ldouble.
23686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
23687 <libm-alias-ldouble.h>.
23688 (erfl): Define using libm_alias_ldouble.
23690 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
23691 <libm-alias-ldouble.h>.
23692 (fmal): Define using libm_alias_ldouble.
23693 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
23694 <libm-alias-ldouble.h>.
23695 (frexpl): Define using libm_alias_ldouble.
23696 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
23697 libm_alias_ldouble.
23698 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
23699 <libm-alias-ldouble.h>.
23700 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
23701 libm_alias_ldouble.
23702 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
23703 <libm-alias-ldouble.h>.
23704 (getpayloadl): Define using libm_alias_ldouble.
23705 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
23706 <libm-alias-ldouble.h>.
23707 (llrintl): Define using libm_alias_ldouble.
23708 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
23709 <libm-alias-ldouble.h>.
23710 (llroundl): Define using libm_alias_ldouble.
23711 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
23712 <libm-alias-ldouble.h>.
23713 (lrintl): Define using libm_alias_ldouble.
23714 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
23715 <libm-alias-ldouble.h>.
23716 (lroundl): Define using libm_alias_ldouble.
23717 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
23718 <libm-alias-ldouble.h>.
23719 (modfl): Define using libm_alias_ldouble.
23720 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
23721 <libm-alias-ldouble.h>.
23722 (nextupl): Define using libm_alias_ldouble.
23723 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
23724 <libm-alias-ldouble.h>.
23725 (remquol): Define using libm_alias_ldouble.
23726 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
23727 <libm-alias-ldouble.h>.
23728 (roundevenl): Define using libm_alias_ldouble.
23729 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
23730 <libm-alias-ldouble.h>.
23731 (roundl): Define using libm_alias_ldouble.
23732 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
23733 using libm_alias_ldouble.
23734 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
23735 <libm-alias-ldouble.h>.
23736 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
23737 <libm-alias-ldouble.h>.
23738 (setpayloadsigl): Define using libm_alias_ldouble.
23739 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
23740 <libm-alias-ldouble.h>.
23741 (sincosl): Define using libm_alias_ldouble.
23742 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
23743 <libm-alias-ldouble.h>.
23744 (sinl): Define using libm_alias_ldouble.
23745 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
23746 <libm-alias-ldouble.h>.
23747 (tanhl): Define using libm_alias_ldouble.
23748 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
23749 <libm-alias-ldouble.h>.
23750 (tanl): Define using libm_alias_ldouble.
23751 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
23752 <libm-alias-ldouble.h>.
23753 (totalorderl): Define using libm_alias_ldouble.
23754 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
23755 <libm-alias-ldouble.h>.
23756 (totalordermagl): Define using libm_alias_ldouble.
23757 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
23758 libm_alias_ldouble.
23759 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
23760 libm_alias_ldouble.
23762 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
23764 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
23766 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23767 (__libc_ifunc_impl_list): Likewise.
23768 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
23769 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
23771 * benchtests/bench-memmove-walk.c: New file.
23772 * benchtests/Makefile (string-benchset): Add it.
23774 * benchtests/bench-memset-walk.c: New file.
23775 * benchtests/Makefile (string-benchset): Add it.
23777 * benchtests/bench-memcpy-walk.c: New file.
23778 * benchtests/Makefile (string-benchset): Add it.
23780 2017-10-05 Florian Weimer <fweimer@redhat.com>
23782 nscd: Eliminate compilation time dependency in the build output.
23783 * nscd/nscd_stat.c (STATDATA_VERSION)
23784 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
23785 (STATDATA_VERSION_FULL): New macro definitions.
23786 (compilation): Remove.
23787 (struct statdata): Adjust version member.
23788 (send_stats): Set version from STATDATA_VERSION_FULL.
23789 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
23791 2017-10-05 Joseph Myers <joseph@codesourcery.com>
23793 * configure.ac (--enable-add-ons): Remove option.
23794 (machine): Do not mention add-ons in comment.
23795 (LIBC_PRECONFIGURE): Likewise.
23796 (add_ons): Remove variable and sanity checks and logic to locate
23798 (add_ons_automatic): Remove variable.
23799 (configured_add_ons): Likewise.
23800 (add_ons_sfx): Likewise.
23801 (add_ons_pfx): Likewise.
23802 (add_on_subdirs): Likewise.
23803 (sysnames_add_ons): Likewise. Remove loop over add-ons and
23804 consideration of add-ons in Implies handling.
23805 (sysdeps_add_ons): Likewise.
23806 * configure: Regenerated.
23807 * libidn/configure.ac: Remove.
23808 * libidn/configure: Likewise.
23809 * sysdeps/unix/inet/configure.ac: New file.
23810 * sysdeps/unix/inet/configure: New generated file.
23811 * sysdeps/unix/inet/Subdirs: Add libidn.
23812 * Makeconfig (sysdeps-srcdirs): Remove variable.
23813 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
23814 ($(common-objpfx)config.status): Do not depend on add-on files.
23815 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
23817 (all-subdirs): Do not include $(add-on-subdirs).
23818 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
23819 * config.make.in (add-ons): Remove variable.
23820 (add-on-subdirs): Likewise.
23821 (sysdeps-add-ons): Likewise.
23822 * manual/Makefile (add-chapters): Remove.
23823 ($(objpfx)texis): Do not depend on $(add-chapters).
23824 (nonexamples): Do not handle $(add-chapters).
23825 (examples): Do not handle $(add-ons).
23826 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
23828 * manual/install.texi (Installation): Do not mention add-ons.
23829 (--enable-add-ons): Do not document configure option.
23830 * INSTALL: Regenerated.
23831 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
23832 * manual/maint.texi (Hierarchy Conventions): Do not mention
23834 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
23836 * scripts/gen-sorted.awk: Do not handle Subdirs files from
23838 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
23839 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
23841 2017-10-05 Andreas Schwab <schwab@suse.de>
23844 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
23845 (_IO_flush_all_lockp): Always lock list_all_lock.
23846 (_IO_flush_all_linebuffered): Likewise.
23847 (_IO_unbuffer_all): Likewise.
23849 2017-10-05 Florian Weimer <fweimer@redhat.com>
23852 Do not flush stdio streams on abort.
23853 * stdlib/abort.c (fflush): Remove macro definition.
23854 (abort): Remove stages related to stdio flushing.
23856 2017-10-05 Florian Weimer <fweimer@redhat.com>
23858 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
23860 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
23862 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23864 2017-10-05 Florian Weimer <fweimer@redhat.com>
23866 * support/support_format_hostent.c (support_format_hostent): Add
23867 more error information for NETDB_INTERNAL.
23869 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23871 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
23872 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
23873 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
23874 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
23875 AC_DEFINE if multi-arch is enabled.
23876 * sysdeps/i386/configure: Regenerated.
23878 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23880 * Makeconfig (+link-static-before-libc): Use
23881 $(DEFAULT-LDFLAGS-$(@F)).
23882 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
23883 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
23884 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
23886 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23888 * elf/Makefile (tests): Add tst-main1.
23889 (modules-names): Add tst-main1mod.
23890 ($(objpfx)tst-main1): New.
23891 (CRT-tst-main1): Likewise.
23892 (LDFLAGS-tst-main1): Likewise.
23893 (LDLIBS-tst-main1): Likewise.
23894 (tst-main1mod.so-no-z-defs): Likewise.
23895 * elf/tst-main1.c: New file.
23896 * elf/tst-main1mod.c: Likewise.
23898 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23900 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
23902 2017-10-04 Joseph Myers <joseph@codesourcery.com>
23904 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
23905 (fma): Define using libm_alias_double.
23906 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
23907 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
23909 (fmal): Do not define as compat symbol here.
23910 * sysdeps/alpha/fpu/s_fma.c: New file.
23912 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23914 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
23916 2017-10-04 Joseph Myers <joseph@codesourcery.com>
23919 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23921 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
23923 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
23924 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23925 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
23926 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
23927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23928 Include <math_ldbl_opt.h>
23929 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
23931 (compat_symbol): Undefine and redefine.
23932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23934 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23935 (compat_symbol): Undefine and redefine.
23936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
23937 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
23938 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
23939 GLIBC_2_1 for libm.
23940 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
23941 GLIBC_2.0 copysignl symbol.
23942 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23943 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
23945 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
23947 2017-10-04 Florian Weimer <fweimer@redhat.com>
23949 * scripts/check-local-headers.sh: Ignore nspr4 header file
23950 directory in addition to nspr.
23952 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
23955 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
23956 * configure: Regenerate.
23957 * crypt/Makefile (nss-cpp-flags): New variable.
23958 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
23959 (CPPFLAGS-md5-crypt.c): Use it.
23960 * scripts/check-local-headers.sh: Ignore nspr header file
23963 2017-10-04 Andreas Schwab <schwab@suse.de>
23965 * nis/Makefile (services): Remove compat.
23966 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
23967 ($(objpfx)libnss_compat.so): Remove rule.
23968 * nis/Versions (libnss_compat): Remove.
23969 * nss/Makefile (services): Add compat.
23970 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
23971 * nss/Versions (libnss_compat): Define.
23972 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
23973 Don't include <rpc/types.h>. Replace bool_t by bool.
23974 * nss/nss_compat/compat-initgroups.c: Likewise.
23975 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
23976 instead of <rpcsrv/ypclnt.h>.
23977 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
23978 yp_get_default_domain.
23979 * nss/nss_compat/compat-pwd.c: Likewise.
23980 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
23981 yp_get_default_domain.
23982 * nss/nss_compat/nisdomain.c: New file.
23983 * nss/nss_compat/nisdomain.h: Likewise.
23985 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23988 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
23989 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23991 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23994 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
23995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
23997 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23999 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24000 "movl main@GOTOFF(%ebx), %eax".
24002 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24004 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24005 allow undefined _DYNAMIC in PIE libc.a.
24006 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24009 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24011 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24014 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24016 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24019 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24021 * math/test-math-iscanonical.cc (error): Replace bool with int.
24023 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24025 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24026 (modf): Define using libm_alias_double, only if [!__modf].
24027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24028 <libm-alias-double.h>.
24029 (modf): Define using libm_alias_double, only if [!__modf].
24030 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24031 compat symbol here.
24032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24033 (weak_alias): Do not undefine and redefine.
24034 (strong_alias): Likewise.
24035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24036 (weak_alias): Likewise.
24037 (strong_alias): Likewise.
24039 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24040 (logb): Define using libm_alias_double, only if [!__logb].
24041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24042 <libm-alias-double.h>.
24043 (logb): Define using libm_alias_double, only if [!__logb].
24044 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24046 (weak_alias): Do not undefine and redefine.
24047 (strong_alias): Likewise.
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24049 (weak_alias): Likewise.
24050 (strong_alias): Likewise.
24052 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24054 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24055 Check SHARED instead PIC.
24057 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24059 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24060 [!__fmaf] (fmaf): Define using libm_alias_float.
24062 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24063 (frexp): Define using libm_alias_double.
24064 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24065 <libm-alias-double.h>.
24066 (frexp): Define using libm_alias_double.
24067 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24068 compat symbol here.
24070 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24073 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24074 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24075 (CFLAGS-test-math-iscanonical.cc): New variable.
24076 * math/test-math-iscanonical.cc: New file.
24077 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24078 Provide a C++ implementation based on function overloading,
24079 rather than using __MATH_TG, which uses C-only builtins.
24080 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24082 * sysdeps/powerpc/powerpc64le/Makefile
24083 (CFLAGS-test-math-iscanonical.cc): New variable.
24085 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24087 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24088 (ceil): Define using libm_alias_double.
24089 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24090 (floor): Define using libm_alias_double.
24091 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24092 <libm-alias-double.h>.
24093 (llround): Define using libm_alias_double.
24094 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24095 <libm-alias-double.h>.
24096 (lround): Define using libm_alias_double.
24097 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24098 <libm-alias-double.h>.
24099 (nearbyint): Define using libm_alias_double.
24100 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24101 <libm-alias-double.h>.
24102 (remquo): Define using libm_alias_double.
24103 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24104 (rint): Define using libm_alias_double.
24105 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24106 (round): Define using libm_alias_double.
24107 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24108 (trunc): Define using libm_alias_double.
24109 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24110 <libm-alias-double.h>.
24111 (ceil): Define using libm_alias_double.
24112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24113 <libm-alias-double.h>.
24114 (floor): Define using libm_alias_double.
24115 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24116 <libm-alias-double.h>.
24117 (llround): Define using libm_alias_double.
24118 [_LP64] (lround): Likewise.
24119 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24120 <libm-alias-double.h>.
24121 [!_LP64] (lround): Define using libm_alias_double.
24122 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24123 <libm-alias-double.h>.
24124 (nearbyint): Define using libm_alias_double.
24125 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24126 <libm-alias-double.h>.
24127 (remquo): Define using libm_alias_double.
24128 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24129 <libm-alias-double.h>.
24130 (rint): Define using libm_alias_double.
24131 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24132 <libm-alias-double.h>.
24133 (round): Define using libm_alias_double.
24134 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24135 <libm-alias-double.h>.
24136 (trunc): Define using libm_alias_double.
24137 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24138 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24139 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24140 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24141 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24142 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24143 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24144 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24145 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24147 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24149 * math/w_remainder.c: New file.
24150 * math/w_remainderf.c: New file.
24151 * math/w_remainderl.c: New file.
24153 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24155 * elf/rtld.c (BOOTSTRAP_MAP): New.
24156 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24157 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24159 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24161 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24164 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24166 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24167 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24168 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24169 rtld_hidden_data_ver): Define to empty.
24170 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24171 __assert_perror_fail): Likewise.
24172 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24173 (__rewinddir): Likewise.
24174 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24175 (__profile_frequency): Likewise.
24176 * include/setjmp.h (__sigsetjmp): Likewise.
24177 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24178 __libc_sigaction): Likewise.
24179 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24180 not set hidden attribute.
24181 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24182 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24183 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24184 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24185 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24186 __fxstatat64): Likewise.
24187 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24188 (__uname): Likewise.
24189 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24190 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24191 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24192 (NO_RTLD_HIDDEN): Set.
24193 * sysdeps/mach/hurd/configure: Refresh.
24194 * config.h.in: Refresh.
24196 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24198 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24199 (atan): Define using libm_alias_double.
24200 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24201 (tan): Define using libm_alias_double.
24202 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24203 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24205 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24206 define as weak alias of __atan. Do not define any aliases if
24208 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24209 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24210 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24211 as weak alias of __tan. Do not define any aliases if [__tan].
24212 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24213 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24214 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24216 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24217 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24218 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24219 and define as weak alias of __atan.
24220 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24222 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24223 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24224 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24225 define as weak alias of __tan.
24227 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24229 * math/w_lgamma.c: New file.
24230 * math/w_lgammaf.c: New file.
24231 * math/w_lgammal.c: New file.
24233 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24235 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24236 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24237 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24238 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24239 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24240 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24241 * sysdeps/i386/fpu/w_log2f.c: New file.
24242 * sysdeps/i386/fpu/w_logf.c: New file.
24243 * sysdeps/i386/fpu/w_powf.c: New file.
24244 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24245 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24246 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24248 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24249 H.J. Lu <hongjiu.lu@intel.com>
24251 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24252 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24253 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24254 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24257 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24258 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24259 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24260 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24261 * sysdeps/i386/fpu/w_exp2f.c: New file.
24262 * sysdeps/i386/fpu/w_expf.c: New file.
24263 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24264 * sysdeps/x86_64/fpu/w_expf.c: New file.
24266 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24268 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24271 * math/w_log2f.c: New file.
24272 * math/w_logf.c: New file.
24273 * math/w_powf.c: New file.
24274 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24275 * math/w_logf_compat.c (__logf_compat): Likewise.
24276 * math/w_powf_compat.c (__powf_compat): Likewise.
24277 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24278 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24279 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24280 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24281 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24282 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24283 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24284 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24285 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24286 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24287 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24288 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24289 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24290 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24291 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24300 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24301 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24302 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24303 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24304 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24309 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24310 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24311 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24313 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24315 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24316 (sysdep_routines): Add memrchr_power8.
24317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24318 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24319 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24321 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24322 (memrchr): Add __memrchr_power8 to ifunc list.
24323 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24328 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24329 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24331 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24332 (__posix_fallocate64_l64): Likewise.
24334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24337 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24338 (__sched_setaffinity_new): Add libc_hidden_proto and
24341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24344 * include/glob.h (__glob64): Add libc_hidden_proto.
24345 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24351 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24357 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24359 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24362 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
24365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24368 * csu/version.c (__libc_print_version): Add attribute_hidden.
24370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24373 * include/libc-internal.h (__init_misc): Add attribute_hidden.
24375 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24378 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
24380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24383 * nscd/nscd_helper.c (__nis_hash): New prototype.
24385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24388 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
24389 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
24391 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24392 * termios/tcgetattr.c (__tcgetattr): Likewise.
24394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24397 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
24398 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
24399 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
24400 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
24401 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
24403 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24406 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
24408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24411 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
24412 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
24414 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24417 * intl/hash-string.h (__hash_string): Add attribute_hidden.
24419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24422 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
24423 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
24425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24428 * include/ifreq.h: New file.
24429 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
24430 (__ifreq): Likewise.
24431 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
24432 (__ifreq): Likewise.
24434 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24437 * include/idna.h: New file.
24438 * inet/getnameinfo.c: Include <idna.h> instead of
24440 (__idna_to_unicode_lzlz): Removed.
24441 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
24443 (__idna_to_ascii_lz): Removed.
24444 (__idna_to_unicode_lzlz): Likewise.
24446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24449 * include/plural-exp.h: New file.
24450 * intl/plural-exp.c: Include <plural-exp.h> instead of
24453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24456 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
24457 "getsourcefilter.h".
24458 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
24459 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
24460 "getsourcefilter.h".
24461 (__get_sol): Removed.
24463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24466 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
24468 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
24470 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24473 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
24476 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24479 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
24481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24484 * include/search.h (__tdestroy): Add libc_hidden_proto.
24485 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
24487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24490 * include/assert.h (__assert_fail_base): Add attribute_hidden.
24492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24495 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
24498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24501 * include/signal.h (__kill): Add libc_hidden_proto.
24502 (__sigblock): Likewise.
24503 (__sigprocmask): Likewise.
24504 (__sigaltstack): Likewise.
24505 * signal/kill.c (__kill): Add libc_hidden_def.
24506 * signal/sigblock.c (__sigblock): Likewise.
24507 * signal/sigprocmask.c (__sigprocmask): Likewise.
24508 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
24509 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24510 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24511 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24512 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
24514 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24516 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24517 (__sigprocmask): Likewise.
24518 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
24520 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24521 (__sigprocmask): Likewise.
24522 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24525 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24528 * include/string.h (__strsep): Add libc_hidden_proto.
24529 * string/strsep.c (__strsep): Add libc_hidden_def.
24531 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24534 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
24536 (__spawni): Likewise.
24538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24541 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
24542 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
24545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24548 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
24550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24553 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
24554 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
24555 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24556 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
24557 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
24559 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
24560 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
24562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24565 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
24566 (__dcigettext): Likewise.
24568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24571 * include/sys/sysinfo.h (__get_nprocs_conf): Add
24573 (__get_nprocs): Likewise.
24574 (__get_phys_pages): Likewise.
24575 (__get_avphys_pages): Likewise.
24576 (__get_child_max): Add attribute_hidden.
24577 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
24578 (__get_nprocs): Likewise.
24579 (__get_phys_pages): Likewise.
24580 (__get_avphys_pages): Likewise.
24581 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
24583 (__get_nprocs): Likewise.
24584 (__get_phys_pages): Likewise.
24585 (__get_avphys_pages): Likewise.
24586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
24588 (__get_nprocs_conf): Likewise.
24589 (__get_phys_pages): Likewise.
24590 (__get_avphys_pages): Likewise.
24592 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24595 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
24597 (__netlink_close): Likewise.
24598 (__netlink_free_handle): Likewise.
24599 (__netlink_request): Likewise.
24601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24604 * include/rpc/rpc.h (__rpc_thread_variables): Add
24606 (__rpc_thread_svc_cleanup): Likewise.
24607 (__rpc_thread_clnt_cleanup): Likewise.
24608 (__rpc_thread_key_cleanup): Likewise.
24610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24613 * include/sys/uio.h (__readv): Add libc_hidden_proto.
24614 (__writev): Likewise.
24615 * misc/readv.c (__readv): Add libc_hidden_def.
24616 * misc/writev.c (__writev): Likewise.
24617 * sysdeps/posix/readv.c (__readv): Likewise.
24618 * sysdeps/posix/writev.c (__writev): Likewise.
24619 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
24620 (__readv): Likewise.
24621 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
24622 (__writev): Likewise.
24624 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24627 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
24628 (__regcomp): Add libc_hidden_proto.
24629 (__regexec): Likewise.
24630 (__regfree): Likewise.
24631 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
24632 (__regfree): Likewise.
24633 * posix/regexec.c (__regexec): Likewise.
24635 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24638 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
24639 (__getutent): Likewise.
24640 (__getutid): Likewise.
24641 (__getutline): Likewise.
24642 (__pututline): Likewise.
24643 (__getutent_r): Likewise.
24644 (__getutid_r): Likewise.
24645 (__getutline_r): Likewise.
24646 (__utmpname): Add attribute_hidden.
24647 (__setutent): Likewise.
24648 (__endutent): Likewise.
24649 * login/getutent.c (__getutent): Add libc_hidden_def.
24650 * login/getutent_r.c (__getutent_r): Likewise.
24651 (__pututline): Likewise.
24652 * login/getutid.c (__getutid): Likewise.
24653 * login/getutid_r.c (__getutid_r): Likewise.
24654 * login/getutline.c (__getutline): Likewise.
24655 * login/getutline_r.c (__getutline_r): Likewise.
24656 * login/updwtmp.c (__updwtmp): Likewise.
24658 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24661 * include/dirent.h (__opendir): Always add attribute_hidden.
24662 (__fdopendir): Likewise.
24663 (__closedir): Likewise.
24664 (__readdir): Likewise.
24665 (__readdir64): Add libc_hidden_proto.
24666 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
24667 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
24668 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
24669 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
24672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24675 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
24676 * include/netdb.h (__gethostbyaddr_r): Likewise.
24677 (__gethostbyname_r): Likewise.
24678 (__gethostbyname2_r): Likewise.
24679 (__getnetbyaddr_r): Likewise.
24680 (__getnetbyname_r): Likewise.
24681 (__getservbyname_r): Likewise.
24682 (__getservbyport_r): Likewise.
24683 (__getprotobyname_r): Likewise.
24684 (__getprotobynumber_r): Likewise.
24685 (__getnetgrent_r): Likewise.
24686 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
24687 (__getrpcbynumber_r): Likewise.
24688 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
24690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24693 * include/stdio.h (__fcloseall): Add attribute_hidden.
24694 (__getline): Likewise.
24695 (__path_search): Likewise.
24696 (__gen_tempname): Likewise.
24697 (__libc_message): Likewise.
24698 (__flockfile): Likewise.
24699 (__funlockfile): Likewise.
24700 (__fxprintf): Likewise.
24701 (__fxprintf_nocancel): Likewise.
24703 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24706 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
24707 (__sgetsgent_r): Likewise.
24709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24712 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
24713 (__statfs64): Likewise.
24714 (__fstatfs64): Likewise.
24715 * include/sys/statvfs.h (__statvfs64): Likewise.
24716 (__fstatvfs64): Likewise.
24717 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
24718 (__statfs_filesize_max): Likewise.
24719 (__statfs_symlinks): Likewise.
24720 (__statfs_chown_restricted): Likewise.
24722 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24725 * include/time.h (__tzstring): Add attribute_hidden.
24726 (__tzfile_read): Likewise.
24727 (__tzfile_compute): Likewise.
24728 (__tzfile_default): Likewise.
24729 (__tzset_parse_tz): Likewise.
24730 (__offtime): Likewise.
24731 (__asctime_r): Likewise.
24732 (__tzset): Likewise.
24733 (__tz_convert): Likewise.
24734 (__getdate_r): Likewise.
24735 (__getclktck): Likewise.
24737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24740 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
24741 (__nscd_unmap): Likewise.
24742 (__nscd_cache_search): Likewise.
24743 (__nscd_get_nl_timestamp): Likewise.
24744 (__nscd_getpwnam_r): Likewise.
24745 (__nscd_getpwuid_r): Likewise.
24746 (__nscd_getgrnam_r): Likewise.
24747 (__nscd_getgrgid_r): Likewise.
24748 (__nscd_gethostbyname_r): Likewise.
24749 (__nscd_gethostbyname2_r): Likewise.
24750 (__nscd_gethostbyaddr_r): Likewise.
24751 (__nscd_getai): Likewise.
24752 (__nscd_getgrouplist): Likewise.
24753 (__nscd_getservbyname_r): Likewise.
24754 (__nscd_getservbyport_r): Likewise.
24755 (__nscd_innetgr): Likewise.
24756 (__nscd_setnetgrent): Likewise.
24758 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24761 * include/gmp.h: Declare internal functions only if _ISOMAC is
24763 (__mpn_extract_double): Add attribute_hidden.
24764 (__mpn_extract_long_double): Likewise.
24765 (__mpn_extract_float128): Likewise.
24766 (__mpn_construct_float): Likewise.
24767 (__mpn_construct_double): Likewise.
24768 (__mpn_construct_long_double): Likewise.
24769 (__mpn_construct_float128): Likewise.
24770 (mpn_add_1): Likewise.
24771 (mpn_addmul_1): Likewise.
24772 (mpn_add_n): Likewise.
24773 (mpn_cmp): Likewise.
24774 (mpn_divrem): Likewise.
24775 (mpn_lshift): Likewise.
24776 (mpn_mul): Likewise.
24777 (mpn_mul_1): Likewise.
24778 (mpn_rshift): Likewise.
24779 (mpn_sub_1): Likewise.
24780 (mpn_submul_1): Likewise.
24781 (mpn_sub_n): Likewise.
24783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24786 * include/wchar.h (__wcsnlen): Add attribute_hidden.
24787 (__wcscat): Likewise.
24788 (__btowc): Likewise.
24789 (__wcrtomb): Likewise.
24790 (__mbsrtowcs): Likewise.
24791 (__wcsrtombs): Likewise.
24792 (__mbsnrtowcs): Likewise.
24793 (__wcsnrtombs): Likewise.
24794 (__wcsncpy): Likewise.
24795 (__wcpncpy): Likewise.
24796 (__wmemcpy): Likewise.
24797 (__wmempcpy): Likewise.
24798 (__wmemmove): Likewise.
24799 (__wcschrnul): Likewise.
24800 (__vfwscanf): Likewise.
24801 (__vswprintf): Likewise.
24802 (__fwprintf): Likewise.
24803 (__vfwprintf): Likewise.
24805 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24808 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
24809 (__getgrgid_r): Likewise.
24810 (__getgrnam_r): Likewise.
24811 * include/pwd.h (__getpwuid_r): Likewise.
24812 (__getpwnam_r): Likewise.
24813 (__fgetpwent_r): Likewise.
24814 * include/shadow.h (__getspnam_r): Likewise.
24815 (__sgetspent_r): Likewise.
24816 (__fgetspent_r): Likewise.
24818 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24821 * include/unistd.h (__access): Add attribute_hidden.
24822 (__lseek64): Likewise.
24823 (__libc_pread64): Likewise.
24824 (__pipe2): Likewise.
24825 (__sleep): Likewise.
24826 (__chdir): Likewise.
24827 (__fchdir): Likewise.
24828 (__getcwd): Likewise.
24829 (__rmdir): Likewise.
24830 (__execvpe): Likewise.
24831 (__execve): Likewise.
24832 (__setsid): Likewise.
24833 (__getuid): Likewise.
24834 (__geteuid): Likewise.
24835 (__getgid): Likewise.
24836 (__getegid): Likewise.
24837 (__getgroups): Likewise.
24838 (__group_member): Likewise.
24839 (__ttyname_r): Likewise.
24840 (__isatty): Likewise.
24841 (__readlink): Likewise.
24842 (__unlink): Likewise.
24843 (__gethostname): Likewise.
24844 (__profil): Likewise.
24845 (__getdtablesize): Likewise.
24847 (__ftruncate): Likewise.
24848 (__ftruncate64): Likewise.
24850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24853 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
24854 * argp/argp-fs-xinl.c: Likewise.
24855 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
24856 * argp/argp-parse.c: Include <argp.h>.
24857 * argp/argp-xinl.c: Likewise.
24858 * include/argp-fmtstream.h: New file.
24859 * include/argp.h (__argp_error): Add attribute_hidden.
24860 (__argp_failure): Likewise.
24861 (__argp_input): Likewise.
24862 (__argp_state_help): Likewise.
24864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24867 * include/wchar.h (____wcstof_l_internal): New prototype.
24868 (____wcstod_l_internal): Likewise.
24869 (____wcstold_l_internal): Likewise.
24870 (____wcstol_l_internal): Likewise.
24871 (____wcstoul_l_internal): Likewise.
24872 (____wcstoll_l_internal): Likewise.
24873 (____wcstoull_l_internal): Likewise.
24874 (____wcstof128_l_internal): Likewise.
24875 * sysdeps/ieee754/float128/wcstof128.c
24876 (____wcstof128_l_internal): Removed.
24877 * sysdeps/ieee754/float128/wcstof128_l.c
24878 (____wcstof128_l_internal): Likewise.
24879 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
24880 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
24881 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
24882 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
24883 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
24884 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
24885 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
24886 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
24887 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
24888 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
24890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24893 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
24894 instead of <sys/statvfs.h>.
24895 (__internal_statvfs): Removed.
24896 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
24897 instead of <sys/statvfs.h>.
24898 (__internal_statvfs64): Removed.
24899 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
24900 "internal_statvfs.h" instead of <sys/statvfs.h>.
24901 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
24902 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
24903 instead of <sys/statvfs.h>.
24904 (__internal_statvfs): Removed.
24905 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
24906 instead of <sys/statvfs.h>.
24907 (__internal_statvfs64): Removed.
24909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24912 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
24913 (__gconv_close): Likewise.
24914 (__gconv): Likewise.
24915 (__gconv_find_transform): Likewise.
24916 (__gconv_lookup_cache): Likewise.
24917 (__gconv_compare_alias_cache): Likewise.
24918 (__gconv_load_cache): Likewise.
24919 (__gconv_get_path): Likewise.
24920 (__gconv_close_transform): Likewise.
24921 (__gconv_release_cache): Likewise.
24922 (__gconv_find_shlib): Likewise.
24923 (__gconv_release_shlib): Likewise.
24924 (__gconv_get_builtin_trans): Likewise.
24925 (__gconv_compare_alias): Likewise.
24926 * include/dlfcn.h (_dlerror_run): Likewise.
24927 * include/stdio.h (__fortify_fail_abort): Likewise.
24928 * include/time.h (__tz_compute): Likewise.
24929 (__strptime_internal): Likewise.
24930 * intl/gettextP.h (_nl_find_domain): Likewise.
24931 (_nl_load_domain): Likewise.
24932 (_nl_find_msg): Likewise.
24933 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
24934 (EXTRACT_PLURAL_EXPRESSION): Likewise.
24935 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
24936 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
24937 (__gai_find_request): Likewise.
24938 (__gai_remove_request): Likewise.
24939 (__gai_notify): Likewise.
24940 (__gai_notify_only): Likewise.
24941 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
24942 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
24943 (_dl_non_dynamic_init): Likewise.
24944 (_dl_aux_init): Likewise.
24945 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
24946 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
24948 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
24949 (__wcsmbs_clone_conv): Likewise.
24950 (__wcsmbs_named_conv): Likewise.
24952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24955 * include/stdlib.h (__random): Add attribute_hidden.
24956 (__random_r): Likewise.
24957 (__srandom_r): Likewise.
24958 (__initstate_r): Likewise.
24959 (__setstate_r): Likewise.
24960 (__erand48_r): Likewise.
24961 (__nrand48_r): Likewise.
24962 (__jrand48_r): Likewise.
24963 (__srand48_r): Likewise.
24964 (__seed48_r): Likewise.
24965 (__lcong48_r): Likewise.
24966 (__drand48_iterate): Likewise.
24967 (__setenv): Likewise.
24968 (__unsetenv): Likewise.
24969 (__clearenv): Likewise.
24970 (__ptsname_r): Likewise.
24971 (__posix_openpt): Likewise.
24972 (__add_to_environ): Likewise.
24973 (__realpath): Add libc_hidden_proto.
24974 (__ecvt_r): Likewise.
24975 (__fcvt_r): Likewise.
24976 (__qecvt_r): Likewise.
24977 (__qfcvt_r): Likewise.
24978 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
24979 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
24981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24984 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
24985 * include/time.h (__mktime_internal): Likewise.
24986 * libio/iolibio.h (__fopen_internal): Likewise.
24988 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
24990 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
24992 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
24993 Correct offset used to restore PIC register.
24995 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
24998 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
24999 code to load address of __getcontext_ret when generating PIC code.
25001 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25003 * elf/Makefile (tests-static-internal): Add
25004 tst-tls1-static-non-pie.
25005 (LDFLAGS-tst-tls1-static-non-pie): New.
25006 * elf/tst-tls1-static-non-pie.c: New file.
25008 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25010 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25011 (asinh): Define using libm_alias_double.
25012 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25013 (cbrt): Define using libm_alias_double.
25014 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25015 <libm-alias-double.h>.
25016 (copysign): Define using libm_alias_double.
25017 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25018 (erf): Define using libm_alias_double.
25020 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25021 (expm1): Define using libm_alias_double.
25022 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25023 (fabs): Define using libm_alias_double.
25024 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25026 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25027 <libm-alias-double.h>.
25028 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25030 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25031 <libm-alias-double.h>.
25032 (getpayload): Define using libm_alias_double.
25033 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25034 <libm-alias-double.h>.
25035 (llrint): Define using libm_alias_double.
25036 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25037 (lrint): Define using libm_alias_double.
25038 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25039 <libm-alias-double.h>.
25040 (nextup): Define using libm_alias_double.
25041 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25042 <libm-alias-double.h>.
25043 (roundeven): Define using libm_alias_double.
25044 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25046 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25047 <libm-alias-double.h>.
25048 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25049 using libm_alias_double.
25050 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25051 (cos): Define using libm_alias_double.
25053 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25054 <libm-alias-double.h>.
25055 (sincos): Define using libm_alias_double.
25056 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25057 (tanh): Define using libm_alias_double.
25058 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25059 <libm-alias-double.h>.
25060 (totalorder): Define using libm_alias_double.
25061 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25062 <libm-alias-double.h>.
25063 (totalordermag): Define using libm_alias_double.
25064 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25066 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25068 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25069 <libm-alias-double.h>.
25070 (getpayload): Define using libm_alias_double.
25071 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25072 <libm-alias-double.h>.
25073 (roundeven): Define using libm_alias_double.
25074 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25075 <libm-alias-double.h>.
25076 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25077 <libm-alias-double.h>.
25078 (totalorder): Define using libm_alias_double.
25079 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25080 <libm-alias-double.h>.
25081 (totalordermag): Define using libm_alias_double.
25082 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25083 libc compat symbol here.
25084 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25085 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25086 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25087 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25088 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25089 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25090 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25091 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25092 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25093 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25095 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25097 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25098 _dl_relocate_static_pie instead of _dl_start to compute load
25099 address in static PIE. Return 0 if _DYNAMIC is undefined for
25102 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25104 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25105 _DYNAMIC is undefined for static executable.
25107 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25109 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25111 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25115 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25117 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25118 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25119 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25120 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25121 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25122 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25123 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25124 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25125 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25126 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25127 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25128 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25129 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25130 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25131 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25132 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25133 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25135 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25137 * math/bits/cmathcalls.h (cimag): Remove inline.
25138 (creal): Remove inline.
25139 (conj): Remove inline.
25141 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25143 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25144 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25145 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25146 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25147 (issignalingf_inline): Likewise.
25148 (POWF_LOG2_TABLE_BITS): Likewise.
25149 (POWF_LOG2_POLY_ORDER): Likewise.
25150 (POWF_SCALE_BITS): Likewise.
25151 (POWF_SCALE): Likewise.
25152 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25153 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25154 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25156 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25158 * math/Makefile (type-float-routines): Add e_log2f_data.
25159 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25160 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25161 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25162 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25163 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25164 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25165 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25167 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25169 * math/Makefile (type-float-routines): Add e_logf_data.
25170 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25171 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25172 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25173 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25174 * sysdeps/i386/fpu/e_logf_data.c: New file.
25175 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25176 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25178 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25180 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25181 undefined _DYNAMIC in PIE libc.a.
25182 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25185 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25187 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25188 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25189 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25190 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25191 (__signbit): Remove.
25192 (__signbitl): Remove.
25193 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25194 (__signbit): Remove.
25195 (__signbitl): Remove.
25196 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25197 (__signbit): Remove.
25198 (__signbitl): Remove.
25199 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25200 (__signbit): Remove.
25201 (__signbitl): Remove.
25202 * sysdeps/tile/bits/mathinline.h: Delete file.
25203 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25204 (__signbit): Remove.
25205 (__signbitl): Remove.
25207 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25209 * math/math.h: Improve handling of C99 isgreater macros.
25210 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25211 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25212 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25213 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25214 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25216 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25218 * sysdeps/aarch64/libm-test-ulps: Update.
25220 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25223 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25224 math_opt_barrier on argument when doing arithmetic on it.
25225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25226 Likewise. Use math_force_eval not math_opt_barrier after
25228 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25229 math_opt_barrier on argument when doing arithmetic on it.
25230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25233 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25235 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25237 (__freeifaddrs): Likewise.
25239 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25241 * include/dirent.h (__dirfd): New declaration.
25242 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25244 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25245 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25246 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25247 * include/unistd.h (__revoke): New declaration.
25248 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25250 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25251 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25253 * include/dirent.h (__seekdir): New declaration.
25254 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25255 redefine as weak alias.
25256 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25258 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25259 and use libc_hidden_def on them.
25260 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25262 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25263 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25264 instead of getifaddrs and freeifaddrs.
25266 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25269 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25270 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25271 (__dso_handle): Remove declaration.
25272 * dlfcn/tstatexit.c (__dso_handle): Removed.
25273 (main): Don't check __dso_handle.
25274 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25275 (main): Don't check __dso_handle.
25276 * include/dso_handle.h: New file.
25277 * malloc/mtrace.c: Include <dso_handle.h>.
25278 (mtrace): Pass __dso_handle directly.
25279 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25280 (__dso_handle): Remove declaration.
25281 (__pthread_atfork): Pass __dso_handle directly.
25282 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25283 (__dso_handle): Removed.
25284 * posix/wordexp-test.c: Include <dso_handle.h>.
25285 (__dso_handle): Remove declaration.
25286 (__app_register_atfork): Pass __dso_handle directly.
25287 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25288 (__dso_handle): Remove declaration.
25289 (at_quick_exit): Pass __dso_handle directly.
25290 * stdlib/atexit.c: Include <dso_handle.h>.
25291 (__dso_handle): Remove declaration.
25292 (atexit): Pass __dso_handle directly.
25293 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25294 (__dso_handle): Removed.
25296 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25298 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25301 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25303 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25304 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25305 values to correct default value for given type.
25307 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25310 * elf/Makefile (tests): Add tst-debug1.
25311 ($(objpfx)tst-debug1): New.
25312 ($(objpfx)tst-debug1.out): Likewise.
25313 ($(objpfx)tst-debug1mod1.so): Likewise.
25314 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25315 with p_filesz == 0.
25316 * elf/tst-debug1.c: New file.
25318 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25320 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25321 Define using __ifunc.
25323 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25325 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25328 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25331 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25333 2017-09-26 Florian Weimer <fweimer@redhat.com>
25335 * resolv/Makefile (tests-internal): Fix typo in comment.
25337 2017-09-26 Florian Weimer <fweimer@redhat.com>
25339 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25341 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25343 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25344 Use an union instead of a max_align_t array for __space,
25345 so that __space is the same size on all platforms.
25346 * malloc/scratch_buffer_grow_preserve.c
25347 (__libc_scratch_buffer_grow_preserve): Likewise.
25350 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25352 * posix/Makefile (routines): Add glob-lstat-compat and
25353 glob64-lstat-compat.
25354 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25355 * posix/glob-lstat-compat.c: New file.
25356 * posix/glob64-lstat-compat.c: Likewise.
25357 * posix/tst-glob_lstat_compat.c: Likewise.
25358 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25359 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25360 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25361 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25363 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
25364 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25365 * posix/glob.c (glob_lstat): New function.
25366 (glob): Rename to __glob and add versioned symbol to 2.27.
25367 (glob_in_dir): Use glob_lstat.
25368 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
25369 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25370 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
25372 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
25373 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
25374 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
25375 gl_lstat on glob call.
25376 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
25377 and glob64 symbols.
25378 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25379 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25380 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25381 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25382 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25383 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25384 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25385 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25386 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25387 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25388 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25389 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25392 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
25393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25394 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25395 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25396 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25397 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25398 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25401 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25402 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25403 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25405 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
25407 * configure.ac (AS): Require binutils 2.25 or later.
25408 * configure: Regenerated.
25410 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25413 * stdlib/test-atexit-race-common.c (do_test): Minimize required
25416 2017-09-25 DJ Delorie <dj@redhat.com>
25419 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
25422 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25424 * sysdeps/ieee754/dbl-64/sincos32.h
25425 [SINCCOS32_H]: Remove define.
25426 [SINCOS32_H]: Define.
25428 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25430 * math/Versions (expf): New libm symbol at GLIBC_2.27.
25432 * math/w_exp2f.c: New file.
25433 * math/w_expf.c: New file.
25434 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
25435 * math/w_expf_compat.c (__expf_compat): Likewise.
25436 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
25437 * sysdeps/ia64/fpu/e_expf.S: Likewise.
25438 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25439 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25440 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25441 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25442 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25443 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25444 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25445 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25446 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25447 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25448 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25449 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25458 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25459 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25460 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25461 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25462 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25467 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25468 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25469 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25471 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25473 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
25474 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
25475 (roundtoint, converttoint): Likewise.
25476 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
25477 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
25478 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
25479 * sysdeps/ieee754/flt-32/math_config.h: New file.
25480 * sysdeps/ieee754/flt-32/math_errf.c: New file.
25481 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
25482 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
25483 * sysdeps/i386/fpu/math_errf.c: New file.
25484 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
25485 * sysdeps/ia64/fpu/math_errf.c: New file.
25486 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
25487 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
25489 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
25491 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
25492 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
25493 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
25494 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
25495 to make sure that these symbols are defined.
25496 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
25498 (__need_NULL): Do not define.
25499 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
25501 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
25502 CMGROUP_MAX, cmsgcred): Do not define.
25503 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
25505 * bits/socket.h: Likewise.
25506 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
25507 __gettimeofday instead of gettimeofday.
25508 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
25509 instead of settimeofday.
25511 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25513 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
25514 (asinhf): Define using libm_alias_float.
25515 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
25516 (atanf): Define using libm_alias_float.
25517 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
25518 (cbrtf): Define using libm_alias_float.
25519 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
25520 (ceilf): Define using libm_alias_float.
25521 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
25522 <libm-alias-float.h>.
25523 (copysignf): Define using libm_alias_float.
25524 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
25525 (cosf): Define using libm_alias_float.
25526 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25527 (erff): Define using libm_alias_float.
25529 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
25530 (expm1f): Define using libm_alias_float.
25531 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
25532 (fabsf): Define using libm_alias_float.
25533 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
25534 (floorf): Define using libm_alias_float.
25535 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
25536 (frexpf): Define using libm_alias_float.
25537 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
25539 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
25540 <libm-alias-float.h>.
25541 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
25543 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
25544 <libm-alias-float.h>.
25545 (getpayloadf): Define using libm_alias_float.
25546 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
25547 <libm-alias-float.h>.
25548 (llrintf): Define using libm_alias_float.
25549 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
25550 <libm-alias-float.h>.
25551 (llroundf): Define using libm_alias_float.
25552 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
25553 (logbf): Define using libm_alias_float.
25554 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
25555 (lrintf): Define using libm_alias_float.
25556 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
25557 (lroundf): Define using libm_alias_float.
25558 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
25559 (modff): Define using libm_alias_float.
25560 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
25561 <libm-alias-float.h>.
25562 (nearbyintf): Define using libm_alias_float.
25563 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
25564 <libm-alias-float.h>.
25565 (nextafterf): Define using libm_alias_float.
25566 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
25567 <libm-alias-float.h>.
25568 (nextupf): Define using libm_alias_float.
25569 * sysdeps/ieee754/flt-32/s_remquof.c: Include
25570 <libm-alias-float.h>.
25571 (remquof): Define using libm_alias_float.
25572 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
25573 (rintf): Define using libm_alias_float.
25574 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
25575 <libm-alias-float.h>.
25576 (roundevenf): Define using libm_alias_float.
25577 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
25578 (roundf): Define using libm_alias_float.
25579 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
25580 using libm_alias_float.
25581 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
25582 <libm-alias-float.h>.
25583 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
25584 Define using libm_alias_float.
25585 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
25586 <libm-alias-float.h>.
25587 (sincosf): Define using libm_alias_float.
25588 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
25589 (sinf): Define using libm_alias_float.
25590 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
25591 (tanf): Define using libm_alias_float.
25592 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
25593 (tanhf): Define using libm_alias_float.
25594 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
25595 <libm-alias-float.h>.
25596 (totalorderf): Define using libm_alias_float.
25597 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
25598 <libm-alias-float.h>.
25599 (totalordermagf): Define using libm_alias_float.
25600 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
25601 (truncf): Define using libm_alias_float.
25602 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
25604 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
25607 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25610 math/math.h: Let fpclassify use the builtin in C++ mode, even
25611 when optimazing for size.
25613 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25615 * csu/Makefile (generated): Do not add version-info.h.
25616 (before-compile): Likewise.
25617 (all-Banner-files): Remove variable.
25618 ($(objpfx)version-info.h): Remove rule.
25619 * csu/version.c (banner): Do not include "version-info.h".
25620 * libidn/Banner: Remove.
25621 * manual/contrib.texi (Simon Josefsson): New entry.
25623 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25625 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25626 Remove conditionals on LDBL_MANT_DIG.
25627 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25628 (__ieee754_lgammal_r): Likewise.
25630 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25632 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
25634 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
25635 _Float128 and L(). Replace _Float128 with long double and L(x)
25636 with xL, throughout the file.
25637 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25642 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25644 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
25645 sysdeps/ieee754/ldbl-128ibm.
25646 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
25647 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
25648 of including it. Keep _Float128 and L() intact. These will be
25649 reviewed by a separate patch.
25650 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25655 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
25658 (__finitef128): Define to __redirect___finitef128.
25659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
25660 (__isinff128): Define to __redirect___isinff128.
25661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
25662 (__isnanf128): Define to __redirect___isnanf128.
25664 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25666 * sysdeps/powerpc/powerpc64le/Makefile
25667 (CFLAGS-tst-strtod-nan-locale.c): New variable.
25668 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
25670 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
25671 Carlos O'Donell <carlos@redhat.com>
25674 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
25675 * stdlib/test-dlclose-exit-race.c: New file.
25676 * stdlib/test-dlclose-exit-race-helper.c: New file.
25677 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
25679 2017-09-21 Joseph Myers <joseph@codesourcery.com>
25681 * crypt/Banner: Remove file.
25682 * nptl/Banner: Likewise.
25683 * resolv/Banner: Likewise.
25684 * soft-fp/Banner: Likewise.
25685 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
25686 ($(objpfx)version.d): Remove dependency on banner.h.
25687 ($(objpfx)version.os): Likewise.
25688 * nptl/version.c (banner): Do not include banner.h.
25689 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
25690 Jelinek and BIND code.
25692 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25693 Carlos O'Donell <carlos@redhat.com>
25695 * support/xdlfcn.h: New file.
25696 * support/xdlfcn.c: New file.
25697 * support/Makefile (libsupport-routines): Add xdlfcn.
25698 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
25700 2017-09-20 Joseph Myers <joseph@codesourcery.com>
25703 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25704 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
25705 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
25706 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
25707 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
25708 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
25709 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
25710 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
25712 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25713 Ricky Zhou <rickyz@google.com>
25714 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
25717 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
25719 (__new_exitfn): Fail registration when we finished at_exit processing.
25720 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25721 * stdlib/on_exit.c (__on_exit): Likewise.
25722 * stdlib/exit.c (__exit_funcs_done): New variable.
25723 (__run_exit_handlers): Use __exit_funcs_lock.
25724 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
25726 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
25727 (test-cxa_atexit-race, test-on_exit-race): New tests.
25728 * stdlib/test-atexit-race-common.c: New file.
25729 * stdlib/test-atexit-race.c: New file.
25730 * stdlib/test-at_quick_exit-race.c: New file.
25731 * stdlib/test-cxa_atexit-race.c: New file.
25732 * stdlib/test-on_exit-race.c: New file.
25734 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
25736 * benchtests/Makefile: Add exp2f and log2f benchmarks.
25737 * benchtests/exp2f-inputs: Copy of expf-inputs.
25738 * benchtests/log2f-inputs: Copy of logf-inputs.
25740 2017-09-19 Joseph Myers <joseph@codesourcery.com>
25742 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
25743 Explicitly take address of first element of array arguments in
25744 call to INLINE_SYSCALL.
25746 2017-09-19 Andreas Schwab <schwab@suse.de>
25749 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
25751 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
25753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
25754 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
25755 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25756 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
25757 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25758 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25760 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25761 * posix/Makefile (tests): Add tst-fexecve.
25762 * posix/tst-fexecve.c: New file.
25764 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25766 * benchtests/Makefile: Add logf benchmark.
25767 * benchtests/logf-inputs: Add reduced trace from wrf_r.
25769 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25771 * benchtests/Makefile: Add expf benchmark.
25772 * benchtests/expf-inputs: Add reduced trace from wrf_r.
25774 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25776 * csu/Makefile: Add -funwind-tables to libc-start.c.
25777 * debug/Makefile: Add -funwind-tables to backtrace.c.
25778 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
25779 * sysdeps/arm/Makefile: Likewise.
25780 * sysdeps/i386/Makefile: Likewise.
25781 * sysdeps/m68k/Makefile: Likewise.
25782 * sysdeps/mips/Makefile: Likewise.
25783 * sysdeps/nios2/Makefile: Likewise.
25784 * sysdeps/sh/Makefile: Likewise.
25785 * sysdeps/sparc/Makefile: Likewise.
25787 2017-09-19 Joseph Myers <joseph@codesourcery.com>
25789 * benchtests/Makefile (bench-math): Add trunc and truncf.
25790 (CFLAGS-bench-trunc.c): New variable.
25791 (CFLAGS-bench-truncf.c): Likewise.
25792 * benchtests/trunc-inputs: New file.
25793 * benchtests/truncf-inputs: Likewise.
25795 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25797 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
25799 2017-09-18 Joseph Myers <joseph@codesourcery.com>
25801 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
25802 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
25804 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25805 (exp10l): Define as weak alias.
25806 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
25807 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
25809 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
25810 (remainderl): Define as weak alias.
25812 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
25813 (fmal): Define using libm_alias_ldouble.
25814 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
25815 (acoshl): Define using libm_alias_ldouble.
25816 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
25817 (acosl): Define using libm_alias_ldouble.
25818 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
25819 (asinl): Define using libm_alias_ldouble.
25820 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
25821 (atan2l): Define using libm_alias_ldouble.
25822 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
25823 (atanhl): Define using libm_alias_ldouble.
25824 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
25825 (coshl): Define using libm_alias_ldouble.
25826 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
25827 (exp10l): Define using libm_alias_ldouble.
25828 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
25829 (exp2l): Define using libm_alias_ldouble.
25830 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
25831 (expl): Define using libm_alias_ldouble.
25832 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
25833 (fmodl): Define using libm_alias_ldouble.
25834 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
25835 (hypotl): Define using libm_alias_ldouble.
25836 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
25837 (j0l): Define using libm_alias_ldouble.
25839 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
25840 (j1l): Define using libm_alias_ldouble.
25842 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
25843 (jnl): Define using libm_alias_ldouble.
25845 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
25846 (log10l): Define using libm_alias_ldouble.
25847 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
25848 (log2l): Define using libm_alias_ldouble.
25849 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
25850 (logl): Define using libm_alias_ldouble.
25851 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
25852 (powl): Define using libm_alias_ldouble.
25853 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
25854 (remainderl): Define using libm_alias_ldouble.
25855 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
25856 (sinhl): Define using libm_alias_ldouble.
25857 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
25858 (sqrtl): Define using libm_alias_ldouble.
25859 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
25860 (tgammal): Define using libm_alias_ldouble.
25861 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
25862 (exp10l): Do not use long_double_symbol here.
25863 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25864 [LIBM_SVID_COMPAT] (remainderl): Likewise.
25865 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
25866 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25867 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25868 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25869 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25870 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25871 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25872 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25873 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25874 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25875 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25876 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25877 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25878 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25879 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25880 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25881 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25882 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25883 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25884 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25886 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
25888 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
25889 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
25891 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
25893 * io/read.c (read): Add libc_hidden_weak.
25894 * sysdeps/mach/hurd/read.c (read): Likewise.
25895 * io/write.c (write): Likewise.
25896 * sysdeps/mach/hurd/write.c (write): Likewise.
25897 * io/pread64.c (__pread64): Likewise.
25898 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
25899 * posix/pread64.c (__pread64): Add libc_hidden_def.
25901 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25903 * benchtests/scripts/compare_strings.py: New option -g.
25904 (draw_graph): Print a message that a graph is being generated.
25905 (process_results): Generate graph only if -g is passed.
25906 (main): Process option -g.
25908 * benchtests/scripts/compare_strings.py (process_results):
25909 Better spacing for output.
25911 * benchtests/scripts/compare_strings.py: Use argparse.
25912 * benchtests/README: Document existence of compare_strings.py.
25914 2017-09-15 Joseph Myers <joseph@codesourcery.com>
25916 * math/s_fma.c: Include <libm-alias-double.h>.
25917 (fma): Define using libm_alias_double.
25918 * math/s_nextafter.c: Include <libm-alias-double.h>.
25919 (nextafter): Define using libm_alias_double.
25920 * math/w_acos_compat.c: Include <libm-alias-double.h>.
25921 (acos): Define using libm_alias_double.
25922 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
25923 (aocsh): Define using libm_alias_double.
25924 * math/w_asin_compat.c: Include <libm-alias-double.h>.
25925 (asin): Define using libm_alias_double.
25926 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
25927 (atan2): Define using libm_alias_double.
25928 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
25929 (atanh): Define using libm_alias_double.
25930 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
25931 (cosh): Define using libm_alias_double.
25932 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
25933 (exp10): Define using libm_alias_double.
25934 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
25935 (exp2): Define using libm_alias_double.
25936 * math/w_exp_compat.c: Include <libm-alias-double.h>.
25937 (exp): Define using libm_alias_double.
25938 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
25939 (fmod): Define using libm_alias_double.
25940 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
25941 (hypot): Define using libm_alias_double.
25942 * math/w_j0_compat.c: Include <libm-alias-double.h>.
25943 (j0): Define using libm_alias_double.
25945 * math/w_j1_compat.c: Include <libm-alias-double.h>.
25946 (j1): Define using libm_alias_double.
25948 * math/w_jn_compat.c: Include <libm-alias-double.h>.
25949 (jn): Define using libm_alias_double.
25951 * math/w_log10_compat.c: Include <libm-alias-double.h>.
25952 (log10): Define using libm_alias_double.
25953 * math/w_log2_compat.c: Include <libm-alias-double.h>.
25954 (log2): Define using libm_alias_double.
25955 * math/w_log_compat.c: Include <libm-alias-double.h>.
25956 (log): Define using libm_alias_double.
25957 * math/w_pow_compat.c: Include <libm-alias-double.h>.
25958 (pow): Define using libm_alias_double.
25959 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
25960 (remainder): Define using libm_alias_double.
25961 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
25962 (sinh): Define using libm_alias_double.
25963 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
25964 (sqrt): Define using libm_alias_double.
25965 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
25966 (tgamma): Define using libm_alias_double.
25967 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
25968 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
25969 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
25970 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
25971 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
25972 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
25973 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
25974 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
25975 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
25976 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
25977 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
25978 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
25979 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
25980 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
25981 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
25982 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
25983 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
25984 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
25985 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
25986 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
25987 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
25988 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
25989 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
25990 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
25991 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
25993 * math/e_acoshl.c: Remove.
25994 * math/e_acosl.c: Likewise.
25995 * math/e_asinl.c: Likewise.
25996 * math/e_atan2l.c: Likewise.
25997 * math/e_atanhl.c: Likewise.
25998 * math/e_coshl.c: Likewise.
25999 * math/e_expl.c: Likewise.
26000 * math/e_fmodl.c: Likewise.
26001 * math/e_gammal_r.c: Likewise.
26002 * math/e_hypotl.c: Likewise.
26003 * math/e_j0l.c: Likewise.
26004 * math/e_j1l.c: Likewise.
26005 * math/e_jnl.c: Likewise.
26006 * math/e_lgammal_r.c: Likewise.
26007 * math/e_log10l.c: Likewise.
26008 * math/e_log2l.c: Likewise.
26009 * math/e_logl.c: Likewise.
26010 * math/e_powl.c: Likewise.
26011 * math/e_rem_pio2l.c: Likewise.
26012 * math/e_sinhl.c: Likewise.
26013 * math/e_sqrtf128.c: Likewise.
26014 * math/e_sqrtl.c: Likewise.
26015 * math/k_cosl.c: Likewise.
26016 * math/k_sinl.c: Likewise.
26017 * math/k_tanl.c: Likewise.
26018 * math/s_asinhl.c: Likewise.
26019 * math/s_atanl.c: Likewise.
26020 * math/s_cbrtl.c: Likewise.
26021 * math/s_erfl.c: Likewise.
26022 * math/s_expm1l.c: Likewise.
26023 * math/s_log1pl.c: Likewise.
26024 * math/s_tanhl.c: Likewise.
26026 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26030 [$(subdir) = math] (sysdep_calls): New variable. Has the
26031 previous contents of sysdep_routines, but re-sorted..
26032 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26034 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26035 defined in sysdep_calls and replace by the respective m_* names.
26036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26037 (compat_symbol): Undefine to avoid duplicated compat symbols in
26040 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26042 * math/s_fmaf.c: Include <libm-alias-float.h>.
26043 (fmaf): Define using libm_alias_float.
26044 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26045 (acosf): Define using libm_alias_float.
26046 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26047 (acoshf): Define using libm_alias_float.
26048 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26049 (asinf): Define using libm_alias_float.
26050 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26051 (atan2f): Define using libm_alias_float.
26052 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26053 (atanhf): Define using libm_alias_float.
26054 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26055 (coshf): Define using libm_alias_float.
26056 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26057 (exp10f): Define using libm_alias_float.
26058 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26059 (fmodf): Define using libm_alias_float.
26060 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26061 (hypotf): Define using libm_alias_float.
26062 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26063 (j0f): Define using libm_alias_float.
26065 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26066 (j1f): Define using libm_alias_float.
26068 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26069 (jnf): Define using libm_alias_float.
26071 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26072 (log10f): Define using libm_alias_float.
26073 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26074 (log2f): Define using libm_alias_float.
26075 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26076 (logf): Define using libm_alias_float.
26077 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26078 (powf): Define using libm_alias_float.
26079 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26080 (remainderf): Define using libm_alias_float.
26081 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26082 (sinhf): Define using libm_alias_float.
26083 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26084 (sqrtf): Define using libm_alias_float.
26085 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26086 (tgammaf): Define using libm_alias_float.
26088 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26090 * include/math.h (roundeven): Change hidden_proto call to
26092 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26094 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26095 (y0): Rename to __y0 and define as weak alias.
26096 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26097 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26099 (y0f): Rename to __y0f and define as weak alias.
26100 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26102 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26103 (y1): Rename to __y1 and define as weak alias.
26104 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26105 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26107 (y1f): Rename to __y1f and define as weak alias.
26108 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26110 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26111 (yn): Rename to __yn and define as weak alias.
26112 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26113 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26115 (ynf): Rename to __ynf and define as weak alias.
26116 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26117 (fromfp): Define as weak alias.
26118 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26119 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26120 (fromfpx): Define as weak alias.
26121 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26122 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26123 __getpayload and define as weak alias.
26124 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26125 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26126 __roundeven and define as weak alias.
26127 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26128 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26130 (setpayload): Define as weak alias.
26131 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26132 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26134 (setpayloadsig): Define as weak alias.
26135 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26136 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26137 __totalorder and define as weak alias.
26138 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26139 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26140 to __totalordermag and define as weak alias.
26141 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26142 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26143 (ufromfp): Define as weak alias.
26144 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26145 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26147 (ufromfpx): Define as weak alias.
26148 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26149 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26150 Rename to __getpayload and define as weak alias.
26151 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26152 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26153 Rename to __roundeven and define as weak alias.
26154 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26155 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26156 Rename to __totalorder and define as weak alias.
26157 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26158 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26159 (totalordermag): Rename to __totalordermag and define as weak
26161 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26162 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26164 (__roundevenl): Likewise.
26165 (__totalorderl): Likewise.
26166 (__totalordermagl): Likewise
26167 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26169 (fromfpf128): Define as weak alias.
26170 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26172 (fromfpxf128): Define as weak alias.
26173 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26175 (setpayloadf128): Define as weak alias.
26176 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26177 __setpayloadsigf128.
26178 (setpayloadsigf128): Define as weak alias.
26179 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26181 (ufromfpf128): Define as weak alias.
26182 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26184 (ufromfpxf128): Define as weak alias.
26185 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26186 (fromfpf): Define as weak alias.
26187 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26189 (fromfpxf): Define as weak alias.
26190 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26191 __getpayloadf and define as weak alias.
26192 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26193 __roundevenf and define as weak alias.
26194 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26196 (setpayloadf): Define as weak alias.
26197 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26199 (setpayloadsigf): Define as weak alias.
26200 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26201 __totalorderf and define as weak alias.
26202 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26203 Rename to __totalordermagf and define as weak alias.
26204 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26206 (ufromfpf): Define as weak alias.
26207 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26209 (ufromfpxf): Define as weak alias.
26210 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26212 (fromfpl): Define as weak alias.
26213 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26215 (fromfpxl): Define as weak alias.
26216 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26217 to __getpayloadl and define as weak alias.
26218 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26219 __roundevenl and define as weak alias.
26220 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26222 (setpayloadl): Define as weak alias.
26223 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26225 (setpayloadsigl): Define as weak alias.
26226 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26227 to __totalorderl and define as weak alias.
26228 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26229 Rename to __totalordermagl and define as weak alias.
26230 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26232 (ufromfpl): Define as weak alias.
26233 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26235 (ufromfpxl): Define as weak alias.
26236 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26238 (fromfpl): Define as weak alias.
26239 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26241 (fromfpxl): Define as weak alias.
26242 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26243 Rename to __getpayloadl and define as weak alias.
26244 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26245 to __roundevenl and define as weak alias. Call __roundeven
26246 instead of roundeven.
26247 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26249 (setpayloadl): Define as weak alias.
26250 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26252 (setpayloadsigl): Define as weak alias.
26253 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26254 Rename to __totalorderl and define as weak alias.
26255 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26256 Rename to __totalordermagl and define as weak alias.
26257 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26259 (ufromfpl): Define as weak alias.
26260 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26262 (ufromfpxl): Define as weak alias.
26263 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26265 (fromfpl): Define as weak alias.
26266 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26268 (fromfpxl): Define as weak alias.
26269 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26270 __getpayloadl and define as weak alias.
26271 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26272 __roundevenl and define as weak alias.
26273 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26275 (setpayloadl): Define as weak alias.
26276 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26278 (setpayloadsigl): Define as weak alias.
26279 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26280 __totalorderl and define as weak alias.
26281 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26282 Rename to __totalordermagl and define as weak alias.
26283 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26285 (ufromfpl): Define as weak alias.
26286 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26288 (ufromfpxl): Define as weak alias.
26290 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26292 * benchtests/bench-string.h (realloc_bufs): New function.
26293 (test_init): Call it.
26294 * benchtests/bench-memset-large.c (do_test): Likewise.
26295 * benchtests/bench-memset.c (do_test): Likewise.
26297 * benchtests/bench-memset-large.c: Print output in JSON
26299 * benchtests/bench-memset.c: Likewise.
26301 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26304 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26305 * iconvdata/Makefile: Add IBM858.
26306 * iconvdata/gconv-modules: Likewise.
26307 * iconvdata/tst-tables.sh: Likewise.
26308 * iconvdata/ibm858.c: New file.
26309 * localedata/charmaps/IBM858: Likewise.
26311 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26314 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26315 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26317 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26320 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26321 and add tel_int_fmt.
26323 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26325 * sysdeps/generic/libm-alias-float128.h: New file.
26326 * sysdeps/generic/math-type-macros-float128.h: Include
26327 <libm-alias-float128.h>.
26328 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26330 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26332 * sysdeps/generic/libm-alias-ldouble.h: New file.
26333 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26334 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26335 * sysdeps/generic/math-type-macros-ldouble.h: Include
26336 <libm-alias-ldouble.h>.
26337 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26338 libm_alias_ldouble.
26340 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26342 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26343 * math/w_exp_compat.c: ... here.
26344 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26345 * math/w_expf_compat.c: ... here.
26346 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26347 * math/w_expl_compat.c: ... here.
26348 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26349 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26350 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26351 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26353 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26355 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26357 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26359 (ldexpl): Only define as compat symbol for libc, not libm.
26360 (scalbnl): Define as compat symbol for libc here.
26361 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26362 define for [IS_IN (libc)].
26363 (__ldexpl_2): Remove alias.
26364 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
26365 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
26366 name in long_double_symbol call.
26367 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
26368 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26369 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26370 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
26371 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
26373 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
26374 Define as compat symbol.
26376 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26378 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
26379 * sysdeps/unix/sysv/linux/alpha/Makefile
26380 [$(subdir) = csu] (sysdep_routines): Remove rule.
26382 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26384 * sysdeps/generic/libm-alias-double.h: New file.
26385 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
26386 * sysdeps/generic/math-type-macros-double.h: Include
26387 <libm-alias-double.h>.
26388 [declare_mgen_alias] (declare_mgen_alias): Define to use
26390 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
26391 (M_LIBM_NEED_COMPAT): Remove macro.
26392 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
26393 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
26394 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
26396 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26397 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26398 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26399 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26400 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26401 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26402 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26403 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26404 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26405 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26406 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26407 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26408 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26409 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26410 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26411 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26412 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26413 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26414 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26415 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26416 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26417 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26418 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26419 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26420 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26421 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26422 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26423 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
26424 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
26426 (declare_mgen_alias): New macro.
26427 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
26428 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
26429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
26430 (M_LIBM_NEED_COMPAT): Remove macro.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
26432 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
26433 <first-versions.h>.
26434 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
26435 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
26437 2017-09-12 Joseph Myers <joseph@codesourcery.com>
26439 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
26440 (declare_mgen_alias_2): Remove.
26441 * sysdeps/generic/math-type-macros-double.h
26442 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
26444 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
26446 (ldexp): Define with declare_mgen_alias.
26447 (scalbn): Likewise.
26449 2017-09-12 Steve Ellcey <sellcey@cavium.com>
26451 * grp/initgroups.c: Include config.h.
26452 (DEFAULT_CONFIG): New macro.
26453 (internal_getgrouplist): Use DEFAULT_CONFIG.
26454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26455 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
26456 (DEFAULT_DEFCONFIG): New macro.
26457 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
26458 * nss/grp-lookup.c: Include config.h
26459 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
26460 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
26461 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
26462 * manual/nss.texi: Update default values section.
26464 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
26467 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
26469 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
26470 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26471 Handle MathVec_Prefer_No_AVX512.
26472 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
26473 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
26476 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
26478 * posix/sched_primax.c (__sched_get_priority_max): Add
26480 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
26481 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
26482 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
26483 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
26484 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
26485 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
26486 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
26487 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
26490 2017-09-11 Joseph Myers <joseph@codesourcery.com>
26492 * sysdeps/generic/libm-alias-float.h: New file.
26493 * sysdeps/generic/math-type-macros-float.h: Include
26494 <libm-alias-float.h>.
26495 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26497 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
26500 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
26501 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
26502 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
26503 (HWCAP_IMPORTANT): Likewise.
26504 (HWCAP_X86_64): New enum.
26505 (HWCAP_X86_AVX512_1): Updated.
26506 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
26507 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
26508 (modules-names): Add x86_64/tst-x86_64mod-1.
26509 (LDFLAGS-tst-x86_64mod-1.so): New.
26510 ($(objpfx)tst-x86_64-1): Likewise.
26511 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
26512 (tst-x86_64-1-clean): Likewise.
26513 * sysdeps/x86_64/tst-x86_64-1.c: New file.
26514 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
26516 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
26518 * po/sv.po: Update translations.
26519 * po/fr.po: Likewise.
26521 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26523 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
26525 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
26527 * elf/rtld-Rules: Fix $(error) use.
26529 2017-09-09 Mike FABIAN <mfabian@redhat.com>
26532 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
26533 * locale/iso-639.def: Change “Bengali” to “Bangla”.
26534 * localedata/locales/bn_BD: “Bengali” was still used in some
26535 comments. Change it to “Bangla”.
26537 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
26539 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
26541 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26543 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
26544 thunderx2t99p1 to list of cpu names.
26545 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
26546 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
26548 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26550 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
26551 Use strcmp instead of tunable_is_name.
26553 2017-09-08 Joseph Myers <joseph@codesourcery.com>
26555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26556 (F_GET_RW_HINT): New macro.
26557 [__USE_GNU] (F_SET_RW_HINT): Likewise.
26558 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
26559 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
26560 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
26561 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
26562 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
26563 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
26564 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
26565 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
26567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26568 (F_ADD_SEALS): New macro.
26569 [__USE_GNU] (F_GET_SEALS): Likewise.
26570 [__USE_GNU] (F_SEAL_SEAL): Likewise.
26571 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
26572 [__USE_GNU] (F_SEAL_GROW): Likewise.
26573 [__USE_GNU] (F_SEAL_WRITE): Likewise.
26575 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26577 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
26578 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
26579 * posix/glob_internal.h (__glob_pattern_type):
26580 * posix/glob.c (glob):
26581 * posix/glob_pattern_p.c (__glob_pattern_p):
26584 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
26585 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26586 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
26587 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
26588 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
26590 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
26591 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
26592 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26593 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26594 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26595 * sysdeps/wordsize-64/glob.c: Likewise.
26596 * sysdeps/wordsize-64/glob64.c: Likewise.
26597 * sysdeps/wordsize-64/globfree.c: Likewise.
26598 * sysdeps/wordsize-64/globfree64.c: Likewise.
26599 * sysdeps/unix/sysv/linux/glob.c: New file.
26600 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
26601 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
26602 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
26603 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26604 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
26605 adds !GLOB_NO_OLD_VERSION as an extra condition.
26606 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
26607 using relative path instead of absolute one.
26608 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
26609 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26610 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26611 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
26612 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
26613 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
26616 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
26617 (glob): Use the same scratch buffer for both getlogin_r and
26618 getpwnam_r. Don’t require preallocation of the login name. This
26619 simplifies storage allocation, and corrects the handling of
26623 * posix/glob.c (glob): Port recent patches to platforms
26624 lacking getpwnam_r.
26625 (glob): Fix longstanding misuse of errno after getpwnam_r, which
26626 returns an error number rather than setting errno.
26628 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
26629 instead of GCC extension.
26630 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
26631 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
26632 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
26636 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
26637 * posix/bug-glob1.c: Remove file.
26638 * posix/tst-glob_symlinks.c: New file.
26639 * posix/glob.c (__lstat64): New macro.
26640 (is_dir): New function.
26641 (glob, glob_in_dir): Match symlinks even if they are dangling.
26642 (link_stat, link_exists_p): Remove. All uses removed.
26646 * posix/glob.c (struct readdir_result): Remove skip_entry member.
26647 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
26652 * posix/Makefile (routines): Add globfree, globfree64, and
26654 * posix/flexmember.h: New file.
26655 * posix/glob_internal.h: Likewise.
26656 * posix/glob_pattern_p.c: Likewise.
26657 * posix/globfree.c: Likewise.
26658 * posix/globfree64.c: Likewise.
26659 * sysdeps/gnu/globfree64.c: Likewise.
26660 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
26661 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26662 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
26663 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26664 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26665 * sysdeps/wordsize-64/globfree.c: Likewise.
26666 * sysdeps/wordsize-64/globfree64.c: Likewise.
26667 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
26668 [NDEBUG): Remove comments.
26669 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
26670 (dirent_type): New type. Use uint_fast8_t not
26671 uint8_t, as C99 does not require uint8_t.
26672 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
26673 (struct readdir_result): Use dirent_type. Do not define skip_entry
26674 unless it is needed; this saves a byte on platforms lacking d_ino.
26675 (readdir_result_type, readdir_result_skip_entry):
26676 New functions, replacing ...
26677 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
26678 these functions, which were removed. This makes the callers
26679 easier to read. All callers changed.
26680 (D_INO_TO_RESULT): Now empty if there is no d_ino.
26681 (size_add_wrapv, glob_use_alloca): New static functions.
26682 (glob, glob_in_dir): Check for size_t overflow in several places,
26683 and fix some size_t checks that were not quite right.
26684 Remove old code using SHELL since Bash no longer
26686 (glob, prefix_array): Separate MS code better.
26687 (glob_in_dir): Remove old Amiga and VMS code.
26688 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
26690 (glob_in_dir): Do not rely on undefined behavior in accessing
26691 struct members beyond their bounds. Use a flexible array member
26693 (link_stat): Rename from link_exists2_p and return -1/0 instead of
26694 0/1. Caller changed.
26695 (glob): Fix memory leaks.
26696 * posix/glob64 (globfree64): Move to separate file.
26697 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
26698 (globfree64): Remove hidden alias.
26699 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
26701 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
26703 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
26705 Move compat code to separate file.
26706 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
26709 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
26711 * resolv/tst-resolv-qtypes.c (domain): Changed to
26712 "const char domain[] =".
26714 2017-09-07 Joseph Myers <joseph@codesourcery.com>
26716 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
26719 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
26720 (TCP_MD5SIG_EXT): Likewise.
26721 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
26722 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
26723 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
26725 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
26727 2017-09-07 Mike FABIAN <mfabian@redhat.com>
26729 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
26731 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
26734 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
26736 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
26738 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
26739 before assuming that the file is empty. Avoid testing buffer content
26742 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26745 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26747 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
26749 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
26751 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
26753 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26755 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
26757 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
26760 2017-09-06 Florian Weimer <fweimer@redhat.com>
26762 * malloc/dynarray_emplace_enlarge.c
26763 (__libc_dynarray_emplace_enlarge): Add missing else.
26765 2017-09-06 Florian Weimer <fweimer@redhat.com>
26768 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
26769 case of failure to obtain the global conf object.
26771 2017-09-06 Florian Weimer <fweimer@redhat.com>
26774 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
26775 dynarray allocation failure.
26777 2017-09-06 Florian Weimer <fweimer@redhat.com>
26779 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
26780 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
26781 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
26783 (response): Call them. Add 'p', '6' flag processing.
26784 (test_reverse): New function.
26785 (test_get2_any): Call it.
26786 (test_no_inet6): Add 'p' test.
26787 (test_inet6): Likewise.
26789 2017-09-06 Florian Weimer <fweimer@redhat.com>
26791 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
26792 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
26794 (test_gai): Adjust query names. Add additional tests.
26795 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
26796 test_get2. Adjust query names. Add additional tests.
26797 (test_no_inet6): New function, extracted from threadfunc.
26798 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
26799 Add additional tests.
26801 2017-09-06 Mike FABIAN <mfabian@redhat.com>
26804 * localedata/unicode-gen/utf8_gen.py: Set the width for
26805 characters with Prepended_Concatenation_Mark property to 1
26806 * localedata/charmaps/UTF-8: Updated using the improved script.
26808 2017-09-06 Mike FABIAN <mfabian@redhat.com>
26811 * localedata/unicode-gen/utf8_gen.py: Improve the script to
26812 use the range notation for all ranges of neighbouring characters
26813 with the same width.
26815 2017-09-05 Joseph Myers <joseph@codesourcery.com>
26817 * sysdeps/generic/math-type-macros-double.h: Include
26818 <math-svid-compat.h>.
26819 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26820 * sysdeps/generic/math-type-macros-float.h: Include
26821 <math-svid-compat.h>.
26822 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26823 * sysdeps/generic/math-type-macros-ldouble.h: Include
26824 <math-svid-compat.h>.
26825 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26826 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
26828 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
26829 * math/w_acosf_compat.c: Likewise.
26830 * math/w_acosh_compat.c: Likewise.
26831 * math/w_acoshf_compat.c: Likewise.
26832 * math/w_acoshl_compat.c: Likewise.
26833 * math/w_acosl_compat.c: Likewise.
26834 * math/w_asin_compat.c: Likewise.
26835 * math/w_asinf_compat.c: Likewise.
26836 * math/w_asinl_compat.c: Likewise.
26837 * math/w_atan2_compat.c: Likewise.
26838 * math/w_atan2f_compat.c: Likewise.
26839 * math/w_atan2l_compat.c: Likewise.
26840 * math/w_atanh_compat.c: Likewise.
26841 * math/w_atanhf_compat.c: Likewise.
26842 * math/w_atanhl_compat.c: Likewise.
26843 * math/w_cosh_compat.c: Likewise.
26844 * math/w_coshf_compat.c: Likewise.
26845 * math/w_coshl_compat.c: Likewise.
26846 * math/w_exp10_compat.c: Likewise.
26847 * math/w_exp10f_compat.c: Likewise.
26848 * math/w_exp10l_compat.c: Likewise.
26849 * math/w_exp2_compat.c: Likewise.
26850 * math/w_exp2f_compat.c: Likewise.
26851 * math/w_exp2l_compat.c: Likewise.
26852 * math/w_fmod_compat.c: Likewise.
26853 * math/w_fmodf_compat.c: Likewise.
26854 * math/w_fmodl_compat.c: Likewise.
26855 * math/w_hypot_compat.c: Likewise.
26856 * math/w_hypotf_compat.c: Likewise.
26857 * math/w_hypotl_compat.c: Likewise.
26858 * math/w_j0_compat.c: Likewise.
26859 * math/w_j0f_compat.c: Likewise.
26860 * math/w_j0l_compat.c: Likewise.
26861 * math/w_j1_compat.c: Likewise.
26862 * math/w_j1f_compat.c: Likewise.
26863 * math/w_j1l_compat.c: Likewise.
26864 * math/w_jn_compat.c: Likewise.
26865 * math/w_jnf_compat.c: Likewise.
26866 * math/w_jnl_compat.c: Likewise.
26867 * math/w_lgamma_r_compat.c: Likewise.
26868 * math/w_lgammaf_r_compat.c: Likewise.
26869 * math/w_lgammal_r_compat.c: Likewise.
26870 * math/w_log10_compat.c: Likewise.
26871 * math/w_log10f_compat.c: Likewise.
26872 * math/w_log10l_compat.c: Likewise.
26873 * math/w_log2_compat.c: Likewise.
26874 * math/w_log2f_compat.c: Likewise.
26875 * math/w_log2l_compat.c: Likewise.
26876 * math/w_log_compat.c: Likewise.
26877 * math/w_logf_compat.c: Likewise.
26878 * math/w_logl_compat.c: Likewise.
26879 * math/w_pow_compat.c: Likewise.
26880 * math/w_powf_compat.c: Likewise.
26881 * math/w_powl_compat.c: Likewise.
26882 * math/w_remainder_compat.c: Likewise.
26883 * math/w_remainderf_compat.c: Likewise.
26884 * math/w_remainderl_compat.c: Likewise.
26885 * math/w_sinh_compat.c: Likewise.
26886 * math/w_sinhf_compat.c: Likewise.
26887 * math/w_sinhl_compat.c: Likewise.
26888 * math/w_sqrt_compat.c: Likewise.
26889 * math/w_sqrtf_compat.c: Likewise.
26890 * math/w_sqrtl_compat.c: Likewise.
26891 * math/w_tgamma_compat.c: Likewise.
26892 * math/w_tgammaf_compat.c: Likewise.
26893 * math/w_tgammal_compat.c: Likewise.
26894 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
26895 [LIBM_SVID_COMPAT].
26896 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
26897 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
26898 [LIBM_SVID_COMPAT].
26899 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
26900 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
26901 [LIBM_SVID_COMPAT].
26902 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
26903 * sysdeps/i386/fpu/w_sqrt.c: New file.
26904 * sysdeps/ia64/fpu/w_acos.c: Likewise.
26905 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
26906 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
26907 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
26908 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
26909 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
26910 * sysdeps/ia64/fpu/w_asin.c: Likewise.
26911 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
26912 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
26913 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
26914 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
26915 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
26916 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
26917 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
26918 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
26919 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
26920 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
26921 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
26922 * sysdeps/ia64/fpu/w_exp.c: Likewise.
26923 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
26924 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
26925 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
26926 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
26927 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
26928 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
26929 * sysdeps/ia64/fpu/w_expf.c: Likewise.
26930 * sysdeps/ia64/fpu/w_expl.c: Likewise.
26931 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
26932 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
26933 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
26934 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
26935 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
26936 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
26937 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
26938 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
26939 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
26940 * sysdeps/ia64/fpu/w_log.c: Likewise.
26941 * sysdeps/ia64/fpu/w_log10.c: Likewise.
26942 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
26943 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
26944 * sysdeps/ia64/fpu/w_log2.c: Likewise.
26945 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
26946 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
26947 * sysdeps/ia64/fpu/w_logf.c: Likewise.
26948 * sysdeps/ia64/fpu/w_logl.c: Likewise.
26949 * sysdeps/ia64/fpu/w_pow.c: Likewise.
26950 * sysdeps/ia64/fpu/w_powf.c: Likewise.
26951 * sysdeps/ia64/fpu/w_powl.c: Likewise.
26952 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
26953 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
26954 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
26955 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
26956 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
26957 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
26958 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
26959 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
26960 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
26961 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
26962 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
26963 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
26964 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
26965 [LIBM_SVID_COMPAT].
26966 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
26967 * sysdeps/ieee754/k_standard.c: Likewise.
26968 * sysdeps/ieee754/k_standardf.c: Likewise.
26969 * sysdeps/ieee754/k_standardl.c: Likewise.
26970 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
26971 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
26972 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
26973 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
26974 long_double_symbol call on [LIBM_SVID_COMPAT].
26975 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26976 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26977 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26978 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26979 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26980 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26981 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26982 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26983 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26984 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26985 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26986 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26987 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26988 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26989 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26990 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26991 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
26992 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26993 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26994 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26995 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
26996 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
26998 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27000 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27001 * malloc/tst-mallocstate.c: Convert from test-skeleton
27002 to test-driver. Ifdef code using TEST_COMPAT macro.
27003 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27004 * math/test-matherr.c: Likewise.
27006 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27009 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27010 comparing word with byte-swapped constant.
27012 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27015 * locale/iso-639.def: add Miskito.
27016 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27017 * localedata/locales/miq_NI: New file.
27019 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27022 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27023 (__mkdir): Likewise.
27024 * io/chmod.c (__chmod): Add libc_hidden_def.
27025 * io/mkdir.c (__mkdir): Likewise.
27026 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27027 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27028 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27029 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27031 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27033 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27037 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27038 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27040 2017-09-04 Florian Weimer <fweimer@redhat.com>
27042 * math/math.h: Issue warning if log is defined.
27044 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27046 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27047 kernel version to 4.13.
27049 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27051 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27052 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27054 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27055 just <bits/types.h>.
27056 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27057 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27058 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27059 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27060 * misc/preadv2.c: Include <errno.h>.
27061 * misc/preadv64v2.c: Include <errno.h>.
27062 * misc/pwritev2.c: Include <errno.h>.
27063 * misc/pwritev64v2.c: Include <errno.h>.
27064 * sysdeps/posix/preadv2.c: Include <errno.h>.
27065 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27066 Fix <unistd.h> inclusion.
27067 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27068 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27069 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27070 __strtoul_internal): New functions.
27071 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27072 * sysdeps/posix/system.c: Include <sigsetops.h>.
27073 * sysdeps/mach/hurd/i386/Makefile
27074 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27075 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27076 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27077 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27078 __feraiseexcept_renamed to feraiseexcept instead of
27079 __GI_feraiseexcept.
27080 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27081 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27082 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27083 RWF_NOWAIT): Define to 0 if undefined already.
27084 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27086 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27087 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27089 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27091 * manual/math.texi (pow10): Do not document.
27092 (pow10f): Likewise.
27093 (pow10l): Likewise.
27094 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27095 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27096 * math/libm-test-exp10.inc (pow10_test): Remove.
27097 (do_test): Do not call pow10.
27098 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27099 [NO_LONG_DOUBLE] (pow10l): Likewise.
27100 * math/w_exp10f_compat.c (pow10f): Likewise.
27101 * math/w_exp10l_compat.c (pow10l): Likewise.
27102 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27103 (pow10): Make into compat symbol.
27104 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27105 (pow10f): Make into compat symbol.
27106 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27107 (pow10l): Make into compat symbol.
27108 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27110 (CFLAGS-nldbl-pow10.c): Remove variable..
27111 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27112 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27113 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27114 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27115 Undefine and redefine.
27116 (pow10l): Make into compat symbol.
27117 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27118 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27119 * sysdeps/arm/libm-test-ulps: Likewise.
27120 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27121 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27122 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27123 * sysdeps/microblaze/libm-test-ulps: Likewise.
27124 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27125 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27126 * sysdeps/nios2/libm-test-ulps: Likewise.
27127 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27128 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27129 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27130 * sysdeps/sh/libm-test-ulps: Likewise.
27131 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27132 * sysdeps/tile/libm-test-ulps: Likewise.
27133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27135 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27137 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27139 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27141 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27142 "../ChangeLog.old/ChangeLog.8".
27143 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27144 "../ChangeLog.old/ChangeLog.14".
27146 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27148 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27151 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27153 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27155 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27157 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27158 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27160 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27162 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27163 32 atexit handlers.
27165 2017-09-01 Zack Weinberg <zackw@panix.com>
27167 * math/math.h (HUGE_VAL): Improve commentary.
27169 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27170 Andreas Schwab <schwab@suse.de>
27173 * include/stdio.h (__gen_tempfd): New function.
27174 * stdio-common/Makefile (routines): Add gentempfd.
27175 * stdio-common/gentempfd.c: New file.
27176 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27177 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27178 unnamed file first.
27180 2017-09-01 Florian Weimer <fweimer@redhat.com>
27184 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27185 result to determine success or failure, not the errno value.
27186 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27187 (tst-nss-files-hosts-erange): Link with -ldl.
27188 * nss/tst-nss-files-hosts-erange.c: New file.
27189 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27190 (do_test): Add NO_DATA tests.
27191 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27192 (do_test): Call it.
27194 2017-09-01 Florian Weimer <fweimer@redhat.com>
27197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27198 coming from gethostbyname2_r.
27200 2017-09-01 Florian Weimer <fweimer@redhat.com>
27202 * support/namespace.h (struct support_chroot_configuration): Add
27204 (struct support_chroot): Add path_hosts, path_host_conf.
27205 * support/support_chroot.c (write_file): New function.
27206 (support_chroot_create): Call it to process /etc/resolv.conf,
27207 /etc/hosts, /etc/host.conf.
27208 (support_chroot_free): Update.
27210 2017-09-01 Florian Weimer <fweimer@redhat.com>
27212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27213 status indicates it is set.
27215 2017-09-01 Florian Weimer <fweimer@redhat.com>
27218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27219 function lookup failures more reliable.
27221 2017-09-01 Florian Weimer <fweimer@redhat.com>
27223 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27224 (getcanonname): Likewise.
27225 (gaih_inet): Likewise.
27227 2017-09-01 Florian Weimer <fweimer@redhat.com>
27229 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27230 (getcanonname): Likewise.
27231 (gaih_inet): Likewise.
27233 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27234 Richard Henderson <rth@twiddle.net>
27236 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27237 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27238 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27239 (IREG_SIZE, OREG_SIZE): New macros.
27240 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27241 (IREG_SIZE, OREG_SIZE): New macros.
27242 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27243 (IREG_SIZE): New macro.
27244 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27245 (IREG_SIZE): New macro.
27246 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27248 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27249 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27250 (__CONCATX): Handle exceptions correctly on large values that may
27252 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27253 Initialize if not already set.
27254 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27256 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27258 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27259 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27261 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27263 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27265 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27267 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27269 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27271 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27273 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27274 (NO_CANCELLATION): Likewise.
27275 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27277 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27279 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27282 (NO_CANCELLATION): Likewise.
27283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27284 (NO_CANCELLATION): Likewise.
27285 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27287 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27289 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27291 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27293 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27295 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27296 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27298 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27300 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27303 2017-08-31 Florian Weimer <fweimer@redhat.com>
27305 * include/libc-symbols.h (internal_function): Remove.
27307 2017-08-31 Florian Weimer <fweimer@redhat.com>
27309 * stdlib/fmtmsg.c (internal_addseverity): Remove
27312 2017-08-31 Florian Weimer <fweimer@redhat.com>
27314 * stdio-common/printf_fp.c (group_number): Remove
27316 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27318 2017-08-31 Florian Weimer <fweimer@redhat.com>
27320 * posix/fnmatch.c (internal_function): Remove definition.
27321 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27322 * posix/regcomp.c (peek_token, init_word_char)
27323 (duplicate_node_closure, fetch_token, peek_token)
27324 (peek_token_bracket, build_range_exp, build_collating_symbol):
27326 * posix/regex_internal.c (re_string_construct_common)
27327 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27328 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27329 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27330 (re_string_translate_buffer, re_string_reconstruct)
27331 (re_string_peek_byte_case, re_string_fetch_byte_case)
27332 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27333 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27334 (re_node_set_add_intersect, re_node_set_init_union)
27335 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27336 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27337 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27338 (re_acquire_state_context): Likewise.
27339 * posix/regex_internal.h (internal_function): Remove definition.
27340 (re_string_realloc_buffers, build_wcs_buffer)
27341 (build_wcs_upper_buffer, build_upper_buffer)
27342 (re_string_translate_buffer, re_string_context_at)
27343 (re_string_char_size_at, re_string_wchar_at)
27344 (re_string_elem_size_at): Likewise.
27345 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27346 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27347 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27348 (re_search_internal, re_search_2_stub, re_search_stub)
27349 (re_copy_regs, prune_impossible_nodes, check_matching)
27350 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27351 (free_fail_stack_return, sift_states_iter_mb)
27352 (sift_states_backward, build_sifted_states)
27353 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27354 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27355 (check_subexp_limits, sift_states_bkref, merge_state_array)
27356 (find_recover_state, transit_state, merge_state_with_log)
27357 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27358 (transit_state_mb, transit_state_bkref, get_subexp)
27359 (get_subexp_sub, find_subexp_node, check_arrival)
27360 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27361 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27362 (check_node_accept_bytes, find_collation_sequence_value)
27363 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
27364 (acquire_init_state_context, check_halt_node_context)
27365 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
27366 (sub_epsilon_src_nodes): Likewise.
27367 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
27368 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
27369 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
27370 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
27371 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
27372 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
27373 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
27374 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27375 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27376 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
27377 (PREADV): Likewise.
27378 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
27379 (PREADV): Likewise.
27380 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
27381 (PWRITEV): Likewise.
27382 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
27383 (PWRITEV): Likewise.
27384 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
27385 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27387 2017-08-31 Florian Weimer <fweimer@redhat.com>
27389 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
27390 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
27391 Remove internal_function.
27392 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27393 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
27394 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
27395 (__deallocate_stack, __libc_pthread_init)
27396 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
27397 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
27398 (__libc_disable_asynccancel, __librt_disable_asynccancel):
27400 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
27401 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
27402 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
27404 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
27405 (__pthread_mutex_unlock_usercnt): Likewise.
27407 2017-08-31 Florian Weimer <fweimer@redhat.com>
27409 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
27410 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
27411 (fts_safe_changedir): Remove internal_function.
27412 * io/ftw.c (internal_function): Remove definition.
27413 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
27415 2017-08-31 Florian Weimer <fweimer@redhat.com>
27417 * inet/deadline.c (__deadline_current_time)
27418 (__deadline_from_timeval, __deadline_to_ms): Remove
27420 * inet/getnameinfo.c (nrl_domainname): Likewise.
27421 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
27422 * inet/inet6_option.c (add_pad): Likewise.
27423 * inet/net-internal.h (__deadline_current_time)
27424 (__deadline_from_timeval, __deadline_to_ms): Likewise.
27425 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
27426 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
27427 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
27429 2017-08-31 Joseph Myers <joseph@codesourcery.com>
27431 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
27432 include <bits/nan.h>.
27433 * math/Makefile (headers): Remove bits/nan.h.
27434 * bits/nan.h: Remove.
27435 * sysdeps/ieee754/bits/nan.h: Likewise.
27436 * sysdeps/mips/bits/nan.h: Likewise.
27438 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
27439 not include <bits/inf.h>.
27440 * math/Makefile (headers): Remove bits/inf.h.
27441 * bits/inf.h: Remove.
27442 * sysdeps/ieee754/bits/inf.h: Likewise.
27444 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
27445 bits/huge_vall.h or bits/huge_val_flt128.h.
27446 (HUGE_VAL): Define directly here.
27447 [__USE_ISOC99] (HUGE_VALF): Likewise.
27448 [__USE_ISOC99] (HUGE_VALL): Likewise.
27449 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27450 (HUGE_VAL_F128): Likewise.
27451 * math/Makefile (headers): Remove bits/huge_val.h,
27452 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
27453 * bits/huge_val.h: Remove.
27454 * bits/huge_val_flt128.h: Likewise.
27455 * bits/huge_valf.h: Likewise.
27456 * bits/huge_vall.h: Likewise.
27457 * sysdeps/ia64/bits/huge_vall.h: Likewise.
27458 * sysdeps/ieee754/bits/huge_val.h: Likewise.
27459 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
27460 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
27461 * sysdeps/sh/bits/huge_val.h: Likewise.
27462 * sysdeps/sparc/bits/huge_vall.h: Likewise.
27463 * sysdeps/x86/bits/huge_vall.h: Likewise.
27465 2017-08-31 Florian Weimer <fweimer@redhat.com>
27467 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
27469 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
27471 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
27472 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27473 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
27474 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
27475 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27476 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27477 * elf/dl-libc.c (dlerror_run): Likewise.
27478 * elf/dl-load.c (add_name_to_object, decompose_rpath)
27479 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
27480 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
27481 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
27483 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
27484 (_dl_higher_prime_number, _dl_strtoul): Likewise.
27485 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
27486 * elf/dl-profile.c (_dl_start_profile): Likewise.
27487 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
27488 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
27490 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
27491 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
27492 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
27493 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
27494 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
27495 (_dl_allocate_tls_storage): Likewise.
27496 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
27497 (_dl_check_all_versions): Likewise.
27498 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27499 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
27500 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
27501 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27502 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
27503 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
27504 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
27505 internal_function from __dl_start.
27506 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
27507 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27508 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
27509 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
27510 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
27511 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
27512 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
27513 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
27514 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
27515 (_dl_next_ld_env_entry, _dl_important_hwcaps)
27516 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
27517 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
27518 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
27519 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
27520 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
27522 (struct rtld_global_ro): Remove internal_function from the
27523 _dl_lookup_symbol_x member.
27524 (_dl_symbol_value): Remove. No longer defined anywhere.
27525 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
27527 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27528 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27529 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
27530 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
27531 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
27532 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
27533 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
27534 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
27535 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
27536 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27537 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27538 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27540 2017-08-31 Florian Weimer <fweimer@redhat.com>
27542 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
27543 Remove internal_function.
27544 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27546 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27549 2017-08-31 Florian Weimer <fweimer@redhat.com>
27551 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
27552 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
27553 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
27555 2017-08-31 Florian Weimer <fweimer@redhat.com>
27557 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
27558 (__gai_enqueue_request): Remove internal_function.
27559 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
27560 (__gai_remove_request, __gai_notify, __gai_notify_only)
27561 (__gai_sigqueue): Likewise.
27562 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
27563 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27564 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
27565 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27568 2017-08-31 Florian Weimer <fweimer@redhat.com>
27570 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
27571 * include/dirent.h (__opendirat, __getdents, __getdents64)
27572 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
27573 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
27574 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27575 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27577 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
27579 2017-08-31 Florian Weimer <fweimer@redhat.com>
27581 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
27583 (GETCWD_RETURN_TYPE): Likewise.
27585 2017-08-31 Florian Weimer <fweimer@redhat.com>
27587 * include/time.h (__tz_compute, __strptime_internal): Remove
27589 * time/strptime_l.c (__strptime_internal): Likewise.
27590 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
27592 2017-08-31 Florian Weimer <fweimer@redhat.com>
27594 * iconv/gconv.c (__gconv): Remove internal_function.
27595 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
27596 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
27597 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
27598 (__gconv_release_cache): Likewise.
27599 * iconv/gconv_close.c (__gconv_close): Likewise.
27600 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
27601 (read_conf_file, __gconv_get_path): Likewise.
27602 * iconv/gconv_db.c (derivation_lookup, add_derivation)
27603 (__gconv_release_step, gen_steps, increment_counter)
27604 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
27605 (__gconv_close_transform, free_modules_db): Likewise.
27606 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
27608 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
27609 (__gconv_find_transform, __gconv_lookup_cache)
27610 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
27611 (__gconv_close_transform, __gconv_release_cache)
27612 (__gconv_loaded_object, __gconv_release_shlib)
27613 (__gconv_compare_alias): Likewise.
27614 * iconv/gconv_open.c (__gconv_open): Likewise.
27615 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
27616 * iconv/iconvconfig.c (add_module): Likewise.
27617 * intl/dcigettext.c (plural_lookup, guess_category_value)
27618 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
27619 * intl/eval-plural.h (plural_eval): Likewise.
27620 * intl/finddomain.c (_nl_find_domain): Likewise.
27621 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
27622 (_nl_load_domain, _nl_find_msg): Likewise.
27623 (internal_function): Remove definition.
27624 * intl/loadinfo.h (internal_function): Likewise.
27625 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
27627 * intl/localealias.c (internal_function): Remove definition.
27628 (read_alias_file): Remove internal_function.
27629 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
27630 * intl/plural-exp.h (internal_function): Remove definition.
27631 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
27633 * intl/plural.c: Regenerate.
27634 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
27635 * locale/coll-lookup.c (__collidx_table_lookup)
27636 (__collseq_table_lookup): Likewise.
27637 * locale/coll-lookup.h (__collidx_table_lookup)
27638 (__collseq_table_lookup): Likewise.
27639 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
27640 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27641 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
27642 (_nl_unload_locale): Likewise.
27643 * locale/localeinfo.h (struct __locale_data): Remove
27644 internal_function from cleanup member.
27645 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
27646 (_nl_remove_locale, _nl_load_locale_from_archive)
27647 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
27648 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
27649 (_nl_cleanup_time): Remove internal_function.
27650 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
27651 (_nl_parse_alt_digit): Likewise.
27652 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
27653 (_nl_select_era_entry): Likewise.
27654 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
27655 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27656 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27657 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27658 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27660 2017-08-31 Florian Weimer <fweimer@redhat.com>
27662 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
27663 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27664 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
27665 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
27667 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
27668 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
27669 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
27670 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27672 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
27674 2017-08-31 Florian Weimer <fweimer@redhat.com>
27676 * misc/getttyent.c (skip, value): Remove internal_function.
27677 * misc/syslog.c (openlog_internal): Likewise.
27678 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
27680 2017-08-31 Florian Weimer <fweimer@redhat.com>
27682 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
27683 (__nss_rewrite_field): Remove internal_function.
27684 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27685 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27686 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27687 * nss/nsswitch.c (nss_parse_file, nss_getline)
27688 (nss_parse_service_list, nss_new_service): Likewise.
27689 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
27690 * nss/valid_field.c (__nss_valid_field): Likewise.
27691 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27693 2017-08-31 Florian Weimer <fweimer@redhat.com>
27695 * malloc/arena.c (__malloc_fork_lock_parent)
27696 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
27697 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
27698 internal_function from defintions.
27699 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
27700 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
27701 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
27702 internal_function from declarations.
27703 * malloc/malloc.c (internal_function): Do not define.
27704 (mem2mem_check): Remove internal_function from declaration.
27705 (munmap_chunk, mremap_chunk): Remove internal_function.
27706 * malloc/mtrace.c (tr_where): Likewise.
27708 2017-08-31 Florian Weimer <fweimer@redhat.com>
27710 * include/rpc/pmap_clnt.h (__get_socket): Remove
27712 * sunrpc/auth_des.c (synchronize): Likewise.
27713 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
27714 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
27715 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
27716 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
27717 (key_call): Likewise.
27718 * sunrpc/pm_getport.c (__get_socket): Likewise.
27719 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
27720 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
27721 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
27722 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
27723 (invalidate): Likewise.
27724 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
27725 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
27726 (set_input_fragment, get_input_bytes): Likewise.
27728 2017-08-31 Florian Weimer <fweimer@redhat.com>
27730 * malloc/malloc.c (_int_free): Remove locked variable and related
27733 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
27736 * Makerules (build-module-helper-objlist): Filter out
27737 $(elf-objpfx)sofini.os.
27738 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
27741 2017-08-31 Florian Weimer <fweimer@redhat.com>
27743 * libio/fcloseall.c: Assume weak_alias is defined.
27744 * libio/feof.c: Likewise.
27745 * libio/fileno.c: Likewise.
27746 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
27747 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27749 (_IO_file_open): Call __open directly.
27750 (_IO_new_file_sync): Assume ESPIPE is defined.
27751 (_IO_file_seekoff_maybe_mmap): Call __read directly.
27752 (_IO_new_file_write): Call __write directly.
27753 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
27754 * libio/ftello64.c (__ftello64): Assume EIO is defined.
27755 * libio/genops.c: Assume _LIBC is defined.
27756 (save_for_backup): Remove internal_function.
27757 * libio/getc.c: Assume weak_alias is defined.
27758 * libio/getwc.c: Likewise.
27759 * libio/iofclose.c: Assume _LIBC is defined.
27760 * libio/iofdopen.c: Likewise.
27761 (_IO_fcntl): Remove macro definition.
27762 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
27763 Call __fcntl directly.
27764 * libio/iofflush.c: Assume weak_alias is defined.
27765 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
27767 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
27768 * libio/iofgets.c: Likewise.
27769 * libio/iofopen.c: Assume _LIBC is defined.
27770 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
27771 * libio/iofputs.c: Assume weak_alias is defined.
27772 * libio/iofread.c: Likewise.
27773 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
27774 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27775 * libio/ioftell.c: Assume weak_alias is defined.
27776 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
27777 * libio/iofwide.c: Assume _LIBC is defined.
27778 (_IO_fwide): Drop SHARED conditional because it is implied by
27780 * libio/iofwrite.c: Assume weak_alias is defined.
27781 * libio/iogetdelim.c: Likewise.
27782 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
27783 * libio/iogetwline.c (wmemcpy): Remove macro definition.
27784 (_IO_getwline): Call __wmemcpy directly.
27785 * libio/iopopen.c: Assume _LIBC is defined.
27786 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27787 (_IO_close): Remove macro definitions.
27788 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
27790 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
27792 * libio/ioputs.c: Assume weak_alias is defined.
27793 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
27794 * libio/iosetbuffer.c: Assume weak_alias is defined.
27795 * libio/iosetvbuf.c: Likewise.
27796 * libio/ioungetc.c: Likewise.
27797 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
27798 libc_hidden_def, libc_hidden_weak, NULL are defined.
27799 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
27800 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
27802 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27804 (_IO_old_file_init_internal): Drop SHARED conditional because it
27805 is implied by SHLIB_COMPAT.
27806 (_IO_old_file_fopen): Call __open directly.
27807 (_IO_old_file_sync): Assume ESPIPE is defined.
27808 (_IO_old_file_write): Call __write directly.
27809 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
27810 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
27811 Call __fcntl directly.
27812 * libio/oldiofgetpos.c: Assume weak_alias is defined.
27813 (_IO_old_fgetpos): Assume EIO is defined.
27814 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
27815 (_IO_old_fgetpos64): Assume EIO is defined.
27816 * libio/oldiofsetpos.c: Assume weak_alias is defined.
27817 (_IO_old_fsetpos): Assume EIO is defined.
27818 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
27819 (_IO_old_fsetpos64): Assume EIO is defined.
27820 * libio/oldiopopen.c: Assume _LIBC is defined.
27821 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27822 (_IO_close): Remove macro definitions.
27823 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
27825 (_IO_old_proc_close): Call __close, __waitpid directly.
27826 * libio/put.c: Assume weak_alias is defined.
27827 * libio/stdfiles.c: Assume _LIBC is defined.
27828 * libio/stdio.c: Likewise.
27829 * libio/wfileops.c: Likewise.
27830 (_IO_wfile_sync): Assume ESPIPE is defined.
27831 * libio/wgenops.c: Assume _LIBC is defined.
27832 (save_for_wbackup): Remove internal_function.
27834 2017-08-31 Florian Weimer <fweimer@redhat.com>
27836 * malloc/malloc.c (top_check): Change return type to void. Remove
27838 * malloc/hooks.c (top_check): Likewise.
27839 (malloc_check, realloc_check, memalign_check): Adjust.
27841 2017-08-30 Joseph Myers <joseph@codesourcery.com>
27844 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27845 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
27846 sigcontext and namespace requirements.
27847 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27848 * sysdeps/m68k/sys/ucontext.h: Likewise.
27849 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
27850 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
27851 <bits/sigcontext.h>.
27852 (__ctx): Define earlier.
27853 (mcontext_t): Define structure contents rather than using struct
27855 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
27856 __glibc_reserved1 instead of __reserved.
27857 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
27858 <bits/sigcontext.h>.
27859 (__ctx): Define earlier.
27860 (mcontext_t): Define structure contents rather than using struct
27862 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
27863 mcontext_t instead of struct sigcontext.
27864 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
27865 <bits/sigcontext.h>.
27866 (__ctx): Define earlier.
27867 (mcontext_t): Define structure contents rather than using struct
27869 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
27870 <bits/sigcontext.h>.
27871 (__ctx): Define earlier.
27872 (mcontext_t): Define structure contents rather than using struct
27874 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
27875 mcontext_t instead of struct sigcontext.
27876 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
27877 mcontext_t instead of struct sigcontext.
27878 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
27879 <bits/sigcontext.h>.
27880 (__ctx): New macro.
27881 (struct __ia64_fpreg_mcontext): New type.
27882 (mcontext_t): Define structure contents rather than using struct
27884 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
27885 (uc_sigmask): Define using __ctx.
27886 (uc_stack): Likewise.
27887 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
27888 <bits/sigcontext.h>.
27889 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27890 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
27891 <bits/sigcontext.h>.
27892 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
27893 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
27894 <bits/sigcontext.h>.
27895 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
27896 <bits/sigcontext.h>.
27897 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
27898 <bits/sigcontext.h>.
27899 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
27900 <bits/sigcontext.h>.
27901 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
27902 <bits/sigcontext.h>.
27903 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
27904 <bits/sigcontext.h>.
27905 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
27906 <bits/sigcontext.h>.
27907 (__ctx): Define earlier.
27908 (mcontext_t): Define structure contents rather than using struct
27910 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
27911 <bits/sigcontext.h>. Include <bits/types.h>.
27912 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
27913 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
27914 (test-xfail-XPG42/ucontext.h/conform): Likewise.
27915 (test-xfail-UNIX98/signal.h/conform): Likewise.
27916 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27917 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27918 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27919 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27920 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27921 (test-xfail-POSIX2008/signal.h/conform): Likewise.
27922 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27923 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27924 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27926 2017-08-30 Florian Weimer <fweimer@redhat.com>
27928 * malloc/dynarray_emplace_enlarge.c
27929 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
27930 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
27931 * malloc/tst-dynarray.c (test_long_overflow): New function.
27932 (do_test): Call it.
27934 2017-08-30 Florian Weimer <fweimer@redhat.com>
27936 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
27937 (set_arena_corrupt): Remove definitions.
27938 (mtrim): Do not check for corrupt arena.
27939 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
27942 2017-08-30 Florian Weimer <fweimer@redhat.com>
27945 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
27947 (ptmalloc_init): Do not set or use check_action.
27948 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
27949 call to malloc_printerr. Remove return statement.
27950 (free_check): Likewise. Remove arena unlock.
27951 (top_check): Update comment. Adjust call to malloc_printerr.
27952 Remove heap repair code.
27953 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
27954 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
27955 (sysmalloc): Adjust call to malloc_printerr.
27956 (munmap_chunk, __libc_realloc): Likewise. Remove return
27958 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
27959 Remove errout label and corresponding gotos.
27960 (_int_free): Likewise. Remove arena unlock.
27961 (do_set_mallopt_check): Do not set check_action.
27962 (malloc_printerr): Adjust parameter list. Do not mark arena as
27964 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
27966 * manual/probes.texi (Memory Allocation Probes): Remove
27967 memory_mallopt_check_action.
27969 2017-08-30 Steve Ellcey <sellcey@cavium.com>
27971 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
27972 Use pointer to uint64_t instead of long int for sp.
27974 2017-08-30 Florian Weimer <fweimer@redhat.com>
27977 * malloc/malloc.c (malloc_printerr): Always terminate the process,
27978 without printing a backtrace. Do not leak any information in the
27980 * manual/memory.texi (Heap Consistency Checking): Update.
27981 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
27983 2017-08-30 Florian Weimer <fweimer@redhat.com>
27985 Do not scale NPTL tests with available number of CPUs.
27986 * nptl/tst-cond16.c (count): Set to constant value of 8.
27987 * nptl/tst-cond18.c (count): Likewise.
27989 2017-08-29 Joseph Myers <joseph@codesourcery.com>
27992 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
27993 Define to take a second argument that is a macro that
27994 concatentates a suffix, not the suffix itself.
27995 (__CONCAT_d): New macro.
27996 (__CONCAT_f): Likewise.
27997 (__CONCAT_l): Likewise.
27999 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28001 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28004 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28005 Aurelien Jarno <aurelien@aurel32.net>
28006 Maciej W. Rozycki <macro@imgtec.com>
28009 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28010 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28011 `mips16-syscall6' and `mips16-syscall7'.
28012 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28013 (CFLAGS-mips16-syscall7.c): Remove.
28014 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28015 Remove `__mips16_syscall5', `__mips16_syscall6' and
28016 `__mips16_syscall7'.
28017 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28018 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28019 `__mips_syscall_return'.
28020 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28021 (__mips16_syscall1): Likewise.
28022 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28023 (__mips16_syscall2): Likewise.
28024 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28025 (__mips16_syscall3): Likewise.
28026 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28027 (__mips16_syscall4): Likewise.
28028 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28030 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28032 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28034 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28035 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28036 `__mips16_syscall5'. Remove prototype.
28037 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28038 `__mips16_syscall6'. Remove prototype.
28039 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28040 `__mips16_syscall7'. Remove prototype.
28041 (__nomips16, __mips16_syscall_return): Move to...
28042 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28043 (__nomips16, __mips_syscall_return): ... here.
28044 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28045 `__mips16_syscall_return' to `__mips_syscall_return'.
28046 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28047 `internal_syscall##nr'.
28048 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28049 `internal_syscall##nr'.
28050 (FORCE_FRAME_POINTER): Remove.
28051 (__mips_syscall5): New prototype.
28052 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28053 (__mips_syscall6): New prototype.
28054 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28055 (__mips_syscall7): New prototype.
28056 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28057 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28058 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28059 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28060 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28061 (sysdep_routines): Add libc-do-syscall.
28062 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28063 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28065 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28068 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28069 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28070 (advise_stack_range): New function.
28071 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28072 stack non required to advise_stack_range at allocatestack.c
28074 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28076 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28078 2017-08-29 Florian Weimer <fweimer@redhat.com>
28081 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28082 __end_fct. Mangle __end_fct after setting it to NULL.
28083 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28084 (modules-names, modules-names-tests): Add
28085 tst-gconv-init-failure-mod.
28086 (gconv-modules): New target.
28087 (tst-gconv-init-failure-mod.so): Link against libsupport.
28088 (tst-gconv-init-failure): Depend on gconv-modules,
28089 tst-gconv-init-failure-mod.so.
28090 * iconv/tst-gconv-init-failure-mod.c: New file.
28091 * iconv/tst-gconv-init-failure.c: Likewise.
28092 * iconv/test-gconv-modules: Likewise.
28094 2017-08-29 Florian Weimer <fweimer@redhat.com>
28097 * iconv/gconv_db.c (free_derivation): Remove redundant
28099 (gen_steps): Unconditionally mangle __btowc_fct after
28101 (increment_counter): Likewise. Do not call init_fct for internal
28104 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28107 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28108 (_MSUF_): Remove macro.
28109 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28111 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28112 (__REDIRFROM_X): New macro.
28113 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28115 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28116 (__REDIRTO_X): Likewise.
28117 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28119 (__MATH_REDIRCALL_2): Likewise.
28120 (__MATH_REDIRCALL_INTERNAL): Likewise.
28121 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28122 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28123 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28124 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28125 * math/test-finite-macros.c: New file.
28126 * math/Makefile (tests): Add test-finite-macros.
28127 (CFLAGS-test-finite-macros.c): New variable.
28129 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28130 Jeff Law <law@redhat.com>
28133 Mangle NULL pointers in iconv/gconv.
28134 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28135 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28136 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28137 is non-NULL before demangling the end_fct. Check for NULL
28138 end_fct after demangling.
28139 (__gconv_release_step): Demangle the end_fct before checking
28140 it for NULL. Remove assert on __shlibc_handle != NULL.
28141 (gen_steps): Don't check btowc_fct for NULL before mangling.
28142 Demangle init_fct before checking for NULL.
28143 (increment_counter): Likewise.
28144 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28145 end_fct for NULL before mangling.
28146 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28149 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28152 * locale/iso-639.def: add Morisyen.
28154 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28157 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28158 (iszero): New C++ implementation that does not use
28159 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28160 signaling nans are enabled, since __builtin_types_compatible_p
28161 is a C-only feature.
28162 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28163 defined, include ieee754_float128.h for access to the union and
28164 member ieee854_float128.ieee.
28165 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28166 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28167 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28168 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28169 options of test-math-zero on powerpc64le.
28171 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28173 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28174 Change double to float.
28176 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28178 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28180 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28181 conditional code; define contents only for [LIBM_SVID_COMPAT].
28183 2017-08-28 Florian Weimer <fweimer@redhat.com>
28185 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28186 (abi-lp64_be-options): Remove.
28187 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28188 (abi-hard-options): Likewise.
28189 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28190 (abi-o32_hard-options, abi-o32_soft_2008-options)
28191 (abi-o32_hard_2008-options, abi-n32_soft-options)
28192 (abi-n32_hard-options, abi-n32_soft_2008-options)
28193 (abi-n32_hard_2008-options, abi-n64_soft-options)
28194 (abi-n64_hard-options, abi-n64_soft_2008-options)
28195 (abi-n64_hard_2008-options): Likewise.
28196 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28197 (abi-64-v1-options, abi-64-v2-options): Likewise.
28198 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28199 (abi-64-options): Likewise.
28200 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28201 (abi-64-options): Likewise.
28202 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28203 (abi-64-options): Likewise.
28204 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28205 (abi-64-options, abi-x32-options): Likewise.
28207 2017-08-28 Florian Weimer <fweimer@redhat.com>
28209 Store supported list of SYS_* system calls in the source tree.
28210 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28211 (bits/syscall.h): Generate from list file.
28212 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28213 [$(subdir) = misc] (tests): Add tst-syscall-list.
28214 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28215 [$(subdir) = misc] (tst-syscall-list-macros.list)
28216 [$(subdir) = misc] (tst-syscall-list-nr.list)
28217 (tst-syscall-list-sys.list): Helper targets for new
28218 tst-syscall-list test.
28219 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28220 tst-syscall-list.sh.
28221 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28222 target. Do not include bits/syscall.d.
28223 [$(subdir) = misc] (generated): Do not update.
28224 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28225 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28226 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28227 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28229 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28231 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28232 (tst-cxa_atexit, tst-on_exit): Likewise.
28233 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28234 tst-cxa_atexit, and tst-on_exit.
28235 * stdlib/tst-atexit-common.c: New file.
28236 * stdlib/tst-atexit.c: New file.
28237 * stdlib/tst-at_quick_exit.c: New file.
28238 * stdlib/tst-cxa_atexit.c: New file.
28239 * stdlib/tst-on_exit.c: New file.
28241 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28243 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28244 * mach/stack_chk_fail_local.c: New file.
28245 * hurd/stack_chk_fail_local.c: New file.
28246 * mach/Machrules ($(interface-library)-routines): Add
28247 stack_chk_fail_local.
28248 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28249 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28250 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28251 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28252 * hurd/Makefile (CFLAGS-hurdstartup.o,
28253 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28255 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28257 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28258 (index_cpu_*, index_arch_*): Removed.
28260 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28262 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28263 Use uint64_t instead of unsigned long.
28265 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28267 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28268 [__HAVE_DISTINCT_FLOAT128].
28270 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28271 of <bits/math-finite.h>.
28272 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28273 inclusion of <bits/math-finite.h>.
28274 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28275 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28276 __NO_LONG_DOUBLE_MATH].
28277 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28278 (__MATH_REDIRCALL_2): Likewise.
28279 (__MATH_REDIRCALL_INTERNAL): Likewise.
28280 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28281 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28282 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28296 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28297 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28298 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28299 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28301 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28302 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28303 w_sqrtf_compat-ppc32.
28305 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28307 * math/math.h [defined __cplusplus] (issignaling): In the long
28308 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28309 is not defined. Call __issignaling, otherwise.
28311 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28313 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28314 syscall definitions and replace __builtin_expect with __glibc_likely.
28315 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28317 (SYSCALL_CANCELLABLE): Removedefinition
28318 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28320 (PSEUDO_END): Likewise.
28321 [IS_IN (libpthread)] (CENABLE): Likewise.
28322 [IS_IN (libpthread)] (CDISABLE): Likewise.
28323 [IS_IN (libc)] (CENABLE): Likewise.
28324 [IS_IN (libc)] (CENABLE): Likewise.
28325 [IS_IN (librt)] (CDISABLE): Likewise.
28326 [IS_IN (librt)] (CDISABLE): Likewise.
28327 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28328 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28330 (PSEUDO_END): Likewise.
28331 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28332 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28333 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28334 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28335 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28336 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28337 (CENABLE): Likewise.
28338 (CDISABLE): Likewise.
28339 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28340 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28342 (PSEUDO_END): Likewise.
28343 [IS_IN (libpthread)] (CENABLE): Likewise.
28344 [IS_IN (libpthread)] (CDISABLE): Likewise.
28345 [IS_IN (libc)] (CENABLE): Likewise.
28346 [IS_IN (libc)] (CENABLE): Likewise.
28347 [IS_IN (librt)] (CDISABLE): Likewise.
28348 [IS_IN (librt)] (CDISABLE): Likewise.
28349 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28350 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28352 (PSEUDO_END): Likewise.
28353 [IS_IN (libpthread)] (CENABLE): Likewise.
28354 [IS_IN (libpthread)] (CDISABLE): Likewise.
28355 [IS_IN (libc)] (CENABLE): Likewise.
28356 [IS_IN (libc)] (CENABLE): Likewise.
28357 [IS_IN (librt)] (CDISABLE): Likewise.
28358 [IS_IN (librt)] (CDISABLE): Likewise.
28359 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28360 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28362 (PSEUDO_END): Likewise.
28363 [IS_IN (libpthread)] (CENABLE): Likewise.
28364 [IS_IN (libpthread)] (CDISABLE): Likewise.
28365 [IS_IN (libc)] (CENABLE): Likewise.
28366 [IS_IN (libc)] (CENABLE): Likewise.
28367 [IS_IN (librt)] (CDISABLE): Likewise.
28368 [IS_IN (librt)] (CDISABLE): Likewise.
28369 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28370 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
28372 (PSEUDO_END): Likewise.
28373 [IS_IN (libpthread)] (CENABLE): Likewise.
28374 [IS_IN (libpthread)] (CDISABLE): Likewise.
28375 [IS_IN (libc)] (CENABLE): Likewise.
28376 [IS_IN (libc)] (CENABLE): Likewise.
28377 [IS_IN (librt)] (CDISABLE): Likewise.
28378 [IS_IN (librt)] (CDISABLE): Likewise.
28379 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28380 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
28382 (PSEUDO_END): Likewise.
28383 [IS_IN (libpthread)] (CENABLE): Likewise.
28384 [IS_IN (libpthread)] (CDISABLE): Likewise.
28385 [IS_IN (libc)] (CENABLE): Likewise.
28386 [IS_IN (libc)] (CENABLE): Likewise.
28387 [IS_IN (librt)] (CDISABLE): Likewise.
28388 [IS_IN (librt)] (CDISABLE): Likewise.
28389 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28390 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
28392 (PSEUDO_END): Likewise.
28393 [IS_IN (libpthread)] (CENABLE): Likewise.
28394 [IS_IN (libpthread)] (CDISABLE): Likewise.
28395 [IS_IN (libc)] (CENABLE): Likewise.
28396 [IS_IN (libc)] (CENABLE): Likewise.
28397 [IS_IN (librt)] (CDISABLE): Likewise.
28398 [IS_IN (librt)] (CDISABLE): Likewise.
28399 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28400 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
28402 (PSEUDO_END): Likewise.
28403 [IS_IN (libpthread)] (CENABLE): Likewise.
28404 [IS_IN (libpthread)] (CDISABLE): Likewise.
28405 [IS_IN (libc)] (CENABLE): Likewise.
28406 [IS_IN (libc)] (CENABLE): Likewise.
28407 [IS_IN (librt)] (CDISABLE): Likewise.
28408 [IS_IN (librt)] (CDISABLE): Likewise.
28409 (SINGLE_THREAD_P): Likewise.
28410 * sysdeps/unix/sysv/linux/mips/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/nios2/sysdep-cancel.h (PSEUDO): Remove
28422 (PSEUDO_END): Likewise.
28423 [IS_IN (libpthread)] (CENABLE): Likewise.
28424 [IS_IN (libpthread)] (CDISABLE): Likewise.
28425 [IS_IN (libc)] (CENABLE): Likewise.
28426 [IS_IN (libc)] (CENABLE): Likewise.
28427 [IS_IN (librt)] (CDISABLE): Likewise.
28428 [IS_IN (librt)] (CDISABLE): Likewise.
28429 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28430 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
28431 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28432 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
28433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
28435 (PSEUDO_END): Likewise.
28436 [IS_IN (libpthread)] (CENABLE): Likewise.
28437 [IS_IN (libpthread)] (CDISABLE): Likewise.
28438 [IS_IN (libc)] (CENABLE): Likewise.
28439 [IS_IN (libc)] (CENABLE): Likewise.
28440 [IS_IN (librt)] (CDISABLE): Likewise.
28441 [IS_IN (librt)] (CDISABLE): Likewise.
28442 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
28445 (PSEUDO_END): Likewise.
28446 [IS_IN (libpthread)] (CENABLE): Likewise.
28447 [IS_IN (libpthread)] (CDISABLE): Likewise.
28448 [IS_IN (libc)] (CENABLE): Likewise.
28449 [IS_IN (libc)] (CENABLE): Likewise.
28450 [IS_IN (librt)] (CDISABLE): Likewise.
28451 [IS_IN (librt)] (CDISABLE): Likewise.
28452 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28453 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
28455 (PSEUDO_END): Likewise.
28456 [IS_IN (libpthread)] (CENABLE): Likewise.
28457 [IS_IN (libpthread)] (CDISABLE): Likewise.
28458 [IS_IN (libc)] (CENABLE): Likewise.
28459 [IS_IN (libc)] (CENABLE): Likewise.
28460 [IS_IN (librt)] (CDISABLE): Likewise.
28461 [IS_IN (librt)] (CDISABLE): Likewise.
28462 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
28464 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28465 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
28466 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
28468 (PSEUDO_END): Likewise.
28469 [IS_IN (libpthread)] (CENABLE): Likewise.
28470 [IS_IN (libpthread)] (CDISABLE): Likewise.
28471 [IS_IN (libc)] (CENABLE): Likewise.
28472 [IS_IN (libc)] (CENABLE): Likewise.
28473 [IS_IN (librt)] (CDISABLE): Likewise.
28474 [IS_IN (librt)] (CDISABLE): Likewise.
28475 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28476 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
28478 (PSEUDO_END): Likewise.
28479 [IS_IN (libpthread)] (CENABLE): Likewise.
28480 [IS_IN (libpthread)] (CDISABLE): Likewise.
28481 [IS_IN (libc)] (CENABLE): Likewise.
28482 [IS_IN (libc)] (CENABLE): Likewise.
28483 [IS_IN (librt)] (CDISABLE): Likewise.
28484 [IS_IN (librt)] (CDISABLE): Likewise.
28485 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28487 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28489 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
28491 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28493 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28495 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28498 * string/stratcliff.c (do_test): Declare size, nchars, inner,
28499 middle and outer with size_t instead of int. Repleace %d and
28500 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
28501 "MAX (outer, nchars - 64)" to support unsigned outer and
28502 nchars. Also exit loop when outer == 0.
28504 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28506 * include/fcntl.h (__fcntl_nocancel): Remove definition.
28507 * include/signal.h (__sigsuspend_nocancel): Likewise.
28508 * include/time.h (__nanosleep_nocancel): Likewise.
28509 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
28510 * login/utmp_file.c: Include non cancellable syscall header.
28511 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
28514 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28516 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
28517 .byte sequences with AVX512F instructions.
28518 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
28519 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
28520 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28521 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
28523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28526 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
28527 Steve Ellcey <sellcey@cavium.com>
28529 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
28530 Use PTR_REG macro in cmp instruction.
28532 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28534 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
28535 Change the return type of the ifunc resolver to match the return
28536 type of the target function.
28538 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28540 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
28541 (preadv64): Likewise.
28542 (pwrite64(: Likewise.
28543 (pwritev64): Likewise.
28545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28546 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
28547 (LOAD_ARGS_0): Likewise.
28548 (LOAD_ARGS_1): Likewise.
28549 (LOAD_ARGS_2): Likewise.
28550 (LOAD_ARGS_3): Likewise.
28551 (LOAD_ARGS_4): Likewise.
28552 (LOAD_ARGS_5): Likewise.
28553 (LOAD_ARGS_6): Likewise.
28554 (LOAD_REGS_0): Likewise.
28555 (LOAD_REGS_1): Likewise.
28556 (LOAD_REGS_2): Likewise.
28557 (LOAD_REGS_3): Likewise.
28558 (LOAD_REGS_4): Likewise.
28559 (LOAD_REGS_5): Likewise.
28560 (LOAD_REGS_6): Likewise.
28561 (ASM_ARGS_0): Likewise.
28562 (ASM_ARGS_1): Likewise.
28563 (ASM_ARGS_2): Likewise.
28564 (ASM_ARGS_3): Likewise.
28565 (ASM_ARGS_4): Likewise.
28566 (ASM_ARGS_5): Likewise.
28567 (ASM_ARGS_6): Likewise.
28568 (LOAD_ARGS_TYPES_1): Likewise.
28569 (LOAD_ARGS_TYPES_2): Likewise.
28570 (LOAD_ARGS_TYPES_3): Likewise.
28571 (LOAD_ARGS_TYPES_4): Likewise.
28572 (LOAD_ARGS_TYPES_5): Likewise.
28573 (LOAD_ARGS_TYPES_6): Likewise.
28574 (LOAD_REGS_TYPES_1): Likewise.
28575 (LOAD_REGS_TYPES_2): Likewise.
28576 (LOAD_REGS_TYPES_3): Likewise.
28577 (LOAD_REGS_TYPES_4): Likewise.
28578 (LOAD_REGS_TYPES_5): Likewise.
28579 (LOAD_REGS_TYPES_6): Likewise.
28580 (TYPEFY): New define.
28581 (ARGIFY): Likewise.
28582 (internal_syscall0): Likewise.
28583 (internal_syscall1): Likewise.
28584 (internal_syscall2): Likewise.
28585 (internal_syscall3): Likewise.
28586 (internal_syscall4): Likewise.
28587 (internal_syscall5): Likewise.
28588 (internal_syscall6): Likewise.
28589 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
28590 (INTERNAL_SYSCALL_NCS): Remove define.
28591 (internal_syscall1): Add define.
28593 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28595 * math/w_remainder_compat.c: Remove duplicate inclusion of
28596 math-svid-compat.h.
28597 * math/w_remainderf_compat.c: Likewise.
28598 * math/w_remainderl_compat.c: Likewise.
28600 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28604 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28607 * math/tgmath.h (__floating_type): Simplify definitions.
28608 (__real_integer_type): New macro.
28609 (__complex_integer_type): Likewise.
28610 (__expr_is_real): Likewise.
28611 (__tgmath_real_type_sub): Update comment to describe handling of
28613 (__tgmath_complex_type_sub): New macro.
28614 (__tgmath_complex_type): Likewise.
28615 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28616 (__TGMATH_CF128): Use __expr_is_real.
28617 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
28619 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28620 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
28621 * math/gen-tgmath-tests.py (Type.create_type): Create complex
28624 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28626 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
28628 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
28630 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
28633 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
28634 nanosleep_not_cancel with __nanosleep_nocancel.
28635 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
28636 (__nanosleep_nocancel): New macro.
28637 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
28639 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
28641 (__nanosleep_nocancel): New prototype.
28643 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
28644 pause_not_cancel with __pause_nocancel.
28645 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
28646 (__pause_nocancel): New macro.
28647 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
28649 (__pause_nocancel): New prototype.
28650 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
28652 2017-08-22 Martin Sebor <msebor@redhat.com>
28654 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
28655 to return a pointer to the same type as the target function.
28657 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28661 * include/printf.h (__printf_fphex): Add attribute_hidden.
28662 (__guess_grouping): New prototype.
28663 * stdio-common/printf_fp.c (__guess_grouping): Removed.
28664 * stdio-common/reg-printf.c (__register_printf_specifier): Add
28665 libc_hidden_proto and libc_hidden_def.
28666 * stdlib/strfmon_l.c (__guess_grouping): Removed.
28667 (__vstrfmon_l): Remove the third argument passed to
28670 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28672 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
28673 definition for issignaling that does not rely on __MATH_TG,
28674 since __MATH_TG uses __builtin_types_compatible_p, which is only
28675 available in C mode.
28676 (CFLAGS-test-math-issignaling.cc): New variable.
28677 * math/Makefile [CXX] (tests): Add test-math-issignaling.
28678 * math/test-math-issignaling.cc: New test for C++ implementation
28679 of type-generic issignaling.
28680 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28681 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
28682 options of test-math-issignaling on powerpc64le.
28684 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28686 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28688 (hidden_proto): Likewise.
28689 (hidden_tls_proto): Likewise.
28690 (__hidden_proto): Likewise.
28692 2017-08-22 Florian Weimer <fweimer@redhat.com>
28694 math: Statically link tests of internal functionality.
28695 * math/Makefile (tests): Remove atest-exp, atest-sincos,
28697 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
28698 (gmp-objs): Remove assignment.
28699 (atest-exp, atest-sincos, atest-exp2): Remove targets.
28701 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28704 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
28706 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
28708 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
28711 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
28712 variable definitions above inclusion of ../Rules.
28714 2017-08-21 Joseph Myers <joseph@codesourcery.com>
28716 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
28717 case calling __builtin_unreachable.
28719 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28721 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
28722 __waitpid_nocancel.
28723 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
28724 (__waitpid_nocancel): New macro.
28725 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
28727 (__waitpid_nocancel): Replace macro with a function.
28728 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
28731 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
28733 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
28734 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
28736 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
28737 __writev_nocancel_nostatus.
28738 (write_call_graph): Likewise.
28739 (write_bb_counts): Likewise.
28740 * resolv/herror.c (herror): Likewise.
28741 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
28743 (__writev_nocancel_nostatus): New macro.
28744 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
28746 (__writev_nocancel_nostatus): New function.
28748 2017-08-21 Joseph Myers <joseph@codesourcery.com>
28751 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28753 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28755 (hidden_proto): Likewise.
28756 (hidden_tls_proto): Likewise.
28757 (__hidden_proto): Likewise.
28760 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
28761 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
28766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
28771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28772 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28773 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28774 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28775 GLIBC_2.0 sqrtl symbol.
28777 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
28778 [__USE_MISC] (_LIB_VERSION): Likewise.
28779 [__USE_MISC] (struct exception): Likewise.
28780 [__USE_MISC] (matherr): Likewise.
28781 [__USE_MISC] (DOMAIN): Likewise.
28782 [__USE_MISC] (SING): Likewise.
28783 [__USE_MISC] (OVERFLOW): Likewise.
28784 [__USE_MISC] (UNDERFLOW): Likewise.
28785 [__USE_MISC] (TLOSS): Likewise.
28786 [__USE_MISC] (PLOSS): Likewise.
28787 [__USE_MISC] (HUGE): Likewise.
28788 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
28789 * math/math-svid-compat.h: New file.
28790 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
28792 * include/math.h [!_ISOMAC] (__matherr): Remove.
28793 * manual/arith.texi (FP Exceptions): Do not document matherr.
28794 * math/Makefile (tests): Change test-matherr to test-matherr-3.
28795 (tests-internal): New variable.
28796 (install-lib): Do not add libieee.a.
28797 (non-lib.a): Likewise.
28798 (extra-objs): Do not add libieee.a and ieee-math.o.
28799 (CPPFLAGS-s_lib_version.c): Remove variable.
28800 ($(objpfx)libieee.a): Remove rule.
28801 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
28802 * math/ieee-math.c: Remove.
28803 * math/libm-test-support.c (matherr): Remove.
28804 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
28805 and license notices. Include <math-svid-compat.h> and
28807 (matherr): Undefine as macro. Use compat_symbol_reference.
28808 (_LIB_VERSION): Likewise.
28809 * math/test-matherr-2.c: New file.
28810 * math/test-matherr-3.c: Likewise.
28811 * sysdeps/generic/math_private.h (__kernel_standard): Remove
28813 (__kernel_standard_f): Likewise.
28814 (__kernel_standard_l): Likewise.
28815 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
28816 <math_private.h>. Include <math-svid-compat.h>.
28817 (_LIB_VERSION): Undefine as macro.
28818 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
28819 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
28820 [LIBM_SVID_COMPAT], use compat_symbol.
28821 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
28822 <math_private.h>. Include <math-svid-compat.h>.
28823 (matherr): Undefine as macro.
28824 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
28826 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
28827 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
28828 compat_symbol_reference.
28829 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
28830 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
28831 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
28832 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
28833 (MATHERR_D): Remove declaration.
28834 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
28835 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
28836 [LIBM_BUILD] (pmatherrf): Likewise.
28837 [LIBM_BUILD] (pmatherr): Likewise.
28838 [LIBM_BUILD] (pmatherrl): Likewise.
28839 (DOMAIN): Likewise.
28841 (OVERFLOW): Likewise.
28842 (UNDERFLOW): Likewise.
28845 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
28846 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
28848 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
28849 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
28851 * math/lgamma-compat.h: Include <math-svid-compat.h>.
28852 * math/w_acos_compat.c: Likewise.
28853 * math/w_acosf_compat.c: Likewise.
28854 * math/w_acosh_compat.c: Likewise.
28855 * math/w_acoshf_compat.c: Likewise.
28856 * math/w_acoshl_compat.c: Likewise.
28857 * math/w_acosl_compat.c: Likewise.
28858 * math/w_asin_compat.c: Likewise.
28859 * math/w_asinf_compat.c: Likewise.
28860 * math/w_asinl_compat.c: Likewise.
28861 * math/w_atan2_compat.c: Likewise.
28862 * math/w_atan2f_compat.c: Likewise.
28863 * math/w_atan2l_compat.c: Likewise.
28864 * math/w_atanh_compat.c: Likewise.
28865 * math/w_atanhf_compat.c: Likewise.
28866 * math/w_atanhl_compat.c: Likewise.
28867 * math/w_cosh_compat.c: Likewise.
28868 * math/w_coshf_compat.c: Likewise.
28869 * math/w_coshl_compat.c: Likewise.
28870 * math/w_exp10_compat.c: Likewise.
28871 * math/w_exp10f_compat.c: Likewise.
28872 * math/w_exp10l_compat.c: Likewise.
28873 * math/w_exp2_compat.c: Likewise.
28874 * math/w_exp2f_compat.c: Likewise.
28875 * math/w_exp2l_compat.c: Likewise.
28876 * math/w_fmod_compat.c: Likewise.
28877 * math/w_fmodf_compat.c: Likewise.
28878 * math/w_fmodl_compat.c: Likewise.
28879 * math/w_hypot_compat.c: Likewise.
28880 * math/w_hypotf_compat.c: Likewise.
28881 * math/w_hypotl_compat.c: Likewise.
28882 * math/w_j0_compat.c: Likewise.
28883 * math/w_j0f_compat.c: Likewise.
28884 * math/w_j0l_compat.c: Likewise.
28885 * math/w_j1_compat.c: Likewise.
28886 * math/w_j1f_compat.c: Likewise.
28887 * math/w_j1l_compat.c: Likewise.
28888 * math/w_jn_compat.c: Likewise.
28889 * math/w_jnf_compat.c: Likewise.
28890 * math/w_jnl_compat.c: Likewise.
28891 * math/w_lgamma_main.c: Likewise.
28892 * math/w_lgamma_r_compat.c: Likewise.
28893 * math/w_lgammaf_main.c: Likewise.
28894 * math/w_lgammaf_r_compat.c: Likewise.
28895 * math/w_lgammal_main.c: Likewise.
28896 * math/w_lgammal_r_compat.c: Likewise.
28897 * math/w_log10_compat.c: Likewise.
28898 * math/w_log10f_compat.c: Likewise.
28899 * math/w_log10l_compat.c: Likewise.
28900 * math/w_log2_compat.c: Likewise.
28901 * math/w_log2f_compat.c: Likewise.
28902 * math/w_log2l_compat.c: Likewise.
28903 * math/w_log_compat.c: Likewise.
28904 * math/w_logf_compat.c: Likewise.
28905 * math/w_logl_compat.c: Likewise.
28906 * math/w_pow_compat.c: Likewise.
28907 * math/w_powf_compat.c: Likewise.
28908 * math/w_powl_compat.c: Likewise.
28909 * math/w_remainder_compat.c: Likewise.
28910 * math/w_remainderf_compat.c: Likewise.
28911 * math/w_remainderl_compat.c: Likewise.
28912 * math/w_scalb_compat.c: Likewise.
28913 * math/w_scalbf_compat.c: Likewise.
28914 * math/w_scalbl_compat.c: Likewise.
28915 * math/w_sinh_compat.c: Likewise.
28916 * math/w_sinhf_compat.c: Likewise.
28917 * math/w_sinhl_compat.c: Likewise.
28918 * math/w_sqrt_compat.c: Likewise.
28919 * math/w_sqrtf_compat.c: Likewise.
28920 * math/w_sqrtl_compat.c: Likewise.
28921 * math/w_tgamma_compat.c: Likewise.
28922 * math/w_tgammaf_compat.c: Likewise.
28923 * math/w_tgammal_compat.c: Likewise.
28924 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
28925 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28926 * sysdeps/ieee754/k_standard.c: Likewise.
28927 * sysdeps/ieee754/k_standardf.c: Likewise.
28928 * sysdeps/ieee754/k_standardl.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28931 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28934 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28935 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28936 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
28937 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
28943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28944 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28945 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28947 2017-08-21 Florian Weimer <fweimer@redhat.com>
28950 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
28951 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
28952 Move before inclusion of ../Rules.
28954 2017-08-21 Florian Weimer <fweimer@redhat.com>
28957 * assert/assert.h (assert): Use static_cast (bool) for C++.
28958 Use the ternary operator in the warning branch for GNU C.
28959 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
28960 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
28961 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
28962 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
28963 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
28965 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28968 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28969 (__syscall_clock_gettime): Add attribute_hidden.
28970 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
28971 (__start_context): Likewise.
28973 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28975 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28977 (hidden_proto): Likewise.
28978 (hidden_tls_proto): Likewise.
28979 (__hidden_proto): Likewise.
28981 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28983 * include/libc-symbols.h (attribute_hidden): Enable hidden
28984 visibility in libc.a compiled with PIE.
28986 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28989 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
28990 Add attribute_hidden.
28992 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28995 * Makerules (all-nonlib): Add $(others-extras).
28996 * catgets/Makefile (others-extras): New.
28997 * elf/Makefile (others-extras): Likewise.
28998 * nss/Makefile (others-extras): Likewise.
29000 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29003 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29004 * elf/dl-open.c: Include <libc-internal.h>.
29005 (__libc_multiple_libcs): Removed.
29006 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29008 * include/libc-internal.h (__libc_multiple_libcs): New.
29009 * misc/sbrk.c: Include <libc-internal.h>.
29010 (__libc_multiple_libcs): Removed.
29012 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29015 * grp/initgroups.c (__nss_group_database): Removed.
29016 (__nss_initgroups_database): Likewise.
29017 * nscd/gai.c (__nss_hosts_database): Likewise.
29018 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29019 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29020 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29021 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29022 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29023 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29025 * nss/nsswitch.c (__nss_database_custom): Define only if
29026 USE_NSCD is defined.
29027 (__nss_configure_lookup): Use __nss_database_custom only if
29028 USE_NSCD is defined.
29029 * nss/nsswitch.h (__nss_database_custom): Declare only if
29030 USE_NSCD is defined. Add attribute_hidden.
29031 (__nss_setent): Add attribute_hidden.
29032 (__nss_endent): Likewise.
29033 (__nss_getent_r): Likewise.
29034 (__nss_getent): Likewise.
29035 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29037 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29040 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29041 libc_hidden_proto and libc_hidden_def.
29043 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29046 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29047 Add libc_hidden_proto.
29048 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29049 Add libc_hidden_def.
29051 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29054 * gmon/Makefile (routines): Remove bb_init_func and
29056 (elide-routines.os): Removed.
29057 * gmon/bb_exit_func.c: Likewise.
29058 * gmon/bb_init_func.c: Likewise.
29059 * include/sys/gmon.h (__bb): Likewise.
29060 (__bb_init_func): Likewise.
29061 (__bb_exit_func): Likewise.
29062 * sysdeps/alpha/bb_init_func.S: Likewise.
29064 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29066 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29067 * include/setjmp.h (____longjmp_chk): Here. Add
29070 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29073 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29075 (__strspn_sse2): Likewise.
29077 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29079 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29080 (close_not_cancel_no_status): Likewise.
29081 (__close_nocancel): New macro.
29082 (__close_nocancel_nostatus): Likewise.
29083 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29085 (close_not_cancel): Likewise.
29086 (close_not_cancel_no_status): Likewise.
29087 (__close_nocancel): New prototype.
29088 (__close_nocancel_nostatus): New function.
29089 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29090 * catgets/open_catalog.c (__open_catalog): Replace
29091 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29092 * gmon/gmon.c (write_gmon): Likewise.
29093 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29094 * intl/loadmsgcat.c (close): Likewise.
29095 * io/ftw.c (open_dir_stream): Likewise.
29096 (ftw_startup): Likewise.
29097 * libio/fileops.c (_IO_file_open): Likewise.
29098 (_IO_file_close_mmap): Likewise.
29099 (_IO_file_close): Likewise.
29100 * libio/iopopen.c (_IO_dup2): Likewise.
29101 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29102 * locale/loadlocale.c (_nl_load_locale): Likewise.
29103 * login/utmp_file.c (pututline_file): Likewise.
29104 (endutent_file): Likewise.
29105 * misc/daemon.c (daemon): Likewise.
29106 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29107 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29108 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29109 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29111 * nscd/nscd_helper.c (open_socket): Likewise.
29112 (__nscd_open_socket): Likewise.
29113 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29114 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29115 (__nscd_innetgr): Likewise.
29116 * nss/nss_db/db-open.c (internal_setent): Likewise.
29117 * resolv/res-close.c (__res_iclose): Likewise.
29118 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29119 * sysdeps/posix/closedir.c (__closedir): Likewise.
29120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29121 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29122 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29123 (opendir_tail): Likewise.
29124 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29125 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29126 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29127 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29128 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29129 (gethostid): Likewise.
29130 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29134 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29135 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29136 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29138 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29139 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29140 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29142 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29143 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29145 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29147 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29149 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29152 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29153 (openat_not_cancel_3): Likewise.
29154 (openat64_not_cancel_3): Likewise).
29155 (openat_not_cancel_3): Likewise).
29156 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29158 (openat_not_cancel_3): Likewise.
29159 (openat64_not_cancel): Likewise.
29160 (openat64_not_cancel_3): Likewise.
29161 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29162 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29163 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29164 __open{64}_nocancel.
29165 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29166 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29167 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29169 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29172 * include/argz.h (__argz_create_sep): New function prototype.
29173 (__argz_append): Likewise.
29174 (__argz_add): Likewise.
29175 (__argz_add_sep): Likewise.
29176 (__argz_delete): Likewise.
29177 (__argz_insert): Likewise.
29178 (__argz_replace): Likewise.
29179 * string/argz.h (__argz_create_sep): Removed.
29180 (__argz_append): Likewise.
29181 (__argz_add): Likewise.
29182 (__argz_add_sep): Likewise.
29183 (__argz_delete): Likewise.
29184 (__argz_insert): Likewise.
29185 (__argz_replace): Likewise.
29187 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29189 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29190 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29191 (GNU_PROPERTY_STACK_SIZE): Likewie.
29192 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29193 (GNU_PROPERTY_LOPROC): Likewise.
29194 (GNU_PROPERTY_HIPROC): Likewise.
29195 (GNU_PROPERTY_LOUSER): Likewise.
29196 (GNU_PROPERTY_HIUSER): Likewise.
29197 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29198 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29199 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29200 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29201 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29202 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29203 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29204 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29205 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29206 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29207 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29208 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29209 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29210 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29211 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29212 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29213 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29214 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29215 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29216 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29217 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29218 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29219 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29221 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29223 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29226 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29229 * math/math.h (isinf): Check if in C or C++ mode before using
29230 __builtin_types_compatible_p, since this is a C mode feature.
29232 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29234 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29235 (__write_nocancel): New macro.
29236 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29237 Rewrite as a function prototype.
29238 (write_not_cancel): Remove macro.
29239 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29240 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29241 (write_gmon): Likewise.
29242 * libio/fileops.c (_IO_new_file_write): Likewise.
29243 * login/utmp_file.c (pututline_file): Likewise.
29244 (updwtmp_file): Likewise.
29245 * stdio-common/psiginfo.c (psiginfo): Likewise.
29246 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29247 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29248 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29250 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29253 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29254 (__read_nocancel): New macro.
29255 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29257 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29259 (__read_nocancel): New prototype.
29260 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29261 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29262 with __read_nocancel.
29263 * intl/loadmsgcat.c (read): Likewise.
29264 * libio/fileops.c (_IO_file_read): Likewise.
29265 * locale/loadlocale.c (_nl_load_locale): Likewise.
29266 * login/utmp_file.c (getutent_r_file): Likewise.
29267 (internal_getut_r): Likewise.
29268 (getutline_r_file): Likewise.
29269 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29270 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29271 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29274 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29275 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29276 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29278 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29282 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29284 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29286 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29289 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29290 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29293 2017-08-17 DJ Delorie <dj@redhat.com>
29295 * bug17079.c: Update to new test harness.
29296 * test-digits-dots.c: Likewise.
29297 * test-netdb.c: Likewise.
29298 * tst-field.c: Likewise.
29299 * tst-nss-getpwent.c: Likewise.
29300 * tst-nss-static.c: Likewise.
29301 * tst-nss-test1.c: Likewise.
29302 * tst-nss-test2.c: Likewise.
29303 * tst-nss-test3.c: Likewise.
29304 * tst-nss-test4.c: Likewise.
29305 * tst-nss-test5.c: Likewise.
29307 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29309 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29310 (open_not_cancel_2): Likewise.
29311 (open_nocancel): New macro.
29312 (open64_nocancel): Likewise.
29313 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29314 (open_not_cancel_2): Likewise.
29315 (__open_nocancel): New prototype.
29316 (__open64_nocancel): Likewise.
29317 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29319 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29320 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29321 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29322 with __open_nocancel.
29323 * csu/check_fds.c (check_one_fd): Likewise.
29324 * gmon/gmon.c (write_gmon): Likewise.
29325 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29326 * intl/loadmsgcat.c (open): Likewise.
29327 * libio/fileops.c (_IO_file_open): Likewise.
29328 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29329 * locale/loadlocale.c (_nl_load_locale): Likewise.
29330 * login/utmp_file.c (setutent_file): Likewise.
29331 * misc/daemon.c (daemon): Likewise.
29332 * nss/nss_db/db-open.c (internal_setent): Likewise.
29333 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29334 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29335 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29336 (__opendir): Likewise.
29337 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29338 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29339 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29340 (gethostid): Likewise.
29341 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29345 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29346 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29347 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29349 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29351 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29353 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29355 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29357 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29359 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29360 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29362 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
29364 * benchtests/bench-skeleton.c (main): Add support for
29365 latency benchmarking.
29366 * benchtests/scripts/bench.py: Add support for latency benchmarking.
29368 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
29370 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
29371 the startup object.
29373 2017-08-17 Florian Weimer <fweimer@redhat.com>
29375 * include/sys/socket.h (__opensock): Remove internal_function.
29376 * socket/opensock.c (__opensock): Likewise.
29377 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
29379 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29382 * signal/bits/types/__sigval_t.h: New file.
29383 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
29384 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
29385 and define sigval_t using __sigval_t.
29386 * include/bits/types/__sigval_t.h: New file.
29387 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
29388 instead of <bits/types/__sigval_t.h>.
29389 (struct sigevent): Use __sigval_t instead of sigval_t.
29390 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
29391 instead of <bits/types/__sigval_t.h>.
29392 (siginfo_t): Use __sigval_t instead of sigval_t.
29393 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
29394 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29395 (struct sigevent): Use __sigval_t instead of sigval_t.
29396 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
29397 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29398 (siginfo_t): Use __sigval_t instead of sigval_t.
29399 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
29401 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29403 * NEWS: Remove "[Add new features here]" for 2.27.
29405 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29407 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
29410 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29412 * NEWS: Mention x86-64 FMA optimization.
29414 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29417 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29419 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
29420 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
29421 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
29423 2017-08-16 Andreas Schwab <schwab@suse.de>
29427 * elf/ldd.bash.in: Never run file directly.
29429 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
29432 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
29433 (L(SP_INF_0)): Likewise.
29435 2017-08-15 Florian Weimer <fweimer@redhat.com>
29437 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
29440 2017-08-15 Florian Weimer <fweimer@redhat.com>
29442 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
29443 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
29444 BROKEN_THREAD_SIGNALS code.
29445 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
29446 request_list): Remove caller_pid member used for
29447 BROKEN_THREAD_SIGNALS.
29448 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
29449 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29450 Remove BROKEN_THREAD_SIGNALS support.
29451 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
29452 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
29454 2017-08-15 Florian Weimer <fweimer@redhat.com>
29456 * gmon/Makefile (tests): Add tst-gmon.
29457 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
29459 (tests-special): Add tst-gmon-prof.out.
29460 (tst-gmon.out): Depend on clean-tst-gmon-data.
29461 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
29462 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
29463 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
29465 * aclocal.m4 (GPROF): Set and substitute.
29466 * config.amke.in (GPROF): Set.
29467 * configure: Regenerate.
29469 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
29471 * elf/elf.h A (NT_PPC_TAR): New macro.
29472 (NT_PPC_PPR): Likewise.
29473 (NT_PPC_DSCR): Likewise.
29474 (NT_PPC_EBB): Likewise.
29475 (NT_PPC_PMU): Likewise.
29476 (NT_PPC_TM_CGPR): Likewise.
29477 (NT_PPC_TM_CFPR): Likewise.
29478 (NT_PPC_TM_CVMX): Likewise.
29479 (NT_PPC_TM_CVSX): Likewise.
29480 (NT_PPC_TM_SPR): Likewise.
29481 (NT_PPC_TM_CTAR): Likewise.
29482 (NT_PPC_TM_CPPR): Likewise.
29483 (NT_PPC_TM_CDSCR): Likewise.
29485 2017-08-15 Florian Weimer <fweimer@redhat.com>
29487 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
29488 regparm (2) instead of internal_function.
29489 (_MCOUNT_DECL): Adjust.
29491 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
29493 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
29494 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29496 2017-08-14 Joseph Myers <joseph@codesourcery.com>
29498 * conform/data/sys/wait.h-data (si_value): Do not expect for
29501 2017-08-14 Florian Weimer <fweimer@redhat.com>
29504 NSS: Create stubs for accidentally exported lookup functions.
29505 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
29506 Remove declaration.
29507 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
29508 (ether_hostton): Call __nss_ethers_lookup2 instead.
29509 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
29510 (ether_ntohost): Call __nss_ethers_lookup2 instead.
29511 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
29512 (setup): Call __nss_netgroup_lookup2 instead.
29513 * nss/Makefile (routines): Add compat-lookup.
29514 * nss/Versions (GLIBC_2.27): Add symbol version.
29515 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
29516 (DB_COMPAT_FCT): Remove.
29517 * nss/compat-lookup.c: New file.
29518 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
29519 from databases.def.
29520 * nss/service-lookup.c (NO_COMPAT): Remove definition.
29521 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
29522 (netname2user): Call __nss_publickey_lookup2 instead.
29523 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
29524 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
29527 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29528 Sergei Trofimovich <slyfox@inbox.ru>
29531 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
29532 Rename to MMAP2_PAGE_UNIT.
29533 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
29534 __OFF_T_MATCHES_OFF64_T is not defined.
29535 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
29537 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
29538 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
29540 2017-08-14 Florian Weimer <fweimer@redhat.com>
29542 i386: Do not set internal_function.
29543 * config.h.in (USE_REGPARMS, internal_function): Remove.
29544 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
29545 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
29547 2017-08-14 Florian Weimer <fweimer@redhat.com>
29549 * elf/dl-init.c (_dl_init): Remove internal_function.
29550 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
29551 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
29553 2017-08-14 Florian Weimer <fweimer@redhat.com>
29555 * elf/rtld.c (_dl_start): Remove internal_function.
29556 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
29559 2017-08-14 Florian Weimer <fweimer@redhat.com>
29561 * elf/dl-fini.c (_dl_fini): Remove internal_function
29562 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29564 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
29566 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
29567 (bit_cpu_SHSTK): Likewise.
29568 (index_cpu_IBT): Likewise.
29569 (index_cpu_SHSTK): Likewise.
29570 (reg_IBT): Likewise.
29571 (reg_SHSTK): Likewise.
29572 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29573 Handle index_cpu_IBT and index_cpu_SHSTK.
29575 2017-08-14 Mike FABIAN <mfabian@redhat.com>
29578 * po/fr.po: Fix spelling mistake.
29580 2017-08-13 Florian Weimer <fweimer@redhat.com>
29582 * elf/dl-addr.c (_dl_addr): Remove internal_function.
29583 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
29584 (_dl_catch_error, _dl_receive_error): Likewise.
29585 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
29586 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
29587 (_dl_deallocate_tls): Likewise.
29588 * include/dlfcn.h (_dl_addr): Likewise.
29589 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
29590 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
29591 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
29594 2017-08-13 Florian Weimer <fweimer@redhat.com>
29596 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
29597 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
29599 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
29601 2017-08-13 Florian Weimer <fweimer@redhat.com>
29603 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
29605 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
29606 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
29607 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
29608 internal_function from _dl_make_stack_executable_hook member.
29609 (_dl_make_stack_executable): Remove internal_function.
29610 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
29612 * sysdeps/unix/sysv/linux/dl-execstack.c
29613 (_dl_make_stack_executable): Likewise.
29615 2017-08-13 Florian Weimer <fweimer@redhat.com>
29617 * sysdeps/unix/sysv/linux/netlinkaccess.h
29618 (__netlink_assert_response): Remove internal_function.
29619 * sysdeps/unix/sysv/linux/netlink_assert_response.c
29620 (__netlink_assert_response): Likewise.
29622 2017-08-13 Florian Weimer <fweimer@redhat.com>
29624 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
29626 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
29628 2017-08-13 Florian Weimer <fweimer@redhat.com>
29630 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
29632 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
29633 * inet/netgroup.h (__internal_setnetgrent)
29634 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29635 * inet/getnetgrent_r.c (__internal_setnetgrent)
29636 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29637 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
29638 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
29639 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
29640 * nss/nsswitch.h (db_lookup_function): Likewise.
29642 2017-08-13 Florian Weimer <fweimer@redhat.com>
29644 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
29645 Remove internal_function.
29646 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
29647 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
29648 message argument on the stack.
29649 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
29652 2017-08-12 Mike FABIAN <mfabian@redhat.com>
29654 Adapt test case data to the changes in the thousands
29658 * localedata/tst-langinfo.sh: Adapt test case data.
29659 * stdlib/tst-strfmon_l.c: Likewise.
29660 * stdlib/tst-strtod4.c: Likewise.
29661 * stdlib/tst-strtod5i.c: Likewise.
29663 2017-08-11 Florian Weimer <fweimer@redhat.com>
29666 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
29667 Suppress pedantic warning resulting from statement expression.
29668 (__ASSERT_FUNCTION): Add missing __extension__.
29670 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29672 * benchtests/bench-memmove-large.c: Print output in JSON
29674 * benchtests/bench-memmove.c: Likewise.
29676 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
29677 * benchtests/bench-memchr.c (do_one_test): Likewise.
29678 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
29679 * benchtests/bench-memcpy.c (do_one_test): Likewise.
29680 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
29681 * benchtests/bench-memmove.c (do_one_test): Likewise.
29682 * benchtests/bench-memset-large.c (do_one_test): Likewise.
29683 * benchtests/bench-memset.c (do_one_test): Likewise.
29684 * benchtests/bench-string.h (test_init): Remove memsets.
29686 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29689 (Computing the Width of an Integer Data Type): Rename section to
29690 "Width of an Integer Type". Remove inaccurate statement regarding
29691 lack of C language facilities for determining width of integer
29692 types, and reorder content to improve flow and context of
29695 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29697 * lang.texi (va_copy): Change standard from ISO to C99.
29698 (__va_copy): Add standard and header annotation.
29699 Update description for clarity of origins and current use.
29701 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29704 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
29705 xssqrtqp requires operands to be in Vector Registers
29706 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
29707 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
29708 (__ieee754_sqrtf128): Likewise.
29710 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
29712 * sysdeps/aarch64/memcmp.S (memcmp):
29713 Rewrite of optimized memcmp.
29715 2017-08-10 Florian Weimer <fweimer@redhat.com>
29717 Introduce ld.so exceptions.
29718 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
29719 (_dl_exception_create, _dl_exception_create_format)
29720 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
29721 (_dl_catch_exception): Declare.
29722 (_dl_catch_error): Update comment.
29723 * elf/dl-error-skeleton.c (struct catch): Replace objname,
29724 errstring, malloced members with exception member.
29725 (_dl_out_of_memory): Remove.
29726 (fatal_error): New function, extracted from _dl_signal_error.
29727 (_dl_signal_exception, _dl_signal_cexception): New functions.
29728 (_dl_signal_error): Call _dl_exception_create to allocate an
29730 (_dl_catch_exception): New function, based on _dl_catch_error.
29731 (_dl_catch_error): Implement using _dl_catch_exception.
29732 * elf/dl-exception.c: New file.
29733 * elf/Makefile (dl-routines): Add dl-exception.
29734 (elide-routines.os): Likewise.
29735 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
29736 _dl_exception_create_format, _dl_exception_free.
29737 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
29738 _dl_signal_exception.
29739 * elf/dl-lookup.c (make_string): Remove.
29740 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
29741 _dl_signal_cexception, _dl_exception_free.
29742 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
29743 _dl_signal_exception.
29744 * elf/dl-sym.c (do_sym): Likewise.
29745 * elf/dl-version.c (make_string): Remove.
29746 (match_symbol): Use _dl_exception_create_format,
29747 _dl_signal_cexception, _dl_exception_free.
29748 (_dl_check_map_versions): Likewise.
29749 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
29750 _dl_catch_exception.
29751 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
29752 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
29753 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
29754 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
29755 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
29756 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
29757 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
29758 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
29760 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
29761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
29763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
29765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
29767 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
29768 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
29769 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
29771 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
29773 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
29775 2017-08-10 Florian Weimer <fweimer@redhat.com>
29777 * inet/net-internal.h (__inet6_scopeid_pton): Remove
29778 attribute_hidden, internal_function.
29779 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
29782 2017-08-10 Florian Weimer <fweimer@redhat.com>
29784 * malloc/malloc.c (get_max_fast): Reimplement as an inline
29785 function which calls __builtin_unreachable.
29787 2017-08-10 Mike FABIAN <mfabian@redhat.com>
29789 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
29790 Indian monetary formatting
29791 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
29794 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
29796 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
29797 Fix typo in comment.
29800 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
29801 PTRACE_SEIZE_DEVEL): Remove.
29802 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
29803 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29806 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29808 2017-08-09 Joseph Myers <joseph@codesourcery.com>
29810 * posix/bits/types.h (__qaddr_t): Remove.
29813 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
29814 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29816 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
29817 (ucontext_t): Use __ctx with uc_flags.
29818 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
29819 (__ctxt): Likewise.
29820 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29822 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
29823 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29825 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
29826 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29828 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
29830 (ucontext_t): Use __ctx with uc_flags.
29831 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
29832 (ucontext_t): Use __ctx with uc_flags.
29833 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
29834 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
29835 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
29836 (ucontext_t): Use __ctx with uc_flags.
29837 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
29838 undefine further down.
29839 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29841 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
29842 undefine further down.
29843 (ucontext_t): Use __ctx with uc_flags.
29844 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
29845 undefine further down.
29846 (ucontext_t): Use __ctx with uc_flags.
29847 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
29848 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
29849 Rename uc_pad to __glibc_reserved1.
29850 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
29851 undefine further down.
29852 (ucontext_t): Use __ctx with uc_flags.
29853 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
29855 (ucontext_t): Use __ctx with uc_flags.
29856 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
29857 __ctx with uc_flags.
29858 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
29859 (ucontext_t): Use __ctx with uc_flags.
29860 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
29861 __ctx with uc_flags.
29863 2017-08-09 Florian Weimer <fweimer@redhat.com>
29866 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
29867 before early return.
29869 2017-08-09 Andreas Schwab <schwab@suse.de>
29872 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
29876 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
29877 tst-compat-forwarder.
29878 (modules-names): Add tst-compat-forwarder-mod.
29879 ($(objpfx)tst-compat-forwarder): Depend on
29880 $(objpfx)tst-compat-forwarder-mod.so.
29881 * nptl/tst-compat-forwarder.c: New file.
29882 * nptl/tst-compat-forwarder-mod.c: New file.
29884 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
29886 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
29889 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
29890 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29892 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
29894 (__libc_ifunc_impl_list): Add __memcpy_falkor.
29895 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
29896 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
29897 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29899 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
29902 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29905 * manual/setjmp.texi (getcontex): Document uc_stack value
29906 compatibility differences.
29908 2017-08-08 Joseph Myers <joseph@codesourcery.com>
29910 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
29911 (old_malloc_hook): Likewise.
29912 (old_memalign_hook): Likewise.
29913 (old_realloc_hook): Likewise.
29914 (struct hdr): Likewise.
29916 (freehook): Likewise.
29917 (mallochook): Likewise.
29918 (memalignhook): Likewise.
29919 (reallochook): Likewise.
29920 (mprobe): Likewise.
29921 * malloc/mtrace.c (mallwatch): Likewise.
29922 (tr_old_free_hook): Likewise.
29923 (tr_old_malloc_hook): Likewise.
29924 (tr_old_realloc_hook): Likewise.
29925 (tr_old_memalign_hook): Likewise.
29926 (tr_where): Likewise.
29927 (lock_and_info): Likewise.
29928 (tr_freehook): Likewise.
29929 (tr_mallochook): Likewise.
29930 (tr_reallochook): Likewise.
29931 (tr_memalignhook): Likewise.
29932 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
29933 * misc/mmap.c (__mmap): Likewise.
29934 * misc/mmap64.c (__mmap64): Likewise.
29935 * misc/mprotect.c (__mprotect): Likewise.
29936 * misc/msync.c (msync): Likewise.
29937 * misc/munmap.c (__munmap): Likewise.
29938 * posix/posix_madvise.c (posix_madvise): Likewise.
29939 * socket/send.c (__send): Likewise.
29940 * socket/sendto.c (__sendto): Likewise.
29941 * socket/setsockopt.c (__setsockopt): Likewise.
29942 * string/memcmp.c (__ptr_t): Remove macro.
29943 (MEMCMP): Use void * instead of ptr_t.
29944 * string/memrchr.c (__ptr_t): Remove macro.
29945 (__memrchr): Use void * instead of ptr_t.
29946 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
29947 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29948 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29949 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
29950 * sysdeps/mach/msync.c (msync): Likewise.
29951 * sysdeps/mach/munmap.c (__munmap): Likewise.
29952 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
29954 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29955 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
29956 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
29957 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
29958 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
29959 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29960 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
29961 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
29963 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29964 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
29965 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
29966 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
29967 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
29968 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
29969 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
29970 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
29971 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
29973 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
29974 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
29975 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
29976 (MEMCMP): Use void * instead of ptr_t.
29977 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
29978 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
29980 2017-08-08 Florian Weimer <fweimer@redhat.com>
29982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
29985 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
29988 * csu/libc-tls.c: Include <startup.h> first.
29989 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
29990 * elf/dl-tunables.c: Include <startup.h> first.
29991 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
29992 * sysdeps/generic/startup.h: New file.
29993 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
29994 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
29995 (I386_USE_SYSENTER): New. Defined to 0.
29997 2017-08-08 Andreas Schwab <schwab@suse.de>
30000 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30001 * nptl/pt-system.c (system): Likewise.
30003 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30006 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30008 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30009 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30010 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30011 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30012 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30013 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30014 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30016 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30019 * bits/sigaction.h (struct sigaction): Define sa_handler and
30020 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30021 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30022 [__USE_XOPEN_EXTENDED].
30023 (SA_RESTART): Likewise.
30024 (SA_NODEFER): Likewise.
30025 (SA_RESETHAND): Likewise.
30026 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30027 (struct sigaction): Define sa_handler and sa_sigaction using union
30028 also for [__USE_XOPEN_EXTENDED].
30029 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30030 [__USE_XOPEN_EXTENDED].
30031 (SA_RESTART): Likewise.
30032 (SA_NODEFER): Likewise.
30033 (SA_RESETHAND): Likewise.
30034 * sysdeps/unix/sysv/linux/bits/sigaction.h
30035 (struct sigaction): Define sa_handler and sa_sigaction using union
30036 also for [__USE_XOPEN_EXTENDED].
30037 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30038 [__USE_XOPEN_EXTENDED].
30039 (SA_RESTART): Likewise.
30040 (SA_NODEFER): Likewise.
30041 (SA_RESETHAND): Likewise.
30042 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30043 (struct sigaction): Define sa_handler and sa_sigaction using union
30044 also for [__USE_XOPEN_EXTENDED].
30045 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30046 [__USE_XOPEN_EXTENDED].
30047 (SA_RESTART): Likewise.
30048 (SA_NODEFER): Likewise.
30049 (SA_RESETHAND): Likewise.
30050 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30051 (struct sigaction): Define sa_handler and sa_sigaction using union
30052 also for [__USE_XOPEN_EXTENDED].
30053 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30054 [__USE_XOPEN_EXTENDED].
30055 (SA_RESTART): Likewise.
30056 (SA_NODEFER): Likewise.
30057 (SA_RESETHAND): Likewise.
30058 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30059 (struct sigaction): Define sa_handler and sa_sigaction using union
30060 also for [__USE_XOPEN_EXTENDED].
30061 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30062 [__USE_XOPEN_EXTENDED].
30063 (SA_RESTART): Likewise.
30064 (SA_NODEFER): Likewise.
30065 (SA_RESETHAND): Likewise.
30066 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30067 (struct sigaction): Define sa_handler and sa_sigaction using union
30068 also for [__USE_XOPEN_EXTENDED].
30069 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30070 [__USE_XOPEN_EXTENDED].
30071 (SA_RESTART): Likewise.
30072 (SA_NODEFER): Likewise.
30073 (SA_RESETHAND): Likewise.
30074 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30075 (struct sigaction): Define sa_handler and sa_sigaction using union
30076 also for [__USE_XOPEN_EXTENDED].
30077 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30078 [__USE_XOPEN_EXTENDED].
30079 (SA_RESTART): Likewise.
30080 (SA_NODEFER): Likewise. Define directly rather than as alias.
30081 (SA_RESETHAND): Likewise.
30082 (SA_INTERRUPT): Define only for [__USE_MISC].
30083 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30084 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30086 (SA_STACK): Define only for [__USE_MISC].
30087 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30088 (struct sigaction): Define sa_handler and sa_sigaction using union
30089 also for [__USE_XOPEN_EXTENDED].
30090 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30091 [__USE_XOPEN_EXTENDED].
30092 (SA_RESTART): Likewise.
30093 (SA_NODEFER): Likewise.
30094 (SA_RESETHAND): Likewise.
30095 (SA_NOPTRACE): Define only for [__USE_MISC].
30097 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30098 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30099 (struct catalog_info): Likewise.
30100 * inet/htontest.c (lo): Likewise.
30102 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30103 * inet/inet_net.c (inet_network): Likewise.
30104 * inet/inet_netof.c (inet_netof): Likewise.
30105 * inet/rcmd.c (__ivaliduser): Likewise.
30106 (iruserok): Likewise.
30107 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30108 * locale/programs/locale-spec.c (locale_special): Likewise.
30109 * nis/nis_findserv.c (struct findserv_req): Likewise.
30110 (__nis_findfastest_with_timeout): Likewise.
30111 * nss/test-netdb.c (test_network): Likewise.
30112 * resolv/inet_neta.c (inet_neta): Likewise.
30113 * resolv/ns_date.c (ns_datetosecs): Likewise.
30114 (SECS_PER_DAY): Likewise.
30115 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30117 * resolv/res_comp.c (__putlong): Likewise.
30118 (__putshort): Likewise.
30119 (_getlong): Likewise.
30120 (_getshort): Likewise.
30121 * resolv/res_debug.c (p_time): Likewise.
30122 (precsize_ntoa): Likewise.
30123 (precsize_aton): Likewise.
30124 (latlon2ul): Likewise.
30125 (loc_aton): Likewise.
30126 (loc_ntoa): Likewise.
30127 * resolv/res_hconf.c (struct netaddr): Likewise.
30128 (_res_hconf_reorder_addrs): Likewise.
30129 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30130 (clnttcp_control): Likewise.
30131 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30132 (clntudp_control): Likewise.
30133 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30134 (clntunix_control): Likewise.
30135 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30136 * sunrpc/rpc/auth.h (union des_block): Likewise.
30137 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30138 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30139 (xdrrec_create): Likewise.
30140 (xdrrec_endofrecord): Likewise.
30141 (flush_out): Likewise.
30142 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30143 (xdrstdio_putlong): Likewise.
30144 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30147 * misc/sys/cdefs.h (__long_double_t): Remove.
30148 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30149 instead of __long_double_t,
30150 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30152 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30154 * benchtests/scripts/compare_strings.py: Avoid display error when
30155 running on a text terminal.
30157 * benchtests/scripts/compare_strings.py (main): Add an
30158 optional -base option.
30159 (process_results): New argument base_func.
30161 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30163 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30164 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30166 2017-08-07 Andreas Schwab <schwab@suse.de>
30168 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30169 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30170 * intl/Makefile ($(objpfx)tst-gettext.out)
30171 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30172 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30173 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30174 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30175 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30176 * posix/Makefile ($(objpfx)globtest.out)
30177 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30178 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30179 ($(objpfx)tst-printf.out): Likewise.
30180 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30181 ($(objpfx)tst-setcontext3.out): Likewise.
30183 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30186 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30187 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30188 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30189 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30191 (CFLAGS-doasin-fma.c): New.
30192 (CFLAGS-dosincos-fma.c): Likewise.
30193 (CFLAGS-e_asin-fma.c): Likewise.
30194 (CFLAGS-e_atan2-fma.c): Likewise.
30195 (CFLAGS-e_exp-fma.c): Likewise.
30196 (CFLAGS-e_log-fma.c): Likewise.
30197 (CFLAGS-e_pow-fma.c): Likewise.
30198 (CFLAGS-halfulp-fma.c): Likewise.
30199 (CFLAGS-mpa-fma.c): Likewise.
30200 (CFLAGS-mpatan-fma.c): Likewise.
30201 (CFLAGS-mpatan2-fma.c): Likewise.
30202 (CFLAGS-mpexp-fma.c): Likewise.
30203 (CFLAGS-mplog-fma.c): Likewise.
30204 (CFLAGS-mpsqrt-fma.c): Likewise.
30205 (CFLAGS-mptan-fma.c): Likewise.
30206 (CFLAGS-s_atan-fma.c): Likewise.
30207 (CFLAGS-sincos32-fma.c): Likewise.
30208 (CFLAGS-slowexp-fma.c): Likewise.
30209 (CFLAGS-slowpow-fma.c): Likewise.
30210 (CFLAGS-s_sin-fma.c): Likewise.
30211 (CFLAGS-s_tan-fma.c): Likewise.
30212 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30213 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30214 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30215 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30216 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30217 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30218 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30219 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30220 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30221 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30222 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30223 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30224 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30225 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30226 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30228 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30229 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30230 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30231 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30232 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30234 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30235 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30238 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30239 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30240 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30241 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30242 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30244 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30246 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30247 (min_of_type_f): New macro.
30248 (min_of_type_): Likewise.
30249 (min_of_type_l): Likewise.
30250 (min_of_type_f128): Likewise.
30251 (min_of_type): Define using __MATH_TG and taking an expression
30253 (math_check_force_underflow): Pass expression instead of type to
30255 (math_check_force_underflow_nonneg): Likewise.
30257 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30259 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30260 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30261 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30263 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30266 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30267 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30268 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30269 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30270 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30271 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30272 memmove_chk-nonshared and memset_chk-nonshared
30273 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30274 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30275 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30276 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30277 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30278 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30279 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30280 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30281 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30282 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30283 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30284 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30285 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30286 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30287 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30288 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30289 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30290 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30291 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30292 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30293 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30294 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30295 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30296 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30297 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30298 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30299 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30300 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30301 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30302 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30303 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30304 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30305 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30306 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30307 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30308 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30309 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30310 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30311 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30312 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30313 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30314 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30315 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30316 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30317 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30318 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30319 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30320 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30321 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30322 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30323 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30324 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30325 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30326 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30327 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30328 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30329 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30330 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30331 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30332 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30333 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30334 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30335 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30336 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30337 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30338 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30339 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30340 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30341 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30342 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30343 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30344 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30345 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30346 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30347 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30348 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30349 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30350 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30351 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30352 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30353 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30354 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30355 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30356 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30357 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30358 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30359 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30360 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30361 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30362 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30363 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30364 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30365 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30367 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30368 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30369 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30370 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30371 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30372 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30373 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30374 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30375 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30376 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30377 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30378 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30379 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30380 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30382 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30384 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
30385 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
30386 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
30387 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
30388 svml_d_log2_core-sse2, svml_d_log4_core-sse,
30389 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
30390 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
30391 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
30392 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
30393 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
30394 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
30395 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
30396 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
30397 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
30398 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
30399 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
30400 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
30401 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
30402 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
30403 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
30404 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
30405 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
30406 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
30407 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
30408 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
30409 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
30410 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
30411 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
30412 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
30413 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
30414 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
30415 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
30416 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
30417 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
30418 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
30419 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
30420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
30421 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
30422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
30423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
30424 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
30425 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
30426 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
30427 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
30428 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
30429 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
30430 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
30431 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
30432 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
30433 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
30434 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
30435 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
30436 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
30437 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
30438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
30439 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
30440 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
30441 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
30442 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
30444 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
30445 Don't include <sysdep.h> nor <init-arch.h>.
30446 (_ZGVbN2v_cos): Removed.
30447 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
30449 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
30450 Don't include <sysdep.h> nor <init-arch.h>.
30451 (_ZGVdN4v_cos): Removed.
30452 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
30454 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
30455 Don't include <sysdep.h> nor <init-arch.h>.
30456 (_ZGVeN8v_cos): Removed.
30457 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
30459 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
30460 Don't include <sysdep.h> nor <init-arch.h>.
30461 (_ZGVbN2v_exp): Removed.
30462 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
30464 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
30465 Don't include <sysdep.h> nor <init-arch.h>.
30466 (_ZGVdN4v_exp): Removed.
30467 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
30469 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
30470 Don't include <sysdep.h> nor <init-arch.h>.
30471 (_ZGVeN8v_exp): Removed.
30472 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
30474 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
30475 Don't include <sysdep.h> nor <init-arch.h>.
30476 (_ZGVbN2v_log): Removed.
30477 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
30479 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
30480 Don't include <sysdep.h> nor <init-arch.h>.
30481 (_ZGVdN4v_log): Removed.
30482 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
30484 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
30485 Don't include <sysdep.h> nor <init-arch.h>.
30486 (_ZGVeN8v_log): Removed.
30487 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
30489 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
30490 Don't include <sysdep.h> nor <init-arch.h>.
30491 (_ZGVbN2vv_pow): Removed.
30492 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
30494 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
30495 Don't include <sysdep.h> nor <init-arch.h>.
30496 (_ZGVdN4vv_pow): Removed.
30497 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
30499 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
30500 Don't include <sysdep.h> nor <init-arch.h>.
30501 (_ZGVeN8vv_pow): Removed.
30502 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
30504 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
30505 Don't include <sysdep.h> nor <init-arch.h>.
30506 (_ZGVbN2v_sin): Removed.
30507 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
30509 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
30510 Don't include <sysdep.h> nor <init-arch.h>.
30511 (_ZGVbN4v_sin): Removed.
30512 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
30514 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
30515 Don't include <sysdep.h> nor <init-arch.h>.
30516 (_ZGVbN8v_sin): Removed.
30517 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
30519 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
30520 Don't include <sysdep.h> nor <init-arch.h>.
30521 (_ZGVbN2vvv_sincos): Removed.
30522 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
30524 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
30525 Don't include <sysdep.h> nor <init-arch.h>.
30526 (_ZGVdN4vvv_sincos): Removed.
30527 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
30529 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
30530 Don't include <sysdep.h> nor <init-arch.h>.
30531 (_ZGVeN8vvv_sincos): Removed.
30532 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
30534 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
30535 Don't include <sysdep.h> nor <init-arch.h>.
30536 (_ZGVeN16v_cosf): Removed.
30537 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
30539 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
30540 Don't include <sysdep.h> nor <init-arch.h>.
30541 (_ZGVbN4v_cosf): Removed.
30542 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
30544 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
30545 Don't include <sysdep.h> nor <init-arch.h>.
30546 (_ZGVdN8v_cosf): Removed.
30547 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
30549 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
30550 Don't include <sysdep.h> nor <init-arch.h>.
30551 (_ZGVeN16v_expf): Removed.
30552 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
30554 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
30555 Don't include <sysdep.h> nor <init-arch.h>.
30556 (_ZGVbN4v_expf): Removed.
30557 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
30559 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
30560 Don't include <sysdep.h> nor <init-arch.h>.
30561 (_ZGVdN8v_expf): Removed.
30562 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
30564 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
30565 Don't include <sysdep.h> nor <init-arch.h>.
30566 (_ZGVeN16v_logf): Removed.
30567 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
30569 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
30570 Don't include <sysdep.h> nor <init-arch.h>.
30571 (_ZGVbN4v_logf): Removed.
30572 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
30574 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
30575 Don't include <sysdep.h> nor <init-arch.h>.
30576 (_ZGVdN8v_logf): Removed.
30577 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
30579 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
30580 Don't include <sysdep.h> nor <init-arch.h>.
30581 (_ZGVeN16vv_powf): Removed.
30582 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
30584 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
30585 Don't include <sysdep.h> nor <init-arch.h>.
30586 (_ZGVbN4vv_powf): Removed.
30587 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
30589 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
30590 Don't include <sysdep.h> nor <init-arch.h>.
30591 (_ZGVdN8vv_powf): Removed.
30592 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
30594 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
30595 Don't include <sysdep.h> nor <init-arch.h>.
30596 (_ZGVeN16vvv_sincosf): Removed.
30597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
30599 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
30600 Don't include <sysdep.h> nor <init-arch.h>.
30601 (_ZGVbN4vvv_sincosf): Removed.
30602 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
30604 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
30605 Don't include <sysdep.h> nor <init-arch.h>.
30606 (_ZGVdN8vvv_sincosf): Removed.
30607 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
30609 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
30610 Don't include <sysdep.h> nor <init-arch.h>.
30611 (_ZGVeN16v_sinf): Removed.
30612 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
30614 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
30615 Don't include <sysdep.h> nor <init-arch.h>.
30616 (_ZGVbN4v_sinf): Removed.
30617 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
30619 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
30620 Don't include <sysdep.h> nor <init-arch.h>.
30621 (_ZGVdN8v_sinf): Removed.
30623 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30626 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
30627 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
30628 s_rint-sse4_1 and s_rintf-sse4_1.
30629 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
30630 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
30631 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
30632 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
30633 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
30634 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
30635 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
30636 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
30637 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
30638 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
30639 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
30640 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30642 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
30643 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
30644 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30645 (__ceilf): Removed.
30646 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
30647 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
30648 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30649 (__floor): Removed.
30650 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
30651 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
30652 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30653 (__floorf): Removed.
30654 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
30655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
30656 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30657 (__nearbyint): Removed.
30658 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
30659 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
30660 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30661 (__nearbyintf): Removed.
30662 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
30663 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
30664 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30666 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
30667 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
30668 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30669 (__rintf): Removed.
30671 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30673 * sysdeps/i386/start.S (_start): Check Check PIC instead of
30674 SHARED. Avoid dynamic relocation against main in static PIE.
30676 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30679 * elf/Makefile (CFLAGS-tst-prelink.c): New.
30680 (LDFLAGS-tst-prelink): Likewise.
30682 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30684 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
30685 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
30686 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
30687 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
30688 (INTERNAL_SYSCALL_NCS): Likewise.
30689 (LOADARGS_1): Likewise.
30690 (LOADARGS_5): Likewise.
30691 (RESTOREARGS_1): Likewise.
30692 (RESTOREARGS_5): Likewise.
30694 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30696 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
30697 (MEMPCPY_SYMBOL): Likewise.
30698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30699 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
30700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
30702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30703 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
30705 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
30706 (__hidden_ver1): Don't use in libc.a.
30707 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
30708 (__mempcpy): Don't create a weak alias in libc.a.
30709 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
30711 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
30712 (__hidden_ver1): Don't use in libc.a.
30714 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30716 * config.make.in (have-insert): New.
30717 * configure.ac (libc_cv_insert): New. Set to yes if linker
30718 supports INSERT in linker script.
30719 (AC_SUBST(libc_cv_insert): New.
30720 * configure: Regenerated.
30721 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
30722 if $(have-insert) == yes.
30724 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30726 * elf/Makefile (tests): Add vismain only if
30727 $(have-protected-data) == yes.
30728 (tests-pie): Likewise.
30730 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30733 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
30734 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
30736 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30739 * sysdeps/i386/i586/memset.S
30740 (__memset_zero_constant_len_parameter): Removed.
30741 * sysdeps/i386/i686/memset.S
30742 (__memset_zero_constant_len_parameter): Likewise.
30743 * sysdeps/i386/i686/multiarch/memset_chk.S
30744 (__memset_zero_constant_len_parameter): Likewise.
30745 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
30748 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30750 * stdlib/getentropy.c (getentropy): Change return type to int.
30752 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30754 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
30756 2017-08-03 Joseph Myers <joseph@codesourcery.com>
30758 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
30760 * math/s_nexttowardf.c (__nexttowardf): Likewise.
30761 * sysdeps/generic/math_private.h (ieee_double_shape_type):
30763 (ieee_float_shape_type): Likewise.
30764 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
30765 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
30766 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30767 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30768 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30769 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
30770 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
30771 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30772 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30774 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30775 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30776 (__ieee754_yn): Likewise.
30777 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30778 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30779 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
30781 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30782 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
30783 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
30784 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
30785 (__erfc): Likewise.
30786 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30787 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
30788 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
30789 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
30790 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
30791 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
30793 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30794 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
30795 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30796 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
30797 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30798 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
30799 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
30800 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
30801 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
30802 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30803 (__issignaling): Likewise.
30804 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
30805 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
30806 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30808 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30809 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30810 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
30811 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
30813 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
30815 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
30816 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
30817 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
30818 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30819 (__erfcf): Likewise.
30820 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30821 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30822 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
30823 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
30825 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
30826 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
30828 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30829 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
30830 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30831 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
30832 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
30833 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30834 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
30835 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
30837 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
30839 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30841 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
30842 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30844 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30846 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30847 (__ieee754_ynl): Likewise.
30848 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30849 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
30851 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
30853 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30854 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
30855 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30857 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30858 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
30859 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
30860 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
30861 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
30862 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30863 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
30864 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
30866 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
30867 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
30868 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
30870 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
30871 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
30872 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30873 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30874 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
30875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30877 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30879 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30881 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30883 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
30884 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30885 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30886 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
30887 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30888 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
30889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
30891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30894 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30896 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
30897 (__ieee754_remainderl): Likewise.
30898 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30899 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30900 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30901 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30903 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30906 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30907 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
30908 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30909 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30910 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30911 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30913 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30914 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
30915 (__ieee754_y0l): Likewise.
30918 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30919 (__ieee754_y1l): Likewise.
30922 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30923 (__ieee754_ynl): Likewise.
30924 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
30925 (__ieee754_lgammal_r): Likewise.
30926 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
30928 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30929 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
30930 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30931 (__erfcl): Likewise.
30932 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
30933 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
30935 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
30936 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
30937 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30938 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
30939 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
30940 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30941 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30943 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
30944 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30945 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
30946 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
30947 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30949 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
30950 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
30952 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
30953 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
30954 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
30955 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30956 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
30958 2017-08-03 Florian Weimer <fweimer@redhat.com>
30961 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
30962 on memory allocation failure.
30964 2017-08-03 Alan Modra <amodra@gmail.com>
30966 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
30967 tst-tlsopt-powerpc.c with function name change and no test harness.
30968 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
30969 Call tls_get_addr_opt_test.
30970 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
30971 (modules-names): Add mod-tlsopt-powerpc.
30972 (mod-tlsopt-powerpc.so-no-z-defs): Define.
30973 (tst-tlsopt-powerpc): Depend on .so.
30974 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
30975 define. Expand use in TLS_GD and TLS_LD.
30977 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30979 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
30981 * sysdeps/posix/shm_open.c: Include <pthread.h>.
30983 2017-08-02 Joseph Myers <joseph@codesourcery.com>
30986 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
30987 comparing size with that of double.
30988 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30989 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30990 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30991 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30992 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30993 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
30994 unsigned __int128 types.
30996 2017-08-02 Steve Ellcey <sellcey@cavium.com>
30998 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
30999 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31000 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31001 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31002 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31004 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31006 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31008 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31010 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31012 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31017 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31020 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31023 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31024 bit-field expressions passed to sizeof or typeof.
31025 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31026 (__TGMATH_F128): Likewise.
31027 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31028 (__TGMATH_CF128): Likewise.
31029 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31030 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31031 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31032 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31033 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31034 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31035 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31036 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31037 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31038 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31039 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31040 (__TGMATH_UNARY_IMAG): Likewise.
31041 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31042 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31043 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31045 (define_vars_for_type): Handle bit_field type specially.
31046 (Tests.__init__): Declare structure with bit-field element.
31048 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31051 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31052 (MEMCPY_CHK): Define only if SHARED is defined.
31053 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31058 See ChangeLog.18 for earlier changes.