1 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
3 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
5 2019-08-05 Joseph Myers <joseph@codesourcery.com>
7 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
10 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
15 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
17 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
19 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
21 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22 (ALWAYS_USE_VSYSCALL): Likewise.
23 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
24 (ALWAYS_USE_VSYSCALL): Likewise.
25 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26 (ALWAYS_USE_VSYSCALL): Likewise.
27 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28 (ALWAYS_USE_VSYSCALL): Likewise.
29 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
31 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32 (ALWAYS_USE_VSYSCALL): Likewise.
33 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34 (ALWAYS_USE_VSYSCALL): Likewise.
35 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
37 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
39 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
40 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
41 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
42 USE_VSYSCALL): Remove defitions.
45 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
46 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
47 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
51 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
52 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
53 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54 (ALWAYS_USE_VSYSCALL): Define.
55 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56 (ALWAYS_USE_VSYSCALL): Likewise.
59 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
60 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
61 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
64 * sysdeps/sh/libm-test-ulps: Update.
66 2019-08-05 Florian Weimer <fweimer@redhat.com>
69 * login/uptmp-private.h (struct ufuncs): Remove definition.
70 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
71 (__libc_utmp_jump_table): Remove declarations.
72 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
73 (__libc_getutline_r, __libc_pututline, __libc_endutent)
74 (__libc_updwtmp): Declare.
75 * login/getutent_r.c (__libc_utmp_unknown_functions)
76 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
77 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
78 (endutent_unknown): Remove definitions.
79 (__setutent): Call __libc_setutent.
80 (__getutent_r): Call __libc_getutent_r.
81 (__pututline): Call __libc_pututline.
82 (__endutent): Call __libc_endutent.
83 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
84 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
85 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
86 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
87 (__libc_setutent): Rename from stetutent_file. Drop static.
88 (maybe_setutent): New function.
89 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
90 Check for initialization.
91 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
92 Check for initialization.
93 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
94 Check for initialization.
95 (__libc_pututline): Rename from pututline_file. Drop static.
96 Check for initialization.
97 (__libc_endutent): Rename from endutent_file. Drop static. Check
99 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
100 * login/utmpname.c (__utmpname): Call __libc_endutent.
101 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
102 __libc_getutlien_r, __libc_endutent.
103 * manual/users.texi (Who Logged In, Manipulating the Database):
106 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
108 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
110 2019-08-02 Joseph Myers <joseph@codesourcery.com>
112 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
114 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
115 kernel version number to 5.2.
117 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
119 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
120 mnemonics and set .machine power8.
121 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
122 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
123 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
124 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
125 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
126 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
127 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
128 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
129 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
130 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
132 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
134 * sysdeps/hppa/fpu/libm-test-ulps: Update.
136 2019-08-01 Florian Weimer <fweimer@redhat.com>
139 * malloc/malloc.c (__malloc_info): Remove unwanted leading
142 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
145 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
148 2019-08-01 Carlos O'Donell <carlos@redhat.com>
150 * version.h (RELEASE): Set to "stable".
151 (VERSION): Set to "2.30".
152 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
154 * manual/install.texi: Update component versions.
155 * INSTALL: Regenerate.
158 2019-07-31 Carlos O'Donell <carlos@redhat.com>
160 * po/be.po: Update translations.
161 * po/bg.po: Likewise.
162 * po/ca.po: Likewise.
163 * po/cs.po: Likewise.
164 * po/da.po: Likewise.
165 * po/de.po: Likewise.
166 * po/el.po: Likewise.
167 * po/eo.po: Likewise.
168 * po/es.po: Likewise.
169 * po/fi.po: Likewise.
170 * po/fr.po: Likewise.
171 * po/gl.po: Likewise.
172 * po/hr.po: Likewise.
173 * po/hu.po: Likewise.
174 * po/ia.po: Likewise.
175 * po/id.po: Likewise.
176 * po/it.po: Likewise.
177 * po/ja.po: Likewise.
178 * po/ko.po: Likewise.
179 * po/lt.po: Likewise.
180 * po/nb.po: Likewise.
181 * po/nl.po: Likewise.
182 * po/pl.po: Likewise.
183 * po/pt_BR.po: Likewise.
184 * po/ru.po: Likewise.
185 * po/rw.po: Likewise.
186 * po/sk.po: Likewise.
187 * po/sl.po: Likewise.
188 * po/sv.po: Likewise.
189 * po/tr.po: Likewise.
190 * po/uk.po: Likewise.
191 * po/vi.po: Likewise.
192 * po/zh_CN.po: Likewise.
193 * po/zh_TW.po: Likewise.
195 2019-07-31 Florian Weimer <fweimer@redhat.com>
199 iconv, libio: Revert reference counting changes.
200 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
201 free the steps array.
202 * libio/Makefile (tests): Remove tst-wfile-gconv.
203 (tests-container): Do not add tst-wfile-ascii.
204 (tst-wfile-gconv-ENV): Do not set.
205 (generated): Do not add tst-wfile-gconv.mtrace,
206 tst-wfile-gconv.check.
207 [($run-built-tests)] (tests-special): Do not add
208 tst-wfile-gconv-mem.out.
209 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
210 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
211 instead of __wcsmbs_clone_conv.
212 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
213 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
215 2019-07-30 Joseph Myers <joseph@codesourcery.com>
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
218 (__CONTEXT_FUNC_NAME): Restore setting of r31.
220 2019-07-30 Florian Weimer <fweimer@redhat.com>
222 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
223 type to uintptr_t. Update comment.
224 (check_stack_top): Adjust.
226 2019-07-29 Florian Weimer <fweimer@redhat.com>
228 Linux: Move declaration of getdents64 to <dirent.h>.
229 * bits/dirent_ext.h: New file.
230 * dirent/Makefile (headers): Add bits/dirent_ext.h.
231 * dirent/dirent.h: Include <bits/dirent_ext.h>.
232 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
233 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
235 * manual/filesys.texi (Low-level Directory Access): Update header
238 2019-07-29 DJ Delorie <dj@redhat.com>
239 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
242 * Makeconfig (all-subdirs): Improved source comments.
243 * Makefile (testroot.pristine/install.stamp): Pass
244 subdirs='$(sorted-subdirs)' to make install.
246 2019-07-25 Florian Weimer <fweimer@redhat.com>
249 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
250 counter before freeing array.
252 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
255 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
257 * sysdeps/x86_64/configure: Regenerated.
258 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
259 to -mprefer-vector-width=128 if supported.
261 2019-07-24 Florian Weimer <fweimer@redhat.com>
263 * scripts/build-many-glibcs.py (Context.checkout): Default to
266 2019-07-24 Florian Weimer <fweimer@redhat.com>
269 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
270 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
271 (sysdep_headers): Add bits/socket-constants.h.
272 (tests-special): Add tst-socket-consts.out.
273 (tst-socket-consts.out): New target.
274 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
275 around <asm/unistd.h>.
276 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
277 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
279 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
280 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
281 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
282 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
283 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
284 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
286 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
288 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
291 * Makefile (testroot.pristine/install.stamp): Pass
292 subdirs='$(all-subdirs)' to make install.
294 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
295 the same arguments used in all tests.
297 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
299 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
301 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
304 * locale/C-translit.h.in: Add Cyrillic transliteration.
306 2019-07-19 Florian Weimer <fweimer@redhat.com>
308 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
310 (fsconfig): Add system call name.
314 (move_mount): Likewise.
315 (open_tree): Likewise.
317 2019-07-18 Carlos O'Donell <carlos@redhat.com>
319 * po/libc.pot: Regenerate.
321 2019-07-18 Mike Crowe <mac@mcrowe.com>
323 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
324 functions recently added to sysdeps/nptl/pthread.h:
325 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
326 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
328 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
329 pthread_cond_clockwait forwarding functions. There are no internal
330 users, so it is unnecessary to expose these functions in libc.so.
331 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
332 unnecessary ptr___pthread_cond_clockwait member.
333 * nptl/nptl-init.c (pthread_functions): Remove assignment of
336 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
339 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
340 begin with an uppercase letter now.
342 (mon): Update from CLDR, reword February from "Kudo" to
343 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
344 and August from "Liiqen" to "Leqeeni".
345 * localedata/locales/aa_ER (mon): Update from CLDR, reword
346 April from "Agda Baxisso" to "Agda Baxis" and August from
347 "Leqeeni" to "Liiqen".
348 * localedata/locales/aa_ER@saaho (mon): Likewise.
349 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
350 abbreviated February from "Kud" to "Nah".
351 (mon): Update from CLDR, reword February from "Kudo" to
352 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
354 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
357 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
359 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
362 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
363 name_mrs, name_miss, and name_ms.
364 * localedata/locales/nl_NL (LC_NAME): Likewise.
366 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
369 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
370 * localedata/locales/en_IE (first_weekday): Likewise.
372 2019-07-12 Mike Crowe <mac@mcrowe.com>
374 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
375 that is only useful if futex_supports_exact_relative_timeouts ()
377 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
379 * sysdeps/nptl/futex-internal.h: Remove comment about relative
380 timeouts potentially being imprecise since it's no longer true.
381 Remove declaration of futex_supports_exact_relative_timeouts.
382 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
383 of futex_supports_exact_relative_timeouts.
385 * NEWS: Mention recently-added pthread_cond_clockwait,
386 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
387 sem_clockwait functions.
389 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
390 works like pthread_mutex_timedlock but takes a clockid parameter to
391 measure the abstime parameter against.
392 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
393 * nptl/DESIGN-systemtap-probes.txt: Likewise.
394 * nptl/pthread_mutex_timedlock.c
395 (__pthread_mutex_clocklock_common): Rename from
396 __pthread_mutex_timedlock and add clockid parameter. Pass this
397 parameter to lll_clocklock and lll_clocklock_elision in place of
398 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
399 LIBC_PROBE and validate clockid parameter before calling
400 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
401 implementation to add LIBC_PROBE and calls
402 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
404 * nptl/Makefile: Add tst-mutex11.c.
405 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
406 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
407 clockid parameters to pthread_mutex_clocklock.
408 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
409 clockid parameter to indicate which clock to be used. Call
410 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
411 (do_test): Call do_test_clock to separately test
412 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
413 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
414 * nptl/tst-mutex9.c: Likewise.
415 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
416 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
418 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
420 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
422 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
424 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
426 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
428 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
430 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
431 (GLIBC_2.30): Likewise.
432 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
433 (GLIBC_2.30): Likewise.
434 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
435 (GLIBC_2.30): Likewise.
436 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
437 (GLIBC_2.30): Likewise.
438 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
439 (GLIBC_2.30): Likewise.
440 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
443 (GLIBC_2.30): Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
445 (GLIBC_2.30): Likewise.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
447 (GLIBC_2.30): Likewise.
448 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
449 (GLIBC_2.30): Likewise.
450 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
451 (GLIBC_2.30): Likewise.
452 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
453 (GLIBC_2.30): Likewise.
454 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
456 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
457 (GLIBC_2.30): Likewise.
458 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
459 (GLIBC_2.30): Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
461 (GLIBC_2.30): Likewise.
462 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
463 (GLIBC_2.30): Likewise.
465 nptl: Rename lll_timedlock to lll_clocklock and add clockid
466 parameter to indicate the clock that the abstime parameter should
467 be measured against in preparation for adding
468 pthread_mutex_clocklock.
469 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
470 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
471 from __lll_timedlock and add clockid parameter.
472 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
474 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
475 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
476 rather than __gettimeofday so that clockid can be used. This means
477 that conversion from struct timeval is no longer required.
478 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
480 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
481 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
482 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
483 from lll_timedlock_elision, add clockid parameter and use
484 meaningful names for other parameters. (__pthread_mutex_timedlock):
485 Pass CLOCK_REALTIME where necessary to lll_clocklock and
486 lll_clocklock_elision.
487 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
488 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
489 clockid parameter. (__lll_clocklock_elision): Rename from
490 __lll_timedlock_elision and add clockid parameter.
491 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
492 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
493 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
494 (__lll_lock_elision): Call __lll_clocklock_elision rather than
495 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
496 (LLL_LOCK): Likewise.
497 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
498 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
500 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
501 pthread_rwlock_clockwrlock which behave like
502 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
503 respectively, except they always measure abstime against the
504 supplied clockid. The functions currently support CLOCK_REALTIME
505 and CLOCK_MONOTONIC and return EINVAL if any other clock is
507 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
508 pthread_wrlock_clockwrlock.
509 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
510 pthread_rwlock_clockwrlock.c.
511 * nptl/pthread_rwlock_clockrdlock.c: Implement
512 pthread_rwlock_clockrdlock.
513 * nptl/pthread_rwlock_clockwrlock.c: Implement
514 pthread_rwlock_clockwrlock.
515 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
516 clockid parameter and verify that it indicates a supported clock on
517 entry so that we fail even if it doesn't end up being used. Pass
518 that clock on to futex_abstimed_wait when necessary.
519 (__pthread_rwlock_wrlock_full): Likewise.
520 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
521 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
522 be used because there's no timeout.
523 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
524 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
525 be used because there is no timeout.
526 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
527 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
529 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
530 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
532 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
533 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
534 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
535 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
536 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
537 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
538 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
539 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
540 (GLIBC_2.30): Likewise.
541 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
542 (GLIBC_2.30): Likewise.
543 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
544 (GLIBC_2.30): Likewise.
545 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
546 (GLIBC_2.30): Likewise.
547 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
548 (GLIBC_2.30): Likewise.
549 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
551 (GLIBC_2.30): Likewise.
552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
553 (GLIBC_2.30): Likewise.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
555 (GLIBC_2.30): Likewise.
556 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
557 (GLIBC_2.30): Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
559 (GLIBC_2.30): Likewise.
560 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
561 (GLIBC_2.30): Likewise.
562 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
563 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
564 (GLIBC_2.30): Likewise.
565 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
566 (GLIBC_2.30): Likewise.
567 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
568 (GLIBC_2.30): Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
570 (GLIBC_2.30): Likewise.
571 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
572 pthread_rwlock_clockwrlock timeout tests to match the existing
573 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
574 * nptl/tst-rwlock14.c (do_test): Likewise.
575 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
576 ancillary output throughout. (tf): Accept thread_args structure so
577 that rwlock, a clockid and function name can be passed to the
578 thread. (do_test_clock): Rename from do_test. Accept clockid
579 parameter to specify test clock. Use the magic clockid value of
580 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
581 pthread_rwlock_timedwrlock should be tested, otherwise pass the
582 specified clockid to pthread_rwlock_clockrdlock and
583 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
584 (do_test): Call do_test_clock to test each clockid in turn.
585 * nptl/tst-rwlock7.c: Likewise.
586 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
587 thread_args structure so that the (now int) thread number, the
588 clockid and the function name can be passed to the thread.
589 (do_test_clock): Renamed from do_test. Pass the necessary
590 thread_args when creating the reader and writer threads. Use
591 xpthread_create and xpthread_join.
592 (do_test): Call do_test_clock to test each clockid in turn.
593 * manual/threads.texi: Add documentation for
594 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
596 nptl: pthread_rwlock: Move timeout validation into _full functions
597 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
598 Check validity of abstime parameter.
599 (__pthread_rwlock_rwlock_full): Likewise.
600 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
601 Remove check for validity of abstime parameter.
602 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
605 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
606 like pthread_cond_timedwait except it always measures abstime
607 against the supplied clockid.
608 * nptl/Makefile: Add tst-cond26 and tst-cond27
609 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
610 * sysdeps/nptl/pthread.h: Likewise
611 * nptl/forward.c: Add __pthread_cond_clockwait
612 * nptl/forward.c: Likewise
613 * nptl/pthreadP.h: Likewise
614 * sysdeps/nptl/pthread-functions.h: Likewise
615 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
616 clockid parameter and comment describing why we don't need to check
617 its value. Use that value when calling
618 futex_abstimed_wait_cancelable rather than reading the clock from
619 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
620 (__pthread_cond_timedwait): Read clock from flags and pass it to
621 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
622 function with weak alias from pthread_cond_clockwait.
623 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
624 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
625 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
626 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
627 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
628 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
629 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
630 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
631 (GLIBC_2.30): Likewise.
632 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
633 (GLIBC_2.30): Likewise.
634 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
635 (GLIBC_2.30): Likewise.
636 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
637 (GLIBC_2.30): Likewise.
638 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
639 (GLIBC_2.30): Likewise.
640 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
642 (GLIBC_2.30): Likewise.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
644 (GLIBC_2.30): Likewise.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
646 (GLIBC_2.30): Likewise.
647 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
648 (GLIBC_2.30): Likewise.
649 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
650 (GLIBC_2.30): Likewise.
651 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
652 (GLIBC_2.30): Likewise.
653 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
654 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
655 (GLIBC_2.30): Likewise.
656 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
657 (GLIBC_2.30): Likewise.
658 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
659 (GLIBC_2.30): Likewise.
660 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
661 (GLIBC_2.30): Likewise.
662 * nptl/tst-cond11.c (run_test): Support testing
663 pthread_cond_clockwait too by using a special magic
664 CLOCK_USE_ATTR_CLOCK value to determine whether to call
665 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
666 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
667 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
668 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
669 clocks to pthread_cond_clockwait.
670 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
671 struct timespec and pthread_cond_clockwait.
672 * manual/threads.texi: Document pthread_cond_clockwait.
674 nptl: Add POSIX-proposed sem_clockwait which behaves just like
675 sem_timedwait, but measures abstime against the specified clock.
676 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
677 clockid parameters to indicate the clock which abstime should be
679 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
680 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
682 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
684 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
685 sem_clockwait.c to match those used for sem_timedwait.c.
686 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
687 * nptl/Versions (GLIBC_2.30): Likewise.
688 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
689 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
690 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
691 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
692 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
693 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
694 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
695 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
696 (GLIBC_2.30): Likewise.
697 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
698 (GLIBC_2.30): Likewise.
699 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
700 (GLIBC_2.30): Likewise.
701 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
702 (GLIBC_2.30): Likewise.
703 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
704 (GLIBC_2.30): Likewise.
705 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
707 (GLIBC_2.30): Likewise.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
709 (GLIBC_2.30): Likewise.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
711 (GLIBC_2.30): Likewise.
712 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
713 (GLIBC_2.30): Likewise.
714 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
715 (GLIBC_2.30): Likewise.
716 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
717 (GLIBC_2.30): Likewise.
718 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
719 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
720 (GLIBC_2.30): Likewise.
721 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
722 (GLIBC_2.30): Likewise.
723 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
724 (GLIBC_2.30): Likewise.
725 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
726 (GLIBC_2.30): Likewise.
727 * nptl/tst-sem17.c: Add new test for passing invalid clock to
729 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
730 tests to also test sem_clockwait.
731 * manual/threads.texi: Document sem_clockwait.
733 nptl: Add clockid parameter to futex timed wait calls
734 * sysdeps/nptl/lowlevellock-futex.h,
735 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
736 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
737 takes a clockid rather than a special clockbit.
738 * sysdeps/nptl/lowlevellock-futex.h: Add
739 lll_futex_supported_clockid so that client functions can check
740 whether their clockid parameter is valid even if they don't
741 ultimately end up calling lll_futex_clock_wait_bitset.
742 * sysdeps/nptl/futex-internal.h,
743 sysdeps/unix/sysv/linux/futex-internal.h
744 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
745 clockid_t parameter to indicate which clock the absolute time
746 passed should be measured against. Pass that clockid onto
747 lll_futex_clock_wait_bitset. Add invalid clock as reason for
749 * sysdeps/nptl/futex-internal.h,
750 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
751 futex_abstimed_supported_clockid so that client functions can check
752 whether their clockid parameter is valid even if they don't
753 ultimately end up calling futex_abstimed_wait.
754 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
755 code to calculate relative timeout for
756 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
757 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
758 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
759 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
760 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
761 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
762 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
764 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
767 * posix/tst-mmap-offset.c: Mention BZ #24699.
768 (do_test_bz21270): Rename to do_test_large_offset and use
769 mmap64_maximum_offset to check for maximum expected offset value.
770 * sysdeps/generic/mmap_info.h: New file.
771 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
772 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
775 2019-07-10 DJ Delorie <dj@redhat.com>
776 Sergei Trofimovich <slyfox@inbox.ru>
780 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
782 * nss/tst-nss-db-endgrent.c: New.
783 * nss/tst-nss-db-endgrent.root: New.
784 * nss/tst-nss-db-endpwent.c: New.
785 * nss/tst-nss-db-endpwent.root: New.
786 * nss/Makefile: Add new tests.
787 * support/links-dso-program-c.c: Add selinux dependency.
788 * support/links-dso-program.cc: Add selinux dependency.
789 * support/Makefile: Build those with -lselinux if enabled.
791 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
793 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
794 DT_AARCH64_VARIANT_PCS check.
795 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
796 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
799 2019-07-10 Andreas Schwab <schwab@suse.de>
802 * malloc/malloc.h (__malloc_check_init): Don't declare.
803 * include/malloc.h (__malloc_check_init): Likewise.
804 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
805 * manual/memory.texi (__malloc_check_init): Don't mention it.
807 2019-07-10 Mao Han <han_mao@c-sky.com>
809 * locale/Makefile: Fix tst-locale-locpath arguments passing.
811 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
813 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
814 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
816 2019-07-08 DJ Delorie <dj@redhat.com>
819 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
820 * io/tst-ftw-lnk.c: New test.
821 * io/Makefile: Run it.
823 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
825 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
826 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
827 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
828 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
829 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
830 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
832 Adjust implementation path.
833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
834 Adjust implementation path.
835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
836 Adjust implementation path.
837 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
838 (libm-sysdep_routines): Add s_log* objects.
839 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
840 CFLAGS-s_logb-power7.c): New fule.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
843 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
847 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
850 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
853 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
857 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
860 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
863 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
867 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
870 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
872 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
873 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
874 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
876 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
877 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
878 powerpc32 integer 0 converting to -0.
880 * benchtests/Makefile (bench-math): Add logb.
881 * benchtests/logb-inputs: New file.
882 * benchtests/logbf-inputs: New file.
884 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
885 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
886 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
887 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
892 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
893 sysdep_routines): Add s_modf* objects.
894 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
895 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
898 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
902 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
905 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
908 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
911 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
914 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
916 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
917 twoM500, twoM600, two60factor, pdnum): Remove.
918 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
919 (__ieee754_hypot): Replace static variables with inline definition,
920 remove ununsed branches.
921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
922 (libm-sysdep_routines): Remove e_hypot-* objects.
923 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
927 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
932 * benchtests/Makefile (bench-math): Add hypot.
933 * benchtests/hypot-inputs: New file.
935 2019-07-08 Vincent Chen <vincentc@andestech.com>
937 * sysdeps/unix/sysv/linux/dl-vdso.h
938 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
940 2019-07-04 Andreas Schwab <schwab@suse.de>
943 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
945 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
947 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
948 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
949 * sysdeps/aarch64/sys/ifunc.h: New file.
950 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
951 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
953 2019-07-01 Florian Weimer <fweimer@redhat.com>
956 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
957 Replace __vfork with __libpthread_version_placeholder for
959 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
960 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
962 * nptl/pt-vfork.c: Remove file.
963 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
964 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
965 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
966 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
967 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
968 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
969 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
970 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
971 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
972 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
973 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
974 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
975 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
976 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
977 Remove vfork, __vfork.
978 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
980 (GLIBC_2.1.2): Replace __vfork with
981 __libpthread_version_placeholder.
982 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
983 Remove vfork, __vfork.
984 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
986 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
988 (GLIBC_2.1.2): Replace __vfork with
989 __libpthread_version_placeholder.
990 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
992 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
993 (GLIBC_2.4): Remove vfork, __vfork.
994 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
995 (GLIBC_2.0): Remove vfork.
996 (GLIBC_2.1.2): Replace __vfork with
997 __libpthread_version_placeholder.
998 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
999 (GLIBC_2.18): Remove vfork, __vfork.
1000 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1001 (GLIBC_2.0): Remove vfork.
1002 (GLIBC_2.2): Remove __vfork.
1003 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1004 (GLIBC_2.2): Remove vfork, __vfork.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1006 (GLIBC_2.0): Remove vfork.
1007 (GLIBC_2.1.2): Replace __vfork with
1008 __libpthread_version_placeholder.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1010 (GLIBC_2.3): Remove vfork, __vfork.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1012 (GLIBC_2.17): Likewise.
1013 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1014 (GLIBC_2.0): Remove vfork.
1015 (GLIBC_2.1.2): Replace __vfork with
1016 __libpthread_version_placeholder.
1017 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1018 (GLIBC_2.2): Remove vfork, __vfork.
1019 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1021 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1022 (GLIBC_2.0): Remove vfork.
1023 (GLIBC_2.1.2): Replace __vfork with
1024 __libpthread_version_placeholder.
1025 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1026 (GLIBC_2.2): Remove vfork, __vfork.
1027 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1028 (GLIBC_2.2.5): Likewise.
1029 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1030 (GLIBC_2.16): Likewise.
1031 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1032 Remove __errno_location.
1034 2019-07-02 Florian Weimer <fweimer@redhat.com>
1037 * malloc/Depend: Add nptl and htl, due to potential indirect
1038 libpthread dependency of memusagestat.
1040 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1042 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
1045 2019-07-01 Florian Weimer <fweimer@redhat.com>
1047 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
1048 variant for arm-linux-gnueabi.
1050 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
1053 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
1055 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
1056 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
1057 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
1058 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
1059 and tst-cet-legacy-mod-6c.
1060 (CFLAGS-tst-cet-legacy-5a.c): New.
1061 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
1062 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
1063 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
1064 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
1065 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
1066 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
1067 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
1068 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
1069 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
1070 ($(objpfx)tst-cet-legacy-5a): Likewise.
1071 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
1072 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
1073 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
1074 ($(objpfx)tst-cet-legacy-5b): Likewise.
1075 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
1076 (tst-cet-legacy-5b-ENV): Likewise.
1077 ($(objpfx)tst-cet-legacy-6a): Likewise.
1078 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
1079 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
1080 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
1081 ($(objpfx)tst-cet-legacy-6b): Likewise.
1082 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
1083 (tst-cet-legacy-6b-ENV): Likewise.
1084 * sysdeps/x86/tst-cet-legacy-5.c: New file.
1085 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
1086 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
1087 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
1088 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
1089 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
1090 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
1091 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
1092 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
1093 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
1094 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
1095 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
1096 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
1097 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
1099 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
1101 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
1102 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
1103 (__fegetround_ISA300) New.
1104 (__fegetround_ISA2) New.
1105 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
1106 (_FPU_MFFS): Move implementation...
1108 (_FPU_MFFSL): Move implementation....
1109 (_FPU_GET_RC_ISA300): Here. New.
1110 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
1111 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
1112 (fegetenv_status): New.
1113 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
1114 instead of fegetenv_register().
1115 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
1117 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
1119 * benchtests/bench-math-inlines.c: Increase iterations.
1120 * benchtests/bench-memcmp.c: Likewise.
1121 * benchtests/bench-rawmemchr.c: Likewise.
1122 * benchtests/bench-strcmp.c: Likewise.
1123 * benchtests/bench-strcpy_chk.c: Likewise.
1124 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
1125 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
1126 (INNER_LOOP_ITERS_SMALL): Likewise.
1127 * benchtests/bench-strncat.c: Increase iterations.
1128 * benchtests/bench-strncmp.c: Increase iterations.
1129 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
1130 * benchtests/bench-strrchr.c: Increase iterations.
1131 * benchtests/bench-strstr.c: Keep iterations unchanged.
1132 * benchtests/bench-strtod.c: Increase iterations.
1134 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1136 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
1137 with INNER_LOOP_ITERS_LARGE.
1138 * benchtests/bench-memchr.c: Likewise.
1139 * benchtests/bench-rawmemchr.c: Likewise.
1140 * benchtests/bench-strcat.c: Likewise.
1141 * benchtests/bench-strchr.c: Likewise.
1142 * benchtests/bench-string.h: Likewise.
1143 * benchtests/bench-strlen.c: Likewise.
1144 * benchtests/bench-strncpy.c: Likewise.
1145 * benchtests/bench-strnlen.c: Likewise.
1147 2019-06-28 Florian Weimer <fweimer@redhat.com>
1149 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
1150 Use mmap instead of malloc. malloc with M_PERTURB writes to the
1151 entire allocated memory range.
1153 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
1155 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
1156 (prepare_version_base): New helper inline function.
1157 (prepare_version): New macro replacing PREPARE_VERSION.
1158 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
1160 2019-06-28 Florian Weimer <fweimer@redhat.com>
1163 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
1164 mismatch in a versioned symbol reference.
1165 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
1166 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
1167 tst-sonamemove-dlopen.
1168 (module-names): Add tst-sonamemove-linkmod1,
1169 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
1170 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
1171 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
1172 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
1173 (tst-sonamemove-runmod1.so): Link against
1174 tst-sonamemove-runmod2.so.
1175 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
1176 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
1177 tst-sonamemove-runmod2.so.
1178 (tst-sonamemove-dlopen): Link with -ldl.
1179 (tst-sonamemove-dlopen.out): Likewise.
1180 * elf/tst-sonamemove-link.c: New file.
1181 * elf/tst-sonamemove-dlopen.c: Likewise.
1182 * elf/tst-sonamemove-linkmod1.c: Likewise.
1183 * elf/tst-sonamemove-linkmod1.map: Likewise.
1184 * elf/tst-sonamemove-runmod1.c: Likewise.
1185 * elf/tst-sonamemove-runmod1.map: Likewise.
1186 * elf/tst-sonamemove-runmod2.c: Likewise.
1187 * elf/tst-sonamemove-runmod2.map: Likewise.
1189 2019-06-28 Florian Weimer <fweimer@redhat.com>
1191 * support/xdlfcn.h (xdlvsym): Declare function.
1192 * support/xdlfcn.c (xdlvsym): Define funciton.
1194 2019-06-28 Florian Weimer <fweimer@redhat.com>
1197 io: Remove the copy_file_range emulation.
1198 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
1199 not define and call copy_file_range_compat.
1200 * io/Makefile (tests-static, tests-internal): Do not add
1201 tst-copy_file_range-compat.
1202 * io/copy_file_range-compat.c: Remove file.
1203 * io/copy_file_range.c (copy_file_range): Define as stub.
1204 * io/tst-copy_file_range-compat.c: Remove file.
1205 * io/tst-copy_file_range.c (xdevfile): Remove variable.
1206 (typical_sizes): Update comment. Remove 16K sizes.
1207 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
1209 (find_maximum_offset, pipe_as_source, pipe_as_destination)
1210 (delayed_write_failure_beginning, delayed_write_failure_end)
1211 (cross_device_failure, enospc_failure_1, enospc_failure)
1212 (oappend_failure): Remove functions.
1213 (tests): Adjust test case list.
1214 (do_test): Remove file system search code. Check for ENOSYS from
1215 copy_file_range. Do not free xdevfile.
1216 * manual/llio.texi (Copying File Data): Document ENOSYS error from
1217 copy_file_range. Do not document the EXDEV error, which future
1218 kernels may not report. Update the wording to reflect that
1219 further errors are possible.
1220 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1221 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
1223 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1224 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1226 * sysdeps/unix/sysv/linux/kernel-features.h
1227 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
1229 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1230 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
1232 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1233 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1236 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1238 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
1239 used as a mask for the mode argument of __vfprintf_internal.
1240 * stdio-common/printf-parse.h (printf_arg): New union member:
1242 * stdio-common/vfprintf-internal.c
1243 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
1244 (PARSE_FLOAT_VA_ARG): Likewise.
1245 (SETUP_FLOAT128_INFO): Likewise.
1246 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
1247 SETUP_FLOAT128_INFO.
1248 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
1249 floating-point value to the new union member, pa_float128.
1250 (printf_positional): Zero-initialize args_value[cnt] with memset.
1252 2019-06-27 Florian Weimer <fweimer@redhat.com>
1255 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
1256 buffer size if necessary.
1257 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1259 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1261 (large_buffer_checks): Likewise.
1262 (do_test): Call large_buffer_checks.
1264 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1266 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1267 * sysdeps/x86/dl-lookupcfg.h: Here.
1268 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1270 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1273 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1274 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1279 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1280 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1282 * sysdeps/powerpc/powerpc32/fpu/Makefile
1283 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1284 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1285 and fctidz optimization.
1286 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1287 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1289 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1290 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1291 CFLAGS-s_lround-power5+.c): New rule.
1292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1312 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1314 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1315 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1316 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1317 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1318 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1320 2019-06-26 Vincent Chen <vincentc@andestech.com>
1322 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1323 specific system calls, fp_udfiex_crtl and udftrap.
1325 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1327 * nptl/tst-eintr1.c (tf1): Add return statement.
1328 (do_test): Remove unused th variable.
1330 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1332 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1333 Return error if get_character fails.
1335 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
1337 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1339 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1342 * localedata/locales/szl_PL (day): Use the correct Unicode
1343 sequences instead of non-ASCII characters.
1345 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1348 * localedata/locales/szl_PL (abday): Spelling corrections.
1352 (alt_mon): This, then apply spelling corrections.
1353 (mon): New entry, month names in the genitive case.
1355 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1358 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1359 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1360 (thousands_sep): Likewise.
1361 (grouping): Set to 3;3.
1363 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
1365 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1366 PREPARE_VERSION_KNOWN.
1367 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1368 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1370 (VDSO_HASH_LINUX_2_6_39): Likewise.
1371 (VDSO_NAME_LINUX_4_9): Likewise.
1372 (VDSO_HASH_LINUX_4_9): Likewise.
1373 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1374 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1375 (_libc_vdso_platform_setup): Likewise.
1376 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1377 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1379 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1382 2019-06-20 Mike Crowe <mac@mcrowe.com>
1384 * nptl/eintr.c: Use libsupport.
1385 * nptl/tst-eintr1.c: Likewise.
1386 * nptl/tst-eintr2.c: Likewise.
1387 * nptl/tst-eintr3.c: Likewise.
1388 * nptl/tst-eintr4.c: Likewise.
1389 * nptl/tst-eintr5.c: Likewise.
1390 * nptl/tst-mutex-errorcheck.c: Likewise.
1391 * nptl/tst-mutex5.c: Likewise.
1393 * support/test-driver.h: Add verbose_printf macro.
1395 * support/xtime.h: Add xclock_now() helper function.
1397 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1398 Florian Weimer <fweimer@redhat.com>
1401 * libio/genops.c (_IO_unbuffer_all)
1402 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1403 buffers and access _IO_FILE_complete members of legacy libio streams.
1404 * libio/tst-bz24228.c: New file.
1405 * libio/tst-bz24228.map: Likewise.
1406 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1407 [build-shared] (generated): Add tst-bz24228.mtrace and
1409 [run-built-tests && build-shared] (tests-special): Add
1410 $(objpfx)tst-bz24228-mem.out.
1411 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1412 ($(objpfx)tst-bz24228-mem.out): New rule.
1414 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1416 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1417 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1418 (__FPU_MFFSL): Likewise.
1419 (_FPU_SETCW): Likewise.
1421 2019-06-19 Stan Shebs <stanshebs@google.com>
1422 Raoni Fassina Firmino <raoni@linux.ibm.com>
1425 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1426 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1427 static-linking version.
1428 * sysdeps/unix/sysv/linux/powerpc/Makefile
1429 (tests-static): Add test-gettimebasefreq-static.
1431 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1434 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1437 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1438 between the currency symbol and the minus sign).
1439 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1441 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1444 * string/test-strcasestr.c (check_result): Add NULL check.
1445 * nss/tst-field.c (check_rewrite): Likewise.
1446 * benchtests/bench-strstr.c (do_one_test): Likewise.
1447 * string/test-strstr.c (check_result): Likewise.
1448 * argp/argp-test.c (popt): Increase size of buf to 12.
1449 * benchtests/bench-malloc-simple.c (bench):
1450 Do not initialize tests array out of bounds.
1452 2019-06-19 Florian Weimer <fweimer@redhat.com>
1455 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1458 2019-06-18 Florian Weimer <fweimer@redhat.com>
1461 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1462 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1463 fail when called from dlopen.
1464 * elf/Makefile [have-fpie && build-shared] (tests): Add
1466 (tst-dlopen-pie): Link with -ldl.
1467 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1468 * elf/tst-dlopen-pie.c (do_test): New file.
1470 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1473 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1474 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1475 between the currency symbol and the minus sign).
1476 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1477 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1479 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1481 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1482 sysdep-rtld-routines): Remove rules.
1483 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1484 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1485 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1486 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1487 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1488 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1489 vDSO path for SHARED.
1490 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1491 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1492 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1493 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1494 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1495 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1497 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1498 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1499 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1500 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1501 CFLAGS-s_llround-power5+.c): New rule.
1502 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1504 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1506 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1508 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1510 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1513 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1515 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1517 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1518 * sysdeps/powerpc/powerpc64/fpu/Makefile
1519 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1521 (libm-sysdep_routines): Remove s_llround-* objects.
1522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1532 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1537 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1538 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1539 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1540 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1541 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1543 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1547 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1548 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1549 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1550 * sysdeps/powerpc/powerpc32/fpu/Makefile
1551 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1552 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1554 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1555 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1556 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1558 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1559 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1560 CFLAGS-s_lrint-ppc32.c): New rule.
1561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1571 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1572 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1573 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1574 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1586 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1587 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1589 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1590 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1592 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1594 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1597 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1599 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1601 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1602 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1603 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1604 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1605 (libm-sysdep_routines): Remove s_llrint-* objects.
1606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1611 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1612 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1613 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1614 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1615 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1616 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1617 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1618 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1619 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1621 2019-06-14 Florian Weimer <fweimer@redhat.com>
1623 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1624 argument to __glibc_has_include to inhibit macro expansion.
1626 2019-06-14 Florian Weimer <fweimer@redhat.com>
1628 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1629 function-like macro, so that __has_include can inhibit expansion
1632 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1634 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1638 Allow memset in libc.so.
1640 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1642 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1643 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1644 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1645 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1646 symbols at load time.
1647 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1649 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1651 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1652 (DT_AARCH64_VARIANT_PCS): Define.
1654 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1657 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1667 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1668 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1669 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1670 Remove s_finite* objects.
1671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1677 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1678 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1679 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1680 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1682 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1683 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1686 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1696 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1697 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1699 Remove s_isinf* and s_isinf* objects.
1700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1706 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1707 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1708 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1709 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1712 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1714 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1715 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1716 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1718 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1734 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1735 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1736 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1737 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1738 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1739 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1741 Remove s_isnan-* and s_isnanf-* objects.
1742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1751 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1752 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1753 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1754 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1755 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1756 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1758 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1761 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1763 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1764 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1765 CFLAGS-bench-isfinite.c): New rule.
1766 * benchtests/isnan-input: New file.
1767 * benchtests/isinf-input: New file.
1768 * benchtests/isfinite-input: New file.
1770 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1771 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1772 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1773 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1775 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1785 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1786 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1787 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1788 Remove s_copysign-power6 s_copysign-ppc64.
1789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1795 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1796 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1797 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1798 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1800 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1801 round_to_integer_float, round_mode): Add RINT handling.
1802 (reset_fenv_mode): New symbol.
1803 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1804 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1805 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1806 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1807 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1808 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1810 2019-06-12 Florian Weimer <fweimer@redhat.com>
1813 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1814 * libio/freopen.c (freopen): Use it.
1816 2019-06-12 Florian Weimer <fweimer@redhat.com>
1818 Linux: Deprecate sysctl.
1819 * include/sysctl.h (__sysctl): Remove declaration.
1820 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1822 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1823 (sysctl): Add deprecation attribute.
1824 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1825 directly, to avoid the deprecation warning. Do not include
1827 (__sysctl): Remove hidden alias.
1829 2019-06-12 Florian Weimer <fweimer@redhat.com>
1831 Linux: Use kernel headers for statx definitions if available.
1832 * include/bits/statx-generic.h: New file.
1833 * include/bits/types/struct_statx.h: Likewise.
1834 * include/bits/types/struct_statx_timestamp.h: Likewise.
1835 * io/Makefile (headers): Add bits/statx-generic.h.
1836 * io/bits/statx-generic.h: New file. Partly copied from
1838 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1839 define original_statx.
1840 * io/bits/types/struct_statx.h: Likewise.
1841 * io/bits/types/struct_statx_timestamp.h: Likewise.
1842 (statx_generic): Use original_statx.
1843 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1844 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1846 2019-06-12 Florian Weimer <fweimer@redhat.com>
1848 * misc/sys/cdefs.h (__glibc_has_include): Define.
1850 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1852 * string/memmem.c (__memmem): Rewrite to improve performance.
1854 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1856 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1858 (two_way_long_needle): Block inlining.
1859 * string/strstr.c (strstr2): Add new function.
1860 (strstr3): Likewise.
1861 (STRSTR): Completely rewrite strstr to improve performance.
1863 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1865 * benchtests/bench-strstr.c (test_hard_needle): New function.
1867 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1869 * malloc/tst-calloc.c: Include <libc-diag.h>.
1870 (null_test): Ignore -Wunused-result around calls to calloc.
1871 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1872 (do_test): Ignore -Wunused-result around call to malloc.
1874 2019-06-07 Florian Weimer <fweimer@redhat.com>
1876 Linux: Add getdents64 system call.
1877 * include/dirnent.h (getdents): Add comment and change buffer
1878 argument type to void *.
1879 (getdents64): Likewise. Add hidden prototype.
1880 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1882 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1884 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1885 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1886 argument type to void *.
1887 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1888 Add hidden definition and getdents64 alias.
1889 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1891 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1892 * manual/filesys.texi (Accessing Directories): Add Low-level
1893 Directory Access node reference.
1894 (Opening a Directory): Cross-reference it.
1895 (Low-level Directory Access): New node.
1896 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1898 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1900 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1901 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1903 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1905 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1907 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1909 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1911 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1913 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1915 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1916 (GLIBC_2.30): Likewise.
1917 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1918 (GLIBC_2.30): Likewise.
1919 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1920 (GLIBC_2.30): Likewise.
1921 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1922 (GLIBC_2.30): Likewise.
1923 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1926 (GLIBC_2.30): Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1928 (GLIBC_2.30): Likewise.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1930 (GLIBC_2.30): Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1932 (GLIBC_2.30): Likewise.
1933 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1935 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1937 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1939 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1940 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1944 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1946 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1949 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1951 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1955 (_FPU_GETCW): Use __FPU_MFFS().
1956 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1958 2019-06-06 Florian Weimer <fweimer@redhat.com>
1960 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1961 internal GCC preprocessor identifier __has_include__.
1963 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1965 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1966 with call to equivalent function.
1968 2019-06-04 Florian Weimer <fweimer@redhat.com>
1970 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1971 (do_release_shlib): Adjust for __twalk_r.
1972 (__gconv_release_shlib): Call __twalk_r.
1974 2019-06-04 Andreas Schwab <schwab@suse.de>
1977 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1978 no irreversible characters occurred.
1979 * iconv/gconv_simple.c (internal_ucs4_loop)
1980 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1981 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1982 (ucs4_internal_loop_single, internal_ucs4le_loop)
1983 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1984 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1985 (ucs4le_internal_loop_single): Add const to outend.
1986 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1987 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1988 * iconv/Makefile (tests): Add tst-iconv7.
1989 * iconv/tst-iconv7.c: New file.
1991 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1993 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1995 2019-06-01 Florian Weimer <fweimer@redhat.com>
1997 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1998 * sysdeps/unix/sysv/linux/arm/Makefile
1999 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2000 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2001 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2002 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2003 compatibility symbols.
2005 2019-05-31 Florian Weimer <fweimer@redhat.com>
2007 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2008 system calls for the arm architecture: breakpoint, get_tls,
2009 set_tls, usr26, usr32.
2011 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2013 * sysdeps/powerpc/Makefile
2014 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2015 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2016 Declare '.machine power7' to get support for ldbrx.
2017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2018 directive based on the directory of the file.
2019 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2020 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2021 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2022 '.machine' directive.
2023 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2024 (VADDUQM_V7_V8): Remove.
2025 (__STRCASECMP): Replace macros with actual instructions.
2026 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2027 '.machine' directive.
2028 (VCLZD_V8_v7): Remove.
2029 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2031 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2033 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2035 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2037 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2039 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2041 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
2042 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
2043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
2044 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2048 2019-05-28 mansayk <6688000@gmail.com>
2051 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
2053 2019-05-28 mansayk <6688000@gmail.com>
2056 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
2057 (abmon): Likewise, but remove the trailing dots.
2059 2019-05-28 Joseph Myers <joseph@codesourcery.com>
2061 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
2063 2019-05-27 Florian Weimer <fweimer@redhat.com>
2065 * nptl/nptl-init.c: Add comment.
2067 2019-05-24 Florian Weimer <fweimer@redhat.com>
2069 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
2070 struct in_addr/struct in6_addr alignment.
2072 2019-05-23 Joseph Myers <joseph@codesourcery.com>
2074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2075 (F_SEAL_FUTURE_WRITE): New macro.
2077 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
2079 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
2080 * elf/tst-ldconfig-bad-aux-cache.c: New file.
2081 * elf/tst-ldconfig_aux-cache.root: New directory.
2082 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
2083 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
2084 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
2086 2019-05-22 Zack Weinberg <zackw@panix.com>
2088 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
2090 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
2091 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
2093 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
2098 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
2099 Issue an #error if used with a compiler in SPE-float mode.
2100 * sysdeps/powerpc/powerpc32/__longjmp_common.S
2101 * sysdeps/powerpc/powerpc32/setjmp_common.S
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2108 Remove code to preserve SPE register state.
2110 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2111 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2112 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
2113 Remove __SPE__ ifndefs.
2115 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
2117 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
2118 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
2119 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
2120 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
2121 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
2122 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
2123 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
2124 (INNER_LOOP_ITERS_MEDIUM): New define.
2125 (INNER_LOOP_ITERS_SMALL): New define.
2126 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
2127 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
2128 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
2129 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
2130 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
2132 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
2134 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
2136 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
2137 (SEMTIMEDOP_IPC_ARGS): Likewise.
2139 2019-05-21 Florian Weimer <fweimer@redhat.com>
2142 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
2143 before updating __counter field and release it afterwards. Add
2145 * iconv/gconv.h (struct __gconv_step): Mention synchronization
2146 requirement for __counter member.
2148 2019-05-21 Florian Weimer <fweimer@redhat.com>
2151 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
2152 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
2153 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
2154 instead of __gconv_release_step.
2155 * libio/Makefile (tests): Add tst-wfile-gconv.
2156 (tests-container): Add tst-wfile-ascii.
2157 (tst-wfile-gconv-ENV): Enable mtrace.
2158 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
2159 (tests-special): Add tst-wfile-gconv-mem.out.
2160 (tst-wfile-gconv.out): Depend on locales.
2161 (tst-wfile-gconv-mem.out): Add mtrace rule.
2162 * libio/tst-wfile-ascii.c: New file.
2163 * libio/tst-wfile-gconv.c: Likewise.
2165 2019-05-20 Florian Weimer <fweimer@redhat.com>
2168 libio: Remove codecvt vtable.
2169 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
2171 * libio/iofgetpos.c (_IO_new_fgetpos): Call
2172 __libio_codecvt_encoding.
2173 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
2174 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2175 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
2176 * libio/iofwide.c (__libio_codecvt): Remove variable.
2177 (_IO_fwide): Do not copy __libio_codecvt.
2178 (__libio_codecvt_out): Rename from do_out and export.
2179 (do_unshift): Remove function.
2180 (__libio_codecvt_in): Rename from do_in and export.
2181 (__libio_codecvt_encoding): Rename from do_encoding and export.
2182 (do_always_noconv): Remove function.
2183 (__libio_codecvt_length): Rename from do_length and export.
2184 (do_max_length): Remove function.
2185 * libio/libio.h (enum __codecvt_result): Remove definition; moved
2187 (struct _IO_codecvt): Remove fields __codecvt_destr,
2188 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
2189 __codecvt_do_encoding, __codecvt_do_always_noconv,
2190 __codecvt_do_length, __codecvt_do_max_length.
2191 * libio/libioP.h (enum __codecvt_result): Define; moved from
2193 (__libio_codecvt_out, __libio_codecvt_in)
2194 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
2196 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
2197 (_IO_wfile_underflow): Call __libio_codecvt_in.
2198 (_IO_wfile_underflow): Likewise.
2199 (_IO_wfile_underflow_mmap): Likewise.
2200 (_IO_wfile_sync): Call __libio_codecvt_encoding,
2201 __libio_codecvt_length.
2202 (adjust_wide_data): Call __libio_codecvt_encoding,
2204 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
2205 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
2206 __libio_codecvt_length.
2208 2019-05-20 Florian Weimer <fweimer@redhat.com>
2210 * support/support.h (support_sbindir_prefix): Declare.
2211 (support_install_rootsbindir): Update comment.
2212 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
2213 * support/support_paths.c (support_sbindir_prefix): Define.
2215 2019-05-20 Mike Crowe <mac@mcrowe.com>
2217 * support/timespec.c: Add backslash to correct newline in failure
2220 * support/timespec.h: Correct confusing comment.
2222 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2224 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
2226 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
2227 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
2228 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
2229 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
2232 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
2235 2019-05-20 Joseph Myers <joseph@codesourcery.com>
2237 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
2238 (NT_ARM_PACG_KEYS): Likewise.
2240 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
2242 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
2243 (tcache_put): Remove redundant assert.
2244 (tcache_get): Remove redundant asserts.
2245 (__libc_malloc): Check tcache count is not zero.
2246 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
2248 2019-05-17 Florian Weimer <fweimer@redhat.com>
2250 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
2252 2019-05-16 Joseph Myers <joseph@codesourcery.com>
2254 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2255 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
2257 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2259 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2260 (__ASSUME_STATX): Likewise.
2262 2019-05-16 Florian Weimer <fweimer@redhat.com>
2264 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2266 (LINE_PARSER): Do not map IPv4 addresses.
2267 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2269 (_nss_nis_gethostent_r): Always pass AF_INET to
2270 internal_nis_gethostent_r.
2271 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2273 (_nss_nis_gethostbyname2_r): Adjust call to
2274 internal_nis_gethostent_r.
2275 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2276 call to internal_nis_gethostent_r.
2277 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2279 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2280 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2281 Remove flags argument. Do not map IPv4 addresses.
2282 (internal_nisplus_gethostent_r): Adjust call to
2283 _nss_nisplus_parse_hostent.
2284 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2285 to _nss_nisplus_parse_hostent.
2286 (_nss_nisplus_gethostbyname2_r): Adjust call to
2287 internal_gethostbyname2_r.
2288 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2289 Adjust call to internal_gethostbyname2_r.
2290 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2291 _nss_nisplus_parse_hostent.
2292 (_nss_nisplus_gethostbyname4_r): Adjust call to
2293 internal_gethostbyname2_r.
2295 2019-05-16 Florian Weimer <fweimer@redhat.com>
2297 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2299 (LINE_PARSER): Remove address mapping.
2300 (EXTRA_ARGS_VALUE): Remove flags argument.
2301 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2302 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2303 gethostbyname3_multi.
2304 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2305 _nss_files_gethostbyname3_r.
2306 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2308 2019-05-16 Florian Weimer <fweimer@redhat.com>
2310 * support/support_test_compare_blob.c (report_blob): Report
2311 incorrect NULL blobs.
2313 2019-05-15 Mark Wielaard <mark@klomp.org>
2316 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2317 __libc_once_get (once) and static_buf == NULL.
2318 (__dlerror): Check we have a valid key, set result to static_buf
2321 2019-05-15 Andreas Schwab <schwab@suse.de>
2324 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2325 __codecvt_do_length.
2326 * libio/Makefile (tests): Add tst-wfile-sync.
2327 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2328 * libio/tst-wfile-sync.c: New file.
2329 * libio/tst-wfile-sync.input: New file.
2331 2019-05-15 Florian Weimer <fweimer@redhat.com>
2333 nss: Turn __nss_database_lookup into a compatibility symbol.
2334 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2335 __nss_database_lookup.
2336 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2337 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2338 __nss_database_lookup.
2339 (__nss_next): Move to …
2340 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2342 (__nss_database_lookup): New function.
2343 * nss/Versions (GLIBC_2.0): Update comment.
2344 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2345 * grp/initgroups.c (internal_getgrouplist): Call
2346 __nss_database_lookup2 instead of __nss_database_lookup.
2347 * nscd/aicache.c (addhstaiX): Likewise.
2348 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2349 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2350 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2351 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2352 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2354 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2355 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2358 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
2360 * support/support.h (support_install_rootsbindir): New variable.
2361 * support/support_paths.c: Likewise.
2362 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2364 2019-05-15 Florian Weimer <fweimer@redhat.com>
2366 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2367 * iconv/gconv_int.h (__gconv_transliterate): … here.
2368 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2369 * iconv/skeleton.c: Likewise.
2371 2019-05-14 Florian Weimer <fweimer@redhat.com>
2373 Linux: Add the tgkill function.
2374 * bits/signal_ext.h: New file.
2375 * manual/signal.texi (Signaling Another Process): Document tgkill.
2376 * signal/Makefile (headers): Add bits/signal_ext.h.
2377 * signal/signal.h: Include <bits/signal_ext.h>.
2378 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2379 (tst-tgkill): Link with libpthread.
2380 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2381 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2382 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2383 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2385 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2386 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2387 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2388 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2389 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2390 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2391 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2392 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2393 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2394 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2395 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2397 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2398 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2399 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2408 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2410 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2417 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2419 * manual/search.texi (Tree Search Function): Adjust twalk_r
2422 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2425 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2428 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2429 * support/support.h (support_bindir_prefix): New variable.
2430 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2432 * config.make.in (bindir): New variable.
2434 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2435 (lll_trylock): Call __lll_trylock.
2436 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2437 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2438 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2439 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2440 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2441 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2442 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2443 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2444 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2445 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2446 lowlevellock-futex.h.
2448 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2449 initialization for LLL_LOCK_INITIALIZER different than 0.
2450 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2451 Assume LLL_LOCK_INITIALIZER being 0.
2452 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2453 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2455 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2456 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2458 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2459 Optimize futex call and add systemtap probe.
2461 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2462 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2463 __libc_disable_asynccancel, __librt_enable_asynccancel,
2464 __libc_disable_asynccancel, __librt_enable_asynccancel,
2465 __librt_disable_asynccancel): Move to ...
2466 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2467 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2468 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2469 * sysdeps/generic/single-thread.h: New file.
2470 * sysdeps/unix/sysdep.h: Include single-thread.h.
2471 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2472 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2474 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2477 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2478 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2480 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2481 * localedata/unicode-gen/PropList.txt: Likewise.
2482 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2483 * localedata/charmaps/UTF-8: Regenerate.
2484 * localedata/locales/i18n_ctype: Likewise.
2485 * localedata/locales/tr_TR: Likewise.
2486 * localedata/locales/translit_circle: Likewise.
2487 * localedata/locales/translit_cjk_compat: Likewise.
2488 * localedata/locales/translit_combining: Likewise.
2489 * localedata/locales/translit_compat: Likewise.
2490 * localedata/locales/translit_font: Likewise.
2491 * localedata/locales/translit_fraction: Likewise.
2493 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2496 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2497 (do_set_tcache_count): Only update if count is small enough.
2498 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2500 2019-05-10 Florian Weimer <fweimer@redhat.com>
2502 * nptl/sem_close.c (struct walk_closure): Define.
2503 (walker): Adjust for __twalk_r.
2504 (sem_close): Call __twalk_r.
2506 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2508 * support/timespec.c (test_timespec_before_impl,
2509 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2512 2019-05-09 Mike Crowe <mac@mcrowe.com>
2514 * nptl/tst-abstime.c: Use libsupport.
2516 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2517 small bug where only tv.tv_usec was checked which could cause an
2518 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2521 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2524 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2525 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2527 * nptl/tst-cond11.c: Use libsupport.
2529 * support/timespec.h: New file. Provide timespec helper functions
2530 along with macros in the style of those in check.h.
2531 * support/timespec.c: New file. Implement check functions declared
2532 in support/timespec.h.
2533 * support/timespec-add.c: New file from gnulib containing
2534 timespec_add implementation that handles overflow.
2535 * support/timespec-sub.c: New file from gnulib containing
2536 timespec_sub implementation that handles overflow.
2537 * support/README: Mention timespec.h.
2539 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2542 * nptl/Makefile: Move tst-eintr1 to xtests.
2544 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2546 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2548 (round_mode): Add definition for TRUNC.
2549 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2550 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2551 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2552 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2553 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2555 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2557 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2559 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2561 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2563 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2565 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2567 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2569 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2570 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2571 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2572 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2573 s_truncf-power5+, and s_truncf-ppc64.
2574 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2575 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2577 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2579 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2580 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2582 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2587 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2588 s_truncf-power5+, and s_truncf-ppc64.
2589 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2591 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2592 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2594 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2595 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2596 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2597 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2598 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2600 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2602 (round_mode): Add definition for ROUND.
2603 (round_to_integer_float): Likewise.
2604 * sysdeps/powerpc/fpu/s_round.c: New file.
2605 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2606 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2607 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2608 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2610 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2612 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2614 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2616 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2618 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2620 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2622 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2624 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2625 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2626 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2627 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2628 s_roundf-power5+, and s_roundf-ppc64.
2629 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2630 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2632 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2634 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2635 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2637 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2642 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2643 s_roundf-power5+, and s_roundf-ppc64.
2644 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2646 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2647 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2649 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2650 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2651 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2652 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2653 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2655 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2657 (round_mode): Add definition for FLOOR.
2658 * sysdeps/powerpc/fpu/s_floor.c: New file.
2659 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2660 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2661 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2680 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2681 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2682 s_floorf-power5+, and s_floorf-ppc64.
2683 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2684 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2686 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2688 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2689 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2691 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2696 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2697 s_floorf-power5+, and s_floorf-ppc64.
2698 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2706 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2707 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2708 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2709 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2711 2019-05-08 Mike Crowe <mac@mcrowe.com>
2713 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2714 clock_gettime wrapper for use in tests that fails the test rather
2715 than returning failure.
2717 * support/xtime.h: New file to declare xclock_gettime.
2719 * support/Makefile: Add xclock_gettime.c.
2721 * support/README: Mention xtime.h.
2723 2019-05-08 Florian Weimer <fweimer@redhat.com>
2725 malloc/tst-mallocfork2: Use process-shared barriers.
2726 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2727 (signal_count, sigusr1_sender_pid): Remove.
2728 (iterations): Define constant.
2729 (shared): New variable.
2730 (sigusr1_received): Update comment.
2731 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2732 (signal_sender): Optional use barriers to avoid sending signals
2733 during irrelevant times.
2734 (do_it): Initialize variable shared. Use xfork for error
2735 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2736 the iteration count, independent of signal delivery. Check for
2737 deadlocks in fork. Introduce barriers for reducing signal
2738 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2739 replaced by the barriers. Count signals during fork/free/malloc
2741 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2743 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2745 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2747 (clock_adjtime64) New syscall.
2748 (clock_getres_time64) Likewise.
2749 (clock_gettime64) Likewise.
2750 (clock_nanosleep_time64) Likewise.
2751 (clock_settime64) Likewise.
2752 (futex_time64) Likewise.
2753 (io_pgetevents_time64) Likewise.
2754 (io_uring_enter) Likewise.
2755 (io_uring_register) Likewise.
2756 (io_uring_setup) Likewise.
2757 (mq_timedreceive_time64) Likewise.
2758 (mq_timedsend_time64) Likewise.
2759 (pidfd_send_signal) Likewise.
2760 (ppoll_time64) Likewise.
2761 (pselect6_time64) Likewise.
2762 (recvmmsg_time64) Likewise.
2763 (rt_sigtimedwait_time64) Likewise.
2764 (sched_rr_get_interval_time64) Likewise.
2765 (semtimedop_time64) Likewise.
2766 (timer_gettime64) Likewise.
2767 (timer_settime64) Likewise.
2768 (timerfd_gettime64) Likewise.
2769 (timerfd_settime64) Likewise.
2770 (utimensat_time64) Likewise.
2772 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2773 version to 9 branch.
2775 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2777 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2778 __memmove_thunderx2 to the list of implementations
2779 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2780 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2781 (__memmove_thunderx2): Rewritten using SIMD ld/st
2782 (__memcpy_thunderx2): Fixed handling overlapping cases.
2783 Used ldp/stp instead of ldr/str if possible. Made loops
2786 2019-05-03 Florian Weimer <fweimer@redhat.com>
2788 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2790 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2793 * elf/tst-pldd.c (in_str_list): New function.
2794 (do_test): Add default names for ld and libc as one option.
2796 2019-05-02 Florian Weimer <fweimer@redhat.com>
2798 misc: Add twalk_r function.
2799 * include/search.h (__twalk_r): Declare.
2800 * manual/examples/twalk.c: New file.
2801 * manual/search.texi (Tree Search Function): Document twalk_r.
2802 * misc/Versions (2.30): Export twalk_r.
2803 (GLIBC_PRIVATE): Export __twalk_r.
2804 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2805 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2806 (twalk_r): Add weak alias.
2807 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2808 (walk_trace): New variable.
2809 (struct twalk_with_twalk_r_closure): Define.
2810 (twalk_with_twalk_r_action): New function.
2811 (twalk_with_twalk_r): Likewise.
2812 (walk_action): Call walk_trace_add.
2813 (walk_tree_with): Rename from walk_tree. Add walk argument.
2814 (walk_tree): New function.
2815 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2816 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2818 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2820 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2821 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2822 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2823 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2824 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2825 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2827 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2829 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2831 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2832 (GLIBC_2.30): Likewise.
2833 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2834 (GLIBC_2.30): Likewise.
2835 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2836 (GLIBC_2.30): Likewise.
2837 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2838 (GLIBC_2.30): Likewise.
2839 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2842 (GLIBC_2.30): Likewise.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2844 (GLIBC_2.30): Likewise.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2846 (GLIBC_2.30): Likewise.
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2848 (GLIBC_2.30): Likewise.
2849 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2851 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2853 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2855 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2858 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2860 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2862 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2865 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2867 Make mktime etc. compatible with __time64_t
2868 Keep these functions compatible with Gnulib while adding
2869 __time64_t support. The basic idea is to move private API
2870 declarations from include/time.h to time/mktime-internal.h, since
2871 the former file cannot easily be shared with Gnulib whereas the
2873 Also, do some other minor cleanup while in the neighborhood.
2874 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2875 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2876 since Gnulib needs it.
2877 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2878 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2879 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2880 (in_time_t_range): New static function.
2881 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2882 so that glibc users are not tempted to use __time64_t.
2883 * time/mktime-internal.h: Rewrite so that it does both glibc
2884 and Gnulib work. Include time.h if not _LIBC.
2885 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2886 (__time64_t): New type or macro, moved here from
2888 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2889 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2890 from include/time.h.
2891 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2892 New macros, taken from GNulib.
2893 (__mktime_internal): New prototype, moved here from include/time.h.
2894 * time/mktime.c (mktime_min, mktime_max, convert_time)
2895 (ranged_convert, __mktime_internal, __mktime64):
2896 * time/timegm.c (__timegm64):
2897 Use __time64_t, not time_t.
2898 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2899 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2901 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2902 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2903 for libc_hidden_def.
2905 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2907 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2909 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2912 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2913 from `-Wmaybe-uninitialized'.
2914 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2916 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2918 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2920 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2921 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2922 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2923 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2924 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2926 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2943 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2946 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2948 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2951 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2952 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2954 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2957 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2960 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2961 s_ceilf-power5+, and s_ceilf-ppc64.
2962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2967 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2968 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2969 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2970 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2972 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2973 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2974 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2976 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2978 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2979 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2980 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2981 (sem_getvalue): Likewise.
2983 2019-04-26 Florian Weimer <fweimer@redhat.com>
2985 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2986 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2988 2019-04-26 Florian Weimer <fweimer@redhat.com>
2990 Makeconfig: Move -Wl,-rpath-link options before library references.
2991 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2992 (link-libc): Remove $(link-libc-rpath-link).
2994 2019-04-25 Florian Weimer <fweimer@redhat.com>
2996 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2997 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2998 (+link-static-before-libc): Remove $(CC).
2999 (+link-static, +link-static-tests): Add $(CC).
3000 (+link-before-libc): Remove $(CC).
3001 (+link, +link-pie, +link-pie-printers): Add $(CC).
3003 2019-04-26 Florian Weimer <fweimer@redhat.com>
3005 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3006 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3007 (+link-static-before-libc): Remove $(CC).
3008 (+link-static, +link-static-tests): Add $(CC).
3009 (+link-before-libc): Remove $(CC).
3010 (+link, +link-pie, +link-pie-printers): Add $(CC).
3012 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3015 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3017 2019-04-25 Florian Weimer <fweimer@redhat.com>
3019 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3020 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3021 (bench-link-targets): New variable.
3022 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3024 2019-04-25 Florian Weimer <fweimer@redhat.com>
3026 Also enable BIND_NOW for programs if --enable-bind-now.
3027 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3028 (+link-pie): Use $(link-extra-flags).
3029 (+link-static): Likewise.
3030 [! $(build-pie-default)] (+link): Likewise.
3031 * manual/install.texi (Configuring and compiling): Update
3032 --enable-bind-now description.
3033 * INSTALL: Regenerated.
3035 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3037 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3038 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3040 2019-04-24 Mike Frysinger <vapier@gentoo.org>
3043 * malloc/Makefile (others): Add memusagestat.
3044 ($(objpfx)memusagestat): Delete rule.
3045 (LDLIBS-memusagestat): New variable.
3047 2019-04-24 Florian Weimer <fweimer@redhat.com>
3049 * locale/Makefile (tests-special): Guard setting by
3050 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
3051 to run while cross-compiling.
3053 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3056 * elf/Makefile (tests-container): Add tst-pldd.
3057 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
3058 (E(find_maps)): Avoid use alloca, use default read file operations
3059 instead of explicit LFS names, and fix infinite loop.
3060 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
3061 (get_process_info): Use _Static_assert instead of assert, use default
3062 directory operations instead of explicit LFS names, and free some
3064 * elf/tst-pldd.c: New file.
3066 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
3068 * malloc/arena.c (do_set_mallopt_check): Removed.
3070 2019-04-23 Florian Weimer <fweimer@redhat.com>
3072 locale: Add LOCPATH diagnostics to the locale program.
3073 * locale/programs/locale.c (setlocale_failed): New variable.
3074 (try_setlocale): New function.
3075 (quote_string): Likewise.
3076 (setlocale_diagnostics): Likewise.
3077 (main): Call try_setlocale instead of setlocale. Call
3078 setlocale_diagnostics.
3079 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
3080 (tst-locale-locpath.out): New target.
3081 * locale/tst-locale-locpath.sh: New file.
3083 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3085 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
3088 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3091 * malloc/hooks.c (malloc_check, realloc_check): Use
3092 __builtin_add_overflow on overflow check and adapt to
3093 checked_request2size change.
3094 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
3095 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
3096 allocation size to PTRDIFF_MAX.
3097 (REQUEST_OUT_OF_RANGE): Remove macro.
3098 (checked_request2size): Change to inline function and limit maximum
3099 requested size to PTRDIFF_MAX.
3100 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
3101 maximum allocation size to PTRDIFF_MAX.
3102 (_mid_memalign): Use _int_memalign call for overflow check.
3103 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
3104 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
3105 limit maximum requested size to PTRDIFF_MAX.
3106 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
3107 valloc, pvalloc): Add __attribute_alloc_size__.
3108 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
3109 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
3110 larger than PTRDIFF_MAX.
3111 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
3112 around tests of malloc with negative sizes.
3113 * malloc/tst-posix_memalign.c (do_test): Likewise.
3114 * malloc/tst-pvalloc.c (do_test): Likewise.
3115 * malloc/tst-valloc.c (do_test): Likewise.
3116 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
3117 with resulting size allocation larger than PTRDIFF_MAX with
3118 reallocarray_nowarn.
3119 (reallocarray_nowarn): New function.
3120 * NEWS: Mention the malloc function semantic change.
3122 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3124 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
3125 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3127 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
3128 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
3129 * sysdeps/powerpc/fpu/s_fma.c: New file.
3130 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3132 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
3133 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
3135 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
3136 the magic flag store.
3137 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3139 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
3141 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
3142 Remove rt_sigreturn call.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3145 Remove rt_sigreturn call.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
3149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3151 * support/Makefile (libsupport-routines): Add support_subprocess,
3152 xposix_spawn, xposix_spawn_file_actions_addclose, and
3153 xposix_spawn_file_actions_adddup2.
3154 (tst-support_capture_subprocess-ARGS): New rule.
3155 * support/capture_subprocess.h (support_capture_subprogram): New
3157 * support/support_capture_subprocess.c (support_capture_subprocess):
3158 Refactor to use support_subprocess and support_capture_poll.
3159 (support_capture_subprogram): New function.
3160 * support/tst-support_capture_subprocess.c (write_mode_to_str,
3161 str_to_write_mode, test_common, parse_int, handle_restart,
3162 do_subprocess, do_subprogram, do_multiple_tests): New functions.
3163 (do_test): Add support_capture_subprogram tests.
3164 * support/subprocess.h: New file.
3165 * support/support_subprocess.c: Likewise.
3166 * support/xposix_spawn.c: Likewise.
3167 * support/xposix_spawn_file_actions_addclose.c: Likewise.
3168 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
3169 * support/xspawn.h: Likewise.
3171 2019-04-17 Mike Gerow <gerow@google.com>
3173 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
3176 2019-04-11 Florian Weimer <fweimer@redhat.com>
3178 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
3179 domain with empty string.
3180 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3182 2019-04-11 Florian Weimer <fweimer@redhat.com>
3184 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
3186 (alloc_buffer_next): Change return type to non-const. Update
3189 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
3191 * manual/time.texi (Formatting Calendar Time): Add missing percent
3192 sign to conversion specifier.
3194 2019-04-09 Carlos O'Donell <carlos@redhat.com>
3195 Kwok Cheung Yeung <kcy@codesourcery.com>
3198 * malloc/mtrace.c: Define prototypes for all hooks.
3199 (set_default_hooks): New function.
3200 (set_trace_hooks): Likewise.
3201 (save_default_hooks): Likewise.
3202 (tr_freehook): Use new s*_hooks functions.
3203 (tr_mallochook): Likewise.
3204 (tr_reallochook): Likewise.
3205 (tr_memalignhook): Likewise.
3207 (muntrace): Likewise.
3209 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3211 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
3212 (generic_stpcpy): New function.
3213 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
3214 (generic_stpncpy): New function.
3215 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
3216 (generic_strcat): New function.
3217 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
3218 (generic_strcpy): New function.
3219 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
3220 (STUPID_STRNCAT): Remove function.
3221 (generic_strncat): New function.
3222 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
3223 (STUPID_STRNCPY): Remove function.
3224 (generic_strncpy): New function.
3225 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
3226 (generic_strnlen): New function.
3227 (memchr_strnlen): New function.
3228 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
3229 (memchr_strlen): Likewise.
3231 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3233 * benchtests/bench-strstr.c (input): Add realistic input text.
3234 (stupid_strstr): Remove function.
3235 (basic_strstr): Add function.
3236 (twoway_strstr): Add function.
3237 (do_one_test): Add result checking.
3238 (do_test): Use new input text. Remove accidental early matches.
3239 (test_main): Improve range of tests, reduce unaligned cases.
3241 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3243 * benchtests/bench-memmem.c (simple_memmem): Remove function.
3244 (basic_memmem): Add function.
3245 (twoway_memmem): Add function.
3247 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3249 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
3250 * benchtests/bench-malloc-thread.c: Likewise.
3251 * benchtests/bench-skeleton.c: Likewise.
3252 * benchtests/bench-strtod.c: Likewise.
3253 * benchtests/bench-timing.h: Likewise.
3255 2019-04-08 Florian Weimer <fweimer@redhat.com>
3257 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
3259 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3260 RES_INSECURE2 security checks.
3261 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3262 RES_INSECURE2 handling.
3264 2019-04-08 Florian Weimer <fweimer@redhat.com>
3266 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3267 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3268 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3270 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3271 (tests-internal): Update justification for tst-resolv-res_init,
3272 tst-resolv-res_init-thread.
3273 (tst-res_use_inet6): Remove target.
3274 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3275 * resolv/res_debug.c (p_option): Remove "inet6" support.
3276 * resolv/res_init.c (res_setoptions): Likewise.
3277 * resolv/res_use_inet6.h: Remove file.
3278 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3280 (res_use_inet6): Always return false.
3281 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3282 * resolv/resolv_context.h: Adjust file comment.
3283 (struct resolv_context): Update comment on __next field.
3284 (__resolv_context_put): Update comment.
3285 * resolv/tst-res_use_inet6.c: Remove file.
3286 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3288 (test_cases): Adjust test case.
3289 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3290 (thread_byname2_af_inet6): Use old byname_inet6 code.
3291 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3292 (gai): Remove do_inet6 argument.
3293 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3294 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3295 (thread_gai_unspec_inet6): Remove functions.
3296 (do_test): Adjust thread_funcs.
3297 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3299 (gaih_inet): Do not disable RES_USE_INET6 flag.
3301 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3303 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3304 and remove redundant code.
3306 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3308 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3310 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3318 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3319 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3320 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3321 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3322 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3324 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3326 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3329 Remove wcsrchr optimizations.
3330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3332 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3335 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3337 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3338 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3344 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3345 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3346 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3347 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3348 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3349 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3351 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3353 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3356 Remove wcschr optimizations.
3357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3359 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3362 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3364 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3372 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3373 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3374 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3375 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3376 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3378 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3380 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3383 Remove wcscpy optimizations.
3384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3386 * include/loop_unroll.h: New file.
3387 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3388 besides generic implementation.
3390 2019-04-03 DJ Delorie <dj@redhat.com>
3392 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3393 snprintf truncating output.
3395 2019-04-02 DJ Delorie <dj@redhat.com>
3397 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3400 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3403 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3405 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3406 (mkreftable): Add rules for the new Japanese era and the new dates.
3408 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3409 Rafal Luzynski <digitalfreak@lingonborough.com>
3411 * time/tst-strftime2.c (date_t): Explicitly define the type.
3412 (dates): Use natural month and year numbers to express a date.
3413 (is_before): New function to compare dates.
3414 (mkreftable): Minor improvements to simplify maintenance.
3415 (do_test): Reflect the changes in dates array.
3418 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3419 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3420 * time/tst-strftime2.c (locales): Likewise.
3421 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3422 2010-04-01, and 2011-04-01.
3423 (mkreftable): Add rules for the new locales and the new dates.
3425 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3427 * localedata/locales/ja_JP: Add comments to era entries.
3429 2019-04-01 DJ Delorie <dj@redhat.com>
3432 * time/strptime_l.c (%Ey): Fix fencepost error.
3433 * time/tst-strftime3.c: New.
3434 * time/Makefile (tests): Add tst-strftime3.
3436 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3438 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3439 conditional branch to DIVBYZERO. Fix unwind info.
3440 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3441 excb after conditional branch to $powerof2. Add missing unop
3442 instructions and .align directives and reorder instructions to
3445 2019-04-01 Richard Henderson <rth@twiddle.net>
3447 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3449 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3452 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3454 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3455 $libc_cv_riscv_float_abi in `test' invocation.
3456 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3458 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3460 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3462 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3464 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3465 (_GET_SI_FPSCR): Likewise.
3466 (_SET_SI_FPSCR): Likewise.
3468 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3470 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3472 (signbit): Use builtin for clang 3.3.
3473 (isinf): Use builtin for clang 3.7.
3475 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3477 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3479 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3481 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3484 2019-03-25 Mike Crowe <mac@mcrowe.com>
3486 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3487 pthread_rwlock_timedrdlock with calls to
3488 pthread_rwlock_timedwrlock to ensure that the latter is tested
3489 too. Use new function name in diagnostic messages too.
3491 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3492 (do_test) Use libsupport test macros rather than hand-coded
3493 conditionals and error messages. Ensure that sem_init returns zero
3494 rather than not -1. Use <support/test-driver.c> rather than
3497 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3498 test macros rather than hand-coded conditionals and error messages.
3499 Use <support/test-driver.c> rather than test-skeleton.c.
3501 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3503 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3505 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3506 (NT_MIPS_MSA): Likewise.
3508 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3510 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3511 * benchtests/README: Update description.
3512 * benchtests/bench-timing.h: Default to hp-timing.
3513 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3514 HP_TIMING_PRINT): Remove.
3515 (HP_TIMING_NOW): Add generic implementation.
3516 (hp_timing_t): Change to uint64_t.
3518 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3520 * nptl/descr.h: Likewise.
3521 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3522 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3523 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3524 Abstract hp-timing usage with RTLD_* macros.
3525 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3526 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3527 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3528 HP_TIMING_NONAVAIL): Likewise.
3529 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3531 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3532 HP_SMALL_TIMING_AVAIL): Likewise.
3533 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3534 HP_SMALL_TIMING_AVAIL): Likewise.
3535 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3536 HP_SMALL_TIMING_AVAIL): Likewise.
3537 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3538 HP_SMALL_TIMING_AVAIL): Likewise.
3539 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3541 * sysdeps/generic/hp-timing-common.h: Update comment with
3542 HP_TIMING_AVAIL removal.
3544 * include/random-bits.h: New file.
3545 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3546 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3548 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3549 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3552 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3553 * rt/Makefile (clock-routines): Remove get_clockfreq.
3554 * rt/get_clockfreq.c: Remove file.
3555 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3556 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3558 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3559 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3561 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3562 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3563 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3564 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3565 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3567 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3568 pthread_clock_settime.
3569 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3570 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3571 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3572 * elf/rtld.c (_dl_start_final): Likewise.
3573 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3574 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3576 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3577 (_dl_cpuclock_offset): Remove.
3578 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3579 cpuclock_offset_ununsed.
3580 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3581 cpuclock_offset set.
3582 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3583 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3584 * nptl/pthread_clock_gettime.c: Remove file.
3585 * nptl/pthread_clock_settime.c: Likewise.
3586 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3587 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3588 and CLOCK_PROCESS_CPUTIME_ID support.
3589 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3590 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3591 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3592 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3593 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3595 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3597 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3599 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3600 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3601 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3603 * sysdeps/s390/memmem-arch13.S: New file.
3604 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3605 if it is only used as fallback.
3606 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3607 * sysdeps/s390/multiarch/ifunc-impl-list.c
3608 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3610 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3612 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3613 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3614 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3616 * sysdeps/s390/multiarch/ifunc-impl-list.c
3617 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3618 * sysdeps/s390/strstr-arch13.S: New file.
3619 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3620 if it is only used as fallback.
3621 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3623 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3625 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3626 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3627 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3628 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3630 * sysdeps/s390/multiarch/ifunc-impl-list.c
3631 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3632 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3633 S390_IS_ARCH13_MIE3): New defines.
3635 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3637 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3638 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3639 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3640 * sysdeps/s390/configure: Regenerated.
3642 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3644 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3645 Add vxe2, vxp, dflt, sort flags.
3646 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3647 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3649 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3650 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3651 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3652 HWCAP_S390_DFLT): Define.
3654 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3657 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3658 of compiler warning.
3659 * locale/programs/ld-collate.c (collate_output): Likewise.
3661 2019-03-21 DJ Delorie <dj@redhat.com>
3664 * iconv/iconvconfig.c (write_output): Replace floating point math
3665 with integer math to avoid imprecise results.
3666 * locale/programs/ld-collate.c (collate_output): Likewise.
3668 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3670 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3671 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3673 2019-03-20 mansayk <6688000@gmail.com>
3676 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3677 (abday): Likewise, but remove the trailing dots.
3679 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3681 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3683 (HWCAP_PACA): Likewise.
3684 (HWCAP_PACG): Likewise.
3685 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3687 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3689 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3691 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3694 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3696 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3698 (old_getpagesize): New syscall.
3700 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3703 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3704 * localedata/locales/cmn_TW (era): Likewise.
3705 * localedata/locales/hak_TW (era): Likewise.
3706 * localedata/locales/lzh_TW (era): Likewise.
3707 * localedata/locales/nan_TW (era): Likewise.
3709 2019-03-14 Adam Maris <amaris@redhat.com>
3711 * malloc/malloc.c (_int_malloc): Check for large bin list
3712 corruption when inserting unsorted chunk.
3714 2019-03-14 Florian Weimer <fweimer@redhat.com>
3716 Remove obsolete, never-implemented XSI STREAMS declarations.
3717 * manual/terminal.texi (Allocation): Remove portability note and
3719 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3721 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3722 * sysdeps/unix/inet/Subdirs (streams): Remove.
3723 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3724 (conformtest-headers-UNIX98): Likewise.
3725 (conformtest-headers-XOPEN2K): Likewise.
3726 (conformtest-headers-POSIX2008): Likewise.
3727 * posix/compat-streams.c: New file.
3728 * posix/Makefile (routines): Add it.
3729 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3730 getpmsg, isastream, putmsg, putpmsg.
3731 (GLIBC_2.30): New section.
3732 * bits/stropts.h: Remove file.
3733 * bits/xtitypes.h: Likewise.
3734 * conform/data/stropts.h-data: Likewise.
3735 * include/stropts.h: Likewise.
3736 * include/sys/stropts.h: Likewise.
3737 * include/xtitypes.h: Likewise.
3738 * streams/Makefile: Likewise.
3739 * streams/fattach.c: Likewise.
3740 * streams/fdetach.c: Likewise.
3741 * streams/getmsg.c: Likewise.
3742 * streams/getpmsg.c: Likewise.
3743 * streams/isastream.c: Likewise.
3744 * streams/putmsg.c: Likewise.
3745 * streams/putpmsg.c: Likewise.
3746 * streams/stropts.h: Likewise.
3747 * streams/sys/stropts.h: Likewise.
3748 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3749 * sysdeps/s390/bits/xtitypes.h: Likewise.
3750 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3751 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3752 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3753 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3754 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3755 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3756 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3757 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3758 * sysdeps/x86/bits/xtitypes.h: Likewise.
3760 2019-03-14 Florian Weimer <fweimer@redhat.com>
3762 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3764 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3765 but not with libnss_files.
3766 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3768 2019-03-14 Zack Weinberg <zackw@panix.com>
3770 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3771 Specify encoding="utf-8" when opening headers to check.
3773 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3775 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3777 (Context.checkout_tar): Handle variable major version for Linux
3780 2019-03-13 Florian Weimer <fweimer@redhat.com>
3783 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3785 2019-03-13 Zack Weinberg <zackw@panix.com>
3787 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3789 * include/inttypes.h: Adjust to match.
3790 * include/stdint.h: New wrapper.
3792 2019-03-13 Zack Weinberg <zackw@panix.com>
3794 * scripts/check-obsolete-constructs.py: New test script.
3795 * scripts/check-installed-headers.sh: Remove tests for
3796 obsolete typedefs, superseded by check-obsolete-constructs.py.
3797 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3798 as a special test. Update commentary.
3799 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3800 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3802 * posix/sys/types.h (__u_intN_t): Remove.
3803 (u_int8_t): Typedef using __uint8_t.
3804 (u_int16_t): Typedef using __uint16_t.
3805 (u_int32_t): Typedef using __uint32_t.
3806 (u_int64_t): Typedef using __uint64_t.
3808 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3810 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3812 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3813 Ignore types other than AT_HWCAP.
3814 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3815 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3817 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3818 in the case of falling back to generic output mechanism.
3819 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3822 2019-03-12 Florian Weimer <fweimer@redhat.com>
3824 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3826 2019-03-12 Florian Weimer <fweimer@redhat.com>
3829 resolv: Enable full ICMP errors for UDP DNS sockets
3830 * resolv/res_enable_icmp.c: New file.
3831 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3832 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3833 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3836 2019-03-11 Mao Han <han_mao@c-sky.com>
3838 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3839 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3841 2019-03-11 Mao Han <han_mao@c-sky.com>
3843 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3844 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3845 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3847 2019-03-11 Mao Han <han_mao@c-sky.com>
3849 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3851 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3854 2019-03-11 Mao Han <han_mao@c-sky.com>
3856 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3857 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3860 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3863 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3864 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3866 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3867 * localedata/unicode-gen/PropList.txt: Likewise.
3868 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3869 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3870 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3871 * localedata/charmaps/UTF-8: Regenerate.
3872 * localedata/locales/i18n_ctype: Likewise.
3873 * localedata/locales/tr_TR: Likewise.
3874 * localedata/locales/translit_circle: Likewise.
3875 * localedata/locales/translit_cjk_compat: Likewise.
3876 * localedata/locales/translit_combining: Likewise.
3877 * localedata/locales/translit_compat: Likewise.
3878 * localedata/locales/translit_font: Likewise.
3879 * localedata/locales/translit_fraction: Likewise.
3881 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3883 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3884 than after operators.
3885 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3886 (setitimer_locked): Likewise.
3887 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3888 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3889 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3890 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3891 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3892 (PPC_CPU_SUPPORTED): Likewise.
3893 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3894 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3895 (stat_overflow): Likewise.
3896 (statfs_overflow): Likewise.
3897 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3898 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3899 (eq_ttyname_r): Likewise.
3900 (run_chroot_tests): Likewise.
3902 2019-03-07 Florian Weimer <fweimer@redhat.com>
3904 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3907 2019-03-07 Martin Liska <mliska@suse.cz>
3909 * math/Makefile: Change location where math-vector-fortran.h is
3911 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3912 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3913 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3914 * scripts/check-installed-headers.sh: Skip Fortran header files.
3915 * scripts/check-wrapper-headers.py: Likewise.
3917 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3919 * nptl/nptl-init.c (__have_futex_clock_realtime,
3920 __have_futex_clock_realtime): Remove definition.
3921 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3922 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3923 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3924 __ASSUME_FUTEX_CLOCK_REALTIME support.
3925 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3926 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3927 * sysdeps/unix/sysv/linux/kernel-features.h
3928 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3929 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3932 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3934 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3935 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3936 __GI___wcscpy and wcscpy.
3938 2019-03-04 Florian Weimer <fweimer@redhat.com>
3940 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3942 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3945 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3947 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3948 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3950 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3953 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3954 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3956 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3958 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3960 (do_test): Likewise.
3961 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3962 (do_test_call_varg): Likewise.
3963 (do_test_call_rarg): Likewise.
3964 * sysdeps/ieee754/ldbl-opt/Makefile
3965 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3967 ($(objpfx)tst-nldbl-warn.c): New rule.
3968 ($(objpfx)tst-nldbl-error.c): Likewise.
3969 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3972 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3975 * include/bits/error-ldbl.h: New file.
3976 * include/error.h: Include stdarg.h. Declare internal functions
3977 __error_internal and __error_at_line_internal.
3978 * misc/Makefile (headers): Add bits/error-ldbl.h.
3979 * misc/bits/error-ldbl.h: New file.
3980 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3981 avoid the inclusion of bits/error.h.
3982 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3983 and __nldbl_error_at_line.
3984 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3985 (__nldbl_error, __ndlbl_error_at_line): New functions.
3986 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3987 Redirect error and error_at_line.
3988 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3997 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3998 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4001 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4004 * include/bits/err-ldbl.h: New file.
4005 * include/err.h: Add prototypes for the internal functions:
4006 __vwarnx_internal and __vwarn_internal.
4007 * misc/Makefile (headers): Add bits/err-ldbl.h.
4008 * misc/bits/err-ldbl.h: New file.
4009 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4010 defined, i.e.: when -mlong-double-64 is in use.
4011 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4012 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4013 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4014 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4015 (VA_CALL): New macro.
4016 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4017 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4019 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4020 declare prototypes for the new functions.
4021 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4030 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4031 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4034 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4036 * sysdeps/ieee754/ldbl-opt/Makefile
4037 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4038 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4039 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
4041 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4044 * argp/Makefile (headers): Add bits/argp-ldbl.h.
4045 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
4046 * argp/bits/argp-ldbl.h: New file.
4047 * include/argp.h: Include stdarg.h. Add prototypes for internal
4048 functions: __argp_error_internal and __argp_failure_internal.
4049 * include/bits/argp-ldbl.h: New file.
4050 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
4051 __nldbl_argp_error and __nldbl_argp_failure.
4052 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
4053 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
4054 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
4055 Redirect argp_error and argp_failure calls.
4056 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4065 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4066 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4069 2019-03-01 Florian Weimer <fweimer@redhat.com>
4072 * elf/tst-big-note-lib.S: Create a syntactically valid note.
4073 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
4074 code, to avoid creating an ABI tag note.
4075 (modules-names-nobuild): Add tst-big-note-lib.
4077 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
4079 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
4080 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
4082 2019-03-01 Florian Weimer <fweimer@redhat.com>
4085 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4086 (__netlink_assert_response): Add additional missing newlines.
4088 2019-02-28 Joseph Myers <joseph@codesourcery.com>
4090 * sysdeps/powerpc/powerpc32/dl-machine.c
4091 (__elf_machine_fixup_plt): Use space before '('.
4092 (__process_machine_rela): Likewise.
4093 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
4095 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
4097 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
4099 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
4100 (pattern): Likewise.
4102 (check_result): Likewise.
4103 (check_excepts): Likewise.
4104 (check_op): Likewise.
4105 (fail_xr): Likewise.
4106 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
4107 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
4109 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
4112 (__makecontext): Likewise.
4113 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
4116 2019-02-28 Florian Weimer <fweimer@redhat.com>
4119 elf: Add test with a local IFUNC resolver.
4120 * elf/ifuncmain9.c: New file.
4121 * elf/ifuncmain9pic.c: Likewise.
4122 * elf/ifuncmain9picstatic.c: Likewise.
4123 * elf/ifuncmain9pie.c: Likewise.
4124 * elf/ifuncmain9static.c: Likewise.
4125 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
4126 ifuncmain9static, ifuncmain9picstatic.
4127 * elf/Makefile [multi-arch && build-shared] (tests-internal):
4128 Add ifuncmain9, ifuncmain9pic.
4129 * elf/Makefile [multi-arch && build-shared && have-fpie]
4130 (ifunc-pie-tests): Add ifuncmain9pie.
4131 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
4132 (CFLAGS-ifuncmain9picstatic.c): Likewise.
4133 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
4135 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
4137 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
4138 * configure: Regenerated.
4139 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
4141 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
4144 symbol as __wcspcy instead of wcscpy.
4146 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4148 * include/stdio.h (__renameat2): New hidden prototype.
4149 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
4150 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
4151 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
4152 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
4154 2019-02-27 Joseph Myers <joseph@codesourcery.com>
4156 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
4159 * benchtests/bench-strcpy.c (do_test): Use space before '('.
4160 * benchtests/bench-string.h (cmdline_process_function): Likewise.
4161 * benchtests/bench-strlen.c (do_test): Likewise.
4162 (test_main): Likewise.
4163 * catgets/gencat.c (read_old): Likewise.
4164 * elf/cache.c (load_aux_cache): Likewise.
4165 * iconvdata/bug-iconv8.c (do_test): Likewise.
4166 * math/test-tgmath-ret.c (do_test): Likewise.
4167 * nis/nis_call.c (rec_dirsearch): Likewise.
4168 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4169 * nptl/tst-audit-threads.c (do_test): Likewise.
4170 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
4171 * nss/nss_test1.c (init): Likewise.
4172 * nss/test-netdb.c (test_hosts): Likewise.
4173 * posix/execvpe.c (maybe_script_execute): Likewise.
4174 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
4175 * stdio-common/tst-printf.c (do_test): Likewise.
4176 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
4177 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
4178 * stdlib/qsort.c (STACK_SIZE): Likewise.
4179 * stdlib/test-canon.c (do_test): Likewise.
4180 * stdlib/tst-swapcontext1.c (do_test): Likewise.
4181 * string/memcmp.c (OPSIZ): Likewise.
4182 * string/test-strcpy.c (do_test): Likewise.
4183 (do_random_tests): Likewise.
4184 * string/test-strlen.c (do_test): Likewise.
4185 (test_main): Likewise.
4186 * string/test-strrchr.c (do_test): Likewise.
4187 (do_random_tests): Likewise.
4188 * string/tester.c (test_memrchr): Likewise.
4189 (test_memchr): Likewise.
4190 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
4191 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
4192 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
4193 (read_encoded_value_with_base): Likewise.
4194 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
4195 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
4196 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
4197 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4198 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
4199 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
4201 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
4203 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
4204 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
4205 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
4207 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
4209 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
4211 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4213 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
4214 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4215 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4216 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
4217 * time/test_time.c (main): Likewise.
4219 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4221 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
4223 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
4226 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
4229 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4231 * include/wchar.h (__wcscpy): New prototype.
4232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
4233 (__wcscpy): Route internal symbol to generic implementation.
4234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
4235 Add internal __wcscpy alias.
4236 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
4237 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
4238 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
4239 * wcsmbs/wcscpy.c (wcscpy): Add
4240 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
4241 use generic implementation.
4242 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
4244 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
4247 * sysdeps/m68k/wcpcpy.c: Remove file.
4248 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4250 2019-02-26 Joseph Myers <joseph@codesourcery.com>
4252 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
4253 than after operators.
4254 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4255 * sysdeps/mach/hurd/getcwd.c
4256 (__hurd_canonicalize_directory_name_internal): Likewise.
4257 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
4258 (pthread_mutex_consistent): Likewise.
4259 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4261 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4262 (__pthread_mutex_transfer_np): Likewise.
4263 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4264 (__pthread_mutex_unlock): Likewise.
4265 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4266 (mtx_owned_p): Likewise.
4267 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4268 (pthread_mutexattr_getrobust): Likewise.
4269 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4270 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4272 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4273 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4274 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4275 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4276 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4278 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4280 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4282 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4283 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4284 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4285 (____longjmp_chk): Likewise.
4286 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4289 (INTERNAL_SYSCALL): Likewise.
4290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4291 (INTERNAL_SYSCALL): Likewise.
4292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4293 (__get_clockfreq_via_cpuinfo): Likewise.
4295 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4297 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4298 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4299 (WORD_COPY_BWD): Likewise.
4300 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4303 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4304 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4306 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4308 2019-02-25 Joseph Myers <joseph@codesourcery.com>
4310 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4311 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4312 rather than after operators.
4313 * elf/cache.c (print_cache): Likewise.
4314 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4315 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4316 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4317 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4318 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4319 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4320 (reauth_proc): Likewise.
4321 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4322 (__file_name_split_at): Likewise.
4323 (__directory_name_split_at): Likewise.
4324 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4325 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4326 * iconv/gconv_dl.c (do_print): Likewise.
4327 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4328 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4329 * locale/setlocale.c (new_composite_name): Likewise.
4330 * malloc/memusagestat.c (main): Likewise.
4331 * misc/fstab.c (fstab_convert): Likewise.
4332 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4334 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4335 (getgrent_next_file): Likewise.
4336 (internal_getgrnam_r): Likewise.
4337 (internal_getgrgid_r): Likewise.
4338 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4340 (internal_getgrent_r): Likewise.
4341 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4342 (getpwent_next_nss): Likewise.
4343 (getpwent_next_file): Likewise.
4344 (internal_getpwnam_r): Likewise.
4345 (internal_getpwuid_r): Likewise.
4346 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4348 (getspent_next_nss): Likewise.
4349 (internal_getspnam_r): Likewise.
4350 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4351 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4352 * string/strchr.c (STRCHR): Likewise.
4353 * string/strchrnul.c (STRCHRNUL): Likewise.
4354 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4355 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4356 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4357 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4358 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4360 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4361 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4362 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4363 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4364 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4365 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4366 (open_file): Likewise.
4367 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4368 (pthread_mutexattr_setprotocol): Likewise.
4369 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4370 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4371 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4372 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4373 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4375 (elf_machine_rela): Likewise.
4376 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4377 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4378 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4379 * sysdeps/posix/rename.c (rename): Likewise.
4380 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4381 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4382 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4383 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4384 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4385 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4386 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4388 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4390 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4391 * time/tzfile.c (__tzfile_compute): Likewise.
4393 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4395 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4396 rather than after operators.
4397 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4398 * crypt/md5.c (md5_finish_ctx): Likewise.
4399 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4400 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4401 * elf/cache.c (load_aux_cache): Likewise.
4402 * elf/dl-load.c (open_verify): Likewise.
4403 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4404 * elf/readelflib.c (process_elf_file): Likewise.
4405 * elf/rtld.c (dl_main): Likewise.
4406 * elf/sprof.c (generate_call_graph): Likewise.
4407 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4408 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4409 * hurd/dtable.c (reauth_dtable): Likewise.
4410 * hurd/getdport.c (__getdport): Likewise.
4411 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4412 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4413 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4415 * hurd/hurdioctl.c (fioctl): Likewise.
4416 * hurd/hurdselect.c (_hurd_select): Likewise.
4417 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4418 (STOPSIGS): Likewise.
4419 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4420 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4421 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4422 * hurd/msgportdemux.c (msgport_server): Likewise.
4423 * hurd/setauth.c (_hurd_setauth): Likewise.
4424 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4425 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4426 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4427 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4428 * login/tst-utmp.c (do_check): Likewise.
4429 (simulate_login): Likewise.
4430 * mach/lowlevellock.h (lll_lock): Likewise.
4431 (lll_trylock): Likewise.
4432 * math/test-fenv.c (ALL_EXC): Likewise.
4433 * math/test-fenvinline.c (ALL_EXC): Likewise.
4434 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4435 * nis/nis_call.c (__do_niscall3): Likewise.
4436 * nis/nis_callback.c (cb_prog_1): Likewise.
4437 * nis/nis_defaults.c (searchaccess): Likewise.
4438 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4439 * nis/nis_ismember.c (internal_ismember): Likewise.
4440 * nis/nis_local_names.c (nis_local_principal): Likewise.
4441 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4442 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4444 * nis/ypclnt.c (yp_match): Likewise.
4445 (yp_first): Likewise.
4446 (yp_next): Likewise.
4447 (yp_master): Likewise.
4448 (yp_order): Likewise.
4449 * nscd/hstcache.c (cache_addhst): Likewise.
4450 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4451 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4452 (internal_getpwuid_r): Likewise.
4453 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4454 * posix/glob.h (__GLOB_FLAGS): Likewise.
4455 * posix/regcomp.c (peek_token): Likewise.
4456 (peek_token_bracket): Likewise.
4457 (parse_expression): Likewise.
4458 * posix/regexec.c (sift_states_iter_mb): Likewise.
4459 (check_node_accept_bytes): Likewise.
4460 * posix/tst-spawn3.c (do_test): Likewise.
4461 * posix/wordexp-test.c (testit): Likewise.
4462 * posix/wordexp.c (parse_tilde): Likewise.
4463 (exec_comm): Likewise.
4464 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4465 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4466 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4467 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4468 * stdio-common/tst-fileno.c (do_test): Likewise.
4469 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4470 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4471 * stdlib/strtod_l.c (round_and_return): Likewise.
4472 (____STRTOF_INTERNAL): Likewise.
4473 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4474 * string/strcspn.c (STRCSPN): Likewise.
4475 * string/test-memmem.c (simple_memmem): Likewise.
4476 * termios/tcsetattr.c (tcsetattr): Likewise.
4477 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4478 * time/asctime.c (asctime_internal): Likewise.
4479 * time/strptime_l.c (__strptime_internal): Likewise.
4480 * time/sys/time.h (timercmp): Likewise.
4481 * time/tzfile.c (__tzfile_compute): Likewise.
4483 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4486 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4488 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4490 * argp/argp-help.c (__argp_error_internal): New function,
4491 renamed from __argp_error, but that takes a 'mode_flags'
4492 parameter to control the format of long double parameters.
4493 (__argp_error): Converted into a call __argp_error_internal.
4494 (__argp_failure_internal): New function, renamed from
4495 __argp_failure, but that takes a 'mode_flags' parameter.
4496 (__argp_failure): Converted into a call __argp_failure_internal.
4497 * misc/err.c (__vwarnx_internal): New function, renamed from
4498 vwarnx, but that takes a 'mode_flags' parameter.
4499 (vwarnx): Converted into a call to __vwarnx_internal.
4500 (__vwarn_internal): New function, renamed from vwarn, but that
4501 takes a 'mode_flags' parameter.
4502 (vwarn): Converted into a call to __vwarn_internal.
4503 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4504 call to __vfxprintf with 'mode_flags'.
4505 (__error_internal): New function, renamed from error, but that
4506 takes a 'mode_flags' parameter.
4507 (error): Converted into a call to __error_internal.
4508 (__error_at_line_internal): New function, renamed from
4509 error_at_line, but that takes a 'mode_flags' parameter.
4510 (error_at_line): Converted into a call to
4511 __error_at_line_internal.
4512 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4513 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4516 2019-02-20 Martin Liska <mliska@suse.cz>
4518 * math/Makefile: Install math-vector-fortran.h.
4519 * bits/math-vector-fortran.h: New file.
4520 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4522 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4524 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4525 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4527 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4529 * nptl/pthread_mutex_trylock.c: Fix comment.
4531 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4533 * nptl/pthread_tryjoin.c: Fix comment.
4535 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4538 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4539 after R_SPARC_H34 case.
4541 2019-02-18 Florian Weimer <fweimer@redhat.com>
4543 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4544 (getanswer): Do not call Dprintf.
4545 (res_gethostbyname2_context): Likewise.
4546 (res_gethostbyaddr_context): Likewise.
4548 2019-02-18 Florian Weimer <fweimer@redhat.com>
4550 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4552 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4554 * libio/stdfiles.c: Update comment.
4555 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4556 set _IO_stdin, _IO_stdout, _IO_stderr.
4557 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4558 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4560 (_IO_deallocate_file): New inline function.
4561 * libio/iolibio.h (_IO_vprintf): Remove definition.
4562 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4563 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4564 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4566 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4567 __builtin_expect. Use _IO_legacy_file.
4569 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4571 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4572 Initialize ctid with a known value and remove update of ctid
4574 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4575 as assumed current value of ctid_ptr.
4577 2019-02-16 Florian Weimer <fweimer@redhat.com>
4579 Check that non-sysdeps headers have wrapper headers.
4580 * scripts/check-wrapper-headers.py: New file.
4581 * Makefile (tests-special): Add check-wrapper-headers.out.
4582 (check-wrapper-headers.out): New target.
4583 * Rules (tests-special): Add check-wrapper-headers.out.
4584 (check-wrapper-headers.out): New target.
4586 2019-02-16 Florian Weimer <fweimer@redhat.com>
4588 Add missing header wrappers under include/.
4589 * include/ar.h: New file.
4590 * include/bits/mqueue2.h: Likewise.
4591 * include/bits/stdio.h: Likewise.
4592 * include/bits/stdio2.h: Likewise.
4593 * include/fstab.h: Likewise.
4594 * include/fts.h: Likewise.
4595 * include/lastlog.h: Likewise.
4596 * include/netinet/icmp6.h: Likewise.
4597 * include/netinet/igmp.h: Likewise.
4598 * include/netinet/ip6.h: Likewise.
4599 * include/re_comp.h: Likewise.
4600 * include/regexp.h: Likewise.
4601 * include/rpcsvc/bootparam.h: Likewise.
4602 * include/rpcsvc/yp_prot.h: Likewise.
4603 * include/sys/random.h: Likewise.
4604 * include/sys/stropts.h: Likewise.
4605 * include/sys/ttychars.h: Likewise.
4606 * include/sys/vfs.h: Likewise.
4607 * include/wait.h: Likewise.
4609 2019-02-16 Florian Weimer <fweimer@redhat.com>
4611 * nptl_db/proc_service.h: Move to ...
4612 * sysdeps/nptl/proc_service.h: ... here.
4613 * nptl_db/thread_db.h: Move to ...
4614 * sysdeps/nptl/thread_db.h: ... here.
4615 * nptl/descr.h: Include <thread_db.h>.
4617 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4619 * io/Makefile (tests): Add tst-lockf.
4620 * io/lockf.c (lockf): Use __fcntl and only define for
4621 !__OFF_T_MATCHES_OFF64_T.
4622 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4623 __OFF_T_MATCHES_OFF64_T case.
4624 * io/tst-lockf.c: New file.
4625 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4626 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4627 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4628 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4629 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4632 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4633 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4635 2019-02-15 Florian Weimer <fweimer@redhat.com>
4638 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4639 pd->result after the thread descriptor has been freed.
4641 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4643 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4644 from function return type.
4646 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4648 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4650 * scripts/test_printers_common.py: Set TERM to a known harmless
4653 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4655 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4656 (xdr_u_int): Likewise.
4657 (xdr_enum): Likewise.
4658 (xdr_bytes): Reword fall-through comment.
4659 (xdr_string): Likewise.
4661 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4664 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4665 (tests): Add tst-join8 tst-join9.
4666 * nptl/lll_timedwait_tid.c: Remove file.
4667 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4668 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4669 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4670 * nptl/pthread_join_common.c (timedwait_tid): New function.
4671 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4673 * nptl/tst-join5.c (thread_join): New function.
4674 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4676 * nptl/tst-join8.c: New file.
4677 * nptl/tst-join9.c: Likewise.
4678 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4679 lll_futex_timed_wait_cancel): Add generic macros.
4680 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4682 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4684 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4685 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4687 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4689 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4690 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4691 (lll_futex_timed_wait_cancel): New macro.
4693 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4695 * benchtests/Makefile: Add malloc-simple benchmark.
4696 * benchtests/bench-malloc-simple.c: New benchmark.
4698 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4700 * benchtests/bench-memmove.c (do_one_test): Remove unused
4703 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4707 2019-01-13 Jim Wilson <jimw@sifive.com>
4710 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4711 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4713 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4715 * nptl/Makefile (tests): Add tst-unwind-thread.
4716 (CFLAGS-tst-unwind-thread.c): Define.
4717 * nptl/tst-unwind-thread.c: New file.
4718 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4721 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4723 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4725 * nis/nis_call.c (__do_niscall3): Likewise.
4727 * catgets/gencat.c (normalize_line): Use braces around empty
4729 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4730 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4731 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4732 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4733 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4734 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4735 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4738 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4741 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4743 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4744 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4745 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4746 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4747 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4748 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4749 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4750 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4751 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4752 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4753 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4754 * benchtests/bench-bcopy.c: Delete file.
4755 * benchtests/bench-bzero.c: Likewise.
4756 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4757 (simple_memccpy): Remove.
4758 (generic_memccpy): Add function.
4759 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4760 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4761 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4762 (generic_mempcpy): Add new function.
4763 * benchtests/bench-memset.c (simple_bzero): Remove.
4764 (builtin_bzero): Remove.
4765 (builtin_memset): Remove.
4766 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4767 (generic_rawmemchr): Add new function.
4769 2019-02-12 Florian Weimer <fweimer@redhat.com>
4771 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4773 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4776 * elf/Makefile (tests): Add tst-audit13.
4777 (modules-names): Add tst-audit13mod1.
4778 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4780 * elf/tst-audit13.c: New file.
4781 * elf/tst-audit13mod1.c: Likewise.
4783 2019-02-12 Florian Weimer <fweimer@redhat.com>
4786 * elf/rtld.c (unload_audit_module): New function.
4787 (report_audit_module_load_error): Likewise.
4788 (load_audit_module): Likewise. Extracted from dl_main. Call
4789 _dl_close if the laversion symbol cannot be found. Use early
4790 returns for error handling. Add malloc error check. Check for a
4791 zero return value from la_version. Remove spurious comment about
4792 static TLS initialization. Remove useless casts.
4793 (notify_audit_modules_of_loaded_object): New function. Extracted
4795 (load_audit_module): Likewise.
4796 (dl_main): Call load_audit_modules.
4798 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4800 * elf/dl-exception.c (_dl_exception_create_format): Add
4801 fall-through comments.
4802 * elf/ldconfig.c (parse_conf_include): Likewise.
4803 * elf/rtld.c (print_statistics): Likewise.
4804 * locale/programs/charmap.c (parse_charmap): Likewise.
4805 * misc/mntent_r.c (__getmntent_r): Likewise.
4806 * posix/wordexp.c (parse_arith): Likewise.
4807 (parse_backtick): Likewise.
4808 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4809 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4810 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4812 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4814 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4815 Use float instead of double.
4817 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4819 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4821 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4823 * sysdeps/powerpc/bits/mathinline.h: Remove.
4825 2019-02-08 Florian Weimer <fweimer@redhat.com>
4827 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4828 * math/bits/math-finite.h: Move to ...
4829 * bits/math-finite.h: ... here.
4831 2019-02-08 Florian Weimer <fweimer@redhat.com>
4833 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4834 * bits/unistd_ext.h: here.
4836 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4839 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4840 * nss/tst-nss-files-hosts-long.c: New file.
4841 * nss/tst-nss-files-hosts-long.root: New directory.
4842 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4843 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4845 2019-02-08 Florian Weimer <fweimer@redhat.com>
4847 * include/bits/unistd_ext.h: Remove file.
4848 * posix/bits/unistd_ext.h: Move to ...
4849 * sysdeps/generic/bits/unistd_ext.h: ... here.
4851 2019-02-08 Florian Weimer <fweimer@redhat.com>
4853 * include/bits/unistd_ext.h: New file.
4855 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4857 * time/tst-strftime2.c: Use array_length macros instead of magic
4860 2019-02-08 Florian Weimer <fweimer@redhat.com>
4863 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4865 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4866 locking if the new do_locking argument is true.
4867 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4868 __run_fork_handlers.
4870 2019-02-08 Florian Weimer <fweimer@redhat.com>
4873 Linux: Add gettid system call wrapper.
4874 * posix/Makefile (headers): Add bits/unistd_ext.h.
4875 * posix/bits/unistd_ext.h: New file.
4876 * posix/unistd.h: Include it.
4877 * manual/process.texi (Process Identification): Document gettid.
4878 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4879 tst-gettid, tst-gettid-kill.
4880 (tst-gettid): Link with $(shared-thread-library).
4881 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4882 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4883 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4884 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4885 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4886 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4888 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4890 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4891 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4893 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4895 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4897 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4899 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4901 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4903 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4905 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4906 (GLIBC_2.30): Likewise.
4907 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4908 (GLIBC_2.30): Likewise.
4909 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4910 (GLIBC_2.30): Likewise.
4911 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4912 (GLIBC_2.30): Likewise.
4913 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4916 (GLIBC_2.30): Likewise.
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4918 (GLIBC_2.30): Likewise.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4920 (GLIBC_2.30): Likewise.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4922 (GLIBC_2.30): Likewise.
4923 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4925 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4927 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4929 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4932 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4934 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4936 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4938 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4940 2019-02-08 Florian Weimer <fweimer@redhat.com>
4942 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4943 compatibility symbols.
4945 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4948 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4949 Add compiler barriers and comments.
4951 2019-02-07 Florian Weimer <fweimer@redhat.com>
4953 * include/array_length.h (array_length): Do not use a statement
4954 expression and _Static_assert, so that array_length can be used at
4955 file scope and as a constant expression.
4957 2019-02-07 Florian Weimer <fweimer@redhat.com>
4959 * support/xdlfcn.h (xdlmopen): Declare.
4960 * support/xdlmopen.c: New file.
4961 * support/Makefile (libsupport-routines): Add xdlmopen.
4963 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4965 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4966 before return type, without separate inline.
4967 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4968 * elf/dl-tunables.h (tunable_is_name): Likewise.
4969 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4970 (do_set_top_pad): Likewise.
4971 (do_set_mmap_threshold): Likewise.
4972 (do_set_mmaps_max): Likewise.
4973 (do_set_mallopt_check): Likewise.
4974 (do_set_perturb_byte): Likewise.
4975 (do_set_arena_test): Likewise.
4976 (do_set_arena_max): Likewise.
4977 (do_set_tcache_max): Likewise.
4978 (do_set_tcache_count): Likewise.
4979 (do_set_tcache_unsorted_limit): Likewise.
4980 * nis/nis_subr.c (count_dots): Likewise.
4981 * nptl/allocatestack.c (advise_stack_range): Likewise.
4982 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4984 (reduce_sincos): Likewise.
4985 (do_sincos): Likewise.
4986 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4987 (do_set_elision_enable): Likewise.
4988 (TUNABLE_CALLBACK_FNDECL): Likewise.
4990 2019-02-06 Florian Weimer <fweimer@redhat.com>
4992 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4993 (xdlsym): Use dlerror to detect a NULL symbol.
4995 2019-02-06 Florian Weimer <fweimer@redhat.com>
4997 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4999 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5001 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5003 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5005 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5007 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5008 __wmemcmp and weak alias to wmemcmp.
5010 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5013 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5014 TLS_TCB_AT_TP tls variant.
5015 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5016 Add alignment checks.
5017 * support/Makefile (libsupport-routines): Add xposix_memalign and
5019 * support/support.h: Add xposix_memalign.
5020 * support/xthread.h: Add xpthread_attr_setstack.
5021 * support/xposix_memalign.c: New File.
5022 * support/xpthread_attr_setstack.c: Likewise.
5024 2019-02-05 Florian Weimer <fweimer@redhat.com>
5027 arm: Use "nr" constraint for Systemtap probes, to avoid the
5028 compiler using memory operands for constants, due to the "o"
5029 alternative in the default "nor" constraint.
5030 * include/stap-probe.h [USE_STAP_PROBE]: Include
5031 <stap-probe-machine.h>
5032 * sysdeps/generic/stap-probe-machine.h: New file.
5033 * sysdeps/arm/stap-probe-machine.h: Likewise.
5035 2019-02-04 Joseph Myers <joseph@codesourcery.com>
5037 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5038 with 0, not tcache->entries[tc_idx].
5040 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
5043 2019-02-04 Andreas Schwab <schwab@suse.de>
5047 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
5048 looking up collating elements match against (wide) character
5049 sequence instead of name. Correct alignment adjustment.
5050 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
5051 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
5052 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
5053 (LOCALES): Add cs_CZ.ISO-8859-2.
5054 * posix/tst-fnmatch4.c: New file.
5055 * posix/tst-fnmatch5.c: New file.
5056 * include/wchar.h (__wmemcmp): Declare.
5057 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
5058 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5059 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
5060 * sysdeps/s390/wmemcmp.c: Likewise.
5062 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5066 * NEWS: Updated for CVE-2019-7309.
5067 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
5068 upper 32 bits of RDX register for x32. Use unsigned Jcc
5069 instructions, instead of signed.
5070 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
5071 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
5073 2019-02-04 Florian Weimer <fweimer@redhat.com>
5075 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
5076 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
5077 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
5079 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
5080 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
5081 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
5082 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
5084 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
5086 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
5088 (posix_spawn_file_actions_addopen): Likewise.
5089 (posix_spawn_file_actions_addclose): Likewise.
5090 (posix_spawn_file_actions_adddup2): Likewise.
5091 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
5093 (posix_spawn_file_actions_addfchdir_np): Likewise.
5095 2019-02-04 David Newall <glibc@davidnewall.com>
5097 elf: Implement --preload option for the dynamic linker.
5098 * elf/rtld.c (preloadarg): New variable.
5099 (handle_preload_list): Pass through “where” argument to
5101 (dl_main): Handle "--preload" and add second call to
5102 handle_preload_list.
5103 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
5104 (tst-rtld-preload-OBJS): Set variable.
5105 (tst-rtld-preload.out): New target.
5106 * elf/tst-rtld-preload.sh: New file.
5108 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
5110 * Makefile (testrun.sh): Exit in case of incorrect argument.
5112 2019-02-04 Florian Weimer <fweimer@redhat.com>
5114 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
5117 2019-02-03 Florian Weimer <fweimer@redhat.com>
5119 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
5120 implicit overflow checks.
5122 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
5124 * stdlib/isomac.c: Include <unistd.h>.
5126 2019-02-03 Florian Weimer <fweimer@redhat.com>
5128 * include/time.h (__tzfile_default): Use int, not long int, for
5130 * time/tzfile.c (struct ttinfo): Change type of the offset member
5132 (__tzfile_read): Remove useless cast.
5133 (__tzfile_default): Adjust prototype.
5134 * time/tzset.c (tz_rule): Change type of the offset member to int.
5135 (parse_offset): Change the type of the sign variable to int.
5137 2019-02-03 Florian Weimer <fweimer@redhat.com>
5140 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
5141 * libio/getchar.c (getchar): Likewise.
5142 * libio/getchar_u.c (getchar_unlocked): Likewise.
5143 * libio/getwchar.c (getwchar): Likewise.
5144 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5145 * libio/iogets.c (_IO_gets): Likewise.
5146 * libio/vscanf.c (_IO_vscanf): Likewise.
5147 * libio/vwscanf.c (__vwscanf): Likewise.
5148 * libio/tst-bz24153.c: New file.
5149 * libio/Makefile (tests): Add it.
5151 2019-02-02 Florian Weimer <fweimer@redhat.com>
5154 * manual/resource.texi (Basic Scheduling Functions): Add
5155 portability note. Change process to task throughout the section.
5156 Remove incorrect comment about sched_yield as it affects
5157 tasks/threads, not entire processes.
5158 * sysdeps/unix/sysv/linux/bits/posix_opt.h
5159 (_POSIX_PRIORITY_SCHEDULING): Update comment.
5161 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5163 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
5164 * configure: Regenerated.
5165 * manual/install.texi (Tools for Compilation): Update minimum GCC
5167 * INSTALL: Regenerated.
5169 2019-02-01 Florian Weimer <fweimer@redhat.com>
5171 * support/support_test_compare_string.c
5172 (support_test_compare_string): Use "string" in error message.
5173 * support/tst-test_compare_string.c (do_test): Adjust.
5175 2019-02-01 Florian Weimer <fweimer@redhat.com>
5177 * support/support_format_address_family.c
5178 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
5180 2019-02-01 Florian Weimer <fweimer@redhat.com>
5182 * manual/socket.texi (Internet Address Formats): Clarify the byte
5183 order of struct sockaddr_in, struct sockaddr_in6. Document
5184 sin6_flowinfo and sin6_scope_id.
5186 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
5188 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
5189 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
5190 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
5191 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
5192 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
5193 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
5195 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5197 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
5198 [!MEMCHR](MEMCHR): Set to __memchr.
5199 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5200 Add memchr_generic and memchr_nosimd.
5201 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5202 (__libc_ifunc_impl_list): Add memchr ifuncs.
5203 * sysdeps/aarch64/multiarch/memchr.c: New file.
5204 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
5205 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
5207 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5209 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5211 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5212 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
5213 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
5214 Add IS_EMAG check for ifunc dispatch.
5215 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
5216 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
5218 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5220 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
5221 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5223 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
5226 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
5228 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
5230 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
5232 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
5233 syscall-template file.
5235 2019-01-31 Carlos O'Donell <carlos@redhat.com>
5236 Torvald Riegel <triegel@redhat.com>
5237 Rik Prohaska <prohaska7@gmail.com>
5240 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
5241 tst-rwlock-trywrlock-stall.
5242 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5243 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
5244 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
5245 Set __wrphase_fute to 1 only if we started the write phase.
5246 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
5247 * nptl/tst-rwlock-trywrlock-stall.c: New file.
5248 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
5249 * support/xpthread_rwlock_destroy.c: New file.
5250 * support/xthread.h: Declare xpthread_rwlock_destroy.
5252 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5254 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5257 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5260 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5261 * libio/fileops.c (_IO_new_file_underflow): Likewise
5262 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5263 * libio/putchar.c (putchar): Likewise.
5264 * libio/putchar_u.c (putchar_unlocked): Likewise.
5265 * libio/putwchar.c (putchar): Likewise.
5266 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5267 * libio/tst-bz24051.c: New test.
5268 * libio/Makefile (tests): Add tst-bz24051
5270 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5273 regex: fix read overrun [BZ #24114]
5274 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5275 https://debbugs.gnu.org/34140
5276 * posix/regexec.c (proceed_next_node):
5277 Do not read past end of input buffer.
5279 2019-01-31 Florian Weimer <fweimer@redhat.com>
5282 * nss/nss_files/files-alias.c (get_next_alias): Handle
5283 continuation line without newline at the end.
5284 * nss/tst-nss-files-alias-truncated.c: New file.
5285 * nss/Makefile [$(build-shared)] (tests): Add
5286 tst-nss-files-alias-truncated.
5287 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5288 * support/namespace.h (struct support_chroot_configuration): Add
5290 (struct support_chroot): Add path_aliases member.
5291 * support/support_chroot.c (support_chroot_create): Handle
5293 (support_chroot_free): Free path_aliases.
5295 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5297 * version.h (RELEASE): Set to "development".
5298 (VERSION): Set to "2.29.9000".
5299 * NEWS: Add section for 2.30.
5301 * version.h (RELEASE): Set to "stable".
5302 (VERSION): Set to "2.29".
5303 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5305 * NEWS: Add the list of bugs fixed in 2.29.
5306 * manual/contrib.texi: Update contributors list with some more
5308 * manual/install.texi: Update latest versions of packages
5310 * INSTALL: Regenerated.
5312 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5314 * po/be.po: Update translations.
5315 * po/bg.po: Likewise.
5316 * po/ca.po: Likewise.
5317 * po/cs.po: Likewise.
5318 * po/da.po: Likewise.
5319 * po/de.po: Likewise.
5320 * po/el.po: Likewise.
5321 * po/eo.po: Likewise.
5322 * po/es.po: Likewise.
5323 * po/fi.po: Likewise.
5324 * po/fr.po: Likewise.
5325 * po/gl.po: Likewise.
5326 * po/hr.po: Likewise.
5327 * po/hu.po: Likewise.
5328 * po/ia.po: Likewise.
5329 * po/id.po: Likewise.
5330 * po/it.po: Likewise.
5331 * po/ja.po: Likewise.
5332 * po/ko.po: Likewise.
5333 * po/lt.po: Likewise.
5334 * po/nb.po: Likewise.
5335 * po/nl.po: Likewise.
5336 * po/pl.po: Likewise.
5337 * po/pt_BR.po: Likewise.
5338 * po/ru.po: Likewise.
5339 * po/rw.po: Likewise.
5340 * po/sk.po: Likewise.
5341 * po/sl.po: Likewise.
5342 * po/sv.po: Likewise.
5343 * po/tr.po: Likewise.
5344 * po/uk.po: Likewise.
5345 * po/vi.po: Likewise.
5346 * po/zh_CN.po: Likewise.
5347 * po/zh_TW.po: Likewise.
5349 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5352 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5353 of $f3 register on $y_is_neg path.
5355 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5358 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5359 sigaltstack.ss_flags.
5361 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5364 * manual/time.texi (strftime): Document "%Ey".
5365 * time/strftime_l.c (__strftime_internal): Set the default width
5366 padding with zero of "%Ey" to 2.
5369 * manual/time.texi (strftime): Document "%EC" and "%EY".
5370 * time/Makefile (tests): Add tst-strftime2.
5371 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5372 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5373 override padding for "%Ey".
5374 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5375 "%Ey" in the subformat as if decorated with that flag.
5376 * time/tst-strftime2.c: New file.
5378 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5380 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5384 * elf/Makefile (tests): Add tst-audit13.
5385 (modules-names): Add tst-audit13mod1.
5386 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5388 * elf/rtld.c (dl_main): Handle invalid audit module version.
5389 * elf/tst-audit13.c: New file.
5390 * elf/tst-audit13mod1.c: Likewise.
5392 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5394 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5395 returned by __hurd_at_flags.
5396 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5397 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5398 directly instead of __hurd_file_name_lookup.
5400 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5402 * scripts/build-many-glibcs.py (Context.checkout): Default
5403 binutils version to 2.32 branch.
5405 2019-01-21 Florian Weimer <fweimer@redhat.com>
5409 resolv: Reject trailing characters in host names
5410 * include/arpa/inet.h (__inet_aton_exact): Declare.
5411 (inet_aton): Remove hidden prototype. No longer used internally.
5412 * nscd/gai.c (__inet_aton): Do not define.
5413 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5414 * nss/digits_dots.c (__inet_aton): Likewise.
5415 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5416 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5417 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5418 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5419 (tst-resolv-trailing): Likewise.
5420 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5422 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5423 Make static. Add endp parameter.
5424 (__inet_aton_exact): New function.
5425 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5426 (__inet_addr): Call inet_aton_end.
5427 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5428 not just IPv6. Call __inet_aton_exact.
5429 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5430 (tests): Make const. Add additional test cases with trailing
5432 (do_test): Use array_length.
5433 * resolv/tst-inet_aton_exact.c: New file.
5434 * resolv/tst-resolv-trailing.c: Likewise.
5435 * resolv/tst-resolv-nondecimal.c: Likewise.
5436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5438 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5442 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5443 Clear the upper 32 bits of RSI register.
5444 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5445 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5446 and tst-size_t-wcsnlen.
5447 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5448 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5450 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5454 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5455 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5456 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5457 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5458 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5460 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5464 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5466 * sysdeps/x86_64/strcmp.S: Likewise.
5467 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5468 tst-size_t-strncmp and tst-size_t-wcsncmp.
5469 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5470 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5471 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5473 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5477 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5478 RDX_LP for length. Clear the upper 32 bits of RDX register.
5479 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5480 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5481 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5482 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5484 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5488 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5489 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5490 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5491 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5493 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5498 length. Clear the upper 32 bits of RDX register.
5499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5500 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5502 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5504 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5506 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5508 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5512 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5513 length. Clear the upper 32 bits of RDX register.
5514 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5515 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5516 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5518 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5519 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5521 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5525 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5526 upper 32 bits of RDX register.
5527 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5528 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5530 * sysdeps/x86_64/x32/test-size_t.h: New file.
5531 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5532 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5534 2019-01-18 Florian Weimer <fweimer@redhat.com>
5537 resolv: Do not send queries for non-host-names in nss_dns.
5538 * resolv/nss_dns/dns-host.c (check_name): New function.
5539 (_nss_dns_gethostbyname2_r): Use it.
5540 (_nss_dns_gethostbyname_r): Likewise.
5541 (_nss_dns_gethostbyname4_r): Likewise.
5543 2019-01-21 Florian Weimer <fweimer@redhat.com>
5545 * resolv/inet_addr.c: Reformat to GNU style.
5546 (__inet_addr, __inet_aton): Update comment.
5548 2019-01-18 Florian Weimer <fweimer@redhat.com>
5550 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5551 ("malloc: Use current (C11-style) atomics for fastbin access").
5552 This commit introduces a substantial performance regression on
5554 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5555 (REMOVE_FB): Define.
5556 (_int_malloc): Use it and reindent.
5557 (_int_free): Use CAS loop with
5558 catomic_compare_and_exchange_val_rel.
5559 (malloc_consolidate): Use atomic_exchange_acq.
5562 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5564 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5566 (LDFLAGS-tst-minsigstksz-2): Likewise.
5567 (LDFLAGS-tst-minsigstksz-3): Likewise.
5568 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5569 (LDFLAGS-tst-minsigstksz-4): Likewise.
5571 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5573 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5576 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5578 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5580 2019-01-16 Zack Weinberg <zackw@panix.com>
5582 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5583 (xget_sigstack_location): New test support functions.
5584 * support/xsigstack.c: New file, implementing them.
5585 * support/tst-xsigstack.c: New test for them.
5586 * support/Makefile: Update.
5588 * signal/tst-minsigstksz-1.c
5589 * signal/tst-minsigstksz-2.c
5590 * signal/tst-minsigstksz-3.c
5591 * signal/tst-minsigstksz-3a.c
5592 * signal/tst-minsigstksz-4.c: New tests.
5593 * signal/Makefile: Run them.
5595 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5597 * po/libc.pot: Regenerate.
5599 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5601 * math/libm-test-fma.inc (fma_test_data): Set
5602 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5604 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5606 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5607 (do_test): Changed __vector __int128_t to __vector unsigned int.
5609 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5612 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5613 stpcpy-avx2 and stpncpy-avx2.
5614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5615 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5616 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5618 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5619 ifunc-strcpy.h}: rename header for a more generic name.
5620 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5621 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5622 AVX unaligned load is fast and vzeroupper is preferred.
5623 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5624 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5625 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5626 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5627 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5628 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5630 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5632 * argp/argp-help.c: Fix typo in comment.
5633 * misc/sys/cdefs.h: Likewise.
5634 * posix/regexec.c (sift_states_iter_mb): Likewise.
5635 * socket/sockatmark.c: Likewise.
5636 * socket/sys/socket.h: Likewise.
5637 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5638 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5639 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5641 * sysdeps/unix/sockatmark.c: Likewise.
5642 * time/strptime_l.c: Likewise.
5644 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5646 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5647 missing space after the cast of "_NL_CURRENT".
5649 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5651 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5652 ifdef to fix read of VSCR.
5653 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5654 tst-ucontext-ppc64-vscr.c to test list.
5655 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5657 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5659 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5662 2019-01-09 Jim Wilson <jimw@sifive.com>
5664 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5666 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5668 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5669 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5670 __memcpy_falkor for ares.
5671 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5673 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5676 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5679 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5680 4_FP_W_TYPEs are used for IEEE quad precision.
5681 * soft-fp/extendhftf2.c: Likewise.
5682 * soft-fp/extendsftf2.c: Likewise.
5683 * soft-fp/extendxftf2.c: Likewise.
5684 * soft-fp/trunctfdf2.c: Likewise.
5685 * soft-fp/trunctfhf2.c: Likewise.
5686 * soft-fp/trunctfsf2.c: Likewise.
5687 * soft-fp/trunctfxf2.c: Likewise.
5688 * sysdeps/alpha/ots_cvttx.c: Likewise.
5689 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5690 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5691 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5692 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5693 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5694 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5695 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5696 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5697 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5698 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5699 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5700 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5701 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5702 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5703 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5704 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5705 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5707 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5710 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5711 code with -fmath-errno.
5712 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5713 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5714 * string/test-strerror-errno.c: New file.
5716 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5719 * localedata/locales/en_US (date_fmt): Add, set to
5720 "%a %d %b %Y %r %Z".
5722 2019-01-07 Florian Weimer <fweimer@redhat.com>
5725 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5726 instead of @var{errno}.
5727 (Parsing of Integers): Likewise.
5728 (Parsing of Floats): Likewise.
5729 * manual/filesys.texi (Working with Directory Trees): Likewise.
5730 (Temporary Files): Likewise.
5731 * manual/job.texi (Terminal Access Functions): Likewise.
5732 * manual/llio.texi (Synchronizing I/O): Likewise.
5733 * manual/math.texi (SVID Random): Likewise.
5734 * manual/message.texi (The catgets Functions): Likewise.
5735 (Translation with gettext): Likewise.
5736 (Locating gettext catalog): Likewise.
5737 (Charset conversion in gettext): Likewise.
5738 * manual/nss.texi (NSS Module Function Internals): Likewise.
5739 * manual/search.texi (Hash Search Function): Likewise.
5740 * manual/setjmp.texi (System V contexts): Likewise.
5741 * manual/time.texi (Sleeping): Likewise.
5742 * manual/users.texi (Lookup User): Likewise.
5743 (Lookup Group): Likewise.
5745 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5747 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5750 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5753 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5754 __builtin_unreachable for default case in switch.
5755 (__ieee754_yn): Likewise.
5756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5757 (__ieee754_ynl): Likewise.
5758 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5759 (__ieee754_ynl): Likewise.
5760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5761 (__ieee754_ynl): Likewise.
5763 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5765 * manual/maint.texi: Use @{ and @}.
5767 2019-01-04 Florian Weimer <fweimer@redhat.com>
5769 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5771 (do_in_chroot_1): Call it.
5773 Improve error reporting in case it is not possible to create a
5774 collision for the PTY name required by the test.
5776 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5778 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5779 lll_wait_tid with timeout.
5780 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5781 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5782 futex_reltimed_wait_cancelable for cancelabla mode.
5783 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5784 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5786 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5787 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5788 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5789 SYSCALL_CANCEL_NCS): New macro.
5790 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5791 (lll_timedwait_tid): Remove macro.
5792 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5794 (lll_timedwait_tid): Likewise.
5795 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5797 (lll_timedwait_tid): Likewise.
5798 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5800 (lll_timedwait_tid): Likewise.
5801 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5802 Use INTERNAL_SYSCALL_CANCEL.
5803 * sysdeps/unix/sysv/linux/futex-internal.h
5804 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5805 instead of __pthread_{enable,disable}_asynccancel.
5806 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5807 (lll_futex_wait_cancel): New macro.
5809 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5810 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5812 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5813 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5815 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5816 in backtrace analysis.
5817 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5819 (tf_send): Likewise.
5821 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5822 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5823 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5824 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5825 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5826 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5827 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5828 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5829 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5830 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5831 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5832 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5834 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5835 tst-cancel-wrappers.sh.
5836 (generated): Remove tst-cancel-wrappers.out.
5837 (tst-cancel-wrappers.out): Remove rule.
5838 * nptl/tst-cancel-wrappers.sh: Remove file.
5840 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5842 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5843 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5846 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5849 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5850 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5851 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5852 close-on-exec reset for adddup2 file action.
5853 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5855 2019-01-03 Zack Weinberg <zackw@panix.com>
5857 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5858 parameter. Only use deprecated scanf when __USE_GNU is defined
5859 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5860 than 201103L, whichever is relevant for the language being compiled.
5862 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5863 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5864 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5865 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5866 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5870 * libio/iovswscanf.c
5875 * stdio-common/fscanf.c
5876 * stdio-common/scanf.c
5877 * stdio-common/vfscanf.c
5878 * stdio-common/vfwscanf.c
5879 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5880 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5881 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5882 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5883 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5884 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5885 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5886 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5887 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5888 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5889 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5890 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5891 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5892 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5893 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5895 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5896 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5897 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5899 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5900 with a preprocessor macro.
5902 * stdio-common/bug21.c, stdio-common/scanf14.c:
5903 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5904 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5905 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5906 to xscanf, xfscanf, xsscanf.
5908 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5909 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5910 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5911 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5913 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5914 override feature selection macros or provide definitions of u_char etc.
5915 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5916 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5917 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5920 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5923 bits/termios-misc.h.
5924 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5925 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5926 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5927 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5928 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5929 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5931 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5932 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5933 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5934 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5935 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5936 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5938 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5939 (sysdep_headers): Add termios-misc.h.
5941 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5942 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5943 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5947 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5948 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5949 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5950 TCSAFLUSH): Move to termios-tcflow.h.
5951 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5952 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5953 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5954 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5958 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5959 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5960 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5961 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5962 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5963 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5964 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5965 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5967 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5968 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5969 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5970 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5974 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5975 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5976 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5977 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5978 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5980 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5981 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5982 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5983 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5988 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5989 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5990 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5991 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5992 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5993 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5994 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5995 __MAX_BAUD): Move to termios-baud.h.
5996 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5997 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5998 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5999 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6000 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6002 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6004 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6005 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6006 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6007 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6008 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6009 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6011 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6012 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6014 [USE_MISC] (XTABS): Likewise.
6015 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6016 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6017 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6018 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6020 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6022 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6023 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6024 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6025 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6026 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6027 IUTF8): Move to termios-c_iflag.h.
6028 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6029 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6030 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6031 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6033 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6035 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6036 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6037 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6038 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6039 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
6040 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
6041 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
6042 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
6043 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6044 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6045 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6046 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6048 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
6049 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
6050 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
6051 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
6052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6054 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
6056 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
6058 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
6060 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
6062 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
6064 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
6065 _HAVE_C_OSPEED): Define.
6066 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
6067 _HAVE_C_OSPEED): Likewise.
6068 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
6069 _HAVE_C_OSPEED): Likewise.
6070 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
6071 (cfsetospeed): Check for define value instead of existence.
6072 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
6073 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6074 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
6075 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6076 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
6079 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
6081 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6082 (TIOCSER_TEMT): Likewise.
6083 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
6084 (TEOCSER_TEMT): Likewise.
6086 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
6089 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
6091 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6093 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6095 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6097 * sysdeps/htl/pt-barrierattr-setpshared.c
6098 (pthread_barrierattr_setpshared): Add stub warning.
6099 * sysdeps/htl/pt-condattr-setpshared.c
6100 (pthread_condattr_setpshared): Likewise.
6101 * sysdeps/htl/pt-mutexattr-setpshared.c
6102 (pthread_mutexattr_setpshared): Likewise.
6103 * sysdeps/htl/pt-rwlockattr-setpshared.c
6104 (pthread_rwlockattr_setpshared): Likewise.
6105 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
6106 (pthread_mutexattr_setpshared): Likewise.
6108 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6110 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
6111 constants to match with Linux 4.20.
6113 * sysdeps/mips/mips32/libm-test-ulps: Update.
6114 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6116 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
6119 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
6120 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
6121 than __typeof (...) for the a_ptr variable.
6123 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6125 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
6126 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
6127 * libio/Makefile (tests): Add tst-sprintf-ub and
6129 (CFLAGS-tst-sprintf-ub.c): New variable.
6130 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
6131 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
6132 destination buffer and check for overflows in fortified mode.
6133 * libio/libioP.h (PRINTF_CHK): New macro.
6134 * libio/tst-sprintf-chk-ub.c: New file.
6135 * libio/tst-sprintf-ub.c: Likewise.
6137 2019-01-02 Florian Weimer <fweimer@redhat.com>
6140 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
6143 2019-01-02 Florian Weimer <fweimer@redhat.com>
6145 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
6147 2019-01-01 Joseph Myers <joseph@codesourcery.com>
6149 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
6152 * sysdeps/unix/sysv/linux/netpacket/packet.h
6153 (PACKET_IGNORE_OUTGOING): New macro.
6155 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
6158 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6160 (riscv_flush_icache): New syscall.
6162 * manual/texinfo.tex: Update to version 2018-12-28.17 with
6163 trailing whitespace removed.
6164 * scripts/config.guess: Update to version 2019-01-01.
6165 * scripts/config.sub: Update to version 2019-01-01.
6166 * scripts/move-if-change: Update from gnulib.
6168 * NEWS: Update copyright dates.
6169 * catgets/gencat.c (print_version): Likewise.
6170 * csu/version.c (banner): Likewise.
6171 * debug/catchsegv.sh: Likewise.
6172 * debug/pcprofiledump.c (print_version): Likewise.
6173 * debug/xtrace.sh (do_version): Likewise.
6174 * elf/ldconfig.c (print_version): Likewise.
6175 * elf/ldd.bash.in: Likewise.
6176 * elf/pldd.c (print_version): Likewise.
6177 * elf/sotruss.sh: Likewise.
6178 * elf/sprof.c (print_version): Likewise.
6179 * iconv/iconv_prog.c (print_version): Likewise.
6180 * iconv/iconvconfig.c (print_version): Likewise.
6181 * locale/programs/locale.c (print_version): Likewise.
6182 * locale/programs/localedef.c (print_version): Likewise.
6183 * login/programs/pt_chown.c (print_version): Likewise.
6184 * malloc/memusage.sh (do_version): Likewise.
6185 * malloc/memusagestat.c (print_version): Likewise.
6186 * malloc/mtrace.pl: Likewise.
6187 * manual/libc.texinfo: Likewise.
6188 * nptl/version.c (banner): Likewise.
6189 * nscd/nscd.c (print_version): Likewise.
6190 * nss/getent.c (print_version): Likewise.
6191 * nss/makedb.c (print_version): Likewise.
6192 * posix/getconf.c (main): Likewise.
6193 * scripts/test-installation.pl: Likewise.
6194 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6196 * All files with FSF copyright notices: Update copyright dates
6197 using scripts/update-copyrights.
6198 * locale/programs/charmap-kw.h: Regenerated.
6199 * locale/programs/locfile-kw.h: Likewise.
6201 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6203 * timezone/zdump.c: Update from tzcode 2018i.
6204 * timezone/zic.c: Likewise.
6206 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
6208 regex: improve Gnulib port to AIX
6209 From the glibc point of view, this removes duplicate macro
6210 definitions and is obviously safe.
6211 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
6212 * posix/regex_internal.h:
6213 (__attribute__, __attribute_warn_unused_result__):
6214 Remove; already defined elsewhere.
6216 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
6219 * malloc/malloc.c (_int_realloc): Always call memcpy for the
6220 copying operation. (ncopies had the wrong type, resulting in an
6221 integer wraparound and too few elements being copied.)
6223 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
6226 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
6227 <asm/syscalls.h> exists with __has_include__ before including it.
6229 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6231 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6234 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
6236 * hurd/lookup-retry: Include <unistd.h>.
6237 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
6238 Release it on return. Handle "pid" magical lookup retry.
6240 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6243 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
6244 (t_fmt_ampm): Likewise.
6245 * localedata/locales/aa_ER (t_fmt): Likewise.
6246 (t_fmt_ampm): Likewise.
6247 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
6248 (t_fmt_ampm): Likewise.
6249 * localedata/locales/aa_ET (t_fmt): Likewise.
6250 (t_fmt_ampm): Likewise.
6251 * localedata/locales/am_ET (t_fmt): Likewise.
6252 (t_fmt_ampm): Likewise.
6253 * localedata/locales/byn_ER (t_fmt): Likewise.
6254 (t_fmt_ampm): Likewise.
6255 * localedata/locales/om_ET (t_fmt): Likewise.
6256 (t_fmt_ampm): Likewise.
6257 * localedata/locales/sid_ET (t_fmt): Likewise.
6258 (t_fmt_ampm): Likewise.
6259 * localedata/locales/so_DJ (t_fmt): Likewise.
6260 (t_fmt_ampm): Likewise.
6261 * localedata/locales/so_ET (t_fmt): Likewise.
6262 (t_fmt_ampm): Likewise.
6263 * localedata/locales/so_SO (t_fmt): Likewise.
6264 (t_fmt_ampm): Likewise.
6265 * localedata/locales/ti_ER (t_fmt): Likewise.
6266 (t_fmt_ampm): Likewise.
6267 * localedata/locales/ti_ET (t_fmt): Likewise.
6268 (t_fmt_ampm): Likewise.
6269 * localedata/locales/tig_ER (t_fmt): Likewise.
6270 (t_fmt_ampm): Likewise.
6271 * localedata/locales/wal_ET (t_fmt): Likewise.
6272 (t_fmt_ampm): Likewise.
6274 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6275 * localedata/locales/ar_IN (t_fmt): Likewise.
6276 * localedata/locales/bhb_IN (t_fmt): Likewise.
6277 * localedata/locales/bho_IN (t_fmt): Likewise.
6278 * localedata/locales/bi_VU (t_fmt): Likewise.
6279 * localedata/locales/bn_BD (t_fmt): Likewise.
6280 * localedata/locales/bn_IN (t_fmt): Likewise.
6281 * localedata/locales/brx_IN (t_fmt): Likewise.
6282 * localedata/locales/doi_IN (t_fmt): Likewise.
6283 * localedata/locales/en_HK (t_fmt): Likewise.
6284 (t_fmt_ampm): Likewise.
6285 * localedata/locales/en_IN (t_fmt): Likewise.
6286 * localedata/locales/en_PH (t_fmt): Likewise.
6287 * localedata/locales/gu_IN (t_fmt): Likewise.
6288 * localedata/locales/hi_IN (t_fmt): Likewise.
6289 * localedata/locales/hif_FJ (t_fmt): Likewise.
6290 * localedata/locales/hne_IN (t_fmt): Likewise.
6291 * localedata/locales/kn_IN (t_fmt): Likewise.
6292 * localedata/locales/kok_IN (t_fmt): Likewise.
6293 * localedata/locales/ks_IN (t_fmt): Likewise.
6294 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6295 * localedata/locales/mag_IN (t_fmt): Likewise.
6296 * localedata/locales/mai_IN (t_fmt): Likewise.
6297 * localedata/locales/mjw_IN (t_fmt): Likewise.
6298 * localedata/locales/ml_IN (t_fmt): Likewise.
6299 * localedata/locales/mni_IN (t_fmt): Likewise.
6300 * localedata/locales/mr_IN (t_fmt): Likewise.
6301 * localedata/locales/ms_MY (t_fmt): Likewise.
6302 * localedata/locales/pa_IN (t_fmt): Likewise.
6303 * localedata/locales/raj_IN (t_fmt): Likewise.
6304 * localedata/locales/sa_IN (t_fmt): Likewise.
6305 * localedata/locales/sat_IN (t_fmt): Likewise.
6306 * localedata/locales/sd_IN (t_fmt): Likewise.
6307 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6308 * localedata/locales/tcy_IN (t_fmt): Likewise.
6309 * localedata/locales/the_NP (t_fmt): Likewise.
6310 * localedata/locales/to_TO (t_fmt): Likewise.
6311 * localedata/locales/ur_IN (t_fmt): Likewise.
6313 * localedata/locales/hif_FJ (d_t_fmt): Set to
6314 "%A %d %b %Y %I:%M:%S %p".
6315 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6317 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6318 * localedata/locales/ar_BH (t_fmt): Likewise.
6319 * localedata/locales/ar_DZ (t_fmt): Likewise.
6320 * localedata/locales/ar_EG (t_fmt): Likewise.
6321 * localedata/locales/ar_IQ (t_fmt): Likewise.
6322 * localedata/locales/ar_JO (t_fmt): Likewise.
6323 * localedata/locales/ar_KW (t_fmt): Likewise.
6324 * localedata/locales/ar_LB (t_fmt): Likewise.
6325 * localedata/locales/ar_LY (t_fmt): Likewise.
6326 * localedata/locales/ar_OM (t_fmt): Likewise.
6327 * localedata/locales/ar_QA (t_fmt): Likewise.
6328 * localedata/locales/ar_SD (t_fmt): Likewise.
6329 * localedata/locales/ar_SS (t_fmt): Likewise.
6330 * localedata/locales/ar_SY (t_fmt): Likewise.
6331 * localedata/locales/ar_TN (t_fmt): Likewise.
6332 * localedata/locales/ar_YE (t_fmt): Likewise.
6334 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6335 (t_fmt_ampm): Likewise.
6336 * localedata/locales/gez_ET (t_fmt): Likewise.
6337 (t_fmt_ampm): Likewise.
6339 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6340 (t_fmt_ampm): Likewise.
6341 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6343 * localedata/locales/zh_HK (t_fmt):
6344 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6346 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6347 because this locale does not use the 12-hour clock.
6348 (t_fmt): Set to "%Z %H:%M:%S".
6349 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6351 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6352 because this locale does not use the 12-hour clock.
6353 (t_fmt): Set to "%H:%M:%S %Z".
6354 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6356 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6357 because this locale does not use the 12-hour clock.
6358 (t_fmt): Set to "%T".
6359 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6360 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6362 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6363 because this locale does not use the 12-hour clock.
6364 (t_fmt): Set to "%H:%M:%S %Z".
6365 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6367 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6368 because this locale does not use the 12-hour clock.
6369 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6370 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6372 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6376 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6377 (t_fmt_ampm): Likewise.
6378 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6379 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6380 (d_fmt): Set to "%-d.%-m.%y".
6382 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6384 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6385 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6386 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6388 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6389 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6390 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6392 * support/blob_repeat.c (check_mul_overflow_size_t,
6393 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6395 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6397 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6399 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6401 regex: simplify Gnulib port
6402 This simplifies the code, by removing stuff intended for porting
6403 to Gnulib but no longer needed there.
6404 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6405 uses of libc_hidden_def, weak_alias.
6406 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6407 _Restrict_ except for public-facing headers.
6408 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6409 Remove; already defined elsewhere.
6410 * posix/regex.c, posix/regex_internal.h:
6411 Use __GNUC_PREREQ instead of rolling our own.
6412 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6414 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6416 * benchtests/bench-strlen.c (generic_strlen): New function.
6417 (memchr_strlen): New function.
6419 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6421 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6422 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6423 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6425 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6427 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6429 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6431 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6432 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6433 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6434 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6435 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6436 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6437 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6439 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6442 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6443 PLT reference in libc.so.
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6445 _Q_lltoq and _Q_qtod PLT references in libc.so.
6447 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6449 * benchtests/bench-memchr.c: Cleanup defines.
6450 * benchtests/bench-memcmp.c: Likewise.
6451 * benchtests/bench-memset.c: Likewise.
6452 * benchtests/bench-memset-large.c: Likewise.
6453 * benchtests/bench-memset-walk.c: Likewise.
6454 * benchtests/bench-stpcpy.c: Likewise.
6455 * benchtests/bench-stpncpy.c: Likewise.
6456 * benchtests/bench-strcat.c: Likewise.
6457 * benchtests/bench-strchr.c: Likewise.
6458 * benchtests/bench-strcmp.c: Likewise.
6459 * benchtests/bench-strcpy.c: Likewise.
6460 * benchtests/bench-strcspn.c: Likewise.
6461 * benchtests/bench-string.h: Likewise.
6462 * benchtests/bench-strlen.c: Likewise.
6463 * benchtests/bench-strncat.c: Likewise.
6464 * benchtests/bench-strncmp.c: Likewise.
6465 * benchtests/bench-strncpy.c: Likewise.
6466 * benchtests/bench-strnlen.c: Likewise.
6467 * benchtests/bench-strpbrk.c: Likewise.
6468 * benchtests/bench-strrchr.c: Likewise.
6469 * benchtests/bench-strspn.c: Likewise.
6471 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6473 * stdlib/longlong.h: Update from GCC.
6476 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6477 * configure: Regenerated.
6478 * manual/install.texi (Tools for Compilation): Update minimum GCC
6480 * INSTALL: Regenerated.
6482 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6484 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6486 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6488 * malloc/malloc.c (mremap_chunk): Additional checks.
6490 2018-12-21 Mao Han <han_mao@c-sky.com>
6492 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6493 * scripts/build-many-glibcs.py: Add C-SKY targets.
6494 * sysdeps/csky/Implies: New file.
6495 * sysdeps/csky/Makefile: Likewise.
6496 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6497 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6498 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6499 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6500 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6501 * sysdeps/csky/abiv2/memmove.S: Likewise.
6502 * sysdeps/csky/abiv2/memset.S: Likewise.
6503 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6504 * sysdeps/csky/abiv2/start.S: Likewise.
6505 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6506 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6507 * sysdeps/csky/abiv2/strlen.S: Likewise.
6508 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6509 * sysdeps/csky/abort-instr.h: Likewise.
6510 * sysdeps/csky/atomic-machine.h: Likewise.
6511 * sysdeps/csky/bits/endian.h: Likewise.
6512 * sysdeps/csky/bits/fenv.h: Likewise.
6513 * sysdeps/csky/bits/link.h: Likewise.
6514 * sysdeps/csky/bits/setjmp.h: Likewise.
6515 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6516 * sysdeps/csky/bsd-setjmp.S: Likewise.
6517 * sysdeps/csky/configure: Likewise.
6518 * sysdeps/csky/configure.ac: Likewise.
6519 * sysdeps/csky/dl-machine.h: Likewise.
6520 * sysdeps/csky/dl-procinfo.c: Likewise.
6521 * sysdeps/csky/dl-procinfo.h: Likewise.
6522 * sysdeps/csky/dl-sysdep.h: Likewise.
6523 * sysdeps/csky/dl-tls.h: Likewise.
6524 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6525 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6526 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6527 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6528 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6529 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6530 * sysdeps/csky/fpu/fegetround.c: Likewise.
6531 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6532 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6533 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6534 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6535 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6536 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6537 * sysdeps/csky/fpu/fesetround.c: Likewise.
6538 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6539 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6540 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6541 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6542 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6543 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6544 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6545 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6546 * sysdeps/csky/fpu_control.h: Likewise.
6547 * sysdeps/csky/gccframe.h: Likewise.
6548 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6549 * sysdeps/csky/ldsodefs.h: Likewise.
6550 * sysdeps/csky/libc-tls.c: Likewise.
6551 * sysdeps/csky/linkmap.h: Likewise.
6552 * sysdeps/csky/machine-gmon.h: Likewise.
6553 * sysdeps/csky/memusage.h: Likewise.
6554 * sysdeps/csky/nofpu/Implies: Likewise.
6555 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6556 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6557 * sysdeps/csky/nptl/Makefile: Likewise.
6558 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6559 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6560 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6561 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6562 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6563 * sysdeps/csky/nptl/tls.h: Likewise.
6564 * sysdeps/csky/preconfigure: Likewise.
6565 * sysdeps/csky/sfp-machine.h: Likewise.
6566 * sysdeps/csky/sotruss-lib.c: Likewise.
6567 * sysdeps/csky/stackinfo.h: Likewise.
6568 * sysdeps/csky/sysdep.h: Likewise.
6569 * sysdeps/csky/tininess.h: Likewise.
6570 * sysdeps/csky/tst-audit.h: Likewise.
6571 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6572 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6573 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6574 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6575 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6576 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6577 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6578 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6579 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6580 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6581 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6582 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6583 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6584 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6585 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6586 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6587 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6588 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6589 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6590 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6591 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6592 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6593 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6594 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6595 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6596 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6597 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6598 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6599 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6600 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6601 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6602 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6603 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6604 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6605 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6606 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6607 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6608 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6609 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6610 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6611 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6612 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6613 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6614 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6616 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6618 * include/time.h (__difftime64): Add.
6619 * time/difftime.c (subtract): convert to 64-bit time.
6620 * time/difftime.c (__difftime64): Add.
6621 * time/difftime.c (__difftime): Wrap around __difftime64.
6623 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6625 * manual/examples/add.c: Remove redundant "if not".
6626 * manual/examples/argp-ex1.c: Likewise.
6627 * manual/examples/argp-ex2.c: Likewise.
6628 * manual/examples/argp-ex3.c: Likewise.
6629 * manual/examples/argp-ex4.c: Likewise.
6630 * manual/examples/atexit.c: Likewise.
6631 * manual/examples/db.c: Likewise.
6632 * manual/examples/dir.c: Likewise.
6633 * manual/examples/dir2.c: Likewise.
6634 * manual/examples/execinfo.c: Likewise.
6635 * manual/examples/filecli.c: Likewise.
6636 * manual/examples/filesrv.c: Likewise.
6637 * manual/examples/fmtmsgexpl.c: Likewise.
6638 * manual/examples/genpass.c: Likewise.
6639 * manual/examples/inetcli.c: Likewise.
6640 * manual/examples/inetsrv.c: Likewise.
6641 * manual/examples/isockad.c: Likewise.
6642 * manual/examples/longopt.c: Likewise.
6643 * manual/examples/memopen.c: Likewise.
6644 * manual/examples/memstrm.c: Likewise.
6645 * manual/examples/mkdirent.c: Likewise.
6646 * manual/examples/mkfsock.c: Likewise.
6647 * manual/examples/mkisock.c: Likewise.
6648 * manual/examples/mygetpass.c: Likewise.
6649 * manual/examples/pipe.c: Likewise.
6650 * manual/examples/popen.c: Likewise.
6651 * manual/examples/rprintf.c: Likewise.
6652 * manual/examples/search.c: Likewise.
6653 * manual/examples/select.c: Likewise.
6654 * manual/examples/setjmp.c: Likewise.
6655 * manual/examples/sigh1.c: Likewise.
6656 * manual/examples/sigusr.c: Likewise.
6657 * manual/examples/stpcpy.c: Likewise.
6658 * manual/examples/strdupa.c: Likewise.
6659 * manual/examples/strftim.c: Likewise.
6660 * manual/examples/subopt.c: Likewise.
6661 * manual/examples/swapcontext.c: Likewise.
6662 * manual/examples/termios.c: Likewise.
6663 * manual/examples/testopt.c: Likewise.
6664 * manual/examples/testpass.c: Likewise.
6665 * manual/examples/timeval_subtract.c: Likewise.
6667 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6669 * sysdeps/x86/fpu/math_private.h: New file.
6670 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6672 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6677 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6679 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6680 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6681 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6682 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6684 (_dl_show_auxv): Give a special treatment to
6685 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6686 and AT_L3_CACHEGEOMETRY.
6687 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6688 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6689 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6690 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6692 2018-12-19 Andreas Schwab <schwab@suse.de>
6694 * nscd/connections.c (check_use): Don't abort on invalid len.
6696 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6698 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6699 values in the 64bit value cases.
6701 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6707 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6713 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6716 (__gmtime64_r): Add.
6718 (__gmtime64_r): Add.
6719 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6725 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6728 (__localtime64_r): Add.
6730 (__localtime64_r): Add.
6731 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6733 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6735 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6736 kernel_sigction definition.
6738 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6740 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6742 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6743 __syscall_rt_sigaction.
6744 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6745 (kernel_sigaction): Use Linux generic defintion.
6747 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6748 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6749 (__syscall_rt_sigaction): Remove implementation.
6750 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6752 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6753 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6754 INTERNAL_SYSCALL): Remove definitions.
6755 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6756 action and signal set size.
6757 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6758 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6760 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6761 James Clarke <jrtc27@jrtc27.com>
6764 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6765 Define if SA_RESTORER is defined.
6766 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6767 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6769 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6770 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6772 (HAS_SA_RESTORER): Define.
6773 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6774 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6775 (HAS_SA_RESTORER): Define.
6776 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6777 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6778 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6779 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6782 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6784 * sysdeps/unix/sysv/linux/kernel-features.h
6785 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6786 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6787 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6788 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6789 (__ASSUME_ST_INO_64_BIT): Likewise.
6790 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6791 <kernel-features.h>.
6792 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6793 Remove conditional code.
6794 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6795 <kernel-features.h>.
6796 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6797 Remove conditional code.
6798 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6799 <kernel-features.h>.
6800 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6801 Remove conditional code.
6802 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6803 <kernel-features.h>.
6804 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6805 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6807 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6809 * sysdeps/s390/multiarch/ifunc-resolve.h
6810 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6811 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6812 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6813 Delete macro definition.
6814 (s390_libc_ifunc_init): Rename to
6815 s390_libc_ifunc_expr_stfle_init.
6816 * sysdeps/s390/bzero: Use
6817 s390_libc_ifunc_expr_stfle_init instead of
6818 s390_libc_ifunc_init.
6819 * sysdeps/s390/memcmp.c: Likewise.
6820 * sysdeps/s390/memcpy.c: Likewise.
6821 * sysdeps/s390/mempcpy.c: Likewise.
6822 * sysdeps/s390/memset.c: Likewise.
6824 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6826 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6827 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6829 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6831 * sysdeps/s390/multiarch/Makefile
6832 (sysdep_routines): Remove wmemcmp variants.
6833 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6834 * sysdeps/s390/multiarch/ifunc-impl-list.c
6835 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6836 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6837 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6838 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6839 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6840 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6841 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6842 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6844 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6846 * sysdeps/s390/multiarch/Makefile
6847 (sysdep_routines): Remove wmemset variants.
6848 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6849 * sysdeps/s390/multiarch/ifunc-impl-list.c
6850 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6851 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6852 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6853 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6854 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6855 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6856 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6857 * sysdeps/s390/ifunc-wmemset.h: New file.
6859 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6861 * sysdeps/s390/multiarch/Makefile
6862 (sysdep_routines): Remove wmemchr variants.
6863 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6864 * sysdeps/s390/multiarch/ifunc-impl-list.c
6865 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6866 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6867 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6868 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6869 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6870 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6871 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6872 * sysdeps/s390/ifunc-wmemchr.h: New file.
6874 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6876 * sysdeps/s390/multiarch/Makefile
6877 (sysdep_routines): Remove wcscspn variants.
6878 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6879 * sysdeps/s390/multiarch/ifunc-impl-list.c
6880 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6881 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6882 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6883 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6884 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6885 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6886 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6887 * sysdeps/s390/ifunc-wcscspn.h: New file.
6889 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6891 * sysdeps/s390/multiarch/Makefile
6892 (sysdep_routines): Remove wcspbrk variants.
6893 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6894 * sysdeps/s390/multiarch/ifunc-impl-list.c
6895 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6896 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6897 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6898 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6899 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6900 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6901 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6902 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6904 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6906 * sysdeps/s390/multiarch/Makefile
6907 (sysdep_routines): Remove wcsspn variants.
6908 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6909 * sysdeps/s390/multiarch/ifunc-impl-list.c
6910 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6911 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6912 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6913 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6914 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6915 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6916 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6917 * sysdeps/s390/ifunc-wcsspn.h: New file.
6919 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6921 * sysdeps/s390/multiarch/Makefile
6922 (sysdep_routines): Remove wcsrchr variants.
6923 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6924 * sysdeps/s390/multiarch/ifunc-impl-list.c
6925 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6926 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6927 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6928 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6929 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6930 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6931 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6932 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6934 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6936 * sysdeps/s390/multiarch/Makefile
6937 (sysdep_routines): Remove wcschrnul variants.
6938 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6939 * sysdeps/s390/multiarch/ifunc-impl-list.c
6940 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6941 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6942 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6943 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6944 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6945 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6946 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6947 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6949 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6951 * sysdeps/s390/multiarch/Makefile
6952 (sysdep_routines): Remove wcschr variants.
6953 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6954 * sysdeps/s390/multiarch/ifunc-impl-list.c
6955 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6956 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6957 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6958 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6959 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6960 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6961 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6962 * sysdeps/s390/ifunc-wcschr.h: New file.
6964 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6966 * sysdeps/s390/multiarch/Makefile
6967 (sysdep_routines): Remove wcsncmp variants.
6968 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6969 * sysdeps/s390/multiarch/ifunc-impl-list.c
6970 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6971 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6972 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6973 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6974 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6975 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6976 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6977 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6979 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6981 * sysdeps/s390/multiarch/Makefile
6982 (sysdep_routines): Remove wcscmp variants.
6983 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6984 * sysdeps/s390/multiarch/ifunc-impl-list.c
6985 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6986 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6987 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6988 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6989 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6990 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6991 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6992 * sysdeps/s390/ifunc-wcscmp.h: New file.
6994 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6996 * sysdeps/s390/multiarch/Makefile
6997 (sysdep_routines): Remove wcsncat variants.
6998 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6999 * sysdeps/s390/multiarch/ifunc-impl-list.c
7000 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7001 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7002 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7003 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7004 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7005 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7006 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7007 * sysdeps/s390/ifunc-wcsncat.h: New file.
7009 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7011 * sysdeps/s390/multiarch/Makefile
7012 (sysdep_routines): Remove wcscat variants.
7013 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7014 * sysdeps/s390/multiarch/ifunc-impl-list.c
7015 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7016 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7017 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7018 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7019 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7020 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7021 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7022 * sysdeps/s390/ifunc-wcscat.h: New file.
7024 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7026 * sysdeps/s390/multiarch/Makefile
7027 (sysdep_routines): Remove wcpncpy variants.
7028 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7029 * sysdeps/s390/multiarch/ifunc-impl-list.c
7030 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7031 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7032 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7033 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7034 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7035 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7036 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7037 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7039 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7041 * sysdeps/s390/multiarch/Makefile
7042 (sysdep_routines): Remove wcsncpy variants.
7043 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
7044 * sysdeps/s390/multiarch/ifunc-impl-list.c
7045 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
7046 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
7047 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
7048 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
7049 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
7050 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
7051 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
7052 * sysdeps/s390/ifunc-wcsncpy.h: New file.
7054 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7056 * sysdeps/s390/multiarch/Makefile
7057 (sysdep_routines): Remove wcpcpy variants.
7058 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
7059 * sysdeps/s390/multiarch/ifunc-impl-list.c
7060 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
7061 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
7062 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
7063 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
7064 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
7065 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
7066 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
7067 * sysdeps/s390/ifunc-wcpcpy.h: New file.
7069 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7071 * sysdeps/s390/multiarch/Makefile
7072 (sysdep_routines): Remove wcscpy variants.
7073 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
7074 * sysdeps/s390/multiarch/ifunc-impl-list.c
7075 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
7076 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
7077 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
7078 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
7079 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
7080 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
7081 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
7082 * sysdeps/s390/ifunc-wcscpy.h: New file.
7084 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7086 * sysdeps/s390/multiarch/Makefile
7087 (sysdep_routines): Remove wcsnlen variants.
7088 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
7089 * sysdeps/s390/multiarch/ifunc-impl-list.c
7090 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
7091 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
7092 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
7093 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
7094 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
7095 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
7096 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
7097 * sysdeps/s390/ifunc-wcsnlen.h: New file.
7099 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7101 * sysdeps/s390/multiarch/Makefile
7102 (sysdep_routines): Remove wcslen variants.
7103 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
7104 * sysdeps/s390/multiarch/ifunc-impl-list.c
7105 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
7106 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
7107 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
7108 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
7109 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
7110 * sysdeps/s390/multiarch/wcslen.c: Move to ...
7111 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
7112 * sysdeps/s390/ifunc-wcslen.h: New file.
7114 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7116 * sysdeps/s390/multiarch/Makefile
7117 (sysdep_routines): Remove memrchr variants.
7118 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
7119 * sysdeps/s390/multiarch/ifunc-impl-list.c
7120 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
7121 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
7122 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
7123 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
7124 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
7125 * sysdeps/s390/multiarch/memrchr.c: Move to ...
7126 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
7127 * sysdeps/s390/ifunc-memrchr.h: New file.
7129 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7131 * sysdeps/s390/multiarch/Makefile
7132 (sysdep_routines): Remove memccpy variants.
7133 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
7134 * sysdeps/s390/multiarch/ifunc-impl-list.c
7135 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
7136 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
7137 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
7138 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
7139 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
7140 * sysdeps/s390/multiarch/memccpy.c: Move to ...
7141 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
7142 * sysdeps/s390/ifunc-memccpy.h: New file.
7144 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7146 * sysdeps/s390/multiarch/Makefile
7147 (sysdep_routines): Remove rawmemchr variants.
7148 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
7149 * sysdeps/s390/multiarch/ifunc-impl-list.c
7150 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
7151 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
7152 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
7153 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
7154 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
7155 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
7156 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
7157 * sysdeps/s390/ifunc-rawmemchr.h: New file.
7159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7161 * sysdeps/s390/multiarch/Makefile
7162 (sysdep_routines): Remove memchr variants.
7163 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
7164 * sysdeps/s390/multiarch/ifunc-impl-list.c
7165 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
7166 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
7167 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
7168 * sysdeps/s390/multiarch/memchr.c: Move to ...
7169 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
7170 * sysdeps/s390/ifunc-memchr.h: New file.
7171 * sysdeps/s390/s390-64/memchr.S: Move to ...
7172 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
7173 for 31/64bit and ifunc handling.
7174 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
7175 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7176 * sysdeps/s390/s390-32/memchr.S: Likewise.
7178 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7180 * sysdeps/s390/multiarch/Makefile
7181 (sysdep_routines): Remove strcspn variants.
7182 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
7183 * sysdeps/s390/multiarch/ifunc-impl-list.c
7184 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
7185 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
7186 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
7187 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
7188 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
7189 * sysdeps/s390/multiarch/strcspn.c: Move to ...
7190 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
7191 * sysdeps/s390/ifunc-strcspn.h: New file.
7193 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7195 * sysdeps/s390/multiarch/Makefile
7196 (sysdep_routines): Remove strpbrk variants.
7197 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
7198 * sysdeps/s390/multiarch/ifunc-impl-list.c
7199 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
7200 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
7201 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
7202 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
7203 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
7204 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
7205 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
7206 * sysdeps/s390/ifunc-strpbrk.h: New file.
7208 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7210 * sysdeps/s390/multiarch/Makefile
7211 (sysdep_routines): Remove strspn variants.
7212 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
7213 * sysdeps/s390/multiarch/ifunc-impl-list.c
7214 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
7215 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
7216 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
7217 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
7218 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
7219 * sysdeps/s390/multiarch/strspn.c: Move to ...
7220 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
7221 * sysdeps/s390/ifunc-strspn.h: New file.
7223 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7225 * sysdeps/s390/multiarch/Makefile
7226 (sysdep_routines): Remove strrchr variants.
7227 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
7228 * sysdeps/s390/multiarch/ifunc-impl-list.c
7229 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
7230 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
7231 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
7232 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
7233 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
7234 * sysdeps/s390/multiarch/strrchr.c: Move to ...
7235 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
7236 * sysdeps/s390/ifunc-strrchr.h: New file.
7238 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7240 * sysdeps/s390/multiarch/Makefile
7241 (sysdep_routines): Remove strchrnul variants.
7242 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
7243 * sysdeps/s390/multiarch/ifunc-impl-list.c
7244 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
7245 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
7246 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
7247 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
7248 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
7249 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
7250 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
7251 * sysdeps/s390/ifunc-strchrnul.h: New file.
7253 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7255 * sysdeps/s390/multiarch/Makefile
7256 (sysdep_routines): Remove strchr variants.
7257 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
7258 * sysdeps/s390/multiarch/ifunc-impl-list.c
7259 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7260 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7261 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7262 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7263 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7264 * sysdeps/s390/multiarch/strchr.c: Move to ...
7265 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7266 * sysdeps/s390/ifunc-strchr.h: New file.
7268 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7270 * sysdeps/s390/multiarch/Makefile
7271 (sysdep_routines): Remove strncmp variants.
7272 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7273 * sysdeps/s390/multiarch/ifunc-impl-list.c
7274 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7275 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7276 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7277 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7278 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7279 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7280 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7281 * sysdeps/s390/ifunc-strncmp.h: New file.
7283 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7285 * sysdeps/s390/multiarch/Makefile
7286 (sysdep_routines): Remove strcmp variants.
7287 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7288 * sysdeps/s390/multiarch/ifunc-impl-list.c
7289 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7290 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7291 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7292 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7293 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7294 * sysdeps/s390/ifunc-strcmp.h: New file.
7295 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7296 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7297 for 31/64bit and ifunc handling.
7298 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7299 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7300 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7302 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7304 * sysdeps/s390/multiarch/Makefile
7305 (sysdep_routines): Remove strncat variants.
7306 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7307 * sysdeps/s390/multiarch/ifunc-impl-list.c
7308 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7309 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7310 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7311 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7312 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7313 * sysdeps/s390/multiarch/strncat.c: Move to ...
7314 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7315 * sysdeps/s390/ifunc-strncat.h: New file.
7317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7319 * sysdeps/s390/multiarch/Makefile
7320 (sysdep_routines): Remove strcat variants.
7321 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7322 * sysdeps/s390/multiarch/ifunc-impl-list.c
7323 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7324 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7325 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7326 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7327 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7328 * sysdeps/s390/multiarch/strcat.c: Move to ...
7329 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7330 * sysdeps/s390/ifunc-strcat.h: New file.
7332 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7334 * sysdeps/s390/multiarch/Makefile
7335 (sysdep_routines): Remove stpncpy variants.
7336 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7337 * sysdeps/s390/multiarch/ifunc-impl-list.c
7338 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7339 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7340 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7341 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7342 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7343 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7344 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7345 * sysdeps/s390/ifunc-stpncpy.h: New file.
7347 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7349 * sysdeps/s390/multiarch/Makefile
7350 (sysdep_routines): Remove strncpy variants.
7351 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7352 * sysdeps/s390/multiarch/ifunc-impl-list.c
7353 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7354 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7355 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7356 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7357 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7358 * sysdeps/s390/ifunc-strncpy.h: New file.
7359 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7360 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7361 and adjust ifunc handling.
7362 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7363 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7364 and adjust ifunc handling.
7365 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7366 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7368 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7370 * sysdeps/s390/multiarch/Makefile
7371 (sysdep_routines): Remove stpcpy variants.
7372 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7373 * sysdeps/s390/multiarch/ifunc-impl-list.c
7374 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7375 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7376 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7377 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7378 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7379 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7380 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7381 * sysdeps/s390/ifunc-stpcpy.h: New file.
7383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7385 * sysdeps/s390/multiarch/Makefile
7386 (sysdep_routines): Remove strcpy variants.
7387 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7388 * sysdeps/s390/multiarch/ifunc-impl-list.c
7389 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7390 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7391 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7392 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7393 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7394 * sysdeps/s390/ifunc-strcpy.h: New file.
7395 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7396 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7397 for 31/64bit and ifunc handling.
7398 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7399 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7400 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7402 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7404 * sysdeps/s390/multiarch/Makefile
7405 (sysdep_routines): Remove strnlen variants.
7406 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7407 * sysdeps/s390/multiarch/ifunc-impl-list.c
7408 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7409 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7410 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7411 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7412 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7413 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7414 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7415 * sysdeps/s390/ifunc-strnlen.h: New file.
7417 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7419 * sysdeps/s390/multiarch/Makefile
7420 (sysdep_routines): Remove strlen variants.
7421 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7422 * sysdeps/s390/multiarch/ifunc-impl-list.c
7423 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7424 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7425 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7426 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7427 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7428 * sysdeps/s390/multiarch/strlen.c: Move to ...
7429 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7430 * sysdeps/s390/ifunc-strlen.h: New file.
7432 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7434 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7435 * sysdeps/s390/multiarch/ifunc-impl-list.c
7436 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7437 * sysdeps/s390/ifunc-memmem.h: New file.
7438 * sysdeps/s390/memmem.c: Likewise.
7439 * sysdeps/s390/memmem-c.c: Likewise.
7440 * sysdeps/s390/memmem-vx.c: Likewise.
7442 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7444 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7445 * sysdeps/s390/multiarch/ifunc-impl-list.c
7446 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7447 * sysdeps/s390/ifunc-strstr.h: New file.
7448 * sysdeps/s390/strstr.c: Likewise.
7449 * sysdeps/s390/strstr-c.c: Likewise.
7450 * sysdeps/s390/strstr-vx.c: Likewise.
7452 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7454 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7455 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7456 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7457 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7459 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7460 * sysdeps/s390/memmove-c.c: New file.
7461 * sysdeps/s390/memmove.c: Likewise.
7462 * sysdeps/s390/multiarch/ifunc-impl-list.c
7463 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7465 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7467 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7468 * sysdeps/s390/configure.ac: Add check for z13 support.
7469 * sysdeps/s390/configure: Regenerated.
7471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7473 * sysdeps/s390/memcopy.h: New file.
7475 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7477 * sysdeps/s390/s390-32/bcopy.S: Remove.
7478 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7480 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7482 * sysdeps/s390/ifunc-memcpy.h: New File.
7483 * sysdeps/s390/memcpy.S: Move to ...
7484 * sysdeps/s390/memcpy-z900.S ... here.
7485 Move implementations from memcpy-s390x.s to here.
7486 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7487 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7488 Remove memcpy/mempcpy variants.
7489 * sysdeps/s390/Makefile (sysdep_routines):
7490 Add memcpy/mempcpy variants.
7491 * sysdeps/s390/multiarch/ifunc-impl-list.c
7492 (__libc_ifunc_impl_list): Adjust ifunc variants for
7494 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7496 * sysdeps/s390/memcpy.c: ... here.
7497 Adjust ifunc variants for memcpy.
7498 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7499 * sysdeps/s390/mempcpy.c: ... here.
7500 Adjust ifunc variants for mempcpy.
7501 * sysdeps/s390/mempcpy.S: Delete file.
7503 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7505 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7506 * sysdeps/s390/memcpy.S: ... here.
7507 Adjust to be usable for 31/64bit.
7508 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7509 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7510 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7511 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7512 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7513 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7514 Adjust to be usable for 31/64bit.
7515 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7516 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7517 * sysdeps/s390/multiarch/memcpy.c: ... here.
7518 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7520 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7522 * sysdeps/s390/ifunc-memcmp.h: New File.
7523 * sysdeps/s390/memcmp.S: Move to ...
7524 * sysdeps/s390/memcmp-z900.S ... here.
7525 Move implementations from memcmp-s390x.s to here.
7526 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7527 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7528 Remove memcmp variants.
7529 * sysdeps/s390/Makefile (sysdep_routines):
7530 Add memcmp variants.
7531 * sysdeps/s390/multiarch/ifunc-impl-list.c
7532 (__libc_ifunc_impl_list): Adjust ifunc variants for
7534 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7536 * sysdeps/s390/memcmp.c: ... here.
7537 Adjust ifunc variants for memcmp.
7539 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7541 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7542 * sysdeps/s390/memcmp.S: ... here.
7543 Adjust to be usable for 31/64bit.
7544 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7545 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7546 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7548 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7549 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7550 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7551 Adjust to be usable for 31/64bit.
7552 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7553 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7554 * sysdeps/s390/multiarch/memcmp.c: ... here.
7555 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7557 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7559 * sysdeps/s390/s390-32/bzero.S: Delete file.
7560 * sysdeps/s390/s390-64/bzero.S: Likewise.
7561 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7562 * sysdeps/s390/bzero.c: New file.
7563 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7564 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7565 * sysdeps/s390/multiarch/ifunc-impl-list.c
7566 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7568 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7570 * sysdeps/s390/ifunc-memset.h: New File.
7571 * sysdeps/s390/memset.S: Move to ...
7572 * sysdeps/s390/memset-z900.S ... here.
7573 Move implementations from memset-s390x.s to here.
7574 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7575 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7576 Remove memset variants.
7577 * sysdeps/s390/Makefile (sysdep_routines):
7578 Add memset variants.
7579 * sysdeps/s390/multiarch/ifunc-impl-list.c
7580 (__libc_ifunc_impl_list): Adjust ifunc variants for
7582 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7584 * sysdeps/s390/memset.c: ... here.
7585 Adjust ifunc variants for memset.
7587 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7589 * sysdeps/s390/s390-64/memset.S: Move to ...
7590 * sysdeps/s390/memset.S: ... here.
7591 Adjust to be usable for 31/64bit.
7592 * sysdeps/s390/s390-32/memset.S: Delete File.
7593 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7594 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7596 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7597 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7598 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7599 Adjust to be usable for 31/64bit.
7600 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7601 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7602 * sysdeps/s390/multiarch/memset.c: ... here.
7603 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7607 * sysdeps/s390/multiarch/ifunc-resolve.h
7608 (s390_libc_ifunc_init, s390_libc_ifunc,
7609 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7613 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7614 * sysdeps/s390/configure.ac: Add check for z10 support.
7615 * sysdeps/s390/configure: Regenerated.
7617 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7619 * sysdeps/i386/atomic-machine.h: Merged with ...
7620 * sysdeps/x86_64/atomic-machine.h: To ...
7621 * sysdeps/x86/atomic-machine.h: This. New file.
7623 2018-12-18 Florian Weimer <fweimer@redhat.com>
7625 Rewrite locale/gen-translit.pl in Python.
7626 * locale/Makefile (generated): Add C-translit.h.
7627 (before-compile): Add $(objpfx)C-translit.h.
7628 (C-translit.h): Move to $(objpfx). Create target directory.
7629 Build using Python script.
7630 * locale/gen-translit.py: New file.
7631 * locale/gen-translit.pl: Remove file.
7632 * locale/C-translit.h.in: Change comment character to '#' for
7633 easier parsing without a C preprocessor.
7634 * locale/C-translit.h: Remove generated file.
7635 * manual/install.texi (Tools for Compilation): Do not mention
7637 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7638 Remove locale/C-translit.h.
7639 * scripts/update-copyrights: Likewise.
7640 * INSTALL: Regenerate.
7642 2018-12-18 Florian Weimer <fweimer@redhat.com>
7645 * localedata/locales/bi_VU: Remove executable bit from file.
7647 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7650 (__localtime64): Add.
7651 * manual/maint.texi: Document Y2038 symbol handling.
7653 (__localtime64): Add.
7654 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7656 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7658 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7661 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7662 to allow extra macros from first or second sources.
7663 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7664 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7665 (tests-special): Add $(objpfx)tst-mman-consts.out.
7666 ($(objpfx)tst-mman-consts.out): New makefile target.
7668 2018-12-17 Mao Han <han_mao@c-sky.com>
7670 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7671 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7672 without stat64 system call support.
7673 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7674 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7675 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7676 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7677 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7678 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7679 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7680 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7681 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7682 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7683 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7685 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7687 regex: fix storage-exhaustion error
7689 * posix/regexec.c (get_subexp):
7690 Do not continue if storage is exhausted.
7692 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7694 regex: fix heap-use-after-free error
7696 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7697 https://debbugs.gnu.org/32592
7698 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7699 call extend_buffers which reallocates the re_string_t internal buffer.
7700 Local variable 'buf' was not updated in such case, resulting in
7702 * posix/regexec.c (get_subexp): Update 'buf' after call to
7705 2018-12-15 Florian Weimer <fweimer@redhat.com>
7707 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7708 (minimum_stride_size): Use it.
7709 (support_blob_repeat_allocate): Likewise.
7711 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7713 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7718 2018-12-14 Florian Weimer <fweimer@redhat.com>
7720 * manual/process.texi (Process Creation Concepts): Remove
7721 documentation of process (ID) lifetime. List more process
7722 creation functions. Reference Process Identification section.
7723 (Process Identification): Add information about process ID
7724 lifetime. Describe Linux thread/task IDs.
7725 * manual/signal.texi (Signaling Another Process): Mention that the
7726 signal is always sent to the process.
7728 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7730 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7731 and tst-ldbl-efgcvt.
7732 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7733 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7734 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7735 (fcvt_tests, output_error, output_r_error, do_test): Use the
7736 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7737 select the type of floating-point variables and arguments; to
7738 produce extra tests for double and conversion specifiers for
7739 printf; and to set the names of called functions.
7740 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7741 in tst-efgcvt-template.c.
7742 * misc/tst-ldbl-efgcvt.c: Likewise.
7744 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7746 * nss/Makefile (tst-nss-test3.out): New rule.
7748 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7750 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7753 2018-12-13 fanjinke <fanjinke@hygon.cn>
7755 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7758 2018-12-13 Andreas Schwab <schwab@suse.de>
7761 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7762 (__pthread_rwlock_rdlock_full): Update expected value for
7763 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7764 * nptl/tst-rwlock-pwn.c: New file.
7765 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7767 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7769 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7772 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7774 * benchtests/scripts/compare_bench.py (do_compare): write to
7775 stderr in casestat is not present.
7776 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7777 stderr in case timings field is not present. Also string showing
7778 the output filename goes into the stderr.
7780 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7782 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7783 and ZeroDivisorError exceptions.
7784 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7785 argument to loop through user provided statistics.
7786 * benchtests/scripts/compare_bench.py (main): Include the --stats
7789 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7791 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7794 2018-12-12 Florian Weimer <fweimer@redhat.com>
7796 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7797 clause to copyright header.
7799 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7802 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7803 registers saved in the stack frame.
7804 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7805 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7807 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7809 * include/bits/monetary-ldbl.h: New file.
7810 * include/bits/printf-ldbl.h: Likewise.
7811 * include/bits/stdio-ldbl.h: Likewise.
7812 * include/bits/stdlib-ldbl.h: Likewise.
7813 * include/bits/syslog-ldbl.h: Likewise.
7814 * include/bits/wchar-ldbl.h: Likewise.
7816 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7818 * libio/libio.h: Remove redirection for _IO_vfprintf.
7820 2018-12-11 Andreas Schwab <schwab@suse.de>
7822 * Makerules: Remove all references to abilist-pattern.
7823 (update-all-abi): Simplify find expression.
7825 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7828 * math/auto-libm-test-in: Add new test case.
7829 * math/auto-libm-test-out-pow: Regenerated.
7830 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7832 2018-12-10 DJ Delorie <dj@redhat.com>
7835 * support/test-container.c: Move postclean step to before we
7838 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7840 * scripts/gen-as-const.py (main): Handle --python option.
7841 * scripts/gen-py-const.awk: Remove.
7842 * Makerules (py-const-script): Use gen-as-const.py.
7843 ($(py-const)): Likewise.
7844 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7845 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7846 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7847 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7848 ~PTHREAD_MUTEX_NO_ELISION_NP.
7849 * manual/README.pretty-printers: Update reference to
7852 * scripts/glibcextract.py: New file.
7853 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7854 or tempfile. Import glibcexctract.
7855 (compute_c_consts): Remove. Moved to glibcextract.py.
7856 (gen_test): Update reference to compute_c_consts.
7858 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7859 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7860 * sysdeps/unix/sysv/linux/Makefile
7861 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7862 Redirect stderr as well as stdout.
7864 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7867 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7868 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7869 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7870 ALWAYS_USE_VSYSCALL.
7871 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7872 ALWAYS_USE_VSYSCALL.
7873 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7874 ALWAYS_USE_VSYSCALL.
7876 2018-12-10 Florian Weimer <fweimer@redhat.com>
7879 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7880 offset instead of count for clarity. Fix typo in comment.
7881 (__old_getdents64): Keep track of previous offset. Use it to call
7883 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7884 that d_off is never zero.
7886 2018-12-10 Andreas Schwab <schwab@suse.de>
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7889 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7891 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7892 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7894 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7896 * timezone/private.h: Update from tzcode 2018g.
7897 * timezone/tzfile.h: Likewise.
7898 * timezone/tzselect.ksh: Likewise.
7899 * timezone/zdump.c: Likewise.
7900 * timezone/zic.c: Likewise.
7902 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7905 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7906 (do_test): Adjust buffer size and fix format.
7908 2018-12-07 DJ Delorie <dj@redhat.com>
7911 * malloc/tst-tcfree3.c: New.
7912 * malloc/Makefile: Add it.
7914 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7916 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7918 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7920 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7921 used as a mask for the mode argument of __vfscanf_internal and
7922 __vfwscanf_internal.
7923 * stdio-common/vfscanf-internal.c
7924 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7925 (__strtof128_internal): Define to __wcstof128_internal.
7926 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7927 __strtof128_internal or __wcstof128_internal when the format of
7928 long double is the same as _Float128.
7930 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7932 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7933 * posix/confstr.c (confstr): Rename to __confstr.
7934 (__confstr): Add hidden def.
7935 (confstr): Add weak alias for __confstr.
7936 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7939 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7941 * NEWS: Mention getcpu.
7942 * include/sched.h (__getcpu): New libc_hidden_proto.
7943 * manual/resource.texi: Document getcpu.
7944 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7945 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7946 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7947 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7948 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7949 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7950 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7951 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7952 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7953 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7954 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7955 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7956 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7958 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7959 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7960 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7969 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7970 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7971 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7972 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7973 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7975 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7976 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7977 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7978 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7979 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7982 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7984 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7986 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7988 2018-12-07 Florian Weimer <fweimer@redhat.com>
7991 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7992 * posix/Versions (GLIBC_2.29): Export
7993 posix_spawn_file_actions_addfchdir_np.
7994 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7995 * posix/spawn_faction_destroy.c
7996 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7997 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7998 and the field action.fchdir_action.
7999 * posix/tst-spawn-chdir.c (add_chdir): New function.
8000 (do_test): Add do_fchdir loop. Call add_chdir.
8001 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8002 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8003 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8004 posix_spawn_file_actions_addfchdir_np.
8005 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8007 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8009 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8010 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8012 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8014 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8016 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8018 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8020 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8022 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8023 (GLIBC_2.29): Likewise.
8024 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8025 (GLIBC_2.29): Likewise.
8026 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8027 (GLIBC_2.29): Likewise.
8028 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8029 (GLIBC_2.29): Likewise.
8030 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8033 (GLIBC_2.29): Likewise.
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8035 (GLIBC_2.29): Likewise.
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8037 (GLIBC_2.29): Likewise.
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8039 (GLIBC_2.29): Likewise.
8040 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8042 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8044 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8046 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8047 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8049 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8051 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8053 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8056 2018-12-06 Joseph Myers <joseph@codesourcery.com>
8058 * manual/texinfo.tex: Update to version 2018-09-21.20 with
8059 trailing whitespace removed.
8060 * scripts/config.guess: Update to version 2018-11-28.
8061 * scripts/config.sub: Update to version 2018-11-28.
8062 * scripts/install-sh: Update to version 2018-03-11.20.
8063 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
8064 * scripts/move-if-change: Update to version 2018-03-07 03:47.
8066 2018-12-07 Florian Weimer <fweimer@redhat.com>
8070 * inet/tst-if_index-long.c: New file.
8071 * inet/Makefile (tests): Add tst-if_index-long.
8073 2018-12-07 Florian Weimer <fweimer@redhat.com>
8075 * support/check.h (support_record_failure_is_failed): Declare.
8076 * support/descriptors.h: New file.
8077 * support/support_descriptors.c: Likewise.
8078 * support/tst-support_descriptors.c: Likewise.
8079 * support/support_record_failure.c
8080 (support_record_failure_is_failed): New function.
8081 * support/Makefile (libsupport-routines): Add support_descriptors.
8082 (tests): Add tst-support_descriptors.
8084 2018-12-05 Zack Weinberg <zackw@panix.com>
8085 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8087 * stdio-common/vfprintf-internal.c
8088 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
8089 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
8090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
8091 and __no_long_double.
8092 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
8093 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
8094 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
8095 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
8096 and __nldbl_*syslog* functions.
8097 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
8098 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
8099 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
8100 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
8101 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
8102 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
8103 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
8104 (__nldbl_vwprintf, __nldbl_wprintf):
8105 Directly call the appropriate __v*printf_internal routine, passing
8106 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
8108 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
8109 (__nldbl___printf_chk, __nldbl___snprintf_chk)
8110 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
8111 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
8112 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
8113 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8114 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
8115 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
8116 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
8117 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
8118 Likewise, and also pass PRINTF_FORTIFY when appropriate.
8119 (__nldbl_syslog, __nldbl_vsyslog):
8120 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
8121 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8123 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8126 2018-12-05 Zack Weinberg <zackw@panix.com>
8127 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8130 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
8131 Moved here from debug/vsprintf_chk.c.
8132 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
8133 and completion logic for the strfile to match exactly what
8134 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
8135 _IO_str_init_static_internal instead of maxlen-1.
8136 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8137 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
8138 __vsprintf_internal.
8140 * debug/vsprintf_chk.c (__vsprintf_chk)
8141 * debug/sprintf_chk.c (__sprintf_chk):
8142 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
8143 'flags' argument is positive, and slen as maxlen. No need to lock
8144 the FILE and/or construct a temporary FILE. Minimize and normalize
8145 header inclusions and variable names. Do not libc_hidden_def anything.
8147 * debug/asprintf_chk.c (__asprintf_chk)
8148 * debug/dprintf_chk.c (__dprintf_chk)
8149 * debug/fprintf_chk.c (__fprintf_chk)
8150 * debug/fwprintf_chk.c (__fwprintf_chk)
8151 * debug/printf_chk.c (__printf_chk)
8152 * debug/snprintf_chk.c (__snprintf_chk)
8153 * debug/swprintf_chk.c (__swprintf_chk)
8154 * debug/vasprintf_chk.c (__vasprintf_chk)
8155 * debug/vdprintf_chk.c (__vdprintf_chk)
8156 * debug/vfprintf_chk.c (__vfprintf_chk)
8157 * debug/vfwprintf_chk.c (__vfwprintf_chk)
8158 * debug/vprintf_chk.c (__vprintf_chk)
8159 * debug/vsnprintf_chk.c (__vsnprintf_chk)
8160 * debug/vswprintf_chk.c (__vswprintf_chk)
8161 * debug/vwprintf_chk.c (__vwprintf_chk)
8162 * debug/wprintf_chk.c (__wprintf_chk):
8163 Directly call the corresponding vxxprintf_internal function, passing
8164 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
8165 the FILE and/or construct a temporary FILE. Minimize and normalize
8166 header inclusions and variable names. Do not libc_hidden_def anything.
8168 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
8169 __obstack_vprintf_internal.
8170 (__obstack_vprintf_chk): Convert into a wrapper that calls
8171 __obstack_vprintf_internal (these two functions already had the
8172 same code) and move to new file...
8173 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
8175 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
8176 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
8177 * debug/Makefile (routines): Add vobprintf_chk.
8179 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8180 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8181 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
8182 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8183 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
8184 (__nldbl___obstack_vfprintf_chk):
8185 Directly call the corresponding vxxprintf_internal function,
8186 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
8187 duplicate comparison of slen with 0 or maxlen from the corresponding
8188 non-__nldbl function.
8190 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
8191 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
8192 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
8193 Remove libc_hidden_proto.
8195 * stdio-common/vfprintf-internal.c
8196 (__vfprintf_internal, __vfwprintf_internal):
8197 Do not check _IO_FLAGS2_FORTIFY.
8198 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
8199 * libio/libioP.h: Update prototype of __vsprintf_internal and add
8200 a comment explaining why it has the maxlen argument.
8201 (_IO_acquire_lock_clear_flags2_fct): Remove.
8202 (_IO_acquire_lock_clear_flags2): Remove.
8203 (_IO_release_lock): Remove conditional statement which will
8205 (_IO_acquire_lock): Remove variable which is now unused.
8206 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8207 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8209 * stdio-common/Makefile (tests): Add tst-bz11319 and
8210 tst-bz11319-fortify2.
8211 (CFLAGS-tst-bz11319-fortify2.c): New macro.
8212 * stdio-common/tst-bz11319-fortify2.c: New file.
8213 * stdio-common/tst-bz11319.c: Likewise.
8215 2018-12-05 Zack Weinberg <zackw@panix.com>
8216 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8218 * misc/syslog.c: Include libioP.h, not iolibio.h.
8219 (__vsyslog_internal): New function with the former body of
8220 __vsyslog_chk; takes mode_flags argument same as
8221 __v*printf_internal. Call __vfprintf_internal directly.
8223 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
8224 Remove libc_hidden_def.
8225 (__syslog, __syslog_chk): Use __vsyslog_internal.
8226 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
8228 * include/sys/syslog.h: Add multiple inclusion guard.
8229 Add prototype for __vsyslog_internal.
8230 Remove declaration and libc_hidden_proto for __vsyslog_chk.
8232 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
8233 Use __vsyslog_internal.
8235 2018-12-05 Zack Weinberg <zackw@panix.com>
8236 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8238 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
8239 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
8240 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
8242 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
8243 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
8245 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
8246 Include wctype.h here if COMPILE_WPRINTF is defined.
8247 Define __vfprintf_internal or __vfwprintf_internal, depending
8249 Temporarily, on entry to this function, update mode_flags
8250 according to the environmental settings corresponding to
8251 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
8252 Throughout, check mode_flags instead of __ldbl_is_dbl and
8253 _IO_FLAGS2_FORTIFY on the destination FILE.
8254 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
8255 Include vfprintf-internal.c. Don't include wctype.h.
8256 * stdio-common/vfprintf.c: New file. Just define __vfprintf
8257 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
8259 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8260 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8262 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8264 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8265 and add mode_flags argument; use __vfprintf_internal.
8266 (__vdprintf): New function. Alias vdprintf to this.
8267 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8268 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8269 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8270 (__obstack_printf): Use __obstack_printf_internal.
8271 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8272 public aliases __vsnprintf and vsnprintf.
8273 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8275 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8276 public aliases _IO_vsprintf and vsprintf.
8277 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8278 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8279 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8280 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8281 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8283 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8284 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8285 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8286 * stdio-common/printf.c: Use __vfprintf_internal.
8288 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8289 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8290 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8292 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8293 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8294 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8295 __vfwprintf_internal.
8297 * libio/libio.h: Remove libc_hidden_proto and declaration for
8299 Remove declaration of _IO_vfwprintf.
8300 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8302 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8304 * include/stdio.h: Add prototype for __vasprintf.
8305 (__vsnprintf): Remove declaration, because there are no more
8307 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8308 declaration, because there are no more internal calls.
8310 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8311 __vsnprintf_internal, instead of _IO_vsnprintf.
8312 * argp/argp-help.c (__argp_error, __argp_failure): Use
8313 __vasprintf_internal, instead of _IO_vasprintf.
8314 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8315 redefine, because there are no more internal calls.
8317 2018-12-05 Zack Weinberg <zackw@panix.com>
8318 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8320 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8321 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8322 Include libio/strfile.h instead of libioP.h.
8323 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8324 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8325 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8326 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8327 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8328 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8329 necessary. Do not set __no_long_double. Normalize variable names.
8330 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8331 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8332 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8333 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8334 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8335 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8336 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8337 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8338 Do not set __no_long_double. Normalize variable names.
8340 2018-12-05 Zack Weinberg <zackw@panix.com>
8341 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8343 * stdio-common/isoc99_scanf.c
8344 * stdio-common/isoc99_fscanf.c
8345 * stdio-common/isoc99_sscanf.c
8346 * stdio-common/isoc99_vscanf.c
8347 * stdio-common/isoc99_vfscanf.c
8348 * stdio-common/isoc99_vsscanf.c
8349 * wcsmbs/isoc99_wscanf.c
8350 * wcsmbs/isoc99_fwscanf.c
8351 * wcsmbs/isoc99_swscanf.c
8352 * wcsmbs/isoc99_vwscanf.c
8353 * wcsmbs/isoc99_vfwscanf.c
8354 * wcsmbs/isoc99_vswscanf.c:
8355 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8356 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8357 No need to lock and unlock the FILE passed to that function.
8359 * stdio-common/vfscanf-internal.c
8360 (__vfscanf_internal, __vfwscanf_internal):
8361 Don't look at _IO_FLAGS2_SCANF_STD.
8362 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8363 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8364 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8366 2018-12-05 Zack Weinberg <zackw@panix.com>
8367 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8369 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8370 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8371 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8372 * libio/strfile.h: Add multiple inclusion guard.
8373 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8375 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8376 consistency with the other version of this file.
8377 (ldbl_compat_symbol): New macro.
8378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8381 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8382 Define __vfscanf_internal or __vfwscanf_internal, depending on
8383 COMPILE_WSCANF; don't define any other public symbols.
8384 Remove errval and code to set errp.
8385 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8386 as the mode_flags argument.
8387 (encode_error, conv_error, input_error): Don't set errval.
8388 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8389 Include vfscanf-internal.c.
8390 * stdio-common/vfscanf.c: New file defining the public entry
8391 point vfscanf, which calls __vfscanf_internal.
8392 * stdio-common/vfwscanf.c: New file defining the public entry
8393 point vfwscanf, which calls __vfwscanf_internal.
8395 * stdio-common/iovfscanf.c: New file.
8396 * stdio-common/iovfwscanf.c: Likewise.
8398 * stdio-common/Makefile (routines): Add vfscanf-internal,
8399 vfwscanf-internal, iovfscanf, iovfwscanf.
8400 * stdio-common/Versions: Mention GLIBC_2.29, so that
8401 it can be used in SHLIB_COMPAT expressions.
8402 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8403 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8404 Call __vfscanf_internal, instead of _IO_vfscanf.
8405 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8407 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8410 * libio/iovsscanf.c: Clean up includes, when possible. Use
8411 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8412 __vfscanf_internal or __vfwscanf_internal directly.
8413 * libio/iovswscanf.c: Likewise.
8414 * libio/swscanf.c: Likewise.
8415 * libio/vscanf.c: Likewise.
8416 * libio/vwscanf.c: Likewise.
8417 * libio/wscanf.c: Likewise.
8418 * stdio-common/isoc99_fscanf.c: Likewise.
8419 * stdio-common/isoc99_scanf.c: Likewise.
8420 * stdio-common/isoc99_sscanf.c: Likewise.
8421 * stdio-common/isoc99_vfscanf.c: Likewise.
8422 * stdio-common/isoc99_vscanf.c: Likewise.
8423 * stdio-common/isoc99_vsscanf.c: Likewise.
8424 * stdio-common/scanf.c: Likewise.
8425 * stdio-common/sscanf.c: Likewise.
8426 * wcsmbs/isoc99_fwscanf.c: Likewise.
8427 * wcsmbs/isoc99_swscanf.c: Likewise.
8428 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8429 * wcsmbs/isoc99_vswscanf.c: Likewise.
8430 * wcsmbs/isoc99_vwscanf.c: Likewise.
8431 * wcsmbs/isoc99_wscanf.c: Likewise.
8433 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8436 (__tz_compute): Replace time_t with __time64_t.
8437 (__tz_convert): Replace time_t* with __time64_t.
8438 (__offtime): Replace time_t* with __time64_t.
8440 (__gmtime_r): Adjust call to __tz_convert.
8443 (__localtime_r): Likewise.
8444 (localtime): Likewise.
8445 * time/offtime.c: Replace time_t with __time64_t.
8446 * time/tzset.c: Likewise.
8448 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8450 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8451 dynamic linker unless [$(run-built-tests) = yes].
8453 2018-12-03 DJ Delorie <dj@delorie.com>
8455 * support/test-container.c (check_for_unshare_hints): New.
8456 (main): Call it if unshare fails. Add support for "su" scriptlet
8459 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8461 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8462 'START' to indicate that start text should be output.
8463 (gen_test): Likewise.
8464 (main): Generate 'START' for first symbol or '--' line, or at end
8465 of input if not previously generated.
8467 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8470 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8471 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8472 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8473 ALWAYS_USE_VSYSCALL.
8475 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8478 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8481 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8484 * locale/programs/localedef.c: Declare boolean hard_links default true.
8485 (options): Add --no-hard-links option.
8486 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8487 * locale/programs/localedef.h: Declare prototype for hard_links.
8488 * locale/programs/locfile.c (write_locale_data): Don't use hard
8489 links if hard_links is false.
8491 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8493 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8495 (__cache_sysconf): Likewise.
8496 (init_cacheinfo): Likewise.
8497 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8498 populate COMMON_CPUID_INDEX_80000007 and
8499 COMMON_CPUID_INDEX_80000008.
8500 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8501 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8502 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8503 (init_cpu_features): Use _Static_assert on
8504 index_arch_Fast_Unaligned_Load.
8505 __get_cpuid_registers and __get_arch_feature. Updated for
8506 cpu_features_basic. Set stepping in cpu_features.
8507 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8508 (FEATURE_INDEX_2): New.
8509 (FEATURE_INDEX_MAX): Changed to enum.
8510 (COMMON_CPUID_INDEX_D_ECX_1): New.
8511 (COMMON_CPUID_INDEX_80000007): Likewise.
8512 (COMMON_CPUID_INDEX_80000008): Likewise.
8513 (cpuid_registers): Likewise.
8514 (cpu_features_basic): Likewise.
8515 (CPU_FEATURE_USABLE): Likewise.
8516 (bit_arch_XXX_Usable): Likewise.
8517 (cpu_features): Use cpuid_registers and cpu_features_basic.
8518 (bit_arch_XXX): Reweritten.
8519 (bit_cpu_XXX): Likewise.
8520 (index_cpu_XXX): Likewise.
8521 (reg_XXX): Likewise.
8522 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8524 (CHECK_CPU_FEATURE): New.
8525 (CHECK_CPU_FEATURE_USABLE): Likewise.
8526 (cpu_kinds): Likewise.
8527 (do_test): Print vendor, family, model and stepping. Check
8528 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8529 (TEST_FUNCTION): Removed.
8530 Include <support/test-driver.c> instead of
8531 "../../test-skeleton.c".
8532 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8533 Check POPCNT instead of POPCOUNT.
8534 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8536 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8538 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8539 there is no element in `consts'.
8541 2018-12-01 Florian Weimer <fweimer@redhat.com>
8543 * support/support_capture_subprocess.c
8544 (support_capture_subprocess): Check that pipe descriptors have
8545 expected values. Close original pipe descriptors in subprocess.
8547 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8550 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8551 attr with __pthread_default_barrierattr.
8552 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8553 attr with __pthread_default_condattr.
8554 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8555 attr with __pthread_default_mutexattr.
8556 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8557 attr with __pthread_default_rwlockattr.
8559 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8561 * manual/tunables.texi (POSIX Thread Tunables): New node.
8562 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8563 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8564 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8565 __pthread_tunables_init.
8566 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8567 (max_adaptive_count): Define.
8568 * nptl/pthread_mutex_conf.c: New file.
8569 * nptl/pthread_mutex_conf.h: New file.
8570 * sysdeps/generic/adaptive_spin_count.h: New file.
8571 * sysdeps/nptl/dl-tunables.list: New file.
8572 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8573 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8574 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8577 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8580 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8581 * stdlib/on_exit.c (__on_exit): Likewise.
8582 * stdlib/Makefile (tests): Add tst-bz20544.
8583 * stdlib/tst-bz20544.c: New test.
8585 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8588 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8589 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8592 2018-11-30 Florian Weimer <fweimer@redhat.com>
8594 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8595 Extend error logging.
8596 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8599 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8601 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8602 __sigismember instead of sigismember.
8603 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8604 cancel_handler): New definitions.
8605 (do_system): Use posix_spawn instead of fork and execl and remove
8607 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8608 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8609 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8610 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8611 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8612 * sysdeps/unix/sysv/linux/system.c: Likewise.
8616 * NEWS: Add new semantic for atfork with popen and system.
8617 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8620 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8623 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8624 modification order when accessing reloc_result->addr.
8625 * include/link.h (reloc_result): Add field init.
8626 * nptl/Makefile (tests): Add tst-audit-threads.
8627 (modules-names): Add tst-audit-threads-mod1 and
8628 tst-audit-threads-mod2.
8629 Add rules to build tst-audit-threads.
8630 * nptl/tst-audit-threads-mod1.c: New file.
8631 * nptl/tst-audit-threads-mod2.c: Likewise.
8632 * nptl/tst-audit-threads.c: Likewise.
8633 * nptl/tst-audit-threads.h: Likewise.
8635 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8637 * scripts/gen-as-const.py: New file.
8638 * scripts/gen-as-const.awk: Remove.
8639 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8641 ($(objpfx)test-as-const-%.c): Likewise.
8643 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8645 * elf/dl-exception.c: Include <_itoa.h>.
8647 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8649 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8650 returned by __f_setlk.
8652 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8653 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8655 * elf/Makefile (tests-internal): Add tst-create_format1.
8656 * elf/dl-exception.c (_dl_exception_create_format): Support
8658 * elf/tst-create_format1.c: New file.
8660 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8662 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8663 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8665 * argp/argp-help.c (__argp_failure): Likewise.
8667 2018-11-29 Mao Han <han_mao@c-sky.com>
8669 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8670 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8671 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8672 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8673 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8674 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8675 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8676 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8677 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8678 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8679 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8680 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8681 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8682 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8683 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8684 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8685 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8686 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8687 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8688 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8689 (R_CKCORE_TLS_TPOFF32): New defines.
8691 2018-11-29 Florian Weimer <fweimer@redhat.com>
8693 * posix/Makefile (before-compile): Remove testcases.h and
8695 (generated): Add testcases.h and ptestcases.h.
8696 (testcases.h, ptestcases.h): Move to $(objpfx).
8697 (runtests.o): Add dependency on testcases.h.
8698 (runptests.o): Add dependency on ptestcases.h.
8699 * posix/testcases.h, posix/ptestcases.h: Remove files.
8700 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8701 not touch posix/testcases.h and posix/ptestcases.h.
8703 2018-11-28 Florian Weimer <fweimer@redhat.com>
8705 support: Add signal support to support_capture_subprocess_check.
8706 * support/capture_subprocess.h (support_capture_subprocess_check):
8707 Adjust comment and rename parameter.
8708 * support/support_capture_subprocess_check.c
8709 (print_actual_status): New function.
8710 (support_capture_subprocess_check): Support negative
8711 status_or_signal. Call print_actual_status.
8712 * support/tst-support_capture_subprocess.c (do_test): Call
8713 support_capture_subprocess_check.
8714 * libio/tst-vtables-common.c (termination_status)
8715 (init_termination_status): Remove.
8716 (check_for_termination): Adjust support_capture_subprocess_check
8718 (do_test): Remove call to init_termination_status.
8720 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8722 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8723 source directory instead of a copy.
8724 (CommandList.create_copy_dir): Remove.
8726 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8728 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8730 2018-11-28 Florian Weimer <fweimer@redhat.com>
8732 * support/support.h (support_quote_string): Do not use str
8735 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8737 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8738 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8740 2018-11-27 Florian Weimer <fweimer@redhat.com>
8742 * support/support.h (support_quote_string): Declare.
8743 * support/support_quote_string.c: New file.
8744 * support/tst-support_quote_string.c: Likewise.
8745 * support/Makefile (libsupport-routines): Add
8746 support_quote_string.
8747 (tests): Add tst-support_quote_string.
8749 2018-11-27 Florian Weimer <fweimer@redhat.com>
8753 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8754 descriptor leak in case of ENODEV error.
8756 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8759 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8760 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8761 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8763 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8765 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8766 Error for unknown lines.
8768 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8770 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8771 Touch additional files.
8773 2018-11-26 Florian Weimer <fweimer@redhat.com>
8776 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8779 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8782 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8783 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8784 SHARED. Include sysdep.h.
8785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8786 ALWAYS_USE_VSYSCALL.
8787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8788 ALWAYS_USE_VSYSCALL.
8790 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8793 * nptl/Makefile (tests-static): Add tst-cond11-static.
8795 * nptl/tst-cond11-static.c: New File.
8796 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8797 tst-affinity-static.
8799 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8801 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8802 (USE_VSYSCALL): Likewise.
8803 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8804 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8806 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8811 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8814 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8815 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8818 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8820 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8821 (tst-cet-legacy-1a-ARGS): New.
8822 ($(objpfx)tst-cet-legacy-1a): New target.
8823 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8825 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8827 * conform/conformtest.py (CompileSubTest.__init__): Set
8828 self.run_early to False.
8829 (ExecuteSubTest.__init__): Likewise.
8830 (HeaderTests.run): Try running all non-optional, non-XFAILed
8831 compilation tests in a single execution of the compiler.
8833 * conform/conformtest.py (CompileSubTest): New class.
8834 (ExecuteSubTest): Likewise.
8835 (ElementTest.run): Rename to gen_subtests. Append tests to
8836 self.subtests instead of running them.
8837 (ConstantTest.run): Likewise.
8838 (SymbolTest.run): Likewise.
8839 (TypeTest.run): Likewise.
8840 (TagTest.run): Likewise.
8841 (FunctionTest.run): Likewise.
8842 (VariableTest.run): Likewise.
8843 (MacroFunctionTest.run): Likewise.
8844 (MacroStrTest.run): Likewise.
8845 (HeaderTests.handle_test_line): Generate subtests for tests.
8846 (HeaderTests.run): Run subtests for tests.
8848 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8850 * math/Versions (GLIBC_2.29): Add pow.
8851 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8853 * math/w_pow.c: New file.
8854 * sysdeps/i386/fpu/w_pow.c: New file.
8855 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8857 and add necessary aliases.
8858 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8859 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8860 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8861 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8862 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8863 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8864 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8865 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8866 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8867 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8868 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8869 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8870 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8871 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8872 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8877 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8878 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8879 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8880 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8881 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8882 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8883 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8884 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8886 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8887 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8888 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8890 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8892 * math/Versions (GLIBC_2.29): Add log2.
8893 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8895 * math/w_log2.c: New file.
8896 * sysdeps/i386/fpu/w_log2.c: New file.
8897 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8898 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8899 and add necessary aliases.
8900 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8901 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8902 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8903 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8904 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8905 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8906 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8907 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8908 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8909 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8910 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8911 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8912 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8913 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8914 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8919 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8920 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8921 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8922 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8923 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8924 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8925 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8927 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8929 * math/Versions (GLIBC_2.29): Add log.
8930 * math/w_log_compat.c (__log_compat): Change to versioned compat
8932 * math/w_log.c: New file.
8933 * sysdeps/i386/fpu/w_log.c: New file.
8934 * sysdeps/ia64/fpu/e_log.S: Update.
8935 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8936 and add necessary aliases.
8937 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8938 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8939 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8940 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8941 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8942 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8943 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8944 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8945 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8946 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8947 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8948 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8949 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8950 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8951 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8956 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8957 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8958 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8959 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8960 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8961 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8962 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8963 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8965 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8966 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8967 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8968 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8970 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8972 * math/Versions (GLIBC_2.29): Add exp and exp2.
8973 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8974 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8975 * math/w_exp_compat.c (__exp_compat): Likewise.
8976 * math/w_exp.c: New file.
8977 * math/w_exp2.c: New file.
8978 * sysdeps/i386/fpu/w_exp.c: New file.
8979 * sysdeps/i386/fpu/w_exp2.c: New file.
8980 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8981 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8982 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8983 and add necessary aliases.
8984 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8985 and add necessary aliases.
8986 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8987 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8988 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8989 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8990 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8991 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8992 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8993 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8994 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8995 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8996 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8997 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8998 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8999 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9000 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9001 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9002 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9007 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9008 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9009 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9010 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9011 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9013 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9014 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9015 (__ieee754_exp): Rename to __exp.
9016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9017 (__ieee754_exp): Rename to __exp.
9018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9019 (__ieee754_exp): Rename to __exp.
9020 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9022 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9024 2018-11-20 DJ Delorie <dj@redhat.com>
9026 * malloc/malloc.c (tcache_entry): Add key field.
9027 (tcache_put): Set it.
9028 (tcache_get): Likewise.
9029 (_int_free): Check for double free in tcache.
9030 * malloc/tst-tcfree1.c: New.
9031 * malloc/tst-tcfree2.c: New.
9032 * malloc/Makefile: Run the new tests.
9033 * manual/probes.texi: Document memory_tcache_double_free probe.
9035 * dlfcn/dlerror.c (check_free): Prevent double frees.
9037 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9039 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
9041 2018-11-20 Joseph Myers <joseph@codesourcery.com>
9043 * conform/conformtest.py (ElementTest.run): Use unique identifiers
9044 in tests. Use names for format arguments.
9045 (ConstantTest.run): Likewise.
9046 (SymbolTest.run): Likewise.
9047 (TypeTest.run): Likewise.
9048 (TagTest.run): Likewise.
9049 (FunctionTest.run): Likewise.
9050 (VariableTest.run): Likewise.
9051 (MacroFunctionTest.run): Likewise.
9052 (MacroStrTest.run): Likewise.
9053 (HeaderTests.__init__): Set self.num_tests.
9054 (HeaderTests.handle_test_line): Set test.num. Increment
9057 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9059 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
9060 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
9063 2018-11-19 Mao Han <han_mao@c-sky.com>
9065 * scripts/config.guess: Update to version 2018-08-29.
9066 * scripts/config.sub: Update to version 2018-08-29.
9068 2018-11-19 Florian Weimer <fweimer@redhat.com>
9070 support: Print timestamps in timeout handler.
9071 * support/support_test_main.c (print_timestamp): New function.
9072 (signal_handler): Use it to print the termination time and the
9073 time of the last write to standard output.
9075 2018-11-16 Zack Weinberg <zackw@panix.com>
9076 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9078 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
9079 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
9081 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
9082 and add flags argument. Check flags instead of __ldbl_is_dbl when
9083 deciding whether to set is_long_double.
9084 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
9085 passing zero for flags argument.
9086 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
9088 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9089 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
9090 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
9091 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
9092 variable names. Remove libc_hidden_def/libc_hidden_proto from
9093 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
9094 longer called from within the library.
9095 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
9096 for __nldbl___vstrfmon_l, declare it explicitly.
9098 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
9100 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9102 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
9104 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
9105 F_SETLK64, F_SETLKW64, respectively.
9106 * sysdeps/mach/hurd/f_setlk.c: New file.
9107 * sysdeps/mach/hurd/f_setlk.h: New file.
9108 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
9110 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
9111 (__libc_fcntl): Move non-flock operations to...
9112 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
9113 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
9115 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
9117 mktime: DEBUG_MKTIME cleanup
9118 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
9119 And it’s no longer needed now that glibc and Gnulib both have
9120 their own testing mechanisms for mktime.
9121 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
9123 mktime: fix non-EOVERFLOW errno handling
9125 mktime was not properly reporting failures when the underlying
9126 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
9127 them like EOVERFLOW failures, and set errno to EOVERFLOW.
9128 The problem could happen on non-glibc platforms, with Gnulib.
9129 * time/mktime.c (guess_time_tm): Remove, replacing with ...
9130 (tm_diff): ... this simpler function, which does not change errno.
9131 All callers changed to deal with errno themselves.
9132 (ranged_convert, __mktime_internal): Return failure immediately if
9133 the underlying function reports any failure other than EOVERFLOW.
9134 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
9137 mktime: fix bug with Y2038 DST transition
9139 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
9140 mishandle a DST transition that jumps over the Y2038 boundary.
9141 No such DST transitions are known so this is only a theoretical
9142 bug, but we might as well do things right.
9144 mktime: make more room for overflow
9146 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
9147 This is so that we can add tm_diff results to a previous guess,
9148 which will be useful in a later patch.
9150 mktime: simplify offset guess
9152 * time/mktime.c (__mktime_internal): Omit excess precision.
9154 mktime: new test for mktime failure
9156 Based on a test suggested by Albert Aribaud in:
9157 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
9158 * time/Makefile (tests): Add bug-mktime4.
9159 * time/bug-mktime4.c: New file.
9161 mktime: fix EOVERFLOW bug
9163 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
9164 Include libc-config.h, not config.h, for __set_errno.
9165 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
9167 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9169 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
9170 __attribute_copy__ to copy attributes from name. Drop static qualifier
9171 to avoid warnings about leaf attribute not having effect on static
9174 2018-11-13 Florian Weimer <fweimer@redhat.com>
9176 * malloc/malloc.c (fastbin_push_entry): New function.
9177 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
9178 (REMOVE_FB): Remove macro.
9179 (_int_malloc): Use fastbin_pop_entry and reindent.
9180 (_int_free): Use fastbin_push_entry.
9181 (malloc_consolidate): Use atomic_exchange_acquire.
9183 2018-11-13 Joseph Myers <joseph@codesourcery.com>
9185 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
9186 alias attribute, not with strong_alias.
9188 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
9189 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
9190 with additional parameter thread.
9191 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
9192 in terms of __hidden_ver2.
9193 (hidden_tls_def): New macro.
9194 (libc_hidden_tls_def): Likewise.
9195 (rtld_hidden_tls_def): Likewise.
9196 (libm_hidden_tls_def): Likewise.
9197 (libmvec_hidden_tls_def): Likewise.
9198 (libresolv_hidden_tls_def): Likewise.
9199 (librt_hidden_tls_def): Likewise.
9200 (libdl_hidden_tls_def): Likewise.
9201 (libnss_files_hidden_tls_def): Likewise.
9202 (libnsl_hidden_tls_def): Likewise.
9203 (libnss_nisplus_hidden_tls_def): Likewise.
9204 (libutil_hidden_tls_def): Likewise.
9205 (libutil_hidden_tls_def): Likweise.
9206 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
9207 libc_hidden_tls_def.
9208 (__sim_disabled_exceptions_thread): Likewise.
9209 (__sim_round_mode_thread): Likewise.
9211 * sysdeps/sparc/sparc-ifunc.h [SHARED]
9212 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
9213 copy attributes from name.
9215 2018-11-12 Joseph Myers <joseph@codesourcery.com>
9217 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
9218 Use __attribute_copy__ to copy attributes from name.
9220 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
9221 with __hidden_ver1 call.
9222 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
9223 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
9224 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
9225 (__cosf): Do not declare here.
9226 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
9227 (__sincosf): Do not declare here.
9228 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
9229 (__sinf): Do not declare here.
9231 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
9232 (__BIG_ENDIAN): Likewise.
9233 (__BYTE_ORDER): Likewise.
9234 (strong_alias): Likewise.
9235 (_strong_alias): Likewise.
9237 2018-11-12 Florian Weimer <fweimer@redhat.com>
9239 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
9240 function. Move after the definition of in_smallbin_range. Do not
9241 use __builtin_expect for paths that lead to a noreturn function.
9242 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
9243 because it is unclear whether this is in fact an unlikely
9245 (_int_malloc, _int_free): Adjust.
9246 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
9248 * malloc/arena.c (heap_trim): Likewise.
9250 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9252 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
9253 it, free it if needed.
9254 (reauthenticate): Test and use ccwdir.
9255 (child_init_port): In non-resetids case, test and use ccwdir.
9256 (child_chdir): New nested function to set ccwdir.
9257 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
9258 * hurd/hurd/port.h (_hurd_port_move): New function.
9259 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9260 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
9261 * hurd/Versions (_hurd_port_move): Export function.
9262 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9264 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9265 of dtablesize for allocating dtable_cloexec.
9267 2018-11-09 Martin Sebor <msebor@redhat.com>
9269 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9270 it's already defined.
9271 (_strong_alias): Use __attribute_copy__.
9272 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9273 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9274 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9275 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9276 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9277 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9278 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9279 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9280 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9281 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9282 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9283 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9284 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9285 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9286 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9287 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9288 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9289 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9290 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9292 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9294 * misc/tst-efgcvt.c: Include support/check.h and
9295 support/test-driver.c. Do not include test-skeleton.c.
9296 (error_count): Remove.
9297 (output_error): Replace increments to error_count with calls to
9298 support_record_failure.
9299 (output_r_error): Likewise.
9300 (special): Likewise.
9301 (do_test): Unconditionally return zero.
9302 (TEST_FUNCTION): Remove.
9304 2018-11-09 Joseph Myers <joseph@codesourcery.com>
9306 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9308 ($(linknamespace-header-tests)): Likewise.
9310 * conform/conformtest.py: New file.
9311 * conform/conformtest.pl: Remove.
9312 * conform/GlibcConform.pm: Likewise.
9313 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9314 (KEYWORDS_C99): Likewise.
9315 (KEYWORDS): Likewise.
9316 * conform/Makefile ($(conformtest-header-tests)): Use
9317 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9318 option. Use --header instead of --headers.
9319 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9321 * conform/data/spawn.h-data: Likewise.
9322 * conform/data/fcntl.h-data (openat): Add space after function
9324 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9325 (wcscasecmp_l): Likewise.
9326 * conform/data/termios.h-data (c_cc): Add space after element
9329 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9331 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9332 instead of manually comparing and reporting mismatching strings.
9333 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9334 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9336 2018-11-08 Joseph Myers <joseph@codesourcery.com>
9338 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9339 __ASSUME_SOCKETCALL.
9340 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9341 (__ASSUME_SOCKETCALL): Remove.
9342 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9343 (__ASSUME_SOCKETCALL): Likewise.
9344 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9345 (__ASSUME_SOCKETCALL): Likewise.
9346 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9347 (__ASSUME_SOCKETCALL): Likewise.
9348 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9349 (__ASSUME_SOCKETCALL): Likewise.
9350 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9351 (__ASSUME_SOCKETCALL): Likewise.
9352 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9353 (__ASSUME_SOCKETCALL): Likewise.
9355 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9358 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9359 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9360 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9361 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9362 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9365 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9368 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9370 2018-11-07 Joseph Myers <joseph@codesourcery.com>
9373 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9374 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9376 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9378 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9380 * support/support_test_compare_string.c
9381 (support_test_compare_string): Fix printf format.
9383 2018-11-07 Florian Weimer <fweimer@redhat.com>
9385 Implement TEST_COMPARE_STRING.
9386 * support/check.h (TEST_COMPARE_STRING): Define.
9387 (support_test_compare_string): Declare.
9388 * support/Makefile (libsupport-routines): Add
9389 support_test_compare_string.
9390 (tests): Add tst-test_compare_string.
9391 * support/support_test_compare_string.c: New file.
9392 * support/tst-test_compare_string.c: Likewise.
9394 2018-11-07 Andreas Schwab <schwab@suse.de>
9397 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9398 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9401 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9404 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9405 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9406 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9407 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9410 2018-11-06 Florian Weimer <fweimer@redhat.com>
9413 * posix/Makefile (routines): Add spawn_faction_addchdir.
9414 (tests): Add tst-spawn-chdir.
9415 * posix/Versions (GLIBC_2.29): Add
9416 posix_spawn_file_actions_addchdir_np.
9417 * posix/spawn_faction_addchdir.c: New file.
9418 * posix/spawn_faction_destroy.c
9419 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9420 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9421 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9423 * posix/tst-spawn-chdir.c: New file.
9424 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9425 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9426 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9427 posix_spawn_file_actions_addchdir_np.
9428 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9430 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9432 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9433 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9435 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9437 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9439 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9441 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9443 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9445 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9446 (GLIBC_2.29): Likewise.
9447 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9448 (GLIBC_2.29): Likewise.
9449 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9450 (GLIBC_2.29): Likewise.
9451 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9452 (GLIBC_2.29): Likewise.
9453 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9456 (GLIBC_2.29): Likewise.
9457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9458 (GLIBC_2.29): Likewise.
9459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9460 (GLIBC_2.29): Likewise.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9462 (GLIBC_2.29): Likewise.
9463 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9465 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9467 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9469 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9470 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9472 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9474 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9476 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9479 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9481 * misc/Makefile (tests): Add tst-ldbl-error.
9482 * misc/tst-ldbl-error.c: New file.
9484 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9486 * misc/Makefile (tests): Add tst-ldbl-warn.
9487 * misc/tst-ldbl-warn.c: New file.
9489 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9491 * argp/Makefile (tests): Add tst-ldbl-argp.
9492 * argp/tst-ldbl-argp.c: New file.
9494 2018-11-05 Arjun Shankar <arjun@redhat.com>
9496 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9497 __gconv_path_elem and call __gconv_get_path unconditionally.
9499 2018-11-05 Andreas Schwab <schwab@suse.de>
9502 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9503 creating the first helper thread failed.
9505 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9507 * sysdeps/mach/hurd/msync.c: New file.
9509 2018-11-02 Florian Weimer <fweimer@redhat.com>
9511 * support/shell-container.c (copy_func): Call
9512 support_copy_file_range instead of copy_file_range to support
9513 cross-device copies.
9515 2018-11-02 Florian Weimer <fweimer@redhat.com>
9517 * support/test-container.c: Include <libc-pointer-arith.h> for
9520 2018-11-01 Zong Li <zong@andestech.com>
9522 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9523 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9524 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9525 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9527 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9528 variable to avoid overlap arguments.
9530 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9532 * posix/bug-regex22.c (main): Use puts with distinct error
9533 messages for unexpected success of re_compile_pattern, not printf
9534 with NULL argument to %s.
9536 * stdio-common/bug22.c: Include <libc-diag.h>.
9537 (do_test): Disable -Wformat-overflow= warnings around fprintf
9538 calls outputting more than INT_MAX characters.
9539 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9540 around printf call with NULL %s argument.
9543 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9544 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9546 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9547 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9548 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9549 (__ASSUME_SENDTO_SYSCALL): Likewise.
9550 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9551 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9553 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9554 (__ASSUME_CONNECT_SYSCALL): Likewise.
9555 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9556 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9557 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9559 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9561 [__LINUX_KERNEL_VERSION >= 0x040400]
9562 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9563 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9566 (setsockopt): Likewise.
9568 2018-11-01 Fredrik Noring <noring@nocrew.org>
9570 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9571 with the ISA override.
9573 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9575 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9578 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9580 * manual/errno.texi (EIEIO): Document how translators should
9581 translate the error message.
9582 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9583 printing trailing whitespaces refused by git.
9584 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9585 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9586 * hurd/Makefile (user-interfaces): Add pci.
9588 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9590 * conform/linknamespace.py: New file.
9591 * conform/linknamespace.pl: Remove file.
9592 * conform/Makefile ($(linknamespace-header-tests)): Use
9593 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9596 2018-10-30 Florian Weimer <fweimer@redhat.com>
9598 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9601 2018-10-30 Florian Weimer <fweimer@redhat.com>
9603 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9605 2018-10-30 Florian Weimer <fweimer@redhat.com>
9607 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9608 support_blob_repeat.
9610 2018-10-30 Florian Weimer <fweimer@redhat.com>
9612 Avoid spurious test failures in stdlib/test-bz22786.
9613 * support/Makefile (libsupport-routines): Add blob_repeat.
9614 (tests): Add tst-support_blob_repeat.
9615 * support/blob_repeat.h: New file.
9616 * support/blob_repeat.c: Likewise.
9617 * support/tst-support_blob_repeat.c: Likewise.
9618 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9619 support_blob_repeat_allocate.
9621 2018-10-30 Andreas Schwab <schwab@suse.de>
9624 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9625 Don't use tail call.
9626 * elf/tst-unwind-main.c: New file.
9627 * elf/Makefile (tests): Add tst-unwind-main.
9628 (CFLAGS-tst-unwind-main.c): Define.
9630 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9633 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9635 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9637 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9639 * conform/glibcconform.py: Do not import shutil.
9640 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9643 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9644 critic_missing for versions before 3.4.
9645 * configure: Regenerated.
9646 * manual/install.texi (Tools for Compilation): Document
9647 requirement for Python to build glibc.
9648 * INSTALL: Regenerated.
9649 * Rules [PYTHON]: Make code unconditional.
9650 * benchtests/Makefile [PYTHON]: Likewise.
9651 * conform/Makefile [PYTHON]: Likewise.
9652 * manual/Makefile [PYTHON]: Likewise.
9653 * math/Makefile [PYTHON]: Likewise.
9655 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9657 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9658 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9659 answer to interrupt_operation, return EIEIO instead of EINTR.
9660 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9661 _hurd_intr_rpc_msg_about_to global point to start of controlled
9662 assembly snippet. Make it check canceled flag.
9663 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9664 the _hurd_intr_rpc_msg_about_to point.
9665 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9666 issue, remove cancel flag check.
9668 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9670 * scripts/build-many-glibcs.py: Remove compatibility for missing
9671 os.cpu_count and re.fullmatch.
9673 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9676 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9677 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9678 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9680 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9682 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9685 2018-10-25 Florian Weimer <fweimer@redhat.com>
9689 XFAIL siginfo_t si_band conform test on sparc64.
9690 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9691 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9692 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9693 (conformtest-xfail-conds): Add sparc64-linux.
9694 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9696 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9698 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9700 * elf/elf.h (NT_MIPS_DSP): New macro.
9701 (NT_MIPS_FP_MODE): Likewise.
9703 2018-10-25 Zong Li <zong@andestech.com>
9705 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9706 name by adding the file extension (.so).
9708 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9710 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9711 (test-xfail-ISO11/threads.h/linknamespace,
9712 test-xfail-ISO11/threads.h/conform): Add.
9714 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9716 * math/gen-libm-test.py: Import os.
9717 (ALL_FLOATS_MANUAL): New constant.
9718 (ALL_FLOATS_SUFFIX): Likewise.
9719 (Ulps.all_functions): New function.
9720 (real_all_ulps): Likewise.
9721 (generate_err_table_sub): Likewise.
9722 (generate_err_table): Likewise.
9723 (main): Handle -s and -m options.
9724 * manual/libm-err-tab.pl: Remove.
9725 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9726 instead of libm-err-tab.pl.
9727 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9729 * manual/install.texi (Tools for Compilation): Document
9730 requirement for Python to build manual.
9731 * INSTALL: Regenerated.
9733 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9735 * bits/time64.h: New file.
9736 * include/time.h: Replace internal_time_t with __time64_t.
9737 * posix/bits/types (__time64_t): Add.
9738 * stdlib/Makefile: Add bits/time64.h to includes.
9739 * time/tzfile.c: Replace internal_time_t with __time64_t.
9741 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9743 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9744 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9745 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9746 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9747 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9749 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9750 * posix/spawn_faction_addclose.c
9751 (__posix_spawn_file_actions_addclose): Add hidden definition.
9752 * posix/spawn_faction_adddup2.c
9753 (__posix_spawn_file_actions_adddup2): Likewise.
9754 * posix/spawn_faction_destroy.c
9755 (__posix_spawn_file_actions_destroy): Likewise.
9756 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9758 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9759 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9760 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9762 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9763 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9766 2018-10-24 Andreas Schwab <schwab@suse.de>
9769 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9771 * elf/cache.c (print_cache): Likewise.
9773 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9775 * bits/timesize.h: New file.
9776 * stdlib/Makefile (headers): Add bits/timesize.h.
9777 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9778 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9779 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9780 (__SEM_PAD_AFTER_TIME): Likewise.
9781 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9782 (__SHM_PAD_AFTER_TIME): Likewise.
9783 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9784 (__MSQ_PAD_BEFORE_TIME): Likewise.
9785 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9786 (__SEM_PAD_BEFORE_TIME): Likewise.
9787 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9788 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9789 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9790 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9791 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9792 (__MSQ_PAD_BEFORE_TIME): Likewise.
9793 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9794 (__SEM_PAD_BEFORE_TIME): Likewise.
9795 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9796 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9797 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9798 (__MSQ_PAD_BEFORE_TIME): Likewise.
9799 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9800 (__SEM_PAD_BEFORE_TIME): Likewise.
9801 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9802 (__SHM_PAD_BEFORE_TIME): Likewise.
9803 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9804 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9805 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9807 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9809 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9810 USE_RDTSCP is defined.
9811 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9812 USE_RDTSCP is defined.
9814 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9816 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9820 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9821 independently of other flags.
9823 2018-10-23 Florian Weimer <fweimer@redhat.com>
9825 * time/tst-mktime2.c (N_STRINGS): Remove.
9826 (set_timezone): New function.
9827 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9828 (mktime_test1): Report localtime failure and check errno value.
9830 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9831 (do_test): Remove alarm call. Use set_timezone and array_length.
9833 2018-10-23 Andreas Schwab <schwab@suse.de>
9835 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9836 (__start_context): Use END instead of PSEUDO_END.
9838 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9840 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9843 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9847 * wcsmbs/c32rtomb.c: New file.
9848 * wcsmbs/mbrtoc32.c: Likewise.
9849 * wcsmbs/tst-c32-state.c: Likewise.
9850 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9851 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9852 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9853 (tests): Add tst-c32-state.
9854 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9857 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9859 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9860 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9862 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9865 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9866 pair and return 0 in that case, and use saved character to
9867 interpret following character.
9868 * wcsmbs/tst-c16-surrogate.c: New file.
9869 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9870 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9871 Depend on $(gen-locales)
9873 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9876 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9877 (struct siginfo_t): Use correct type for si_band.
9879 2018-10-19 Florian Weimer <fweimer@redhat.com>
9882 * resource/bits/types/struct_rusage.h (struct rusage): Update
9883 comment on struct. Remove extraneous field comment.
9885 2018-10-18 David S. Miller <davem@davemloft.net>
9887 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9888 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9889 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9890 sysdep_routines in subdir elf.
9891 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9892 version for __vdso_clock_gettime.
9893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9895 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9896 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9898 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9900 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9902 * sysdeps/i386/init-arch.h: Removed.
9903 * sysdeps/i386/i586/init-arch.h: Likewise.
9904 * sysdeps/i386/i686/init-arch.h: Likewise.
9905 * sysdeps/i386/i686/hp-timing.h: Likewise.
9906 * sysdeps/x86_64/hp-timing.h: Likewise.
9907 * sysdeps/i386/isa.h: New file.
9908 * sysdeps/i386/i586/isa.h: Likewise.
9909 * sysdeps/i386/i686/isa.h: Likewise.
9910 * sysdeps/x86_64/isa.h: Likewise.
9911 * sysdeps/x86/hp-timing.h: New file.
9912 * sysdeps/x86/init-arch.h: Include <isa.h>.
9914 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9916 * math/libm-test-pow.inc (pow_test_data): Do not allow
9917 divide-by-zero exception for pow(+/- 0, -Inf).
9919 2018-10-17 Zack Weinberg <zackw@panix.com>
9921 * manual/job.texi (Job Control is Optional): Remove node, as
9922 job control has not been optional in quite some time.
9923 (Job Control): Mention briefly that systems older than
9924 POSIX.1-2001 might not support job control.
9925 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9926 defined on systems conforming to POSIX.1-2001.
9928 2018-10-17 Arjun Shankar <arjun@redhat.com>
9931 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9933 * (__gconv_read_conf): Mark function static.
9934 * (once): New static variable.
9935 * (__gconv_load_conf): New function.
9936 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9937 * iconv/gconv_db.c (once): Remove static variable.
9938 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9940 * (__gconv_find_transform): Likewise.
9941 * iconv/tst-iconv-mt.c: New test.
9942 * iconv/Makefile: Add tst-iconv_mt.
9944 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9948 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9949 (shmatt_t): Define as __syscall_ulong_t.
9950 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9951 and [__SHM_PAD_AFTER_TIME].
9952 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9953 Define shm_segsz and associated padding based on
9954 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9955 Use __syscall_ulong_t instead of unsigned long int.
9956 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9958 [__USE_MISC] (struct shm_info): Likewise.
9959 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9960 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9961 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9962 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9963 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9964 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9965 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9966 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9967 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9968 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9969 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9973 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9974 (SHMLBA): Remove macro.
9975 (__getpagesize): Remove function declaration.
9976 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9978 (SHMLBA): Remove macro.
9979 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9981 (SHMLBA): Remove macro.
9982 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9984 (SHMLBA): Remove macro.
9985 (__getpagesize): Remove function declaration.
9986 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9988 (SHMLBA): Remove macro.
9989 (__getshmlba): Remove function declaration.
9990 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9991 (SHMLBA): Remove macro.
9992 (__getpagesize): Remove function declaration.
9993 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9994 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9995 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9996 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9997 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9998 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9999 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10000 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10001 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10002 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10004 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
10007 * nptl/tst-mutex10.c: New File.
10008 * nptl/Makefile (tests): Add tst-mutex10.
10009 (tst-mutex10-ENV): New variable.
10010 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10011 Ensure that elision path is used if elision is available.
10012 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10014 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10016 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10017 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10018 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10019 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10021 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10022 (__pthread_mutex_cond_lock_adjust): Likewise.
10023 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10025 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10026 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10027 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10028 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10030 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10031 Use atomic_load_relaxed and atomic_store_relaxed.
10032 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10033 Use atomic_store_relaxed.
10035 2018-10-17 Andreas Schwab <schwab@suse.de>
10037 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10038 * crypt/badsalttest.c (TIMEOUT): Likewise.
10039 * crypt/sha256c-test.c (TIMEOUT): Likewise.
10040 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
10041 * io/test-lfs.c (TIMEOUT): Likewise.
10042 * libio/tst-atime.c (TIMEOUT): Likewise.
10043 * localedata/tst-leaks.c (TIMEOUT): Likewise.
10044 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
10045 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
10046 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
10047 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
10048 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
10049 * nptl/tst-cond11.c (TIMEOUT): Likewise.
10050 * nptl/tst-cond14.c (TIMEOUT): Likewise.
10051 * nptl/tst-cond15.c (TIMEOUT): Likewise.
10052 * nptl/tst-cond24.c (TIMEOUT): Likewise.
10053 * nptl/tst-cond25.c (TIMEOUT): Likewise.
10054 * nptl/tst-kill2.c (TIMEOUT): Likewise.
10055 * nptl/tst-kill3.c (TIMEOUT): Likewise.
10056 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
10057 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
10058 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
10059 * nptl/tst-once2.c (TIMEOUT): Likewise.
10060 * nptl/tst-once3.c (TIMEOUT): Likewise.
10061 * nptl/tst-once4.c (TIMEOUT): Likewise.
10062 * nptl/tst-robust8.c (TIMEOUT): Likewise.
10063 * nptl/tst-robust9.c (TIMEOUT): Likewise.
10064 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
10065 * nptl/tst-sem14.c (TIMEOUT): Likewise.
10066 * nptl/tst-sem6.c (TIMEOUT): Likewise.
10067 * nptl/tst-signal3.c (TIMEOUT): Likewise.
10068 * nptl/tst-spin4.c (TIMEOUT): Likewise.
10069 * nptl/tst-tls3.c (TIMEOUT): Likewise.
10070 * nptl/tst-tls4.c (TIMEOUT): Likewise.
10071 * posix/tst-chmod.c (TIMEOUT): Likewise.
10072 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
10073 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
10074 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
10075 * posix/tst-regex2.c (TIMEOUT): Likewise.
10076 * posix/tst-waitid.c (TIMEOUT): Likewise.
10077 * rt/tst-aio.c (TIMEOUT): Likewise.
10078 * rt/tst-aio10.c (TIMEOUT): Likewise.
10079 * rt/tst-aio4.c (TIMEOUT): Likewise.
10080 * rt/tst-aio5.c (TIMEOUT): Likewise.
10081 * rt/tst-aio6.c (TIMEOUT): Likewise.
10082 * rt/tst-aio64.c (TIMEOUT): Likewise.
10083 * rt/tst-aio7.c (TIMEOUT): Likewise.
10084 * rt/tst-aio9.c (TIMEOUT): Likewise.
10085 * rt/tst-clock.c (TIMEOUT): Likewise.
10086 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
10087 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
10088 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
10089 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
10090 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
10091 * rt/tst-timer4.c (TIMEOUT): Likewise.
10092 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
10093 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
10094 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
10095 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
10096 * time/tst-ftime.c (TIMEOUT): Likewise.
10097 * timezone/tst-tzset.c (TIMEOUT): Likewise.
10099 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
10101 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
10102 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
10105 2018-10-15 Joseph Myers <joseph@codesourcery.com>
10107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10109 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
10110 instead of <bits/wordsize.h>.
10111 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
10112 and [__SEM_PAD_AFTER_TIME].
10113 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
10114 __syscall_ulong_t instead of unsigned long int.
10115 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
10116 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
10117 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
10118 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
10119 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
10120 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
10121 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
10122 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
10123 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10124 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10125 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10127 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
10129 regex: simplify by using intprops.h
10131 * posix/regex_internal.h [_LIBC]: Include intprops.h.
10132 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
10133 intprops.h defines them.
10135 regex: __builtin_expect → __glibc_unlikely
10137 This refactoring was prompted by a problem when the regex code is
10138 used as part of Gnulib and when the builder’s compiler does not grok
10139 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
10140 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
10141 Although this refactoring does not fix the problem directly,
10142 we might as well have Gawk use the now-preferred glibc style for when
10143 __builtin_expect is unavailable.
10144 * posix/regex_internal.h (BE): Remove.
10145 All uses replaced by __glibc_unlikely or __glibc_likely.
10147 2018-10-11 Joseph Myers <joseph@codesourcery.com>
10149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10151 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
10152 instead of <bits/wordsize.h>.
10153 (msgqnum_t): Define as __syscall_ulong_t.
10154 (msglen_t): Likewise.
10155 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
10156 and [__MSQ_PAD_AFTER_TIME].
10157 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
10158 __syscall_ulong_t instead of unsigned long int.
10159 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
10160 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
10161 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
10162 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
10163 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
10164 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
10165 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
10166 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
10167 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10168 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10169 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10171 2018-10-10 Joseph Myers <joseph@codesourcery.com>
10173 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
10174 (struct shmid_ds): Condition padding after time fields on
10175 [__WORDSIZE == 32].
10176 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
10177 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
10178 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10180 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
10181 (struct semid_ds): Condition padding after time fields on
10182 [__WORDSIZE == 32].
10183 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
10184 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
10185 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
10186 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10188 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
10189 (struct msqid_ds): Condition padding after time fields on
10190 [__WORDSIZE == 32].
10191 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
10192 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
10193 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
10194 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10196 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10198 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
10200 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10202 * libio/tst-readline.c (TIMEOUT): Define.
10204 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
10206 mktime fix for Gnulib + coreutils
10208 This fix affects only Gnulib. Problem discovered when
10209 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
10211 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
10212 Do not define since it is not used. Defining an unused static
10213 function prompts a warning from GCC when Coreutils is configured
10214 with --enable-gcc-warnings.
10216 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10218 * benchtests/scripts/compare_bench.py (main): set float type on
10219 threshold argument.
10221 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
10224 * localedata/locales/kl_GL (mon): Update, the relative case.
10225 (alt_mon): Add, fill with month names in the nominative case.
10226 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
10227 (d_fmt): Set to "%b %d %Y".
10229 2018-10-04 Joseph Myers <joseph@codesourcery.com>
10231 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
10232 <bits/mman-linux.h>.
10233 (PROT_READ): Don't define here.
10234 (PROT_WRITE): Likewise.
10235 (PROT_EXEC): Likewise.
10236 (PROT_NONE): Likewise.
10237 (PROT_GROWSDOWN): Likewise.
10238 (PROT_GROWSUP): Likewise.
10239 (MAP_SHARED): Likewise.
10240 (MAP_PRIVATE): Likewise.
10241 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
10242 [__USE_MISC] (MAP_FILE): Likewise.
10243 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
10244 [__USE_MISC] (MAP_ANON): Likewise.
10245 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
10246 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
10247 (MCL_CURRENT): Likewise.
10248 (MCL_FUTURE): Likewise.
10249 (MCL_ONFAULT): Likewise.
10250 [__USE_MISC] (MADV_NORMAL): Likewise.
10251 [__USE_MISC] (MADV_RANDOM): Likewise.
10252 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
10253 [__USE_MISC] (MADV_WILLNEED): Likewise.
10254 [__USE_MISC] (MADV_DONTNEED): Likewise.
10255 [__USE_MISC] (MADV_FREE): Likewise.
10256 [__USE_MISC] (MADV_REMOVE): Likewise.
10257 [__USE_MISC] (MADV_DONTFORK): Likewise.
10258 [__USE_MISC] (MADV_DOFORK): Likewise.
10259 [__USE_MISC] (MADV_HWPOISON): Likewise.
10260 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10261 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10262 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10263 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10264 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10265 (__MAP_ANONYMOUS): New macro.
10266 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10267 <bits/mman-linux.h> inclusion.
10268 (MAP_FIXED): Likewise.
10269 (MS_SYNC): Likewise.
10270 (MS_ASYNC): Likewise.
10271 (MS_INVALIDATE): Likewise.
10272 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10273 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10274 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10275 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10276 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10277 [__USE_MISC] (MADV_DODUMP): Likewise.
10278 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10279 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10282 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10284 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10285 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10286 Add test-nldbl-redirect.
10287 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10288 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10289 $(objpfx)libnldbl_nonshared.a.
10291 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
10293 * support/support.h (support_objdir_elf_ldso): New variable.
10294 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10295 * support/Makefile (CFLAGS-support_paths.c): Add definition
10296 for OBJDIR_ELF_LDSO_PATH.
10297 * support/test-container.c (main): Search for the ld.so
10298 which is also used by the testsuite.
10300 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10303 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10304 should be "sap" rather than "sab".
10305 (day): Fix spelling of Sunday, should be "sapaat" rather than
10308 2018-10-02 Joseph Myers <joseph@codesourcery.com>
10310 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10312 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10315 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10316 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10317 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10319 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10321 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10323 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10325 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10327 (CFLAGS-elision-unlock.c): Likewise.
10328 (CFLAGS-elision-timed.c): Likewise.
10329 (CFLAGS-elision-trylock.c): Likewise.
10330 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10332 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10335 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10336 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10337 new fd_to_filename interface.
10338 * libio/freopen64.c (freopen64): Likewise.
10339 * libio/tst-memstream.h: New file.
10340 * libio/tst-memstream4.c: Likewise.
10341 * libio/tst-wmemstream4.c: Likewise.
10342 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10343 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10344 and remove internal dynamic allocation.
10346 2018-10-01 Joseph Myers <joseph@codesourcery.com>
10348 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10349 (MREMAP_MAYMOVE): Do not define here.
10350 [__USE_GNU] (MREMAP_FIXED): Likewise.
10351 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10352 (MREMAP_MAYMOVE): Define here instead.
10353 [__USE_GNU] (MREMAP_FIXED): Likewise.
10354 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10355 (MREMAP_MAYMOVE): Remove.
10356 [__USE_GNU] (MREMAP_FIXED): Likewise.
10358 2018-09-28 Joseph Myers <joseph@codesourcery.com>
10360 * math/fromfp.h: Do not include <math_private.h>.
10361 * math/s_cacosh_template.c: Likewise.
10362 * math/s_casin_template.c: Likewise.
10363 * math/s_casinh_template.c: Likewise.
10364 * math/s_ccos_template.c: Likewise.
10365 * math/s_cproj_template.c: Likewise.
10366 * math/s_fdim_template.c: Likewise.
10367 * math/s_fmaxmag_template.c: Likewise.
10368 * math/s_fminmag_template.c: Likewise.
10369 * math/s_iseqsig_template.c: Likewise.
10370 * math/s_ldexp_template.c: Likewise.
10371 * math/s_nextdown_template.c: Likewise.
10372 * math/w_log1p_template.c: Likewise.
10373 * math/w_scalbln_template.c: Likewise.
10374 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10375 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10376 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10377 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10378 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10379 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10380 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10381 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10382 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10383 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10384 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10385 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10386 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10387 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10388 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10389 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10390 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10395 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10396 * sysdeps/ieee754/k_standardf.c: Likewise.
10397 * sysdeps/ieee754/k_standardl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10400 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10406 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10407 * sysdeps/ieee754/s_signgam.c: Likewise.
10408 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10409 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10410 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10411 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10412 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10413 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10414 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10415 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10416 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10417 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10418 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10419 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10420 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10421 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10422 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10423 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10424 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10425 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10426 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10427 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10428 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10429 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10430 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10431 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10432 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10433 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10434 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10435 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10436 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10437 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10438 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10439 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10440 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10441 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10442 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10443 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10444 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10446 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10448 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10451 * sysdeps/i386/dl-cet.c: Removed.
10452 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10454 (_dl_runtime_profile_shstk): Likewise.
10455 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10456 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10458 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10461 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10462 do_test_with_invalid_iov): New tests.
10463 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10464 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10465 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10467 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10468 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10469 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10471 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10473 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10474 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10475 (MATH_REDIRECT_BINARY_ARGS): New macro.
10476 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10477 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10478 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10480 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10482 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10483 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10484 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10493 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10494 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10499 * sysdeps/generic/math_private_calls.h
10500 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10501 Do not declare and define as an inline function.
10502 * math/divtc3.c (__divtc3): Use copysign functions instead of
10503 __copysign variants.
10504 * math/multc3.c (__multc3): Likewise.
10505 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10506 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10507 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10508 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10510 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10511 (__ieee754_yn): Likewise.
10512 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10513 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10514 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10515 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10516 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10518 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10525 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10526 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10528 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10529 (__ieee754_ynf): Likewise.
10530 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10531 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10532 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10533 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10535 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10536 (__ieee754_ynl): Likewise.
10537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10541 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10542 (__ieee754_ynl): Likewise.
10543 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10544 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10545 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10546 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10548 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10550 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10552 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10553 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10554 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10556 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10557 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10558 using MATH_REDIRECT.
10559 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10561 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10562 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10563 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10564 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10565 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10572 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10573 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10575 (round): Redirect to __round.
10576 (__roundl): Call round instead of __round.
10577 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10579 [_ARCH_PWR5X] (__roundf): Likewise.
10580 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10581 functions instead of __round variants.
10582 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10583 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10585 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10587 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10589 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10592 (__ieee754_expl): Call roundl instead of __roundl.
10594 2018-09-27 Andreas Schwab <schwab@suse.de>
10597 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10598 (do_test): Make st1 static.
10600 2018-09-26 Andreas Schwab <schwab@suse.de>
10603 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10604 * elf/Makefile (tests): Add tst-unwind-ctor.
10605 (modules-names): Add tst-unwind-ctor-lib.
10606 ($(objpfx)tst-unwind-ctor): Depend on
10607 $(objpfx)tst-unwind-ctor-lib.so.
10609 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10611 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10612 file. Most contents moved from ....
10613 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10614 and include <bits/mman-map-flags-generic.h>.
10615 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10616 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10617 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10618 <bits/mman-map-flags-generic.h>.
10619 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10620 macros defined in <bits/mman-map-flags-generic.h>.
10621 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10622 <bits/mman-map-flags-generic.h>.
10623 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10624 defined in <bits/mman-map-flags-generic.h>.
10626 2018-09-26 Andreas Schwab <schwab@suse.de>
10628 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10631 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10632 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10633 Fangrui Song <maskray@google.com>
10636 * config.make.in (have-textrel_ifunc): New define.
10637 * configure.ac: Add check if linker supports textrel relocation with
10639 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10641 (CFLAGS-tst-ifunc-textrel.c): New rule.
10642 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10643 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10644 * elf/tst-ifunc-textrel.c: New file.
10646 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10648 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10649 <bits/procfs-prregset.h>.
10650 (prgregset_t): Define using __prgregset_t.
10651 (prfpregset_t): Define using __prfpregset_t.
10652 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10653 (sysdep_headers): Add bits/procfs-prregset.h.
10654 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10655 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10656 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10657 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10659 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10660 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10661 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10663 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10664 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10665 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10666 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10667 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10668 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10669 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10670 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10671 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10672 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10673 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10674 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10675 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10676 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10677 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10678 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10679 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10680 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10681 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10682 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10683 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10684 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10685 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10686 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10688 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10689 AArch64 version. Include <bits/procfs.h>.
10690 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10691 (sysdep_headers): Add bits/procfs.h.
10692 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10693 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10694 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10695 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10696 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10697 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10698 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10699 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10700 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10701 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10702 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10703 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10704 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10705 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10706 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10707 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10708 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10710 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10712 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10715 2018-09-25 Arjun Shankar <arjun@redhat.com>
10717 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10718 (__gconv_max_path_elem_len): Likewise.
10719 (__gconv_nmodules): Likewise.
10720 (__gconv_get_path): Likewise.
10721 (path_elem): Move to ...
10722 * iconv/gconv_conf.c: ... here.
10723 (__gconv_get_path): Mark function static.
10724 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10725 * iconv/gconv_open.c: ... here.
10727 2018-09-24 Andreas Schwab <schwab@suse.de>
10729 * scripts/haveversions.awk: New file.
10730 * Makerules ($(common-objpfx)Versions.def)
10731 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10732 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10734 * Makeconfig ($(common-objpfx)Versions.def)
10735 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10736 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10738 ($(common-objpfx)Versions.mk): New rule. Include it.
10739 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10740 Emit error if build-obsolete-nsl = yes.
10741 * manual/install.texi (Configuring and compiling): Describe
10742 --enable-obsolete-nsl as unavaiable after version 2.28.
10743 * INSTALL: Regenerate.
10745 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10747 * NEWS: Add note about new TLE support on powerpc64le.
10748 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10749 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10751 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10752 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10753 * sysdeps/powerpc/powerpc32/sysdep.h,
10754 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10755 ABORT_TRANSACTION): Remove macros.
10756 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10757 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10758 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10760 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10761 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10763 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10765 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10768 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10769 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10770 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10771 which is the same as in it_IT.
10772 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10773 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10775 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10777 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10778 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10779 using MATH_REDIRECT.
10780 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10782 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10784 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10786 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10792 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10793 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10794 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10795 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10796 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10797 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10798 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10800 (ceil): Redirect to __ceil.
10801 (floor): Redirect to __floor.
10802 (trunc): Redirect to __trunc.
10803 (__truncl): Call trunc instead of __trunc.
10804 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10806 [_ARCH_PWR5X] (__truncf): Likewise.
10807 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10808 trunc functions instead of __trunc variants.
10809 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10811 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10813 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10815 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10818 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10819 [__i586__ || __pentium__].
10820 [__i486__]: Handle explicitly.
10821 (HAS_CPUID): Define to 1 if above macros are undefined.
10822 (HAS_I586): Likewise.
10823 (HAS_I686): Likewise.
10825 2018-09-20 Florian Weimer <fweimer@redhat.com>
10827 * misc/tst-gethostid.c: New file.
10828 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10829 (tst-gethostid): Link with -ldl.
10831 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10833 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10834 value from gethostbyname_r.
10836 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10838 * stdlib/tst-setcontext9.c (f1): Rename to...
10840 (f1b): New function implementing lower half of f1 in alternate stack.
10842 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10844 Fix mktime localtime offset confusion
10846 * include/time.h (__mktime_internal): The localtime offset is now
10847 of type long int instead of time_t. This is the longstanding type
10848 in glibc, and it is more than enough to represent difference
10849 between localtime and gmtime even if it is 32 bits and time_t is
10850 64. Changing it now will let us avoid an unnecessary change when
10851 time_t is widened to 64 bits on 32-bit platforms.
10852 * time/mktime-internal.h (mktime_offset_t): Now long int.
10854 Merge mktime, timegm from upstream Gnulib
10855 [BZ #23603][BZ #16346]
10856 This fixes some obscure problems with integer overflow.
10857 Although it looks scary, it is almost all a byte-for-byte copy
10858 from Gnulib, and the Gnulib code has been tested reasonably well.
10859 * include/intprops.h: New file, copied from Gnulib.
10860 * include/verify.h, time/mktime-internal.h:
10861 New tiny files, simplified from Gnulib.
10862 * time/mktime.c: Copy from Gnulib. This has the following changes:
10863 Do not include config.h if DEBUG_MKTIME is nonzero.
10864 Include stdbool.h, intprops.h, verify.h.
10865 Include string.h only if needed.
10866 Include stdlib.h on MS-Windows.
10867 Include mktime-internal.h.
10868 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10869 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10870 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10871 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10872 simplify later conditionals; default the others to zero. Use
10873 these conditionals to express only the code needed on the current
10874 platform. In uses of these conditionals, explicitly spell out how
10875 _LIBC affects things, so it’s easier to review from a glibc
10877 (WRAPV): Remove; no longer needed now that we have
10878 systematic overflow checking.
10879 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10880 compartmentalize tzset issues. Move system-dependent tzsettish
10881 code here from mktime.
10882 (verify): Remove; now done by verify.h. All uses changed.
10883 (long_int): Use a more-conservative definition, to avoid
10885 (SHR): Remove, replacing with ...
10886 (shr): New function, which means we needn’t worry about side
10887 effects in args, and conversion analysis is simpler.
10888 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10889 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10890 (time_t_avg, time_t_add_ok): Remove.
10891 (mktime_min, mktime_max): New constants.
10892 (leapyear, isdst_differ): Use bool for booleans.
10893 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10894 Use long_int, not time_t, for mktime differences.
10895 (long_int_avg): New function, replacing time_t_avg.
10896 INT_ADD_WRAPV replaces time_t_add_ok.
10897 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10899 (convert_time): New function.
10900 (ranged_convert): Use it.
10901 (__mktime_internal): Last arg now points to mktime_offset_t, not
10902 time_t. All uses changed. This is a no-op on glibc, where
10903 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10904 offset guess. Directly check for integer overflow instead of
10905 using a heuristic that works only 99.9...% of the time.
10906 Access *OFFSET only once, to avoid an unlikely race if the
10907 compiler delays a load and if this cascades into a signed integer
10909 (mktime): Move tzsettish code to my_tzset, and move
10910 localtime_offset to within mktime so that it doesn’t
10911 need a separate ifdef.
10912 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10913 instead of localtime.
10914 * time/timegm.c: Copy from Gnulib. This has the following changes:
10915 Include mktime-internal.h.
10916 [!_LIBC]: Include config.h and time.h. Do not include
10917 timegm.h or time_r.h. Make __mktime_internal a macro,
10918 and include mktime-internal.h to get its declaration.
10919 (timegm): Temporary is now mktime_offset_t, not time_t.
10920 This affects only Gnulib.
10922 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10925 * string/test-strstr.c (pr23637): New function.
10926 (test_main): Add tests with longer needles.
10927 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10928 * string/strstr.c (AVAILABLE): Likewise.
10930 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10932 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10934 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10936 * NEWS: Mention pow improvements.
10937 * math/Makefile (type-double-routines): Add e_pow_log_data.
10938 * sysdeps/generic/math_private.h (__exp1): Remove.
10939 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10940 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10941 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10943 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10944 (exp_inline): Remove.
10945 (__ieee754_exp): Only single double input is handled.
10946 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10947 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10948 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10949 (__pow_log_data): Define.
10950 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10951 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10952 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10953 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10955 (CFLAGS-e_pow-fma4.c): Likewise.
10957 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10959 Simplify tzfile fstat failure code
10961 * time/tzfile.c (__tzfile_read): Simplify slightly.
10963 Fix tzfile low-memory assertion failure
10965 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10966 when registering time zone abbreviations.
10968 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10970 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10971 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10972 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10973 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10974 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10975 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10976 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10980 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10982 (__ceill): Call ceil instead of __ceil.
10983 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10985 (__floorl): Call floor instead of __floor.
10987 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10989 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10990 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10991 using MATH_REDIRECT.
10992 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10994 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10997 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10998 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11001 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11006 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11007 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11010 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11011 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11012 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11014 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11015 functions instead of __ceil variants.
11016 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11017 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11019 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11021 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11022 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11024 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11025 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11028 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11030 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11031 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11032 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11033 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11034 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11035 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11036 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11037 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11038 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11039 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
11040 (ILL_BADIADDR): Remove constant.
11041 (TRAP_BRANCH): Likewise.
11042 (TRAP_HWBKPT): Likewise.
11044 2018-09-14 Joseph Myers <joseph@codesourcery.com>
11047 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
11048 Remove [_MIPS_SIM = _ABIN32] conditional case.
11049 (struct elf_prpsinfo): Likewise.
11052 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
11053 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
11054 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
11056 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
11057 elf_prpsinfo): Likewise.
11058 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
11059 elf_prpsinfo): Likewise.
11060 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
11063 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11064 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
11065 using MATH_REDIRECT.
11066 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
11068 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
11069 * sysdeps/alpha/fpu/s_rint.c: Likewise.
11070 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
11071 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11074 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11078 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
11079 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
11080 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
11081 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
11082 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
11083 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11084 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11085 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
11086 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
11089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
11090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
11091 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
11092 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
11093 * sysdeps/x86_64/fpu/math_private.h: Remove file.
11094 * math/e_scalb.c (invalid_fn): Use rint functions instead of
11096 * math/e_scalbf.c (invalid_fn): Likewise.
11097 * math/e_scalbl.c (invalid_fn): Likewise.
11098 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11100 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11102 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11103 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
11104 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11106 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11108 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11110 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
11111 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
11113 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11114 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
11116 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11117 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
11118 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11119 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
11120 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11121 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
11122 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11123 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
11124 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11125 && !NO_MATH_REDIRECT] (floor): Likewise.
11126 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
11128 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11131 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
11132 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11135 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
11136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
11137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
11138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
11139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
11140 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11141 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11144 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
11145 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
11146 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
11148 [_ARCH_PWR5X] (__floorf): Likewise.
11149 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
11151 [__SSE4_1__] (__floorf): Likewise.
11152 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
11153 instead of __floor variants.
11154 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
11155 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
11156 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
11157 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
11158 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
11159 * math/w_tgamma_compat.c (__tgamma): Likewise.
11160 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
11161 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
11162 * math/w_tgammal_compat.c (__tgammal): Likewise.
11163 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
11164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11166 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11167 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
11168 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11169 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11171 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11172 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
11174 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
11177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
11180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11182 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
11183 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
11184 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11185 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11187 2018-09-12 Joseph Myers <joseph@codesourcery.com>
11189 * elf/Makefile (modules-names-tests): New variable.
11191 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11193 * NEWS: Mention log2 improvements.
11194 * math/Makefile (type-double-routines): Add e_log2_data.
11195 * sysdeps/i386/fpu/e_log2_data.c: New file.
11196 * sysdeps/ia64/fpu/e_log2_data.c: New file.
11197 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
11198 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
11199 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
11200 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
11201 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
11203 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11205 * NEWS: Mention log improvement.
11206 * math/Makefile (type-double-routines): Add e_log_data.
11207 * sysdeps/i386/fpu/e_log_data.c: New file.
11208 * sysdeps/ia64/fpu/e_log_data.c: New file.
11209 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
11210 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
11211 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
11212 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
11213 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
11214 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
11216 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
11217 Xuepeng Guo <xuepeng.guo@intel.com>
11220 * sysdeps/i386/start.S: Include <sysdep.h>
11221 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
11222 enabled. Add cfi_undefined (eip).
11224 2018-09-11 Joseph Myers <joseph@codesourcery.com>
11226 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
11228 (EXTRACT_WORDS64): Likewise.
11229 (INSERT_WORDS64): Likewise.
11230 (GET_FLOAT_WORD): Likewise.
11231 (SET_FLOAT_WORD): Likewise.
11233 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
11235 (Config.build_gcc): Use --disable-libsanitizer for first GCC
11236 build, but not for second build if --full-gcc. Use
11237 --enable-languages=all for second build if --full-gcc.
11238 (get_parser): Add --full-gcc option.
11239 (main): Update call to Context.
11241 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
11244 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
11245 Single Quotation Mark).
11246 (thousands_sep): Likewise.
11247 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
11248 * localedata/locales/it_IT (thousands_sep): Use ".".
11249 (grouping): Use "3;3".
11251 2018-09-10 Joseph Myers <joseph@codesourcery.com>
11253 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11254 x86_64 and i686 configs using --enable-obsolete-rpc
11255 --enable-obsolete-nsl.
11257 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11259 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11261 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11263 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11264 Increment size of new_argv by one.
11266 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11269 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11270 * localedata/locales/ar_IN (d_fmt): Likewise.
11271 * localedata/locales/bhb_IN (d_fmt): Likewise.
11272 * localedata/locales/bho_IN (d_fmt): Likewise.
11273 * localedata/locales/bn_BD (d_fmt): Likewise.
11274 * localedata/locales/bn_IN (d_fmt): Likewise.
11275 * localedata/locales/doi_IN (d_fmt): Likewise.
11276 * localedata/locales/gu_IN (d_fmt): Likewise.
11277 * localedata/locales/hi_IN (d_fmt): Likewise.
11278 * localedata/locales/hne_IN (d_fmt): Likewise.
11279 * localedata/locales/kn_IN (d_fmt): Likewise.
11280 * localedata/locales/mag_IN (d_fmt): Likewise.
11281 * localedata/locales/mai_IN (d_fmt): Likewise.
11282 * localedata/locales/mjw_IN (d_fmt): Likewise.
11283 * localedata/locales/ml_IN (d_fmt): Likewise.
11284 * localedata/locales/mni_IN (d_fmt): Likewise.
11285 * localedata/locales/mr_IN (d_fmt): Likewise.
11286 * localedata/locales/pa_IN (d_fmt): Likewise.
11287 * localedata/locales/raj_IN (d_fmt): Likewise.
11288 * localedata/locales/sat_IN (d_fmt): Likewise.
11289 * localedata/locales/sd_IN (d_fmt): Likewise.
11290 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11291 * localedata/locales/ta_IN (d_fmt): Likewise.
11292 * localedata/locales/ta_LK (d_fmt): Likewise.
11293 * localedata/locales/tcy_IN (d_fmt): Likewise.
11294 * localedata/locales/ur_IN (d_fmt): Likewise.
11296 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11297 * localedata/locales/ks_IN (d_fmt): Likewise.
11298 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11300 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11301 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11302 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11303 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11305 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11307 * NEWS: Mention exp and exp2 improvements.
11308 * math/Makefile (libm-support): Remove t_exp.
11309 (type-double-routines): Add math_err and e_exp_data.
11310 * sysdeps/aarch64/libm-test-ulps: Update.
11311 * sysdeps/arm/libm-test-ulps: Update.
11312 * sysdeps/i386/fpu/e_exp_data.c: New file.
11313 * sysdeps/i386/fpu/math_err.c: New file.
11314 * sysdeps/i386/fpu/t_exp.c: Remove.
11315 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11316 * sysdeps/ia64/fpu/math_err.c: New file.
11317 * sysdeps/ia64/fpu/t_exp.c: Remove.
11318 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11319 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11320 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11322 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11323 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11324 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11325 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11326 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11327 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11328 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11329 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11330 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11331 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11335 2018-09-05 Joseph Myers <joseph@codesourcery.com>
11337 * sysdeps/alpha/fpu/math_private.h: Remove.
11339 * sysdeps/generic/math_private.h
11340 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11341 Move this inline function ....
11342 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11343 * include/math.h [!_ISOMAC]: To here....
11345 2018-09-04 Joseph Myers <joseph@codesourcery.com>
11347 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11349 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11350 * include/fenv.h [!_ISOMAC]: ... to here.
11351 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11352 (feraiseexcept): Likewise.
11353 * math/fromfp.h: Do not include <fenv_private.h>.
11354 * math/s_cexp_template.c: Likewise.
11355 * math/s_csin_template.c: Likewise.
11356 * math/s_csinh_template.c: Likewise.
11357 * math/s_ctan_template.c: Likewise.
11358 * math/s_ctanh_template.c: Likewise.
11359 * math/s_iseqsig_template.c: Likewise.
11360 * math/w_acos_compat.c: Likewise.
11361 * math/w_acosf_compat.c: Likewise.
11362 * math/w_acosl_compat.c: Likewise.
11363 * math/w_asin_compat.c: Likewise.
11364 * math/w_asinf_compat.c: Likewise.
11365 * math/w_asinl_compat.c: Likewise.
11366 * math/w_j0_compat.c: Likewise.
11367 * math/w_j0f_compat.c: Likewise.
11368 * math/w_j0l_compat.c: Likewise.
11369 * math/w_j1_compat.c: Likewise.
11370 * math/w_j1f_compat.c: Likewise.
11371 * math/w_j1l_compat.c: Likewise.
11372 * math/w_jn_compat.c: Likewise.
11373 * math/w_jnf_compat.c: Likewise.
11374 * math/w_log10_compat.c: Likewise.
11375 * math/w_log10f_compat.c: Likewise.
11376 * math/w_log10l_compat.c: Likewise.
11377 * math/w_log2_compat.c: Likewise.
11378 * math/w_log2f_compat.c: Likewise.
11379 * math/w_log2l_compat.c: Likewise.
11380 * math/w_log_compat.c: Likewise.
11381 * math/w_logf_compat.c: Likewise.
11382 * math/w_logl_compat.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11388 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11389 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11390 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11391 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11392 * sysdeps/ieee754/k_standardl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11395 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11397 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11398 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11404 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11405 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11406 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11407 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11410 * math/w_ilogb_template.c: Include <fenv.h> instead of
11412 * math/w_llogb_template.c: Likewise.
11413 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11414 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11416 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11418 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11419 * math/fromfp.h: Include <fenv_private.h>.
11420 * math/math-narrow.h: Likewise.
11421 * math/s_cexp_template.c: Likewise.
11422 * math/s_csin_template.c: Likewise.
11423 * math/s_csinh_template.c: Likewise.
11424 * math/s_ctan_template.c: Likewise.
11425 * math/s_ctanh_template.c: Likewise.
11426 * math/s_iseqsig_template.c: Likewise.
11427 * math/w_acos_compat.c: Likewise.
11428 * math/w_acosf_compat.c: Likewise.
11429 * math/w_acosl_compat.c: Likewise.
11430 * math/w_asin_compat.c: Likewise.
11431 * math/w_asinf_compat.c: Likewise.
11432 * math/w_asinl_compat.c: Likewise.
11433 * math/w_ilogb_template.c: Likewise.
11434 * math/w_j0_compat.c: Likewise.
11435 * math/w_j0f_compat.c: Likewise.
11436 * math/w_j0l_compat.c: Likewise.
11437 * math/w_j1_compat.c: Likewise.
11438 * math/w_j1f_compat.c: Likewise.
11439 * math/w_j1l_compat.c: Likewise.
11440 * math/w_jn_compat.c: Likewise.
11441 * math/w_jnf_compat.c: Likewise.
11442 * math/w_llogb_template.c: Likewise.
11443 * math/w_log10_compat.c: Likewise.
11444 * math/w_log10f_compat.c: Likewise.
11445 * math/w_log10l_compat.c: Likewise.
11446 * math/w_log2_compat.c: Likewise.
11447 * math/w_log2f_compat.c: Likewise.
11448 * math/w_log2l_compat.c: Likewise.
11449 * math/w_log_compat.c: Likewise.
11450 * math/w_logf_compat.c: Likewise.
11451 * math/w_logl_compat.c: Likewise.
11452 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11453 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11454 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11455 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11462 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11464 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11465 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11466 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11467 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11468 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11469 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11470 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11471 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11472 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11473 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11474 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11475 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11480 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11481 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11484 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11485 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11486 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11487 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11488 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11489 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11490 * sysdeps/ieee754/k_standardl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11516 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11517 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11521 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11522 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11527 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11528 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11529 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11530 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11531 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11532 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11533 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11534 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11535 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11536 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11537 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11538 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11539 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11540 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11541 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11542 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11543 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11544 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11545 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11546 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11547 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11548 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11549 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11550 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11551 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11552 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11553 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11554 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11555 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11556 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11557 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11558 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11559 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11560 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11561 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11563 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11566 * include/stdio.h (__libc_fatal): Mention newline in comment.
11567 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11568 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11569 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11570 * nss/nsswitch.c (__nss_next2): Likewise.
11571 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11572 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11573 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11574 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11575 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11576 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11577 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11578 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11579 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11580 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11581 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11582 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11583 (__netlink_assert_response): Likewise.
11585 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11587 * conform/glibcconform.py: New file.
11588 * conform/list-header-symbols.py: Likewise.
11589 * conform/list-header-symbols.pl: Remove.
11590 * conform/Makefile (tests-special): Only add linknamespace tests
11592 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11594 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11597 * support/Makefile (libsupport-routines): Add
11598 support_copy_file_range and xcopy_file_range.
11599 * support/support.h: Include <sys/types.h>.
11600 (support_copy_file_range): New prototype.
11601 * support/support_copy_file_range.c: New file. Copied and
11602 modified from io/copy_file_range-compat.c.
11603 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11604 instead of copy_file_range.
11605 * support/xcopy_file_range.c: New file.
11606 * support/xunistd.h (xcopy_file_range): New prototype.
11608 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11610 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11611 xpthread_create and xpthread_join.
11613 2018-08-30 Florian Weimer <fweimer@redhat.com>
11615 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11617 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11619 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11622 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11624 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11625 and minus_oflow as non-finite.
11627 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11629 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11630 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11631 moved to fenv_private.h except for ...
11632 (TOINT_INTRINSICS): Kept in math_private.h.
11633 (roundtoint): Likewise.
11634 (converttoint): Likewise.
11635 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11636 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11637 * sysdeps/arm/math_private.h: Remove.
11638 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11640 * sysdeps/generic/math_private.h: ... this file. Include
11641 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11642 Include <fenv_private.h>. Remove functions and macros moved to
11644 * sysdeps/i386/fpu/math_private.h: Remove.
11645 * sysdeps/mips/math_private.h: Move to ....
11646 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11647 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11648 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11649 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11650 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11651 * sysdeps/powerpc/fpu/math_private.h: Do not include
11653 * sysdeps/riscv/rvf/math_private.h: Move to ....
11654 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11655 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11657 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11658 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11659 * sysdeps/sparc/fpu/math_private.h: Remove.
11660 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11661 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11662 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11664 * sysdeps/x86_64/fpu/math_private.h: Do not include
11665 <sysdeps/i386/fpu/fenv_private.h>.
11667 2018-08-28 Florian Weimer <fweimer@redhat.com>
11670 * posix/tst-regcomp-truncated.c: New file.
11671 * posix/Makefile (tests): Add it.
11672 (tst-regcomp-truncated.out): Depend on generated locales.
11674 2018-08-28 Florian Weimer <fweimer@redhat.com>
11676 * support/test-container.c (main): Treat unshare failure with
11677 EPERM as an unsupported test.
11679 2018-08-28 Florian Weimer <fweimer@redhat.com>
11682 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11683 * nscd/netgroupcache.c
11684 (addgetnetgrentX): Add tofreep parameter. Do not free
11685 heap-allocated buffer.
11686 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11687 (addgetnetgrentX_ignore): New function.
11688 (addgetnetgrent): Call it.
11689 (readdgetnetgrent): Likewise.
11691 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11693 * string/memmem.c: Use memcmp for first match.
11695 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11698 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11700 2018-08-27 DJ Delorie <dj@redhat.com>
11702 * support/Makefile (others): Don't list programs explicitly as a
11703 dependency of "others".
11705 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11707 * sysdeps/generic/math-tests-trap-force.h: New file.
11708 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11709 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11710 * sysdeps/powerpc/math-tests.h: Remove file.
11711 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11713 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11714 Torvald Riegel <triegel@redhat.com>
11717 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11718 Update r to include the set wake-request flag if waiters are
11719 remaining after spinning.
11721 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11723 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11725 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11728 regex: fix uninitialized memory access
11729 I introduced this bug into gnulib in commit
11730 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11731 eventually it was merged into glibc. The bug was found by
11732 project-repo <bugs@feusi.co> and reported here:
11733 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11734 Diagnosis and draft fix reported by Assaf Gordon here:
11735 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11736 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11737 * posix/regex_internal.c (build_wcs_upper_buffer):
11738 Fix bug when mbrtowc returns 0.
11740 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11742 * po/be.po: Update translation.
11744 2018-08-24 DJ Delorie <dj@delorie.com>
11746 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11749 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11752 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11753 create temporary files in source tree.
11755 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11757 * sysdeps/generic/math-tests-trap.h: New file.
11758 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11759 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11760 * sysdeps/aarch64/math-tests.h: Remove file.
11761 * sysdeps/arm/math-tests.h: Likewise.
11762 * sysdeps/riscv/math-tests.h: Likewise.
11763 * sysdeps/aarch64/math-tests-trap.h: New file.
11764 * sysdeps/arm/math-tests-trap.h: Likewise.
11765 * sysdeps/riscv/math-tests-trap.h: Likewise.
11767 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11769 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11770 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11771 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11772 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11773 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11774 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11775 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11776 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11777 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11778 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11779 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11781 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11782 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11783 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11784 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11785 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11786 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11788 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11790 * sysdeps/generic/math-tests-exceptions.h: New file.
11791 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11792 (EXCEPTION_TESTS_float): Do not define here.
11793 (EXCEPTION_TESTS_double): Likewise.
11794 (EXCEPTION_TESTS_long_double): Likewise.
11795 (EXCEPTION_TESTS_float128): Likewise.
11796 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11798 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11799 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11800 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11801 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11802 * sysdeps/mips/math-tests.h: Likewise.
11803 * sysdeps/nios2/math-tests.h: Likewise.
11804 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11805 (EXCEPTION_TESTS_float): Do not define here.
11806 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11807 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11808 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11810 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11812 * NEWS: Move optimized sinf entry to 2.29.
11814 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11816 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11818 2018-08-22 DJ Delorie <dj@redhat.com>
11820 * Makefile (testroot.pristine): New rules to initialize the
11821 test-in-container "testroot".
11822 * Makerules (all-testsuite): Add tests-container.
11823 * Rules (tests-expected): Add tests-container.
11824 (binaries-all-tests): Likewise.
11825 (tests-container): New, run these tests in the testroot container.
11826 * support/Makefile (others): Add *-container, support_paths.c,
11827 xmkdirp, and links-dso-program.
11828 * support/links-dso-program-c.c: New.
11829 * support/links-dso-program.cc: New.
11830 * support/test-container.c: New.
11831 * support/shell-container.c: New.
11832 * support/echo-container.c: New.
11833 * support/true-container.c: New.
11834 * support/xmkdirp.c: New.
11835 * support/xsymlink.c: New.
11836 * support/support_paths.c: New.
11837 * support/support.h: Add support paths prototypes.
11838 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11840 * nss/tst-nss-test3.c: Convert to test-in-container.
11841 * nss/tst-nss-test3.root/: New.
11843 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11845 regex: port Gnulib code to z/OS POSIX environment
11846 Problem reported by Arnold Robbins in:
11847 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11848 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11851 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11853 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11854 (ROUNDING_TESTS_double): Remove.
11855 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11856 (ROUNDING_TESTS_double): Remove.
11857 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11858 (ROUNDING_TESTS_double): Remove.
11859 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11860 (ROUNDING_TESTS_float): Remove.
11861 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11862 (ROUNDING_TESTS_float): Remove.
11863 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11864 (ROUNDING_TESTS_float): Remove.
11865 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11866 !TEST_MATHVEC here.
11867 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11868 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11870 * sysdeps/generic/math-tests-rounding.h: New file.
11871 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11872 (ROUNDING_TESTS_float): Do not define here.
11873 (ROUNDING_TESTS_double): Likewise.
11874 (ROUNDING_TESTS_long_double): Likewise.
11875 (ROUNDING_TESTS_float128): Likewise.
11876 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11877 (ROUNDING_TESTS_double): Undefine before defining.
11878 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11879 (ROUNDING_TESTS_double): Undefine before defining.
11880 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11881 (ROUNDING_TESTS_double): Undefine before defining.
11882 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11883 (ROUNDING_TESTS_float): Undefine before defining.
11884 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11885 (ROUNDING_TESTS_float): Undefine before defining.
11886 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11887 (ROUNDING_TESTS_float): Undefine before defining.
11888 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11889 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11891 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11892 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11893 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11894 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11895 (ROUNDING_TESTS_float): Do not define here.
11896 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11897 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11898 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11899 (ROUNDING_TESTS_float): Likewise.
11900 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11901 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11902 * sysdeps/mips/math-tests.h [__mips_soft_float]
11903 (ROUNDING_TESTS_float): Likewise.
11904 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11905 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11906 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11907 (ROUNDING_TESTS_double): Likewise.
11908 (ROUNDING_TESTS_long_double): Likewise.
11910 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11912 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11913 (PF_XDP): New macro.
11914 (AF_XDP): New macro.
11915 (SOL_XDP): New macro.
11917 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11919 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11920 (TCP_INQ): Likewise.
11921 (TCP_CM_INQ): Likewise.
11922 (TCP_REPAIR_ON): Likewise.
11923 (TCP_REPAIR_OFF): Likewise.
11924 (TCP_REPAIR_OFF_NO_WP): Likewise.
11925 (struct tcp_zerocopy_receive): New type.
11927 2018-08-21 Florian Weimer <fweimer@redhat.com>
11929 * support/support.h (support_descriptor_supports_holes): Declare.
11930 * support/Makefile (libsupport-routines): Add
11931 support_descriptor_supports_holes.
11932 * support/support_descriptor_supports_holes.c: New file.
11933 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11934 and stop testing if holes are not supported.
11935 * io/test-lfs.c (do_prepare): Likewise.
11936 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11938 * timezone/tst-tzset.c (create_tz_file): Likewise.
11939 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11941 (do_prepare): Set it.
11942 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11944 2018-08-21 Florian Weimer <fweimer@redhat.com>
11947 * Makeconfig (+cflags): Do not sort (and deduplicate).
11949 2018-08-21 Florian Weimer <fweimer@redhat.com>
11951 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11952 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11954 2018-08-20 Florian Weimer <fweimer@redhat.com>
11956 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11957 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11959 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11961 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11962 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11963 and ssi_arch members.
11965 * elf/elf.c (NT_VMCOREDD): New macro.
11966 (AT_MINSIGSTKSZ): Likewise.
11968 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11971 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11972 s_cosf-ppc64 and s_cosf-power8.
11973 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11974 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11975 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11976 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11983 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11984 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11986 2018-08-17 Florian Weimer <fweimer@redhat.com>
11988 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11990 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11992 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11994 2018-08-16 Florian Weimer <fweimer@redhat.com>
11996 * configure.ac: Add --with-nonshared-cflags option.
11997 * config.make.in (extra-nonshared-cflags): Set variable.
11998 * Makeconfig (CFLAGS-.oS): Use it.
11999 * manual/install.texi (Configuring and compiling): Document
12000 --with-nonshared-cflags.
12001 * configure: Regenerate.
12002 * INSTALL: Likewise.
12004 2018-08-16 Florian Weimer <fweimer@redhat.com>
12006 * Makeconfig (ASFLAGS): Always append required assembler flags.
12008 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
12010 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12011 (malloc_consolidate): Likewise.
12013 2018-08-16 Pochang Chen <johnchen902@gmail.com>
12015 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12017 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12019 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12022 * benchtests/bench-strlen.c: Print performance numbers in json.
12024 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12026 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12027 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12028 only for little endian.
12029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12030 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12031 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12032 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12033 Add check for little endian.
12034 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12035 (__strcmp_power9): Add check for little endian.
12036 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12037 Add check for little endian.
12038 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12039 (__strncmp_power9): Add check for little endian.
12040 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
12041 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
12042 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
12043 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
12044 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
12046 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12048 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
12049 [!STRLEN](STRLEN): Set to __strlen.
12050 * sysdeps/aarch64/multiarch/strlen.c: New file.
12051 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
12052 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
12053 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12054 (__libc_ifunc_impl_list): Add strlen.
12055 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12056 strlen_generic and strlen_asimd.
12058 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12060 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
12061 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
12062 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12064 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12066 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
12068 2018-08-14 Florian Weimer <fweimer@redhat.com>
12071 * include/stdio.h (__vfxprintf): Declare.
12072 * stdio-common/fxprintf.c (__vfxprintf): New function.
12073 (__fxprintf): Call it.
12074 * misc/err.c (convert_and_print): Remove function.
12075 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
12076 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
12077 * misc/Makefile (tests): Add tst-warn-wide.
12078 * misc/tst-warn-wide.c: New file.
12080 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
12081 Szabolcs Nagy <szabolcs.nagy@arm.com>
12083 * NEWS: Mention sinf, cosf, sincosf.
12084 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
12085 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
12086 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
12087 constants rather than including generic sincosf.h.
12088 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
12089 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
12090 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
12091 (reduced_cos): Remove.
12092 (sinf_poly): New function.
12093 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
12095 2018-08-14 Florian Weimer <fweimer@redhat.com>
12099 * nss/nss_files/files-alias.c (get_next_alias): During :include:
12100 processing, bail out if no room, and close the stream before
12102 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
12103 (tst-nss-files-alias-leak): Link with libdl.
12104 (tst-nss-files-alias-leak.out): Depend on nss_files.
12106 * nss/tst-nss-files-alias-leak.c: New file.
12108 2018-08-14 Florian Weimer <fweimer@redhat.com>
12110 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
12111 server_user, stat_user.
12113 2018-08-13 Joseph Myers <joseph@codesourcery.com>
12115 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12117 (io_pgetevents): New syscall.
12120 * manual/install.texi (Configuring and compiling): Do not list
12121 tools used for testing pretty printers here.
12122 (Tools for Compilation): List Python, PExpect and GDB here.
12123 Update descriptions of uses of Perl and Python.
12124 * INSTALL: Regenerate.
12126 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12129 2018-08-13 Florian Weimer <fweimer@redhat.com>
12131 * misc/error.c (error): Add missing va_end call.
12132 (error_at_line): Likewise.
12134 2018-08-13 Florian Weimer <fweimer@redhat.com>
12136 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
12138 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12140 * benchtests/scripts/benchout.schema.json (properties): Add
12143 * benchtests/bench-skeleton.c (main): Add duration and
12144 iterations attributes.
12146 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
12148 regex: Gnulib unibyte RRI uses bytes not chars
12149 Adjust the non-glibc code to agree with what Gawk needs for
12150 rational range interpretation (RRI) for regular expression ranges.
12151 In unibyte locales, Gawk wants ranges to use the underlying byte
12152 rather than the character code point. This change does not affect
12154 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
12155 In unibyte locales, use the byte value rather than
12156 running it through btowc.
12158 2018-08-10 Joseph Myers <joseph@codesourcery.com>
12160 * sysdeps/generic/math-tests-snan.h: New file.
12161 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
12162 (SNAN_TESTS_float): Do not define here.
12163 (SNAN_TESTS_double): Likewise.
12164 (SNAN_TESTS_long_double): Likewise.
12165 (SNAN_TESTS_float128): Likewise.
12166 * sysdeps/i386/fpu/math-tests-snan.h: New file.
12167 * sysdeps/i386/fpu/math-tests.h: Remove file.
12168 * sysdeps/ia64/math-tests-snan.h: New file.
12169 * sysdeps/ia64/math-tests.h: Remove file.
12170 * sysdeps/x86/math-tests.h: Likewise.
12171 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
12173 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12174 Szabolcs Nagy <szabolcs.nagy@arm.com>
12176 * math/Makefile: Add s_sincosf_data.c.
12177 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
12178 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
12179 (sincosf_poly): Likewise.
12180 (reduce_small): Likewise.
12181 (reduce_large): Likewise.
12182 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
12183 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
12184 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
12185 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
12187 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12188 Szabolcs Nagy <szabolcs.nagy@arm.com>
12190 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
12191 (converttoint): Use lround.
12192 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
12193 document the semantics when TOINT_INTRINSICS is set.
12194 (converttoint): Likewise.
12195 (TOINT_RINT): Remove.
12196 (TOINT_SHIFT): Remove.
12197 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
12200 2018-08-10 Florian Weimer <fweimer@redhat.com>
12203 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
12205 (__old_getdents64): Use getdents64. Convert entries without
12207 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
12208 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
12209 tst-readdir64-compat.
12211 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12213 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
12216 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12218 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
12219 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
12220 code to s390x-mcount.h and #include it.
12221 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
12222 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12225 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12227 * stdlib/Versions: Remove __fentry__.
12228 * sysdeps/i386/Versions: Add __fentry__.
12229 * sysdeps/x86_64/Versions: Add __fentry__.
12231 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12233 * sysdeps/s390/Makefile: Register the new tests.
12234 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
12235 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
12236 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
12237 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
12238 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
12239 * sysdeps/s390/tst-dl-runtime.c: New file.
12241 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12243 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12246 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12248 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12251 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12253 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12256 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12258 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12261 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12263 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12264 Use symbolic offsets for stack variables.
12266 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12268 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12269 Use symbolic offsets for stack variables.
12271 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12273 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12274 Use symbolic offsets for stack variables.
12276 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12278 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12279 Use symbolic offsets for stack variables.
12281 2018-08-09 Joseph Myers <joseph@codesourcery.com>
12283 * math/gen-libm-test.py: New file.
12284 * math/gen-libm-test.pl: Remove.
12285 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12286 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12288 ($(libm-test-c-noauto-obj)): Likewise.
12289 ($(libm-test-c-auto-obj)): Likewise.
12290 ($(libm-test-c-narrow-obj)): Likewise.
12291 (regen-ulps): Likewise.
12292 * math/README.libm-test: Update references to gen-libm-test.pl.
12293 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12294 referencing gen-libm-test.pl.
12295 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12296 * math/libm-test-support.c: Likewise.
12297 * math/libm-test-support.h: Likewise.
12298 * sysdeps/generic/libm-test-ulps: Likewise.
12300 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12302 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12305 2018-08-08 Joseph Myers <joseph@codesourcery.com>
12307 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12308 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12310 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12312 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12314 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12315 __pthread_setspecific): Add hidden proto.
12316 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12317 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
12319 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12321 * benchtests/bench-string.h (buf1_size, buf2_size): New
12323 (init_sizes): New function.
12324 (test_init): Use it.
12325 (alloc_buf, exit_error): New functions.
12326 (alloc_bufs): Use ALLOC_BUF.
12327 (realloc_bufs): Remove.
12328 * benchtests/bench-memcmp.c (do_test): Adjust.
12329 * benchtests/bench-memset-large.c (do_test): Likewise.
12330 * benchtests/bench-memset-walk.c (do_test): Likewise.
12331 * benchtests/bench-memset.c (do_test): Likewise.
12332 * benchtests/bench-strncmp.c (do_test): Likewise.
12334 2018-08-06 Andreas Schwab <schwab@suse.de>
12336 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12337 of CONST_THREAD_AREA.
12339 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12341 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12342 (STATE_SAVE_MASK): Likewise.
12343 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12344 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12345 (STATE_SAVE_MASK): Likewise.
12346 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12347 instead of <cpu-features.h>.
12349 2018-08-03 DJ Delorie <dj@redhat.com>
12351 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
12352 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
12354 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12356 2018-08-03 Joseph Myers <joseph@codesourcery.com>
12358 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12359 after TEST_* calls.
12360 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12361 * math/libm-test-logb.inc (logb_test_data): Likewise.
12363 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12365 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12366 * string/strstr.c (AVAILABLE): Likewise.
12368 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12370 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12372 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12373 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12374 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12376 2018-08-03 Carlos O'Donell <carlos@redhat.com>
12378 * po/be.po: Update translation.
12380 * po/be.po: Update translation.
12382 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12384 * sysdeps/x86/cpu-features-offsets.sym
12385 (rtld_global_ro_offsetof): Removed.
12386 (CPU_FEATURES_SIZE): Likewise.
12387 (CPUID_OFFSET): Likewise.
12388 (CPUID_SIZE): Likewise.
12389 (CPUID_EAX_OFFSET): Likewise.
12390 (CPUID_EBX_OFFSET): Likewise.
12391 (CPUID_ECX_OFFSET): Likewise.
12392 (CPUID_EDX_OFFSET): Likewise.
12393 (FAMILY_OFFSET): Likewise.
12394 (MODEL_OFFSET): Likewise.
12395 (FEATURE_OFFSET): Likewise.
12396 (FEATURE_SIZ): Likewise.
12397 (COMMON_CPUID_INDEX_1): Likewise.
12398 (COMMON_CPUID_INDEX_7): Likewise.
12399 (FEATURE_INDEX_1): Likewise.
12400 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12402 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12404 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12405 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12406 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12407 (install-locales): Depend on install-locale-archive.
12408 (install-locale-archive): Define.
12409 (install-locale-files): Define.
12410 (build-one-locale): Define macro.
12411 * manual/install.texi (Running make install): Document.
12412 * manual/INSTALL: Regenerate.
12414 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12416 * benchtests/scripts/compare_strings.py: Import traceback.
12417 (parse_file): Pretty-print error.
12419 * NEWS: Mention the change.
12420 * elf/dl-tunables.list: Rename tune namespace to cpu.
12421 * sysdeps/powerpc/dl-tunables.list: Likewise.
12422 * sysdeps/x86/dl-tunables.list: Likewise.
12423 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12425 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12426 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12427 * manual/README.tunables: Likewise.
12428 * manual/tunables.texi: Likewise.
12429 * sysdeps/powerpc/cpu-features.c: Likewise.
12430 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12431 (init_cpu_features): Likewise.
12432 * sysdeps/x86/cpu-features.c: Likewise.
12433 * sysdeps/x86/cpu-features.h: Likewise.
12434 * sysdeps/x86/cpu-tunables.c: Likewise.
12435 * sysdeps/x86_64/Makefile: Likewise.
12436 * sysdeps/x86/dl-cet.c: Likewise.
12438 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12441 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12442 [__mips_hard_float].
12443 (FE_UNDERFLOW): Likewise.
12444 (FE_OVERFLOW): Likewise.
12445 (FE_DIVBYZERO): Likewise.
12446 (FE_INVALID): Likewise.
12447 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12448 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12449 (FE_UPWARD): Likewise.
12450 (FE_DOWNWARD): Likewise.
12451 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12452 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12453 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12454 [__mips_hard_float].
12455 (FP_ROUNDMODE): Likewise.
12456 (FP_RND_NEAREST): Likewise.
12457 (FP_RND_ZERO): Likewise.
12458 (FP_RND_PINF): Likewise.
12459 (FP_RND_MINF): Likewise.
12460 (FP_EX_INVALID): Likewise.
12461 (FP_EX_OVERFLOW): Likewise.
12462 (FP_EX_UNDERFLOW): Likewise.
12463 (FP_EX_DIVZERO): Likewise.
12464 (FP_EX_INEXACT): Likewise.
12465 (FP_INIT_ROUNDMODE): Likewise.
12466 * sysdeps/mips/nofpu/fesetenv.c: New file.
12467 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12469 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12471 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12472 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12473 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12474 conditional on [FE_UPWARD].
12476 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12478 regex: fix memory leak in Gnulib
12479 Problem and fix reported by Assaf Gordon in:
12480 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12481 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12482 range_ends members too, as they are defined in 'struct
12483 re_charset_t' even if not _LIBC. This affects only Gnulib.
12485 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12487 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12489 (get_common_indices): This.
12490 (init_cpu_features): Updated.
12492 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12494 * sysdeps/generic/math-tests-snan-payload.h: New file.
12495 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12496 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12497 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12498 * sysdeps/generic/math-tests.h: Include
12499 <math-tests-snan-payload.h>.
12500 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12501 * sysdeps/hppa/math-tests.h: Remove file.
12502 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12503 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12504 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12507 * sysdeps/generic/math-tests-snan-cast.h: New file.
12508 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12509 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12510 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12511 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12513 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12515 * version.h (RELEASE): Set to "development".
12516 (VERSION): Set to "2.28.9000".
12517 * NEWS (2.29): New section.
12519 * version.h (RELEASE): Set to "stable".
12520 (VERSION): Set to "2.28".
12521 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12522 * NEWS: Add the list of bugs fixed in 2.28.
12524 * po/ca.po: Update to latest version.
12525 * po/cs.po: Likewise
12526 * po/da.po: Likewise
12527 * po/el.po: Likewise
12528 * po/eo.po: Likewise
12529 * po/es.po: Likewise
12530 * po/fi.po: Likewise
12531 * po/fr.po: Likewise
12532 * po/gl.po: Likewise
12533 * po/hu.po: Likewise
12534 * po/ia.po: Likewise
12535 * po/id.po: Likewise
12536 * po/it.po: Likewise
12537 * po/ja.po: Likewise
12538 * po/ko.po: Likewise
12539 * po/lt.po: Likewise
12540 * po/nb.po: Likewise
12541 * po/nl.po: Likewise
12542 * po/pt_BR.po: Likewise
12543 * po/ru.po: Likewise
12544 * po/rw.po: Likewise
12545 * po/sk.po: Likewise
12546 * po/sl.po: Likewise
12547 * po/tr.po: Likewise
12548 * po/zh_CN.po: Likewise
12549 * po/zh_TW.po: Likewise
12551 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12553 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12555 (init): ... before initializing libpthread.
12557 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12558 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12559 (__mach_setup_tls): ... new function.
12560 (mach_setup_tls): New alias.
12561 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12562 __mach_setup_thread.
12563 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12564 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12565 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12566 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12568 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12570 * manual/install.texi: Update versions.
12571 * INSTALL: Regenerate.
12573 * manual/contrib.texi (Contributors): Update contributions.
12575 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12577 * po/be.po: Update translations.
12579 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12581 * sysdeps/sh/libm-test-ulps: Update.
12583 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12585 * po/bg.po: Update translations.
12586 * po/de.po: Likewise.
12587 * po/hr.po: Likewise.
12588 * po/pt_BR.po: Likewise.
12589 * po/sv.po: Likewise.
12590 * po/vi.po: Likewise.
12592 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12595 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12596 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12597 (CFLAGS-tst-cet-property-1.o): New.
12598 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12599 ($(objpfx)tst-cet-property-2): Likewise.
12600 ($(objpfx)tst-cet-property-2.out): Likewise.
12601 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12602 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12603 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12604 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12605 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12607 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12610 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12612 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12614 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12615 __sbrk): Do not set attribute_hidden.
12616 * sysdeps/mach/hurd/not-errno.h: New file.
12617 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12618 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12620 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12622 * po/uk.po: Update translations.
12623 * po/cs.po: Likewise.
12624 * po/pl.po: Likewise.
12626 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12628 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12629 parse beyond the note end.
12631 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12633 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12634 kernel does not support OFD locks.
12635 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12637 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12639 * sysdeps/mach/hurd/Versions (libc): Make __access and
12640 __access_noerrno external so they can override the ld symbols.
12641 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12642 __writev, __open64, __access_noerrno extern so they can be overrided.
12643 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12644 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12646 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12648 * po/libc.pot: Regenerate.
12650 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12652 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12654 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12657 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12659 (init_cpu_features): Call get_extended_indices for both Intel
12661 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12662 Remove "for AMD" comment.
12664 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12667 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12668 COMMON_CPUID_INDEX_80000001.
12670 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12672 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12673 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12675 2018-07-26 Florian Weimer <fweimer@redhat.com>
12677 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12678 aliases for symbols not in the implementation namespace.
12680 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12683 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12684 lowercase in LATIN script.
12685 * localedata/Makefile (test-input): Add en_US.UTF-8.
12686 * localedata/en_US.UTF-8.in: New file.
12687 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12688 and restore old tests.
12689 * posix/tst-regexloc.c (do_test): Add back range expression test.
12691 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12693 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12695 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12697 * nptl/threads.h: Move to ...
12698 * sysdeps/nptl/threads.h: ... here.
12699 * sysdeps/hurd/stdc-predef.h: New file.
12701 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12703 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12704 tst-cet-setcontext-1 if CET is enabled.
12705 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12706 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12708 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12710 * include/threads.h: Move to ...
12711 * sysdeps/nptl/threads.h: ... here.
12712 * sysdeps/htl/threads.h: New file.
12713 * conform/Makefile (linknamespace-libs-ISO11): Use
12714 static-thread-library instead of linking libpthread.
12715 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12717 2018-07-25 Florian Weimer <fweimer@redhat.com>
12719 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12720 nanoseconds into seconds.
12721 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12722 (do_test): Likewise.
12723 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12724 (do_test): Likewise. Avoid nanosecond overflow and spurious
12725 timeouts due to system load.
12726 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12727 (child_wait): Increment it.
12728 (do_test): Wait as long as necessary until all expected threads
12731 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12732 H.J. Lu <hongjiu.lu@intel.com>
12734 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12736 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12737 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12738 (__push___start_context): New.
12739 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12741 (__getcontext): Record the current shadow stack base. Save the
12742 caller's shadow stack pointer and base.
12743 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12744 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12745 (__push___start_context): New prototype.
12746 (__makecontext): Call __push___start_context to allocate a new
12747 shadow stack, push __start_context onto the new stack as well
12748 as the new shadow stack.
12749 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12751 (__setcontext): Restore the target shadow stack.
12752 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12754 (__swapcontext): Record the current shadow stack base. Save
12755 the caller's shadow stack pointer and base. Restore the target
12757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12758 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12759 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12761 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12763 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12764 tst-setcontext8 and tst-setcontext9.
12765 * stdlib/tst-setcontext6.c: New file.
12766 * stdlib/tst-setcontext7.c: Likewise.
12767 * stdlib/tst-setcontext8.c: Likewise.
12768 * stdlib/tst-setcontext9.c: Likewise.
12770 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12772 * stdlib/Makefile ((tests): Add tst-setcontext5.
12773 * stdlib/tst-setcontext5.c: New file.
12775 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12777 * stdlib/Makefile (tests): Add tst-setcontext4.
12778 * stdlib/tst-setcontext4.c: New file.
12780 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12782 * stdlib/Makefile (tests): Add tst-swapcontext1.
12783 * stdlib/tst-swapcontext1.c: New test.
12785 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12787 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12788 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12789 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12790 and tst-cet-legacy-4c.
12791 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12792 and tst-cet-legacy-mod-4.
12793 (CFLAGS-tst-cet-legacy-2.c): New.
12794 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12795 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12796 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12797 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12798 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12799 ($(objpfx)tst-cet-legacy-1): Likewise.
12800 ($(objpfx)tst-cet-legacy-2): Likewise.
12801 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12802 ($(objpfx)tst-cet-legacy-2a): Likewise.
12803 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12804 ($(objpfx)tst-cet-legacy-4): Likewise.
12805 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12806 ($(objpfx)tst-cet-legacy-4a): Likewise.
12807 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12808 (tst-cet-legacy-4a-ENV): Likewise.
12809 ($(objpfx)tst-cet-legacy-4b): Likewise.
12810 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12811 (tst-cet-legacy-4b-ENV): Likewise.
12812 ($(objpfx)tst-cet-legacy-4c): Likewise.
12813 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12814 (tst-cet-legacy-4c-ENV): Likewise.
12815 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12816 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12817 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12818 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12819 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12820 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12821 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12822 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12823 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12824 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12825 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12827 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12829 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12830 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12832 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12833 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12836 2018-07-25 Andreas Schwab <schwab@suse.de>
12839 * locale/weightwc.h (findidx): Handle the case where usrc is a
12840 prefix of cp but one character too short.
12842 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12844 * NEWS: Add ISO C threads addition.
12846 2018-07-24 Florian Weimer <fweimer@redhat.com>
12848 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12849 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12850 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12853 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12855 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12856 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12857 <sys/prctl.h> and <asm/prctl.h>.
12858 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12859 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12861 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12862 ARCH_CET_LEGACY_BITMAP.
12863 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12864 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12865 * sysdeps/x86/libc-start.c: Include <startup.h>.
12867 2018-07-24 Florian Weimer <fweimer@redhat.com>
12869 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12870 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12872 2018-07-24 Rical Jasan <rj@2c3t.io>
12873 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12874 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12877 * manual/debug.texi: Update adjacent chapter name.
12878 * manual/probes.texi: Likewise.
12879 * manual/threads.texi (ISO C Threads): New section.
12880 (POSIX Threads): Convert to a section.
12882 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12883 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12886 * nptl/Makefile (tests): Add new test files.
12887 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12888 * nptl/tst-cnd-basic.c: Likewise.
12889 * nptl/tst-cnd-broadcast.c: Likewise.
12890 * nptl/tst-cnd-timedwait.c: Likewise.
12891 * nptl/tst-mtx-basic.c: Likewise.
12892 * nptl/tst-mtx-recursive.c: Likewise.
12893 * nptl/tst-mtx-timedlock.c: Likewise.
12894 * nptl/tst-mtx-trylock.c: Likewise.
12895 * nptl/tst-thrd-basic.c: Likewise.
12896 * nptl/tst-thrd-detach.c: Likewise.
12897 * nptl/tst-thrd-sleep.c: Likewise.
12898 * nptl/tst-tss-basic.c: Likewise.
12900 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12903 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12904 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12906 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12913 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12914 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12915 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12916 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12929 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12934 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12935 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12936 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12937 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12939 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12957 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12967 * conform/data/threads.h-data (thread_local): New macro.
12968 (TSS_DTOR_ITERATIONS): Likewise.
12970 (tss_dtor_t): Likewise.
12971 (tss_create): New function.
12972 (tss_get): Likewise.
12973 (tss_set): Likewise.
12974 (tss_delete): Likewise.
12975 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12976 tss_get, and tss_set objects.
12977 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12978 * nptl/tss_create.c: New file.
12979 * nptl/tss_delete.c: Likewise.
12980 * nptl/tss_get.c: Likewise.
12981 * nptl/tss_set.c: Likewise.
12982 * sysdeps/nptl/threads.h (thread_local): New define.
12983 (TSS_DTOR_ITERATIONS): Likewise.
12984 (tss_t): New typedef.
12985 (tss_dtor_t): Likewise.
12986 (tss_create): New prototype.
12987 (tss_get): Likewise.
12988 (tss_set): Likewise.
12989 (tss_delete): Likewise.
12992 * conform/data/threads.h-data (cnd_t): New type.
12993 (cnd_init): New function.
12994 (cnd_signal): Likewise.
12995 (cnd_broadcast): Likewise.
12996 (cnd_wait): Likewise.
12997 (cnd_timedwait): Likewise.
12998 (cnd_destroy): Likewise.
12999 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13000 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13002 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13003 * nptl/cnd_broadcast.c: New file.
13004 * nptl/cnd_destroy.c: Likewise.
13005 * nptl/cnd_init.c: Likewise.
13006 * nptl/cnd_signal.c: Likewise.
13007 * nptl/cnd_timedwait.c: Likewise.
13008 * nptl/cnd_wait.c: Likewise.
13009 * sysdeps/nptl/threads.h (cnd_t): New type.
13010 (cnd_init): New prototype.
13011 (cnd_signa): Likewise.
13012 (cnd_broadcast): Likewise.
13013 (cnd_wait): Likewise.
13014 (cnd_timedwait): Likewise.
13015 (cnd_destroy): Likewise.
13018 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13019 (once_flag): New type.
13020 (call_once): New function.
13021 * nptl/Makefile (libpthread-routines): Add call_once object.
13022 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13023 * nptl/call_once.c: New file.
13024 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13025 (once_flag): New type.
13026 (call_once): New prototype.
13029 * conform/data/threads.h-data (mtx_plain): New constant.
13030 (mtx_recursive): Likewise.
13031 (mtx_timed): Likewise.
13033 (mtx_init): New function.
13034 (mtx_lock): Likewise.
13035 (mtx_timedlock): Likewise.
13036 (mtx_trylock): Likewise.
13037 (mtx_unlock): Likewise.
13038 (mtx_destroy): Likewise.
13039 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
13040 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
13041 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
13042 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
13043 * nptl/mtx_destroy.c: New file.
13044 * nptl/mtx_init.c: Likewise.
13045 * nptl/mtx_lock.c: Likewise.
13046 * nptl/mtx_timedlock.c: Likewise.
13047 * nptl/mtx_trylock.c: Likewise.
13048 * nptl/mtx_unlock.c: Likewise.
13049 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
13050 (mtx_recursive): Likewise.
13051 (mtx_timed): Likewise.
13053 (mtx_init): New prototype.
13054 (mtx_lock): Likewise.
13055 (mtx_timedlock): Likewise.
13056 (mtx_trylock): Likewise.
13057 (mtx_unlock): Likewise.
13058 (mtx_destroy): Likewise.
13061 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
13062 (linknamespace-libs-ISO11): Add libpthread.a.
13063 * conform/data/threads.h-data: New file: add C11 thrd_* types and
13065 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
13066 * nptl/Makefile (headers): Add threads.h.
13067 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
13068 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
13070 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
13071 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
13072 thrd_join, thrd_sleep, and thrd_yield symbols.
13073 * nptl/descr.h (struct pthread): Add c11 field.
13074 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
13075 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
13076 routine with expected function prototype.
13077 (__pthread_create_2_1): Add C11 threads check based on attribute
13079 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
13080 * nptl/thrd_create.c: New file.
13081 * nptl/thrd_current.c: Likewise.
13082 * nptl/thrd_detach.c: Likewise.
13083 * nptl/thrd_equal.c: Likewise.
13084 * nptl/thrd_exit.c: Likewise.
13085 * nptl/thrd_join.c: Likewise.
13086 * nptl/thrd_priv.h: Likewise.
13087 * nptl/thrd_sleep.c: Likewise.
13088 * nptl/thrd_yield.c: Likewise.
13089 * include/threads.h: Likewise.
13091 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13093 * bits/indirect-return.h: New file.
13094 * misc/sys/cdefs.h (__glibc_has_attribute): New.
13095 * sysdeps/x86/bits/indirect-return.h: Likewise.
13096 * stdlib/Makefile (headers): Add bits/indirect-return.h.
13097 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
13098 (swapcontext): Add __INDIRECT_RETURN.
13099 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
13100 (prepare_test_buffer): Use it.
13102 2018-07-24 Andreas Schwab <schwab@suse.de>
13105 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
13106 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
13108 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13110 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
13111 Redefine if shadow stack is enabled.
13112 (SYSCALL_ERROR_LABEL): Likewise.
13113 (__vfork): Pop shadow stack and jump back to to caller directly
13114 when shadow stack is in use.
13115 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
13116 Redefine if shadow stack is enabled.
13117 (SYSCALL_ERROR_LABEL): Likewise.
13118 (__vfork): Pop shadow stack and jump back to to caller directly
13119 when shadow stack is in use.
13121 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13123 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
13126 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
13129 2018-07-20 Joseph Myers <joseph@codesourcery.com>
13131 * scripts/build-many-glibcs.py (Context.checkout): Default
13132 binutils version to 2.31 branch.
13134 2018-07-20 Zong Li <zong@andestech.com>
13136 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
13137 URL of gcc's tarball.
13139 2018-07-20 Florian Weimer <fweimer@redhat.com>
13142 * posix/regcomp.c (build_equiv_class): When comparing weights, do
13143 not compare an extra byte after the end of the weights.
13145 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13147 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
13149 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
13151 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
13152 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
13153 * scripts/check-execstack.awk: Consider `xfail' variable containing a
13154 list of libraries whose stack executability is expected.
13155 * elf/Makefile ($(objpfx)check-execstack.out): Pass
13156 $(check-execstack-xfail) to check-execstack.awk through `xfail'
13158 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
13159 libc.so libpthread.so.
13161 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
13163 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
13165 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
13167 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
13169 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
13171 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13173 * benchtests/scripts/compare_bench.py (__main__): use the argparse
13174 library to improve command line parsing.
13175 (__main__): make schema file as optional parameter (--schema),
13176 defaulting to benchtests/scripts/benchout.schema.json.
13177 (main): move out of the parsing stuff to __main_ and leave it
13178 only as caller of main comparison functions.
13180 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
13182 * NEWS: Add a note for Intel CET status.
13183 * manual/install.texi: Likewise.
13184 * INSTALL: Regenerated.
13186 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
13189 * localedata/locales/oc_FR (mon): Rename to...
13190 (alt_mon): This, then update October (typo fix).
13191 (mon): New content (genitive case, month names preceded by
13195 * localedata/locales/oc_FR (abday): Update all items.
13196 (day): Update Wednesday and Saturday (typo fixes).
13197 (abmon): Update all items, except May.
13198 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
13199 (LC_IDENTIFICATION): Bump the revision number and date.
13200 Keep the "category" entries in alphabetic order.
13201 (LC_ADDRESS): Remove no longer needed comment.
13202 (LC_COLLATE): Use “copy "ca_ES"”.
13203 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
13206 2018-07-18 Joseph Myers <joseph@codesourcery.com>
13208 * grp/tst_fgetgrent.c: Include <unistd.h>.
13209 (main): Use mkstemp instead of tmpnam.
13210 * io/test-utime.c (main): Likewise.
13211 * posix/annexc.c (macrofile): Change to modifiable array.
13212 (main): Remove macrofile here.
13213 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13215 (check_header): Do not remove macrofile here.
13216 * posix/bug-getopt1.c: Include <stdlib.h>.
13217 (do_test): Use mkstemp instead of tmpnam.
13218 * posix/bug-getopt2.c: Include <stdlib.h>.
13219 (do_test): Use mkstemp instead of tmpnam.
13220 * posix/bug-getopt3.c: Include <stdlib.h>.
13221 (do_test): Use mkstemp instead of tmpnam.
13222 * posix/bug-getopt4.c: Include <stdlib.h>.
13223 (do_test): Use mkstemp instead of tmpnam.
13224 * posix/bug-getopt5.c: Include <stdlib.h>.
13225 (do_test): Use mkstemp instead of tmpnam.
13226 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
13227 (main): Use mkstemp instead of tmpnam.
13228 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
13229 (main): Use mkstemp instead of tmpnam.
13230 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
13231 (main): use mkstemp instead of tmpnam.
13232 * stdlib/isomac.c (macrofile): Change to modifiable array.
13233 (main): Remove macrofile here.
13234 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13236 (check_header): Do not remove macrofile here.
13238 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13240 * manual/tunables.texi: Document glibc.tune.x86_ibt and
13241 glibc.tune.x86_shstk.
13243 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13245 * NEWS: Mention --enable-cet.
13246 * manual/install.texi: Document --enable-cet.
13247 * INSTALL: Regenerated.
13249 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13251 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
13252 Add _CET_NOTRACK before indirect jump to jump table.
13254 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13256 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
13257 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13260 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13262 * sysdeps/i386/i686/multiarch/strcat-sse2.S
13263 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13266 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13268 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13269 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13272 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13274 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13275 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13278 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13280 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13281 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13283 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13285 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13287 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13288 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13291 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13293 * sysdeps/i386/i686/multiarch/memset-sse2.S
13294 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13297 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13299 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13300 indirect jump to jump table.
13302 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13305 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13307 (MEMCPY): Likewise.
13309 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13311 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13312 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13314 (MEMCPY): Likewise.
13316 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13318 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13319 _CET_NOTRACK before indirect jump to jump table.
13321 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13323 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13324 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13327 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13329 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13330 indirect jump to jump table.
13332 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13335 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13336 (LOCALES): Likewise.
13337 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13338 * localedata/locales/sah_RU: New file.
13339 * localedata/sah_RU.UTF-8.in: New file.
13341 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13343 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13345 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13346 _CET_ENDBR to indirect jump targets and adjust jump destination
13348 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13350 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13351 _CET_ENDBR to indirect jump targets and adjust jump destination
13353 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13355 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13356 _CET_ENDBR to indirect jump targets and adjust jump destination
13359 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13361 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13364 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13366 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13368 (_dl_tlsdesc_undefweak): Likewise.
13369 (_dl_tlsdesc_dynamic): Likewise.
13370 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13371 (_dl_tlsdesc_resolve_rel): Likewise.
13372 (_dl_tlsdesc_resolve_rela): Likewise.
13373 (_dl_tlsdesc_resolve_hold): Likewise.
13374 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13375 (_dl_tlsdesc_undefweak): Likewise.
13376 (_dl_tlsdesc_dynamic): Likewise.
13377 (_dl_tlsdesc_resolve_rela): Likewise.
13378 (_dl_tlsdesc_resolve_hold): Likewise.
13380 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13382 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13384 * sysdeps/x86_64/crti.S (_init): Likewise.
13387 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13390 * localedata/locales/os_RU (mon): Rename to...
13392 (mon): Import from CLDR (genitive case).
13394 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13396 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13397 cet-tunables.h> when CET is enabled.
13399 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13402 * configure.ac: Add --enable-cet.
13403 * configure: Regenerated.
13404 * elf/Makefille (all-built-dso): Add a comment.
13405 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13406 Include <dl-prop.h>.
13407 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13409 * elf/dl-open.c: Include <dl-prop.h>.
13410 (dl_open_worker): Call _dl_open_check.
13411 * elf/rtld.c: Include <dl-prop.h>.
13412 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13414 * sysdeps/generic/dl-prop.h: New file.
13415 * sysdeps/i386/dl-cet.c: Likewise.
13416 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13417 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13418 * sysdeps/x86/cet-tunables.h: Likewise.
13419 * sysdeps/x86/check-cet.awk: Likewise.
13420 * sysdeps/x86/configure: Likewise.
13421 * sysdeps/x86/configure.ac: Likewise.
13422 * sysdeps/x86/dl-cet.c: Likewise.
13423 * sysdeps/x86/dl-procruntime.c: Likewise.
13424 * sysdeps/x86/dl-prop.h: Likewise.
13425 * sysdeps/x86/libc-start.h: Likewise.
13426 * sysdeps/x86/link_map.h: Likewise.
13427 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13429 (_dl_runtime_profile): Likewise.
13430 (_dl_runtime_resolve_shstk): New.
13431 (_dl_runtime_profile_shstk): Likewise.
13432 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13434 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13435 (CFLAGS-.os): Likewise.
13436 (CFLAGS-.op): Likewise.
13437 (CFLAGS-.oS): Likewise.
13438 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13440 (tests-special): Add $(objpfx)check-cet.out.
13441 (cet-built-dso): New.
13442 (+$(cet-built-dso:=.note)): Likewise.
13443 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13444 ($(objpfx)check-cet.out): New.
13445 (generated): Add check-cet.out.
13446 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13448 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13449 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13450 (init_cpu_features): Call get_cet_status to check CET status
13451 and update dl_x86_feature_1 with CET status. Call
13452 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13453 (set_x86_shstk). Disable and lock CET in libc.a.
13454 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13455 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13456 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13457 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13458 (_CET_ENDBR): Define if not defined.
13459 (ENTRY): Add _CET_ENDBR.
13460 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13462 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13464 (_dl_runtime_profile): Likewise.
13466 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13469 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13470 restore r2 on longjmp.
13471 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13473 Added rules to build test tst-setjmp-bug21895-static.
13474 Added module setjmp-bug21895 and rules to build a shared object from it.
13475 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13476 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13478 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13480 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13481 * benchtests/bench-strstr.c: Likewise.
13482 * string/memmem.c (FASTSEARCH): Define.
13483 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13484 Add support for FASTSEARCH.
13485 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13486 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13487 (FASTSEARCH): Define.
13488 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13489 * string/test-strstr.c: Likewise.
13491 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13494 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13496 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13497 H.J. Lu <hongjiu.lu@intel.com>
13499 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13500 (__longjmp): Restore shadow stack pointer if shadow stack is
13501 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13502 isn't defined for __longjmp_cancel.
13503 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13504 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13505 and SHADOW_STACK_POINTER_OFFSET is defined.
13506 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13507 (setjmp): Save shadow stack pointer if shadow stack is enabled
13508 and SHADOW_STACK_POINTER_OFFSET is defined.
13509 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13510 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13511 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13512 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13514 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13515 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13516 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13517 Remove jmp_buf-ssp.sym.
13518 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13520 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13521 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13522 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13524 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13525 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13526 (__longjmp): Restore shadow stack pointer if shadow stack is
13527 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13528 isn't defined for __longjmp_cancel.
13529 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13530 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13531 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13533 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13536 * nptl/pthread_create.c: Include <tls-setup.h>.
13537 (__pthread_create_2_1): Call tls_setup_tcbhead.
13538 * sysdeps/generic/tls-setup.h: New file.
13539 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13540 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13541 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13543 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13545 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13546 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13547 (X86_FEATURE_1_SHSTK): Likewise.
13548 (CET_ENABLED): Likewise.
13549 (IBT_ENABLED): Likewise.
13550 (SHSTK_ENABLED): Likewise.
13552 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13555 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13556 (LOCALES): Likewise.
13557 * localedata/dsb_DE.UTF-8.in: New file.
13558 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13560 2018-07-12 Florian Weimer <fweimer@redhat.com>
13562 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13563 __mprotect, not mprotect.
13565 2018-07-11 Florian Weimer <fweimer@redhat.com>
13567 * io/Makefile (headers): Add bits/statx.h.
13569 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13571 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13572 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13574 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13575 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13578 2018-07-10 Florian Weimer <fweimer@redhat.com>
13580 * io/Makefile (routines): Add statx.
13581 (tests-internal): Add tst-statx.
13582 * io/Versions (GLIBC_2.28): Export statx.
13583 * io/bits/statx.h: New file.
13584 * io/sys/stat.h [__USE_GNU]: Include it.
13585 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13586 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13588 * io/statx.c: New file.
13589 * io/statx_generic.: Likewise.
13590 * io/tst-statx.: Likewise.
13591 * include/bits/statx.h: Likewise.
13592 * sysdeps/unix/sysv/linux/kernel-features.h
13593 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13594 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13595 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13596 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13598 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13599 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13600 * sysdeps/unix/sysv/linux/statx.c: New file.
13601 * manual/filesys.texi: Note that statx is undocumented.
13602 * sysdeps/**/libc*.abilist: Update.
13604 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13606 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13607 a kernel issue which lead to test failure in some cases.
13609 2018-07-10 Florian Weimer <fweimer@redhat.com>
13612 * posix/regexec.c (check_node_accept_bytes): When comparing
13613 weights, do not compare an extra byte after the end of the
13616 2018-07-10 Florian Weimer <fweimer@redhat.com>
13618 * libio/readline.c: Fix copyright year.
13619 * libio/tst-readline.c Likewise.
13620 * nss/tst-nss-files-hosts-getent.c: Likewise.
13622 2018-07-06 Florian Weimer <fweimer@redhat.com>
13625 * nss/nss_files/files-XXX.c (internal_getent): Use
13626 __libc_readline_unlocked. Seek back to the start of the line if
13627 parsing failes with ERANGE.
13628 (get_contents_ret, get_contents): Remove.
13629 * nss/tst-nss-files-hosts-getent.c: New file.
13630 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13631 (tst-nss-files-hosts-getent): Link with -ldl.
13633 2018-07-06 Florian Weimer <fweimer@redhat.com>
13635 * include/stdio.h (__libc_readline_unlocked): Declare.
13636 (__ftello64, __fseeko64): Declare aliases.
13637 * libio/readline.c: New file.
13638 * libio/tst-readline.c: Likewise.
13639 (routines): Add readline.
13640 (tests-internal): Add tst-readlime.
13641 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13642 __libc_readline_unlocked.
13643 * libio/fseeko.c (__fseeko): Rename from fseeko.
13644 (fseeko): Add alias.
13645 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13646 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13647 (fseeko64): Add alias.
13648 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13649 * libio/ftello64.c (__ftello64): Rename from ftello64.
13650 (ftello64): Add alias.
13652 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13654 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13657 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13659 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13660 Use dl_hwcap without masking.
13661 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13662 Remove HWCAP_CPUID.
13664 2018-07-06 Florian Weimer <fweimer@redhat.com>
13666 * conform/conformtest.pl (checknamespace): Escape literal braces
13667 in regular expressions.
13669 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13671 * sysdeps/x86/cpu-features.c (get_common_indeces):
13672 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13673 * sysdeps/x86/cpu-features.c (init_cpu_features):
13674 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13676 2018-07-05 Florian Weimer <fweimer@redhat.com>
13678 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13680 (CFLAGS-elf-init.oS): Likewise.
13682 2018-07-05 Florian Weimer <fweimer@redhat.com>
13683 Carlos O'Donell <carlos@redhat.com>
13685 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13686 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13687 with stack protector enabled because there is no risk of infinite
13690 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13694 * libc-abis (ABSOLUTE): New ABI.
13695 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13696 * NEWS: Mention the new ABI.
13698 2018-07-05 Florian Weimer <fweimer@redhat.com>
13701 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13702 (RENAME_WHITEOUT): Define.
13703 [__USE_GNU] (renameat2): Declare.
13704 * stdio-common/Makefile (routines): Add renameat2.
13705 (tests): Add tst-renameat2.
13706 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13707 * stdio-common/renameat2.c: New file.
13708 * stdio-common/tst-renameat2.c: Likewise.
13709 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13710 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13712 * sysdeps/unix/sysv/linux/kernel-features.h
13713 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13714 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13715 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13716 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13717 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13718 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13719 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13720 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13721 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13722 * include/stdio.h (__renameat): Add alias for renameat.
13723 * stdio-common/renameat.c (__renameat): Rename from renameat.
13724 Add hidden definition and alias.
13725 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13726 * sysdeps/mach/hurd/renameat.c: Likewise.
13727 * sysdeps/**/libc*.abilist: Add renameat2.
13729 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13731 * posix/bug-regex33.c: Fix build after regex sync.
13733 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13736 * localedata/tst-langinfo-setlocale.c: New file.
13737 * localedata/tst-langinfo-setlocale-static.c: New file.
13738 * localedata/tst-langinfo-newlocale.c: New file.
13739 * localedata/tst-langinfo-newlocale-static.c: New file.
13740 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13741 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13742 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13743 (tests-static): Remove tst-langinfo-static. Add
13744 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13745 (tests-special): Remove $(objpfx)tst-langinfo.out,
13746 $(objpfx)tst-langinfo-static.out. Add
13747 $(objpfx)tst-langinfo-setlocale.out,
13748 $(objpfx)tst-langinfo-newlocale.out,
13749 $(objpfx)tst-langinfo-setlocale-static.out,
13750 $(objpfx)tst-langinfo-newlocale-static.out.
13751 ($(objpfx)tst-langinfo.out): Remove.
13752 ($(objpfx)tst-langinfo-static.out): Remove.
13753 ($(objpfx)tst-langinfo-newlocale.out): New target.
13754 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13755 (test-xfail-tst-langinfo-newlocale-static): Add.
13756 ($(objpfx)tst-langinfo-setlocale.out): New target.
13757 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13758 * localedata/tst-langinfo.c: Call test_locale.
13759 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13762 2018-07-04 Florian Weimer <fweimer@redhat.com>
13764 testrun.sh: Implement --tool=strace, --tool=valgrind
13765 * Makefile (testrun-script): Define variable.
13766 (testrun.sh): Use variable.
13767 * manual/install.texi (Tools for Compilation): make 4.0 or later
13769 * configure.ac: Check for make 4.0 or later.
13770 * INSTALL: Regenerate.
13771 * configure: Likewise.
13773 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13779 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13780 * posix/PCRE.tests: Remove invalid test.
13781 * posix/bug-regex28.c: Fix expected values for used syntax.
13782 * posix/bug-regex37.c: New file.
13783 * posix/bug-regex38.c: Likewise.
13784 * posix/regcomp.c: Sync with gnulib.
13785 * posix/regex.c: Likewise.
13786 * posix/regex.h: Likewise.
13787 * posix/regex_internal.c: Likewise.
13788 * posix/regex_internal.h: Likewise.
13789 * posix/regexec.c: Likewise.
13791 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13794 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13795 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13796 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13797 * localedata/unicode-gen/PropList.txt: likewise.
13798 * localedata/unicode-gen/UnicodeData.txt: likewise.
13799 * localedata/charmaps/UTF-8: Regenerate.
13800 * localedata/locales/i18n_ctype: likewise.
13801 * localedata/locales/tr_TR: likewise.
13802 * localedata/locales/translit_circle: likewise.
13803 * localedata/locales/translit_cjk_compat: likewise.
13804 * localedata/locales/translit_combining: likewise.
13805 * localedata/locales/translit_compat: likewise.
13806 * localedata/locales/translit_font: likewise.
13807 * localedata/locales/translit_fraction: likewise.
13809 2018-07-03 Florian Weimer <fweimer@redhat.com>
13812 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13813 * stdio-common/tst-printf.sh: Adjust expected output.
13814 * LICENSES: Update.
13816 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13818 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13821 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13823 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13824 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13825 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13826 * stdio-common/tst-printfsz-islongdouble.c: New file.
13827 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13828 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13829 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13830 [subdir == stdio-common] (tests-internal): Add
13831 test-printf-size-ieee128, and test-printf-size-ibm128.
13832 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13833 (CFLAGS-test-printf-size-ibm128.c): New variables.
13834 [subdir == stdio-common] (tests-special): Add
13835 $(objpfx)test-printf-size-ieee128.out and
13836 $(objpfx)test-printf-size-ibm128.out.
13837 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13838 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13839 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13840 __printf_sizeieee128.
13841 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13843 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13845 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13848 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13850 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13851 (exp2f_inline): Likewise.
13852 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13853 (__math_uflowf): Likewise.
13854 (__math_may_uflowf): Likewise.
13855 (__math_divzerof): Likewise.
13856 (__math_invalidf): Likewise.
13857 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13858 (__math_oflowf): Likewise.
13859 (__math_uflowf): Likewise.
13860 (__math_may_uflowf): Likewise.
13861 (__math_divzerof): Likewise.
13862 (__math_invalidf): Likewise.
13864 2018-06-29 DJ Delorie <dj@redhat.com>
13865 Carlos O'Donell <carlos@redhat.com>
13868 * include/libc-symbols.h: Comment the freeres framework.
13869 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13870 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13871 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13872 * dlfcn/dlerror.c: Include libc-symbols.h
13873 (__dlerror_main_freeres): New function.
13874 * dlfcn/dlfreeres.c: New file.
13875 * dlfcn/sdlfreeres.c: New file.
13876 * include/dlfcn.h: Declare __dlerror_main_freeres.
13877 * malloc/set-freeres.c: Declare __libdl_freeres, and
13878 __libpthread_freeres.
13879 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13880 the releavant libraries are loaded.
13881 * malloc/thread-freeres.c: Add comments.
13882 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13883 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13884 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13885 (__free_stacks): Rename to...
13886 (free_stacks): ...this. Mark static.
13887 (queue_stack): Call free_stacks.
13888 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13889 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13890 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13891 ptr_freeres element from struct.
13892 (pthread_functions): Remove .ptr_freeres from struct initializer.
13893 [SHARED] (nptl_freeres): Remove.
13894 * nptl/nptlfreeres.c: New file.
13896 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13897 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13899 (__free_stacks): Rename to...
13900 (__nptl_stacks_freeres): ...this.
13901 (__shm_directory_freeres): Declare.
13902 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13903 (__nptl_unwind_freeres): ...this.
13904 * resolv/res-close.c: Add comment.
13905 * resolv/resolv_conf.c: Include libc-symbols.h.
13906 * string/strerror_l.c: Include libc-symbols.h.
13907 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13908 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13909 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13910 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13912 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13914 * stdlib/tst-strfmon_l.c: Add tests for long double.
13916 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13919 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13920 * localedata/locales/dsb_DE: New file.
13922 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13925 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13927 (alt_mon): New entry, import from CLDR (nominative case).
13929 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13932 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13934 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13936 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13937 Use vector registers.
13939 * sysdeps/aarch64/multiarch/memmove_falkor.S
13940 (__memcpy_falkor): Use vector registers.
13942 2018-06-29 Martin Sebor <msebor@redhat.com>
13944 * manual/stdio.texi (Customizing Printf): Mention interaction
13945 with GCC built-ins.
13947 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13950 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13951 `st_value' is 0 if `st_shndx' is SHN_ABS.
13952 * elf/tst-absolute-zero.c: New file.
13953 * elf/tst-absolute-zero-lib.c: New file.
13954 * elf/tst-absolute-zero-lib.lds: New file.
13955 * elf/Makefile (tests): Add `tst-absolute-zero'.
13956 (modules-names): Add `tst-absolute-zero-lib'.
13957 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13958 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13959 ($(objpfx)tst-absolute-zero: New dependency.
13961 2018-06-29 Zack Weinberg <zackw@panix.com>
13963 * configure.ac: New command-line option --disable-crypt.
13964 Force --disable-nss-crypt when --disable-crypt is given, with a
13965 warning if it was explicitly enabled.
13966 * configure: Regenerate.
13967 * config.make.in: New boolean substitution variable $(build-crypt).
13968 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13969 when $(build-crypt).
13970 * manual/install.texi: Document --disable-crypt.
13971 * INSTALL: Regenerate.
13973 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13974 which is never set.
13975 * conform/Makefile: Only include libcrypt.a in
13976 linknamespace-libs-xsi and linknamespace-libs-XPG4
13977 when $(build-crypt).
13978 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13979 USE_CRYPT to 1 when $(build-crypt).
13980 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13981 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13982 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13984 2018-06-29 Zack Weinberg <zackw@panix.com>
13986 * crypt/crypt.h, posix/unistd.h: Update comments and
13987 prototypes for crypt and crypt_r.
13989 * manual/crypt.texi (Cryptographic Functions): New initial
13991 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13992 (Unpredictable Bytes): Improve initial exposition. Clarify error
13993 behavior of getentropy and getrandom.
13994 * manual/examples/genpass.c: Generate a salt using getentropy
13995 instead of the current time. Use hash $5$ (SHA-2-256).
13996 * manual/examples/testpass.c: Demonstrate validation against
13997 hashes generated with three different one-way functions.
13999 * manual/intro.texi: crypt.texi does not need an overview
14002 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14003 * manual/terminal.texi: Consistently refer to "passphrases"
14004 * instead of "passwords", and to the "user database" instead
14005 * of the "password database".
14006 * manual/users.texi: Similarly. Add notes about how actual
14007 passphrase hashes are now stored in the shadow database.
14008 Remove 20-year-old junk todo note.
14010 2018-06-29 Zack Weinberg <zackw@panix.com>
14012 * manual/crypt.texi: Use a normal top-level @node declaration.
14013 Move most of the introductory text to the 'crypt' section.
14014 Move the example programs below the @deftypefun for 'crypt_r'.
14015 Move the 'getpass' section...
14016 * manual/terminal.texi: ...here.
14018 2018-06-29 Zack Weinberg <zackw@panix.com>
14019 Florian Weimer <fweimer@redhat.com>
14021 * posix/unistd.h: Do not declare encrypt.
14022 (_XOPEN_CRYPT): Remove macro definition.
14023 (crypt): Declare only for _USE_MISC.
14024 * stdlib/stdlib.h: Do not declare setkey.
14025 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14026 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14028 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14029 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14030 into compat symbols. Don't define initial_perm if it's not
14032 * crypt/cert.c: Link explicitly with the expected versions for
14033 setkey and encrypt. If they are not available at all, mark
14034 the test as unsupported.
14036 * sunrpc/des_crypt.c: Unconditionally block linkage with
14037 cbc_crypt and ecb_crypt for new binaries.
14038 * sunrpc/des_soft.c: Unconditionally block linkage with
14039 des_setparity for new binaries.
14041 * manual/crypt.texi: Remove the entire "DES Encryption"
14042 section. Also remove the paragraph talking about FIPS 140-2
14043 from the introduction.
14044 * manual/string.texi (strfry, memfrob): Revise. Recommend use
14045 of libgcrypt for "real" encryption, not DES.
14046 * manual/conf.texi (Constants for Sysconf): Mention that
14047 _XOPEN_CRYPT is no longer impelemented.
14049 * conform/data/unistd.h-data: Remove crypt function declaration.
14051 2018-06-29 Florian Weimer <fweimer@redhat.com>
14054 * malloc/hooks.c: Update comments on restoring of dumped heaps.
14055 (disallow_malloc_check): Remove variable.
14056 (__malloc_check_init): Adjust.
14057 (malloc_set_state): Update comment.
14058 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
14061 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14064 * localedata/locales/ast_ES (mon): Rename to...
14066 (mon): Import from CLDR (genitive case).
14068 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
14069 Jakub Sitnicki <jkbs@redhat.com>
14072 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
14073 on NLM_F_DUMP_INTR.
14075 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14077 * manual/llio.texi: Remove spurious space.
14079 2018-06-28 Florian Weimer <fweimer@redhat.com>
14082 * time/bits/types/struct_timespec.h: Change header inclusion guard to
14085 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14087 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
14088 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
14089 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
14090 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
14091 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
14092 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
14093 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
14095 2018-06-27 Maciej W. Rozycki <macro@mips.com>
14098 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
14099 Copy and null-terminate entries that are not terminated, in
14100 addition to empty ones.
14102 2018-06-27 Florian Weimer <fweimer@redhat.com>
14105 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
14106 (extend_alloca_account): Remove.
14107 * manual/stdio.texi (Variable Arguments Output): Update comment.
14109 2018-06-27 Joseph Myers <joseph@codesourcery.com>
14111 * nptl/sockperf.c: Remove file.
14113 2018-06-27 Florian Weimer <fweimer@redhat.com>
14116 * elf/dl-deps.c (_dl_map_object_deps): Use struct
14117 scratch_buffer instead of extend_alloca.
14119 2018-06-27 Florian Weimer <fweimer@redhat.com>
14122 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
14123 scratch_buffer instead of extend_alloca. Update comments.
14125 2018-06-27 Florian Weimer <fweimer@redhat.com>
14128 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
14129 instead of extend_alloca.
14131 2018-06-26 Joseph Myers <joseph@codesourcery.com>
14134 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
14135 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
14137 * scripts/test-installation.pl: Put temporary files in build
14138 directory, not /tmp.
14139 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
14140 (CFLAGS-bug4.c): Likewise.
14141 (CFLAGS-bug5.c): Likewise.
14142 (CFLAGS-test-fseek.c): Likewise.
14143 (CFLAGS-test-popen.c): Likewise.
14144 (CFLAGS-test_rdwr.c): Likewise.
14145 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
14147 * stdio-common/bug4.c (main): Likewise.
14148 * stdio-common/bug5.c (main): Likewise.
14149 * stdio-common/test-fseek.c (TESTFILE): Likewise.
14150 * stdio-common/test-popen.c (do_test): Likewise.
14151 * stdio-common/test_rdwr.c (main): Likewise.
14153 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
14155 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
14156 (sem_open): Set sem.newsem.pad to zero for valgrind.
14158 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14161 * NEWS: Mention fcntl64 addition.
14162 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
14163 * login/utmp_file.c: Likewise.
14164 * sysdeps/posix/fdopendir.c: Likewise.
14165 * sysdeps/posix/opendir.c: Likewise.
14166 * sysdeps/unix/pt-fcntl.c: Likewise.
14167 * include/fcntl.h (__libc_fcntl64, __fcntl64,
14168 __fcntl64_nocancel_adjusted): New prototype.
14169 (__fcntl_nocancel_adjusted): Remove prototype.
14170 * io/Makefile (routines): Add fcntl64.
14171 (CFLAGS-fcntl64.c): New rule.
14172 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
14173 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
14174 * io/fcntl.h (fcntl64): Add prototype and redirect if
14175 __USE_FILE_OFFSET64 is defined.
14176 * io/fcntl64.c: New file.
14177 * manual/llio.text: Add a note for which commands fcntl acts a
14178 cancellation point.
14179 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
14180 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
14181 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
14183 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
14184 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
14186 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
14187 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
14188 to __fcntl64_nocancel.
14189 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
14190 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
14191 to __fcntl64_nocancel.
14192 * sysdeps/generic/not-cancel.h: Likewise.
14193 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
14194 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
14195 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14196 (fcntl64): New symbol.
14197 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
14208 fcntl64): Likewise.
14209 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
14211 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14222 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14226 2018-06-26 Florian Weimer <fweimer@redhat.com>
14228 Run thread shutdown functions in an explicit order.
14229 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
14231 (__libc_thread_freeres): Call thread shutdown functions
14233 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
14234 * include/string.h (__strerror_thread_freeres): Declare.
14235 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
14236 arena_thread_freeres. No longer static. Remove thread shutdown
14238 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
14240 * resolv/res-close.c (__res_thread_freeres): Renamed from
14241 res_thread_freeres. No longer static. Remove thread shutdown
14243 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
14244 * resolv/resolv_conf.c (freeres): Remove incorrect section
14245 attribute and use libc_freeres_fn.
14246 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
14247 strerror_thread_freeres. No longer static. Remove thread
14248 shutdown hook registration.
14249 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
14250 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
14251 shutdown hook registration.
14252 * Makerules (shlib.lds): Do not provide section boundary symbols
14253 for __libc_thread_subfreeres.
14254 * manual/memory.texi (Basic Allocation): Update comment.
14256 2018-06-26 Florian Weimer <fweimer@redhat.com>
14258 Remove always-defined _RPC_THREAD_SAFE_ macro.
14259 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14260 Do not define _RPC_THREAD_SAFE_.
14261 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14263 * sunrpc/clnt_perr.c: Likewise.
14264 * sunrpc/clnt_raw.c: Likewise.
14265 * sunrpc/clnt_simp.c: Likewise.
14266 * sunrpc/key_call.c: Likewise.
14267 * sunrpc/rpc_common.c: Likewise.
14268 * sunrpc/rpc_main.c: Likewise.
14269 * sunrpc/rpc_thread.c: Likewise.
14270 * sunrpc/svc.c: Likewise.
14271 * sunrpc/svc_raw.c: Likewise.
14272 * sunrpc/svc_simple.c: Likewise.
14273 * sumrpc/svcauth_des.c: Likewise.
14275 2018-06-26 Florian Weimer <fweimer@redhat.com>
14277 * libio/Makefile (tests-internal): Add tst-vtables,
14278 tst-vtables-interposed.
14279 * libio/tst-vtables.c: New file.
14280 * libio/tst-vtables-common.c: Likewise.
14281 * libio/tst-vtables-interposed.c: Likewise.
14283 2018-06-26 Florian Weimer <fweimer@redhat.com>
14285 * support/support_test_main.c (support_test_main): Only call
14286 setvbuf if not disables.
14287 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14288 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14290 2018-06-26 Florian Weimer <fweimer@redhat.com>
14293 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14295 2018-06-25 Florian Weimer <fweimer@redhat.com>
14298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14299 Use struct scratch_buffer instead of extend_alloca.
14301 2018-06-25 Florian Weimer <fweimer@redhat.com>
14304 * nss/getent.c (initgroups_keys): Use dynarray instead of
14307 2018-06-25 Florian Weimer <fweimer@redhat.com>
14310 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14311 Use struct scratch_buffer instead of extend_alloca.
14313 2018-06-25 Florian Weimer <fweimer@redhat.com>
14316 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14317 back to malloc directly, without stack allocations.
14319 2018-06-25 Florian Weimer <fweimer@redhat.com>
14322 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14325 2018-06-25 Florian Weimer <fweimer@redhat.com>
14328 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14330 * nscd/hstcache.c (addhstbyX): Likewise.
14331 * nscd/pwdcache.c (addpwbyX): Likewise.
14332 * nscd/servicescache.c (addservbyX): Likewise.
14334 2018-06-25 Florian Weimer <fweimer@redhat.com>
14337 * nscd/connections.c (read_cmdline): New function.
14338 (restart): Use it. Update comment.
14340 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14343 * localedata/locales/csb_PL (mon): Rename to...
14345 (abmon): Rename to...
14346 (ab_alt_mon): This.
14347 (mon): Add with proper genitive forms, copy from Wikipedia.
14350 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14353 * localedata/locales/csb_PL (mon): Fix typos:
14354 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14355 (yesstr): Add, value is "jo".
14356 (nostr): Add, value is "nié".
14358 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14360 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14361 all log1p and significand functions on m680x0.
14362 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14363 of s_significand.c..
14364 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14365 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14366 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14367 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14368 s_log1p.c and include it..
14370 2018-06-21 Vincent Chen <vincentc@andestech.com>
14372 * elf/elf.h (R_NDS32_NONE): New define.
14373 (R_NDS32_32_RELA): Likewise.
14374 (R_NDS32_COPY): Likewise.
14375 (R_NDS32_GLOB_DAT): Likewise.
14376 (R_NDS32_JUMP_SLOT): Likewise.
14377 (R_NDS32_RELATIVE): Likewise.
14378 (R_NDS32_TLS_TPOFF): Likewise.
14379 (R_NDS32_TLS_DESC): Likewise.
14381 2018-06-21 Mark Wielaard <mark@klomp.org>
14383 * elf/elf.h (R_BPF_MAP_FD): Removed.
14384 (R_BPF_64_64, R_BPF_64_32): New.
14386 2018-06-21 Florian Weimer <fweimer@redhat.com>
14389 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14390 Renamed from libc_feholdsetround_ctx.
14391 (default_libc_feresetround_ctx): Renamed from
14392 libc_feresetround_ctx.
14393 (default_libc_feholdsetround_noex_ctx): Renamed from
14394 libc_feholdsetround_noex_ctx.
14395 (default_libc_feresetround_noex_ctx): Renamed from
14396 libc_feresetround_noex_ctx.
14397 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14398 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14399 forwardning to the old implementations under the new names.
14400 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14401 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14402 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14403 (libc_feresetround_ctx): Forward to default implements for i386
14404 and MATH_SET_BOTH_ROUNDING_MODES.
14405 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14406 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14408 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14410 * string/tst-cmp.c: Include <libc-diag.h>.
14411 (strncmp_max): Disable -Wstringop-overflow= around call to
14413 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14416 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14417 (main): Disable -Wunused-value around call to strpbrk.
14418 * string/bug-strspn1.c: Include <libc-diag.h>.
14419 (main): Disable -Wunused-value around call to strspn.
14421 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14422 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14424 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14425 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14427 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14429 * math/Makefile (libm-calls): Move s_significandF to...
14430 (gen-libm-calls): ... here.
14431 * math/s_significand_template.c: New file.
14432 * math/s_significand.c: Removed.
14433 * math/s_significandf.c: Removed.
14434 * math/s_significandl.c: Removed.
14435 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14436 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14438 * math/e_exp2_template.c (declare_mgen_finite_alias,
14439 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14440 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14441 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14443 2018-06-20 Florian Weimer <fweimer@redhat.com>
14445 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14447 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14450 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14451 floating-point number to strtod functions rather than possibly
14452 negating result of those functions.
14453 * stdio-common/tst-scanf-round.c: New file.
14454 * stdio-common/Makefile (tests): Add tst-scanf-round.
14455 ($(objpfx)tst-scanf-round): Depend on $(libm).
14457 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14459 * sysdeps/mach/hurd/localplt.data: Move to...
14460 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14461 R_386_GLOB_DAT like on Linux i386.
14463 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14465 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14466 (SHM_STAT_ANY): New macro.
14467 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14468 (SHM_STAT_ANY): Likewise.
14469 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14470 (SHM_STAT_ANY): Likewise.
14471 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14472 (SHM_STAT_ANY): Likewise.
14473 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14474 (SHM_STAT_ANY): Likewise.
14475 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14476 (SHM_STAT_ANY): Likewise.
14477 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14478 (SHM_STAT_ANY): Likewise.
14479 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14480 (SHM_STAT_ANY): Likewise.
14481 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14482 (SHM_STAT_ANY): Likewise.
14483 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14484 (SHM_STAT_ANY): Likewise.
14485 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14486 (SHM_STAT_ANY): Likewise.
14487 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14488 (SHM_STAT_ANY): Likewise.
14490 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14491 (SEM_STAT_ANY): New macro.
14492 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14493 (SEM_STAT_ANY): Likewise.
14494 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14495 (SEM_STAT_ANY): Likewise.
14496 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14497 (SEM_STAT_ANY): Likewise.
14498 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14499 (SEM_STAT_ANY): Likewise.
14500 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14501 (SEM_STAT_ANY): Likewise.
14502 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14503 (SEM_STAT_ANY): Likewise.
14504 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14505 (SEM_STAT_ANY): Likewise.
14506 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14507 (SEM_STAT_ANY): Likewise.
14508 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14509 (SEM_STAT_ANY): Likewise.
14511 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14512 (MSG_STAT_ANY): New macro.
14513 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14514 (MSG_STAT_ANY): Likewise.
14515 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14516 (MSG_STAT_ANY): Likewise.
14517 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14518 (MSG_STAT_ANY): Likewise.
14519 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14520 (MSG_STAT_ANY): Likewise.
14521 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14522 (MSG_STAT_ANY): Likewise.
14523 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14524 (MSG_STAT_ANY): Likewise.
14525 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14526 (MSG_STAT_ANY): Likewise.
14527 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14528 (MSG_STAT_ANY): Likewise.
14529 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14530 (MSG_STAT_ANY): Likewise.
14532 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14533 (MAP_TYPE): Change value to 0x2b.
14535 2018-06-18 Florian Weimer <fweimer@redhat.com>
14538 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14539 socket with SOCK_CLOEXEC.
14541 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14544 * sysdeps/powerpc/powerpc64/le/Makefile
14545 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14546 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14547 (gnulib-tests): Also add $(f128-loader-link) for
14548 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14550 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14552 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14553 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14555 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14556 (sendfile64): New strong alias.
14557 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14558 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14559 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14560 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14562 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14563 ___pthread_get_cleanup_stack.
14564 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14565 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14566 * mach/shortcut.awk: Make syscall stubs include
14567 <mach-shortcuts-hidden.h> and add hidden definition.
14568 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14569 (__mach_msg): Add hidden prototype.
14570 * mach/msg.c: Include <mach.h>.
14571 (__mach_msg): Add hidden definition.
14572 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14573 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14574 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14575 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14576 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14577 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14578 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14579 prototype and definition.
14580 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14581 hidden target for _hurd_self_sigstate.
14583 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14586 * stdlib/tst-strtod-nan-sign-main.c: New file.
14587 * stdlib/tst-strtod-nan-sign.c: Likewise.
14588 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14589 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14590 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14591 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14592 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14594 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14600 2018-06-14 Florian Weimer <fweimer@redhat.com>
14603 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14604 that the result stays within the ISO-8859-1 range.
14605 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14606 characters are defined in IBM273.
14608 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14610 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14611 __mach_task_self): Remove attribute_hidden.
14613 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14615 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14616 ignore -Wrestrict for one test.
14618 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14619 Szabolcs Nagy <szabolcs.nagy@arm.com>
14621 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14623 2018-06-14 Florian Weimer <fweimer@redhat.com>
14625 * scripts/update-abilist.sh: Accept empty list of files to patch.
14627 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14629 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14630 test-xfail-check-abi-libmachuser): Add.
14631 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14632 __libc_read and __libc_write to __read and __write.
14633 * sysdeps/hurd/include/hurd/port.h: New file.
14634 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14635 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14636 __thread_switch, __evc_wait): Move declarations to...
14637 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14639 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14640 use PLT to call _hurd_self_sigstate.
14642 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14645 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14646 MAX_EXP as overflowing.
14647 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14649 (round_str): Output also whether result overflows in each rounding
14651 * stdlib/tst-strtod-round-data: Add more tests.
14652 * stdlib/tst-strtod-round-data.h: Regenerated.
14653 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14654 (TEST): Handle extra arguments for overflow flags.
14655 (struct test_overflow): New type.
14656 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14657 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14658 (test_in_one_mode): Take argument with overflow information.
14659 (do_test): Update calls to test_in_one_mode.
14661 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14663 * elf/dl-load (_dl_dst_substitute): Correct comment.
14664 (_dl_dst_count): Likewise.
14666 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14667 lll_futex_timed_wait.
14669 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14672 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14674 * math/test-nan-const.c: New file.
14675 * math/Makefile (tests): Add test-nan-const.
14676 (CFLAGS-test-nan-const.c): New variable.
14678 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14680 * benchtests/scripts/compare_strings.py (process_results): Add
14681 funcs argument. Compare only functions which are selected.
14682 (main): Check if base function is among selected functions.
14683 Pass selected functions to process_results.
14684 (__main__): Add -f/--functions argument.
14686 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14687 Hongbo Zhang <hongbo.zhang@linaro.org>
14689 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14690 __memcpy_falkor for phecda core.
14691 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14692 __memmove_falkor for phecda core.
14693 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14694 __memset_falkor for phecda core.
14695 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14697 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14698 macro to identify phecda core.
14700 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14701 Andreas Schwab <schwab@suse.de>
14702 Dmitry V. Levin <ldv@altlinux.org>
14703 Florian Weimer <fweimer@redhat.com>
14710 * elf/dl-dst.h: Remove DL_DST_COUNT.
14711 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14712 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14713 (is_dst): Comment. Support ELF gABI.
14714 (_dl_dst_count): Comment. Simplify and count DSTs.
14715 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14716 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14719 2018-06-12 Zack Weinberg <zackw@panix.com>
14721 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14722 * sysdeps/unix/sysv/linux/dl-sysdep.c
14723 Include not-cancel.h. Use __close_nocancel instead of __close,
14724 __open64_nocancel instead of __open, __read_nocancel instead of
14725 __libc_read, and __write_nocancel instead of __libc_write.
14727 * csu/check_fds.c (check_one_fd)
14728 * sysdeps/posix/fdopendir.c (__fdopendir)
14729 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14730 instead of __fcntl and/or __libc_fcntl.
14732 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14733 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14734 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14735 Use __open64_nocancel instead of __open_nocancel.
14737 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14738 hidden_proto declarations to the end and issue them if either
14739 IS_IN(libc) or IS_IN(rtld).
14740 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14741 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14742 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14743 read_nocancel, waitpid_nocancel, write_nocancel.
14745 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14746 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14747 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14749 * nptl/pt-fcntl.c: New file.
14750 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14751 (libpthread-routines): Add pt-fcntl.
14752 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14753 (__libc_fcntl): Remove attribute_hidden.
14754 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14755 __fcntl_nocancel_adjusted, not fcntl_common.
14756 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14757 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14758 to fcntl_nocancel.c.
14759 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14762 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14764 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14765 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14766 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14767 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14768 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14769 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14770 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14771 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14772 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14773 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14774 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14775 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14776 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14777 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14778 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14779 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14780 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14781 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14782 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14783 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14785 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14786 libpthread-routines.
14787 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14790 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14791 __libc_read, and __write instead of __libc_write. Define
14792 __open64 in addition to __open.
14794 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14798 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14799 to _private_tm[3] and add __glibc_reserved2.
14800 Add _Static_assert of offset of __private_ss == 0x30.
14801 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14802 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14804 2018-06-12 Florian Weimer <fweimer@redhat.com>
14806 x86: Make strncmp usable from rtld.
14807 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14808 __strncmp_ia32 if in libc (and not in rtld).
14809 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14810 strncmp if not in libc (and not to __strncmp_sse2).
14812 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14815 * localedata/locales/gd_GB (mon): Rename to...
14817 (mon): Import from CLDR (genitive case).
14818 * localedata/locales/hsb_DE (mon): Rename to...
14820 (mon): Import from CLDR (genitive case).
14821 * localedata/locales/wa_BE (mon): Rename to...
14823 (mon): Add, fill with the proper genitive forms, but CLDR data
14824 is incomplete; completed according to the comments in this file.
14825 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14827 * localedata/locales/wa_BE (country_name): Reword
14828 "Beljike" -> "Beldjike".
14830 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14833 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14834 cases of non-finite arguments.
14835 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14837 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14840 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14842 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14845 * include/unistd.h (__execvpex): New prototype.
14846 * posix/Makefile (tests): Add tst-spawn4.
14847 (tests-internal): Add tst-spawn4-compat.
14848 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14849 * posix/tst-spawn4-compat.c: New file.
14850 * posix/tst-spawn4.c: Likewise.
14851 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14852 binaries as shell scripts.
14853 * sysdeps/posix/spawni.c (__spawni): Likewise.
14855 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14858 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14859 ($(all-built-dso:=.dynsym): New target.
14860 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14861 ($(objpfx)check-initfini.out): New target.
14862 (generated): Add check-initfini.out.
14863 * scripts/check-initfini.awk: New file.
14864 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14866 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14868 * sysdeps/arm/crti.S (_init): Mark as hidden.
14870 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14872 * sysdeps/i386/crti.S (_init): Mark as hidden.
14874 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14876 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14878 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14880 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14882 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14884 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14886 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14888 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14890 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14892 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14894 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14896 * sysdeps/sh/crti.S (_init): Mark as hidden.
14898 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14900 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14903 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14905 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14906 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14907 and TF redirection to KFtype and KF only when the default
14908 long double type is not the IEEE 128-bit floating point type.
14910 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14912 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14914 (HWCAP_USCAT): Likewise.
14915 (HWCAP_ILRCPC): Likewise.
14916 (HWCAP_FLAGM): Likewise.
14917 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14919 (_dl_aarch64_cap_flags): Add new flag names.
14921 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14922 (MAP_FIXED_NOREPLACE): New macro.
14923 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14924 (MAP_FIXED_NOREPLACE): Likewise.
14925 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14926 (MAP_FIXED_NOREPLACE): Likewise.
14927 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14928 (MAP_FIXED_NOREPLACE): Likewise.
14929 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14930 (MAP_FIXED_NOREPLACE): Likewise.
14931 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14932 (MAP_FIXED_NOREPLACE): Likewise.
14933 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14934 (MAP_FIXED_NOREPLACE): Likewise.
14935 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14936 (MAP_FIXED_NOREPLACE): Likewise.
14937 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14938 (MAP_FIXED_NOREPLACE): Likewise.
14939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14940 (MAP_FIXED_NOREPLACE): Likewise.
14941 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14942 (MAP_FIXED_NOREPLACE): Likewise.
14943 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14944 (MAP_FIXED_NOREPLACE): Likewise.
14945 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14946 (MAP_FIXED_NOREPLACE): Likewise.
14947 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14948 (MAP_FIXED_NOREPLACE): Likewise.
14949 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14950 (MAP_FIXED_NOREPLACE): Likewise.
14952 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14955 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14957 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14960 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14962 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14964 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14966 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14968 * benchtests/scripts/compare_string.py: (process_results) Catch
14969 exception in non-existent base_func and catch exception in
14970 non-existent attribute.
14971 (parse_file) Catch exception if input file does not exist.
14973 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14975 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14976 options to avoid diff calculation and omit header, respectively.
14977 (main): process --no-diff and --no-header
14979 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14980 H.J. Lu <hongjiu.lu@intel.com>
14982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14983 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14986 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14987 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14988 and __wcsncmp_sse2.
14989 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14990 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14991 AVX unaligned load is fast and vzeroupper is preferred.
14992 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14993 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14994 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14995 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14996 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14997 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14998 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14999 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15000 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15001 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15004 2018-06-01 Florian Weimer <fweimer@redhat.com>
15006 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15007 configuring with --disable-multi-arch, building with
15008 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15011 2018-06-01 Florian Weimer <fweimer@redhat.com>
15013 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15014 results from building with “-march=x86-64 -mtune=generic
15015 -mfpmath=sse” and running on a Haswell-era CPU.
15017 2018-06-01 Joseph Myers <joseph@codesourcery.com>
15020 * soft-fp/sqrttf2.c: Remove file.
15021 * soft-fp/sqrtdf2.c: Move to ....
15022 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15024 (__sqrtdf2): Make conditional on
15025 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15027 * soft-fp/sqrtsf2.c: Move to ....
15028 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15030 (__sqrtsf2): Make conditional on
15031 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15033 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15034 (gcc-double-routines): Remove sqrtdf2.
15035 (gcc-quad-routines): Remove sqrttf2.
15036 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15037 Do not filter out sqrtsf2 and sqrtdf2.
15038 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15039 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
15041 2018-06-01 Florian Weimer <fweimer@redhat.com>
15043 * sysdeps/generic/libcidn.abilist: Remove file.
15045 2018-06-01 Florian Weimer <fweimer@redhat.com>
15048 * libio/strfile.h (struct _IO_str_fields): Rename members to
15049 discourage their use and add comment.
15050 (_IO_STR_DYNAMIC): Remove unused macro.
15051 * libio/strops.c (_IO_str_init_static_internal): Do not use
15052 callback pointers. Call malloc and free.
15053 (_IO_str_overflow): Do not use callback pointers. Call malloc
15055 (enlarge_userbuf): Likewise.
15056 (_IO_str_finish): Call free.
15057 * libio/wstrops.c (_IO_wstr_init_static): Initialize
15058 _allocate_buffer_unused.
15059 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
15061 (enlarge_userbuf): Likewise.
15062 (_IO_wstr_finish): Call free.
15063 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
15064 _allocate_buffer_unused, _free_buffer_unused.
15065 * libio/memstream.c (__open_memstream): Likewise.
15066 * libio/vasprintf.c (_IO_vasprintf): Likewise.
15067 * libio/wmemstream.c (open_wmemstream): Likewise.
15069 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15071 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
15074 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15076 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
15077 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
15078 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
15080 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
15082 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
15084 2018-05-29 Florian Weimer <fweimer@redhat.com>
15086 * support/Makefile (libsupport-routines): Add
15087 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
15088 xpthread_barrierattr_setpshared.
15089 * support/xpthread_barrierattr_destroy.c: New file.
15090 * support/xpthread_barrierattr_init.c: Likewise.
15091 * support/xpthread_barrierattr_setpshared.c: Likewise.
15093 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
15096 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
15097 _r_debug and update DT_DEBUG for debugger.
15099 2018-05-29 Florian Weimer <fweimer@redhat.com>
15101 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
15102 (tst-strtod5i.out): Likewise.
15104 2018-05-25 Joseph Myers <joseph@codesourcery.com>
15106 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
15107 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
15108 (sparc64-quad-routines): New variable. Moved from ....
15109 [$(subdir) = soft-fp] (sysdep_routines): Add
15110 $(sparc64-quad-routines). Moved from ....
15111 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
15112 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
15113 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
15115 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
15116 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
15117 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
15118 * sysdeps/sparc/sparc64/qp_add.c: ... here.
15119 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
15120 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
15121 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
15122 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
15123 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
15124 * sysdeps/sparc/sparc64/qp_div.c: ... here.
15125 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
15126 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
15127 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
15128 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
15129 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
15130 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
15131 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
15132 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
15133 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
15134 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
15135 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
15136 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
15137 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
15138 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
15139 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
15140 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
15141 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
15142 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
15143 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
15144 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
15145 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
15146 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
15147 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
15148 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
15149 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
15150 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
15151 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
15152 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
15153 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
15154 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
15155 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
15156 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
15157 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
15158 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
15159 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
15160 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
15161 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
15162 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
15163 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
15164 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
15165 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
15166 * sysdeps/sparc/sparc64/qp_util.c: ... here.
15167 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
15168 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
15169 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
15170 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
15171 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
15172 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
15174 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
15175 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
15176 (sparc32-quad-routines): New variable. Moved from ....
15177 [$(subdir) = soft-fp] (sysdep_routines): Add
15178 $(sparc32-quad-routines). Moved from ....
15179 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
15180 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
15182 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
15183 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
15184 * sysdeps/sparc/sparc32/q_add.c: ... here.
15185 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
15186 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
15187 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
15188 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
15189 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
15190 * sysdeps/sparc/sparc32/q_div.c: ... here.
15191 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
15192 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
15193 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
15194 * sysdeps/sparc/sparc32/q_feq.c: ... here.
15195 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
15196 * sysdeps/sparc/sparc32/q_fge.c: ... here.
15197 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
15198 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
15199 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
15200 * sysdeps/sparc/sparc32/q_fle.c: ... here.
15201 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
15202 * sysdeps/sparc/sparc32/q_flt.c: ... here.
15203 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
15204 * sysdeps/sparc/sparc32/q_fne.c: ... here.
15205 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
15206 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
15207 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
15208 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
15209 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
15210 * sysdeps/sparc/sparc32/q_mul.c: ... here.
15211 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
15212 * sysdeps/sparc/sparc32/q_neg.c: ... here.
15213 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
15214 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
15215 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
15216 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
15217 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
15218 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
15219 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
15220 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
15221 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
15222 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
15223 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
15224 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
15225 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
15226 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
15227 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
15228 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
15229 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
15230 * sysdeps/sparc/sparc32/q_sub.c: ... here.
15231 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
15232 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
15233 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
15234 * sysdeps/sparc/sparc32/q_util.c: ... here.
15235 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
15236 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
15237 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
15238 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
15240 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15241 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15243 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
15244 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
15245 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
15246 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
15248 2018-05-24 Joseph Myers <joseph@codesourcery.com>
15250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15254 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
15255 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
15257 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15260 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15263 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15265 * sysdeps/sh/Implies: Remove sh/soft-fp.
15266 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15267 * sysdeps/sh/sfp-machine.h: ... here.
15269 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15271 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15272 (__mempcpy_erms): Skip zero length.
15273 (__memmove_erms): Likewise.
15274 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15275 (__memset_erms): Likewise.
15277 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15279 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15280 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15281 Add functions moved from ....
15282 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15283 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15284 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15286 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15287 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15288 * sysdeps/alpha/e_sqrtl.c: ... here.
15289 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15290 * sysdeps/alpha/local-soft-fp.h: ... here.
15291 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15292 * sysdeps/alpha/ots_add.c: ... here.
15293 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15294 * sysdeps/alpha/ots_cmp.c: ... here.
15295 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15296 * sysdeps/alpha/ots_cmpe.c: ... here.
15297 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15298 * sysdeps/alpha/ots_cvtqux.c: ... here.
15299 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15300 * sysdeps/alpha/ots_cvtqx.c: ... here.
15301 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15302 * sysdeps/alpha/ots_cvttx.c: ... here.
15303 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15304 * sysdeps/alpha/ots_cvtxq.c: ... here.
15305 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15306 * sysdeps/alpha/ots_cvtxt.c: ... here.
15307 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15308 * sysdeps/alpha/ots_div.c: ... here.
15309 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15310 * sysdeps/alpha/ots_mul.c: ... here.
15311 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15312 * sysdeps/alpha/ots_nintxq.c: ... here.
15313 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15314 * sysdeps/alpha/ots_sub.c: ... here.
15315 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15316 * sysdeps/alpha/sfp-machine.h: ... here.
15318 2018-05-23 Florian Weimer <fweimer@redhat.com>
15326 Switch to extern IDNA implementation (libidn2).
15327 * libidn: Remove subdirectory.
15328 * LICENSES: Do not mention licensing conditions for the removed
15330 * config.h.in (HAVE_LIBIDN): Remove.
15331 * include/dlfcn.h (__libc_dlopen): Update comment.
15332 * include/idna.h: Remove file.
15333 * inet/Makefile (routines): Add idna.
15334 (tests-static, tests-internal): Add tst-idna_name_classify.
15335 (LOCALES): Generate locales for tests.
15336 (tst-idna_name_classify.out): Depend on generated locales.
15337 * inet/idna_name_classify.c: New file.
15338 * inet/tst-idna_name_classify.c: Likewise.
15339 * inet/net-internal.h (__idna_to_dns_encoding)
15340 (__idna_from_dns_encoding): Declare.
15341 * inet/net-internal.h (enum idna_name_classification): Define.
15342 (__idna_name_classify): Declare.
15343 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15344 __idna_from_dns_encoding.
15345 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15346 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15347 name as a fallback in case of encoding errors.
15348 (getnameinfo): Use DEPRECATED_NI_IDN.
15349 * inet/idna.c: New file.
15350 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15351 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15352 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15353 (modules-names): Add tst-no-libidn2.
15354 (extra-test-objs): Add tst-no-libidn2.os.
15355 (LDFLAGS-tst-no-libidn2.so): Set soname.
15356 (LOCALES): Set, and generate locales.
15357 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15358 (tst-resolv-ai_idn-latin1): Likewise.
15359 (tst-resolv-ai_idn-nolibidn2): Likewise.
15360 (tst-resolv-ai_idn.out): Depend on locales.
15361 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15362 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15364 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15365 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15366 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15367 * resolv/tst-resolv-ai_idn.c: New file.
15368 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15369 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15370 * resolv/tst-no-libidn2.c: Likewise.
15371 * support/support_format_addrinfo.c (format_ai_flags): Do not
15372 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15373 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15374 (gaih_inet): Call __idna_to_dns_encoding and
15375 __idna_from_dns_encoding, and use the original (punycode) name if
15376 __idna_from_dns_encoding fails due to an encoding error.
15377 (getaddrinfo): Use DEPRECATED_AI_IDN.
15378 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15379 * sysdeps/unix/inet/configure: Remove file.
15380 * sysdeps/unix/inet/configure.ac: Likewise.
15382 2018-05-23 Florian Weimer <fweimer@redhat.com>
15384 Implement allocate_once.
15385 * include/allocate_once.h: New file.
15386 * misc/allocate_once.c: Likewise.
15387 * misc/tst-allocate_once.c: Likewise.
15388 * misc/Makefile (routines): Add allocate_once.
15389 (tests-internal): Add tst-allocate_once.
15390 (generated): Add tst-allocate_once.mtrace,
15391 tst-allocate_once-mem.out.
15392 (tests-special): Add tst-allocate_once-mem.out.
15393 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15394 (tst-allocate_once-mem.out): Call mtrace.
15395 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15397 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15400 * string/test-memcpy.c (do_test1): New function.
15401 (test_main): Call it.
15403 2018-05-23 Andreas Schwab <schwab@suse.de>
15407 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15408 (L(preloop_large)): Save initial destination pointer in %r11 and
15409 use it instead of %rax after the loop.
15410 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15412 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15414 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15415 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15416 -I../soft-fp. Moved from ....
15417 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15418 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15419 * sysdeps/aarch64/e_sqrtl.c: ... here.
15420 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15421 * sysdeps/aarch64/sfp-machine.h: ... here.
15423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15424 -Wmaybe-uninitialized around access to fq[0].
15425 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15429 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15430 aliases for non-libc case of versioned symbols.
15431 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15432 (llseek): Define as compat symbol if
15433 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15435 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15436 Make into a compat symbol, disabled for minimum symbol version
15437 GLIBC_2.28 and later.
15438 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15440 2018-05-22 Florian Weimer <fweimer@redhat.com>
15442 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15443 not add -mpreferred-stack-boundary=4.
15444 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15445 (stack-align-test-flags): Likewise.
15446 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15448 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15449 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15450 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15451 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15452 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15453 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15454 (CFLAGS-tst-align2.c): Likewise.
15456 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15458 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15459 (index_arch_Prefer_FSRM): Likewise.
15460 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15461 Also check Prefer_FSRM.
15462 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15463 Also return OPTIMIZE (erms) for Prefer_FSRM.
15465 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15467 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15468 (index_cpu_FSRM): Likewise.
15469 (reg_FSRM): Likewise.
15471 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15473 * math/gen-tgmath-tests.py: Import sys.
15474 (Tests.__init__): Initialize macros_seen.
15475 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15476 if requested to do so for this macro.
15477 (Tests.add_all_tests): Take argument for macro for which to
15479 (Tests.check_macro_list): New function.
15480 (main): Handle check-list argument and argument specifying macro
15481 for which to generate tests.
15482 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15483 [PYTHON] (tgmath3-macro-tests): Likewise.
15484 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15485 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15486 not test-tgmath3.c.
15487 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15488 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15490 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15491 [PYTHON] ($(foreach
15492 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15494 [PYTHON] (tests-special): Add
15495 $(objpfx)test-tgmath3-macro-list.out.
15496 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15498 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15499 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15503 * time/tzset.c (SECSPERDAY): Cast to time_t.
15504 * time/tst-y2039.c: New file.
15505 * time/Makefile (tests): Add tst-y2039.
15507 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15509 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15510 (PREFETCH_ONE_SET): Remove duplicate line.
15512 2018-05-17 Florian Weimer <fweimer@redhat.com>
15514 * sysdeps/generic/math-type-macros-double.h: Include
15515 <math-nan-payload-double.h> after <libm-alias-double.h>.
15516 * sysdeps/generic/math-type-macros-float.h: Include
15517 <math-nan-payload-float.h> after <libm-alias-float.h>.
15518 * sysdeps/generic/math-type-macros-float128.h: Include
15519 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15520 * sysdeps/generic/math-type-macros-ldouble.h: Include
15521 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15523 2018-05-17 Andreas Schwab <schwab@suse.de>
15525 * resolv/res_send.c (__res_context_send): Don't set errno when
15526 returing error after malloc failure.
15528 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15530 * nptl/allocatestack.c (allocate_stack): Remove the
15531 !__ASSUME_PRIVATE_FUTEX paths.
15532 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15533 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15535 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15536 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15537 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15538 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15539 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15540 !__ASSUME_PRIVATE_FUTEX path.
15541 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15542 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15543 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15544 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15545 !__ASSUME_PRIVATE_FUTEX macros.
15546 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15547 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15548 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15549 * sysdeps/unix/sysv/linux/kernel-features.h
15550 (__ASSUME_PRIVATE_FUTEX): Removed.
15552 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15554 * math/Makefile (libm-narrow-fns): Add div.
15555 (libm-test-funcs-narrow): Likewise.
15556 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15557 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15558 * math/gen-auto-libm-tests.c (test_functions): Add div.
15559 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15560 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15561 (NARROW_DIV_TRIVIAL): Likewise.
15562 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15564 (__ddivl): Likewise.
15565 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15567 (CFLAGS-nldbl-ddiv.c): New variable.
15568 (CFLAGS-nldbl-fdiv.c): Likewise.
15569 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15571 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15573 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15574 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15575 * math/auto-libm-test-in: Add tests of div.
15576 * math/auto-libm-test-out-narrow-div: New generated file.
15577 * math/libm-test-narrow-div.inc: New file.
15578 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15579 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15580 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15581 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15582 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15583 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15592 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15593 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15594 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15595 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15597 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15598 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15599 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15600 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15601 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15602 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15603 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15604 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15605 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15606 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15608 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15609 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15614 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15615 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15621 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15623 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15626 * nscd/nscd-client.h (sendfileall): Remove prototype.
15627 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15628 (handle_request): Use writeall instead of sendfileall.
15629 * nscd/aicache.c (addhstaiX): Likewise.
15630 * nscd/grpcache.c (cache_addgr): Likewise.
15631 * nscd/hstcache.c (cache_addhst): Likewise.
15632 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15633 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15634 * nscd/pwdcache.c (cache_addpw): Likewise.
15635 * nscd/servicescache.c (cache_addserv): Likewise.
15636 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15637 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15641 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15643 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15644 Include <string/strncat.c>.
15645 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15647 (__GI___strncat): New hidden alias.
15649 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15651 * sysdeps/mips/mips32/libm-test-ulps: Update.
15652 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15654 2018-05-16 Florian Weimer <fweimer@redhat.com>
15656 * support/Makefile (libsupport-routines): Add support_quote_blob,
15657 support_test_compare_blob.
15658 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15659 * support/check.h (TEST_COMPARE_BLOB): Define.
15660 (support_test_compare_blob): Declare.
15661 * support/support.h (support_quote_blob): Declare.
15662 * support/support_quote_blob.c: New file.
15663 * support/support_test_compare_blob.c: Likewise.
15664 * support/tst-support_quote_blob.c: Likewise.
15665 * support/tst-test_compare_blob.c: Likewise.
15667 2018-05-16 Florian Weimer <fweimer@redhat.com>
15669 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15670 of <strtod_nan_double.h>.
15671 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15672 instead of SET_MANTISSA.
15673 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15674 of include <strtod_nan_float.h>.
15675 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15676 instead of <strtod_nan_ldouble.h>.
15677 * stdlib/strtod_nan_double.h: Move to ...
15678 * sysdeps/generic/math-nan-payload-double.h: ... here.
15679 (FLOAT): Remove definition.
15680 (SET_MANTISSA): Rename to ...
15681 (SET_NAN_PAYLOAD): ... this.
15682 * stdlib/strtod_nan_float.h: Move to ...
15683 * sysdeps/generic/math-nan-payload-float.h: ... here.
15684 (FLOAT): Remove definition.
15685 (SET_MANTISSA): Rename to ...
15686 (SET_NAN_PAYLOAD): ... this.
15687 * sysdeps/generic/math-type-macros-double.h: Include
15688 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15689 instead of <math-svid-compat.h>.
15690 * sysdeps/generic/math-type-macros-float.h: Include
15691 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15692 instead of <math-svid-compat.h>.
15693 * sysdeps/generic/math-type-macros-float128.h: Include
15694 <math-nan-payload-float128.h>.
15695 * sysdeps/generic/math-type-macros-ldouble.h: Include
15696 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15697 instead of <math-svid-compat.h>.
15698 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15699 check for definition.
15700 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15701 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15702 Include <ieee754_float128.h>.
15703 (FLOAT): Remove definition.
15704 (SET_MANTISSA): Rename to ...
15705 (SET_NAN_PAYLOAD): ... this.
15706 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15707 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15708 Do not include <float128_private.h>.
15709 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15711 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15712 (FLOAT): Remove definition.
15713 (SET_MANTISSA): Rename to ...
15714 (SET_NAN_PAYLOAD): ... this.
15715 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15716 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15717 (FLOAT): Remove definition.
15718 (SET_MANTISSA): Rename to ...
15719 (SET_NAN_PAYLOAD): ... this.
15720 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15721 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15722 (FLOAT): Remove definition.
15723 (SET_MANTISSA): Rename to ...
15724 (SET_NAN_PAYLOAD): ... this.
15725 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15726 of "../stdlib/strtod_nan_double.h".
15727 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15728 of "../stdlib/strtod_nan_float.h".
15729 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15730 instead of "../stdlib/strtod_nan_ldouble.h".
15731 * manual/arith.texi (Parsing of Floats): Adjust comment.
15733 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15735 * math/Makefile (libm-narrow-fns): Add mul.
15736 (libm-test-funcs-narrow): Likewise.
15737 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15738 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15739 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15740 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15741 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15742 (NARROW_MUL_TRIVIAL): Likewise.
15743 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15744 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15746 (__dmull): Likewise.
15747 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15749 (CFLAGS-nldbl-dmul.c): New variable.
15750 (CFLAGS-nldbl-fmul.c): Likewise.
15751 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15753 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15755 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15756 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15757 * math/auto-libm-test-in: Add tests of mul.
15758 * math/auto-libm-test-out-narrow-mul: New generated file.
15759 * math/libm-test-narrow-mul.inc: New file.
15760 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15761 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15762 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15763 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15764 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15765 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15772 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15773 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15774 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15775 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15776 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15777 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15779 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15780 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15781 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15782 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15783 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15784 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15785 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15786 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15787 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15788 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15789 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15790 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15791 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15796 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15797 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15798 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15799 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15800 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15801 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15802 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15803 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15805 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15807 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15808 with *%eax in call.
15810 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15812 * sysdeps/i386/ldsodefs.h: Removed.
15813 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15814 * sysdeps/x86/ldsodefs.h: This.
15815 (La_i86_regs): New.
15816 (La_i86_retval): Likewise.
15817 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15818 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15820 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15822 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15825 2018-05-13 Alan Modra <amodra@gmail.com>
15827 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15828 R_PARISC_TLS_DTPOFF32 reloc addend.
15830 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15832 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15833 * math/math.h: Restrict the prototype definition for the functions
15834 issignaling(_Float128) and iszero(_Float128); and template
15835 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15836 __HAVE_FLOAT128_UNLIKE_LDBL.
15837 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15838 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15839 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15840 __f128() constants; define the type _Float128 as long double;
15841 and reuse long double in __CFLOAT128.
15843 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15845 * sysdeps/generic/math_private.h: Do not include
15847 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15849 * math/fromfp.h: Include <math-barriers.h>.
15850 * math/math-narrow.h: Likewise.
15851 * math/s_nextafter.c: Likewise.
15852 * math/s_nexttowardf.c: Likewise.
15853 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15854 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15855 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15856 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15857 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15858 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15859 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15861 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15863 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15866 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15869 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15870 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15871 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15872 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15873 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15874 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15875 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15876 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15877 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15878 * sysdeps/ieee754/k_standardl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15886 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15887 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15889 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15891 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15892 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15894 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15895 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15896 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15899 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15900 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15902 2018-05-11 Florian Weimer <fweimer@redhat.com>
15904 Use 64-bit epoch values in the time zone file parser.
15905 * include/time.h (internal_time_t): Define.
15906 (__tzfile_compute): Use it.
15907 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15909 (transitions): Switch to internal_time_t.
15910 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15912 (__tzfile_compute): Use internal_time_t for timer argument. Check
15913 for truncation before calling __offtime.
15915 2018-05-11 Florian Weimer <fweimer@redhat.com>
15918 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15919 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15921 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15922 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15923 export without --enable-obsolete-rpc.
15924 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15925 symbol. This should not have been exported, ever.
15927 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15930 * localedata/locales/gd_GB (abmon): Fix typo in May:
15931 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15933 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15935 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15936 Use multiple registers to copy data in loop tail.
15938 * sysdeps/aarch64/multiarch/memmove_falkor.S
15939 (__memmove_falkor): Use multiple registers to move data in
15942 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15944 * math/math-underflow.h: New file.
15945 * sysdeps/generic/math_private.h: Do not include <float.h>.
15946 (fabs_tg): Remove macro. Moved to math-underflow.h.
15947 (min_of_type_f): Likewise.
15948 (min_of_type_): Likewise.
15949 (min_of_type_l): Likewise.
15950 (min_of_type_f128): Likewise.
15951 (min_of_type): Likewise.
15952 (math_check_force_underflow): Likewise.
15953 (math_check_force_underflow_nonneg): Likewise.
15954 (math_check_force_underflow_complex): Likewise.
15955 * math/e_exp2_template.c: Include <math-underflow.h>.
15956 * math/k_casinh_template.c: Likewise.
15957 * math/s_catan_template.c: Likewise.
15958 * math/s_catanh_template.c: Likewise.
15959 * math/s_ccosh_template.c: Likewise.
15960 * math/s_cexp_template.c: Likewise.
15961 * math/s_clog10_template.c: Likewise.
15962 * math/s_clog_template.c: Likewise.
15963 * math/s_csin_template.c: Likewise.
15964 * math/s_csinh_template.c: Likewise.
15965 * math/s_csqrt_template.c: Likewise.
15966 * math/s_ctan_template.c: Likewise.
15967 * math/s_ctanh_template.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15986 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15987 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15988 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15989 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15990 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15991 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15992 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15993 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15994 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15995 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15996 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15997 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15998 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15999 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16036 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16038 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16045 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16046 * sysdeps/x86/fpu/powl_helper.c: Likewise.
16047 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
16048 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16053 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16055 * sysdeps/generic/math-barriers.h: New file.
16056 * sysdeps/generic/math_private.h [!math_opt_barrier]
16057 (math_opt_barrier): Move to math-barriers.h.
16058 [!math_opt_barrier] (math_force_eval): Likewise.
16059 * sysdeps/aarch64/fpu/math-barriers.h: New file.
16060 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
16062 (math_force_eval): Likewise.
16063 * sysdeps/alpha/fpu/math-barriers.h: New file.
16064 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
16066 (math_force_eval): Likewise.
16067 * sysdeps/x86/fpu/math-barriers.h: New file.
16068 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
16070 (math_force_eval): Likewise.
16071 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
16072 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
16073 multiple-include guard for rename.
16074 * sysdeps/powerpc/fpu/math-barriers.h: New file.
16075 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
16077 (math_force_eval): Likewise.
16079 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16083 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
16085 * stdlib/Makefile (test-bz22786): New test.
16086 * stdlib/test-bz22786.c: New test.
16088 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16090 * include/math-narrow-eval.h: New file. Contents moved from ....
16091 * sysdeps/generic/math_private.h: ... here.
16092 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
16093 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16094 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
16095 * stdlib/strtod_l.c: Likewise.
16096 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16097 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16098 * sysdeps/i386/fpu/s_fdim.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16111 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16113 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16114 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16115 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16116 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16117 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16118 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16120 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16121 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16122 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16123 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16124 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16126 2018-05-08 Andreas Schwab <schwab@suse.de>
16128 * sysdeps/nptl/internaltypes.h: Fix comment.
16130 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
16132 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16133 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
16136 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16138 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
16139 of I into loop header.
16140 * benchtests/bench-memmove-walk.c
16141 (test_main): Likewise.
16143 2018-05-07 Alexandre Oliva <oliva@gnu.org>
16146 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16147 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16149 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16152 * elf/dl-load.c (open_verify): Fix stack overflow.
16153 * elf/Makefile (tst-big-note): New test.
16154 * elf/tst-big-note-lib.S: New.
16155 * elf/tst-big-note.c: New.
16157 2018-05-04 Joseph Myers <joseph@codesourcery.com>
16159 * scripts/abilist.awk: Ignore absolute symbols.
16160 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
16161 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
16162 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
16163 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
16164 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
16165 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
16166 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16167 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
16168 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
16169 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
16170 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
16171 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
16173 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
16174 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
16180 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
16181 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
16182 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
16183 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
16196 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
16199 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
16200 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
16208 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
16209 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
16229 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
16230 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16231 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
16232 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
16234 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
16235 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
16236 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
16237 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
16238 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
16239 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
16242 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
16243 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16244 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
16245 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
16246 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
16247 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
16248 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
16249 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
16250 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
16251 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16253 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
16254 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16255 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
16256 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
16257 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16258 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
16259 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16260 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16261 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16262 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16263 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16264 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16265 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16267 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16287 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16288 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16289 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16290 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16291 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16292 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16293 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16295 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16296 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16297 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16298 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16299 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16300 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16301 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16302 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16303 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16304 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16305 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16306 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16307 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16308 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16309 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16310 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16311 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16312 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16313 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16314 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16316 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16317 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16318 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16319 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16320 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16321 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16322 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16323 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16324 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16325 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16326 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16327 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16334 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16337 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16338 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16339 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16340 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16341 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16403 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16404 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16406 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16407 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16408 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16409 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16410 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16411 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16412 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16413 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16414 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16415 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16416 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16417 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16418 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16419 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16421 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16422 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16423 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16424 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16425 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16426 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16427 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16428 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16429 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16430 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16431 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16432 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16434 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16435 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16436 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16437 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16438 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16439 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16440 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16441 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16442 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16443 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16444 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16445 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16446 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16447 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16448 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16449 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16450 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16451 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16452 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16453 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16454 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16460 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16461 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16462 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16463 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16464 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16465 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16466 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16467 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16468 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16469 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16470 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16471 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16472 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16474 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16475 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16476 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16477 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16478 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16479 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16480 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16482 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16483 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16484 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16485 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16486 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16487 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16488 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16489 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16490 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16492 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16493 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16494 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16495 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16496 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16497 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16498 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16499 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16500 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16501 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16502 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16504 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16505 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16506 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16507 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16508 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16510 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16511 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16513 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16516 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16517 Use atomic_load_acquire to load __tid.
16519 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16521 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16522 Restore the pointer into %rdx, after syscall and use %rdx,
16523 instead of %rsi, to restore context.
16525 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16527 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16528 Pop the pointer into %rdx after syscall and use %rdx, instead
16529 of %rsi, to restore context.
16531 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16533 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16534 handlers after setjmp.
16535 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16537 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16538 <libc-pointer-arith.h>.
16539 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16540 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16541 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16542 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16543 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16544 * sysdeps/x86/__longjmp_cancel.S: New file.
16545 * sysdeps/x86/longjmp.c: Likewise.
16546 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16548 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16550 * NEWS: Add ustat.h deprecation entry.
16551 * bits/ustat.h: Remove file.
16552 * misc/sys/ustat.h: Likewise.
16553 * misc/ustat.h: Likewise.
16554 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16555 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16556 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16557 compatibility mode.
16558 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16559 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16560 generic Linux implementation.
16562 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16564 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16565 * math/w_expl_compat.c: Likewise.
16566 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16568 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16570 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16572 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16574 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16575 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16576 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16578 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16581 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16582 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16585 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16587 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16589 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16590 * math/w_asin_template.c: Likewise.
16591 * math/w_atanh_template.c: Likewise.
16593 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16595 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16596 to powerpc/powerpc64/be for big-endian.
16597 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16600 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16601 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16602 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16603 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16604 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16605 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16606 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16607 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16608 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16609 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16610 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16611 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16612 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16613 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16614 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16615 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16616 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16617 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16618 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16619 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16620 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16621 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16622 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16623 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16624 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16625 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16626 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16627 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16628 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16629 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16630 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16631 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16633 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16634 adjusted to imply powerpc64 and older processors on powerpc64/be.
16635 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16636 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16637 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16638 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16639 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16640 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16641 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16642 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16643 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16644 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16645 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16646 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16647 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16648 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16649 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16650 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16651 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16652 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16653 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16654 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16655 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16656 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16657 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16658 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16659 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16660 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16661 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16662 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16663 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16664 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16665 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16667 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16668 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16669 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16670 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16672 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16673 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16674 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16675 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16677 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16678 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16679 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16680 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16681 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16682 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16683 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16684 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16685 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16686 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16687 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16689 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16690 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16691 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16692 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16693 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16694 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16695 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16696 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16697 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16698 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16699 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16701 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16702 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16703 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16704 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16705 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16706 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16707 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16708 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16709 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16710 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16711 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16712 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16714 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16715 and adjusted to imply olders processors.
16716 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16717 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16718 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16719 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16720 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16721 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16722 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16723 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16724 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16725 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16726 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16728 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16731 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16745 powerpc64 and adjusted.
16746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16751 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16753 * sysdeps/tile: Remove.
16754 * sysdeps/unix/sysv/linux/tile: Likewise.
16755 * README (tilegx-*-linux-gnu): Remove from list of supported
16757 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16758 contribution of support for generic Linux kernel syscall
16760 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16761 tilegx configurations.
16762 (Config.install_linux_headers): Do not handle tile.
16763 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16765 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16766 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16767 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16768 conditional undefine and redefine.
16769 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16771 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16772 conditional undefine and redefine.
16774 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16776 * signal/tst-sigaction.c: New file to test BZ #23069.
16777 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16779 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16782 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16783 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16784 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16785 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16787 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16789 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16790 _DIRENT_MATCHES_DIRENT64 is not defined.
16791 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16792 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16794 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16795 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16797 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16799 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16800 version to GCC 8 branch.
16802 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16804 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16805 (check_no_hidden): Use type of original function when declaring
16808 * sysdeps/unix/sysv/linux/sys/ptrace.h
16809 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16810 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16811 (struct __ptrace_seccomp_metadata): New type.
16812 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16813 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16814 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16815 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16816 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16817 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16818 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16819 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16821 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16822 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16823 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16824 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16825 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16826 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16827 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16829 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16831 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16833 * dirent/versionsort.c (versionsort): Likewise.
16834 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16835 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16836 * dirent/versionsort64.c (versionsort64): Likewise.
16837 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16838 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16839 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16840 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16841 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16842 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16843 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16844 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16845 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16846 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16849 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16852 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16854 * elf/elf.h (NT_PPC_PKEY): New macro.
16856 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16859 * localedata/locales/hr_HR: fix thousands_sep and
16862 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16864 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16865 (XTABS): Define to TAB3.
16867 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16869 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16871 * dirent/scandir-tail-common.c: New file.
16872 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16873 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16874 * dirent/scandir.c: Use scandir-tail-common.c.
16875 * dirent/scandirat.c: Likewise.
16876 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16877 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16878 if _DIRENT_MATCHES_DIRENT64 is defined.
16879 * dirent/scandirat64.c (scandirat64): Likewise.
16880 * include/dirent.h (__scandir_tail): Only define iff
16881 _DIRENT_MATCHES_DIRENT64 is not defined.
16882 (__scandir64_tail): Define regardless.
16883 (__scandirat, scandirat64): Remove libc_hidden_proto.
16884 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16885 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16887 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16888 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16889 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16890 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16892 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16894 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16896 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16898 (_dl_aarch64_cap_flags): Add asimdfhm.
16900 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16902 * sysdeps/nios2/libm-test-ulps: Update.
16904 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16906 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16907 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16909 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16911 (_DIRENT_MATCHES_DIRENT64): Undef
16912 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16913 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16914 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16915 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16916 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16917 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16918 use getdents64 syscalls as base.
16919 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16920 symbol if required.
16921 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16922 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16923 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16924 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16925 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16926 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16927 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16928 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16929 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16930 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16931 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16933 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16935 * scripts/test_printers_common.py (init_test): Disable lock elision.
16937 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16939 * math/test-tgmath.c (count_double, count_float,
16940 count_ldouble, count_cdouble, count_cfloat,
16941 count_cldouble): Use volatile int.
16943 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16945 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16946 (conformtest-xfail-conds): Add i386-gnu.
16947 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16949 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16950 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16951 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16952 msqid_ds.msg_lrpid): Likewise.
16953 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16955 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16956 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16957 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16958 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16960 (struct statvfs64): Likewise.
16961 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16963 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16964 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16965 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16966 instead of wait_queue.
16967 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16968 instead of vm_area_struct.
16969 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16970 struct sched_param definition to it.
16971 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16972 * bits/types/struct_sched_param.h: New file.
16973 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16974 <bits/types/struct_sched_param.h> instead of <sched.h>.
16975 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16976 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16977 generic version but include <bits/pthreadtypes.h> to make struct
16978 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16979 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16981 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16982 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16983 [__USE_XOPEN] (OFDEL): New macro.
16984 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16985 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16986 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16988 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16989 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16990 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16992 * sysdeps/i386/sys/ucontext.h: Likewise.
16993 * sysdeps/m68k/sys/ucontext.h: Likewise.
16994 * sysdeps/mips/sys/ucontext.h: Likewise.
16995 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16996 * sysdeps/mach/hurd/i386/Makefile
16997 (test-xfail-POSIX/fcntl.h/conform): Add.
16998 (test-xfail-POSIX/signal.h/conform): Add.
16999 (test-xfail-POSIX/semaphore.h/conform): Add.
17000 (test-xfail-POSIX/regex.h/conform): Add.
17001 (test-xfail-POSIX/aio.h/conform): Add.
17002 (test-xfail-POSIX/mqueue.h/conform): Add.
17003 (test-xfail-POSIX/sys/types.h/conform): Add.
17004 (test-xfail-UNIX98/fcntl.h/conform): Add.
17005 (test-xfail-UNIX98/netdb.h/conform): Add.
17006 (test-xfail-UNIX98/signal.h/conform): Add.
17007 (test-xfail-UNIX98/semaphore.h/conform): Add.
17008 (test-xfail-UNIX98/regex.h/conform): Add.
17009 (test-xfail-UNIX98/aio.h/conform): Add.
17010 (test-xfail-UNIX98/ftw.h/conform): Add.
17011 (test-xfail-UNIX98/mqueue.h/conform): Add.
17012 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17013 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17014 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17015 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17016 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17017 (test-xfail-UNIX98/sys/types.h/conform): Add.
17018 (test-xfail-UNIX98/stdlib.h/conform): Add.
17019 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17020 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17021 (test-xfail-POSIX2008/netdb.h/conform): Add.
17022 (test-xfail-POSIX2008/signal.h/conform): Add.
17023 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17024 (test-xfail-POSIX2008/regex.h/conform): Add.
17025 (test-xfail-POSIX2008/aio.h/conform): Add.
17026 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17027 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17028 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17029 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17030 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17031 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17032 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17033 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17034 (test-xfail-XOPEN2K/signal.h/conform): Add.
17035 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17036 (test-xfail-XOPEN2K/regex.h/conform): Add.
17037 (test-xfail-XOPEN2K/aio.h/conform): Add.
17038 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17039 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
17040 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
17041 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
17042 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
17043 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
17044 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
17045 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
17046 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
17047 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
17048 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
17049 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
17050 (test-xfail-XOPEN2K8/signal.h/conform): Add.
17051 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
17052 (test-xfail-XOPEN2K8/regex.h/conform): Add.
17053 (test-xfail-XOPEN2K8/aio.h/conform): Add.
17054 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
17055 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
17056 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
17057 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
17058 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
17059 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
17060 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
17061 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
17062 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
17063 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
17064 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
17066 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
17067 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
17069 2018-04-18 Joseph Myers <joseph@codesourcery.com>
17071 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17072 --enable-obsolete for powerpc-linux-gnuspe.
17074 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17076 * conform/data/sys/un.h-data: Allow sun_ prefix.
17077 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
17079 * sysdeps/mach/include/mach.h: Likewise.
17080 * sysdeps/mach/include/mach/mig_support.h: Likewise.
17081 * sysdeps/mach/include/mach_error.h: Likewise.
17083 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17085 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
17086 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
17087 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
17088 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
17090 2018-04-16 Andreas Schwab <schwab@suse.de>
17093 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
17095 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17097 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
17098 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
17100 2018-04-12 DJ Delorie <dj@redhat.com>
17102 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17105 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17107 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
17108 (struct kernel_sigaction): Use the same definition on 31bit as is used
17111 2018-04-09 Florian Weimer <fweimer@redhat.com>
17114 * resolv/res_send.c (send_dg): Use designated initializers instead
17115 of assignment to zero-initialize other fields of struct mmsghdr.
17117 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17119 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
17120 __READDIR_ALIAS): Undefine after usage.
17121 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
17122 __READDIR_R_ALIAS): Likewise.
17123 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
17124 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
17125 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
17126 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
17127 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
17128 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
17129 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17130 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17131 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
17132 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
17133 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
17134 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
17135 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17136 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
17137 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
17138 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
17139 * sysdeps/unix/sysv/linux/readdir.c: New file.
17140 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
17141 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
17142 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
17144 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17146 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
17148 * manual/charset.texi (Converting a Character): Fix typo.
17150 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17154 * sysdeps/arm/libm-test-ulps: Update.
17156 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
17157 as base implementation.
17158 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17159 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17160 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17162 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17163 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
17164 remove unrequired definitions and update comments.
17165 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
17166 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
17167 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
17168 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
17169 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
17170 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
17171 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
17172 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
17173 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
17174 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
17175 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
17176 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17177 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17178 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
17179 and RESET_SA_RESTORER hooks.
17181 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
17183 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17185 2018-04-05 Florian Weimer <fweimer@redhat.com>
17187 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
17188 integer overflow, memory leak on error, and indeterminate errno
17189 value. Add a null wide character to terminate the result string.
17190 * manual/charset.texi (Converting a Character): Mention embedded
17191 null bytes in the mbrtowc input string. Explain what happens in
17192 the -2 result case. Do not claim that mbrtowc is simple or
17193 obvious to use. Adjust the description of the code example. Use
17194 @code, not @var, for concrete variables.
17196 2018-04-05 Florian Weimer <fweimer@redhat.com>
17198 * manual/examples/mbstouwcs.c: New file.
17199 * manual/charset.texi (Converting a Character): Include it.
17201 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17203 * include/dirent.h (dirfd): Add hidden proto.
17204 * dirent/dirfd.c (dirfd): Add hidden def.
17205 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
17206 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
17208 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17210 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
17211 sin, cos and sincos to 1 ULP.
17213 2018-04-04 Maciej W. Rozycki <macro@mips.com>
17216 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
17218 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
17219 * elf/tst-absolute-sym.c: New file.
17220 * elf/tst-absolute-sym-lib.c: New file.
17221 * elf/tst-absolute-sym-lib.lds: New file.
17222 * elf/Makefile (tests): Add `tst-absolute-sym'.
17223 (modules-names): Add `tst-absolute-sym-lib'.
17224 (LDLIBS-tst-absolute-sym-lib.so): New variable.
17225 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
17226 ($(objpfx)tst-absolute-sym): New dependency.
17229 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
17231 (SYMBOL_ADDRESS): New macro.
17232 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
17233 SYMBOL_ADDRESS for symbol address calculation.
17234 * elf/dl-runtime.c (_dl_fixup): Likewise.
17235 (_dl_profile_fixup): Likewise.
17236 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
17237 * elf/rtld.c (dl_main): Likewise.
17238 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
17239 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
17240 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
17241 (elf_machine_rela): Likewise.
17242 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
17243 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
17244 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17245 (elf_machine_rela): Likewise.
17246 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17247 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
17248 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
17249 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
17251 (elf_machine_reloc): Likewise.
17252 (elf_machine_got_rel): Likewise.
17253 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
17254 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
17255 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17259 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17262 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17264 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17265 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17267 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17269 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17272 2018-04-04 Zack Weinberg <zackw@panix.com>
17274 * sysdeps/generic/internal-signals.h: Include signal.h,
17275 sigsetops.h, and stdbool.h.
17276 (__libc_signal_block_all): Actually block all signals.
17277 (__libc_signal_block_app): Likewise.
17278 (__libc_signal_restore_set): Actually restore the signal mask.
17280 2018-04-04 Florian Weimer <fweimer@redhat.com>
17282 inet: Actually build and run tst-deadline.
17283 * inet/Makefile (tests-internal): Add tst-deadline and do not
17284 overwrite the variable.
17285 (tests-static-internal): Remove variable.
17287 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17290 * bits/uio-ext.h (RWF_APPEND): New.
17291 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17292 * manual/llio.texi: Document RWF_APPEND.
17293 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17294 (RWF_SUPPORTED): Add RWF_APPEND.
17296 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17299 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17300 check for internal nptl signals.
17301 * nptl/sigaction.c (__sigaction): Likewise.
17302 * signal/sigaddset.c (sigaddset): Likewise.
17303 * signal/sigdelset.c (sigdelset): Likewise.
17304 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17305 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17307 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17308 to filter out internal nptl signals.
17309 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17310 also check realtime signals using standard macros.
17311 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17312 __is_internal_signal, __libc_signal_block_all,
17313 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17314 * sysdeps/nptl/sigfillset.c: Remove file.
17315 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17316 Change return to bool.
17317 (__clear_internal_signals): Remove SIGTIMER clean since it is
17318 equal to SIGCANEL on Linux.
17319 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17320 signal set was constructed using standard functions.
17322 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17324 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17325 ifname is too long.
17326 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17327 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
17328 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17330 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
17331 * signal/sigaddset.c: Include <sigsetopts.h>.
17332 * signal/sigdelset.c: Likewise.
17334 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17338 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17339 logic as sin and cos.
17341 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17343 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17344 inputs. Return correct sign.
17345 (do_sincos): Remove small input check before do_sin, let do_sin set
17350 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17352 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17353 (do_cos_slow): Likewise.
17354 (do_sin_slow): Likewise.
17355 (reduce_and_compute): Likewise.
17360 (sloww1): Likewise.
17361 (sloww2): Likewise.
17363 (bslow1): Likewise.
17364 (bslow2): Likewise.
17365 (cslow2): Likewise.
17367 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17369 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17370 (do_cos): Remove corp parameter and calculations.
17371 (do_sin): Likewise.
17372 (do_sincos): Remove cor variable.
17373 (__sin): Use do_sincos for huge inputs.
17375 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17376 (reduce_and_compute_sincos): Remove unused function.
17378 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17380 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17381 reduce_sincos, improve accuracy to 136 bits.
17382 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17383 (__sin): Use improved reduction and simplified do_sincos calculation.
17385 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17387 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17389 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17390 (do_sincos_2): Likewise.
17391 (__sin): Remove middle range reduction case.
17393 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17396 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17398 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17399 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17402 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17404 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17406 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17409 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17411 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17412 Remove definitions.
17413 (opendir_oflags): Use O_DIRECTORY regardless.
17414 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17415 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17417 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17419 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17420 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17422 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17423 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17424 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17425 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17426 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17427 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17429 * htl/Makefile: Bump licence to LGPL 2.1+.
17430 * htl/alloca_cutoff.c: Likewise.
17431 * htl/cthreads-compat.c: Likewise.
17432 * htl/lockfile.c: Likewise.
17433 * htl/pt-alloc.c: Likewise.
17434 * htl/pt-cancel.c: Likewise.
17435 * htl/pt-cleanup.c: Likewise.
17436 * htl/pt-create.c: Likewise.
17437 * htl/pt-dealloc.c: Likewise.
17438 * htl/pt-detach.c: Likewise.
17439 * htl/pt-exit.c: Likewise.
17440 * htl/pt-getattr.c: Likewise.
17441 * htl/pt-initialize.c: Likewise.
17442 * htl/pt-internal.h: Likewise.
17443 * htl/pt-join.c: Likewise.
17444 * htl/pt-self.c: Likewise.
17445 * htl/pt-setcancelstate.c: Likewise.
17446 * htl/pt-setcanceltype.c: Likewise.
17447 * htl/pt-sigmask.c: Likewise.
17448 * htl/pt-spin-inlines.c: Likewise.
17449 * htl/pt-testcancel.c: Likewise.
17450 * htl/pt-yield.c: Likewise.
17451 * htl/tests/test-1.c: Likewise.
17452 * htl/tests/test-10.c: Likewise.
17453 * htl/tests/test-11.c: Likewise.
17454 * htl/tests/test-12.c: Likewise.
17455 * htl/tests/test-13.c: Likewise.
17456 * htl/tests/test-14.c: Likewise.
17457 * htl/tests/test-15.c: Likewise.
17458 * htl/tests/test-16.c: Likewise.
17459 * htl/tests/test-17.c: Likewise.
17460 * htl/tests/test-2.c: Likewise.
17461 * htl/tests/test-3.c: Likewise.
17462 * htl/tests/test-4.c: Likewise.
17463 * htl/tests/test-5.c: Likewise.
17464 * htl/tests/test-6.c: Likewise.
17465 * htl/tests/test-7.c: Likewise.
17466 * htl/tests/test-8.c: Likewise.
17467 * htl/tests/test-9.c: Likewise.
17468 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17469 * sysdeps/htl/bits/cancelation.h: Likewise.
17470 * sysdeps/htl/bits/pthread-np.h: Likewise.
17471 * sysdeps/htl/bits/pthread.h: Likewise.
17472 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17473 * sysdeps/htl/bits/semaphore.h: Likewise.
17474 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17475 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17476 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17477 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17478 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17479 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17480 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17481 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17482 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17483 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17484 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17485 * sysdeps/htl/old_pt-atfork.c: Likewise.
17486 * sysdeps/htl/pt-atfork.c: Likewise.
17487 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17488 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17489 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17490 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17491 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17492 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17493 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17494 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17495 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17496 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17497 * sysdeps/htl/pt-attr-init.c: Likewise.
17498 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17499 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17500 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17501 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17502 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17503 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17504 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17505 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17506 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17507 * sysdeps/htl/pt-attr.c: Likewise.
17508 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17509 * sysdeps/htl/pt-barrier-init.c: Likewise.
17510 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17511 * sysdeps/htl/pt-barrier.c: Likewise.
17512 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17513 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17514 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17515 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17516 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17517 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17518 * sysdeps/htl/pt-cond-init.c: Likewise.
17519 * sysdeps/htl/pt-cond-signal.c: Likewise.
17520 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17521 * sysdeps/htl/pt-cond-wait.c: Likewise.
17522 * sysdeps/htl/pt-cond.c: Likewise.
17523 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17524 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17525 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17526 * sysdeps/htl/pt-condattr-init.c: Likewise.
17527 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17528 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17529 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17530 * sysdeps/htl/pt-equal.c: Likewise.
17531 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17532 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17533 * sysdeps/htl/pt-getschedparam.c: Likewise.
17534 * sysdeps/htl/pt-getspecific.c: Likewise.
17535 * sysdeps/htl/pt-init-specific.c: Likewise.
17536 * sysdeps/htl/pt-key-create.c: Likewise.
17537 * sysdeps/htl/pt-key-delete.c: Likewise.
17538 * sysdeps/htl/pt-key.h: Likewise.
17539 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17540 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17541 * sysdeps/htl/pt-mutex-init.c: Likewise.
17542 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17543 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17544 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17545 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17546 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17547 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17548 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17549 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17550 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17551 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17552 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17553 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17554 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17555 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17556 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17557 * sysdeps/htl/pt-mutexattr.c: Likewise.
17558 * sysdeps/htl/pt-once.c: Likewise.
17559 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17560 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17561 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17562 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17563 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17564 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17565 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17566 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17567 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17568 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17569 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17570 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17571 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17572 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17573 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17574 * sysdeps/htl/pt-setschedparam.c: Likewise.
17575 * sysdeps/htl/pt-setschedprio.c: Likewise.
17576 * sysdeps/htl/pt-setspecific.c: Likewise.
17577 * sysdeps/htl/pt-spin.c: Likewise.
17578 * sysdeps/htl/pt-startup.c: Likewise.
17579 * sysdeps/htl/pthread.h: Likewise.
17580 * sysdeps/htl/sem-close.c: Likewise.
17581 * sysdeps/htl/sem-destroy.c: Likewise.
17582 * sysdeps/htl/sem-getvalue.c: Likewise.
17583 * sysdeps/htl/sem-init.c: Likewise.
17584 * sysdeps/htl/sem-open.c: Likewise.
17585 * sysdeps/htl/sem-post.c: Likewise.
17586 * sysdeps/htl/sem-timedwait.c: Likewise.
17587 * sysdeps/htl/sem-trywait.c: Likewise.
17588 * sysdeps/htl/sem-unlink.c: Likewise.
17589 * sysdeps/htl/sem-wait.c: Likewise.
17590 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17591 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17592 * sysdeps/mach/htl/pt-block.c: Likewise.
17593 * sysdeps/mach/htl/pt-spin.c: Likewise.
17594 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17595 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17596 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17597 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17598 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17599 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17600 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17601 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17602 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17603 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17604 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17605 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17606 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17607 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17608 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17609 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17610 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17611 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17612 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17613 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17614 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17615 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17616 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17617 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17618 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17619 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17620 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17621 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17622 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17623 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17624 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17625 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17626 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17627 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17628 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17629 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17630 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17631 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17632 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17633 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17634 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17635 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17636 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17638 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17639 * README: Remove the mention of out-of-tree patches needed for
17642 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17643 (UTIME_NOW, UTIME_OMIT): Define macros.
17645 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17646 instead of pthread_detach.
17647 (__cthread_fork): Call __pthread_create instead of pthread_create.
17648 (__cthread_keycreate): Call __pthread_key_create instead of
17649 pthread_key_create.
17650 (__cthread_getspecific): Call __pthread_getspecific instead of
17651 pthread_getspecific.
17652 (__cthread_setspecific): Call __pthread_setspecific instead of
17653 pthread_setspecific.
17654 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17655 __pthread_mutex_unlock instead of pthread_mutex_lock and
17656 pthread_mutex_unlock.
17657 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17658 ___pthread_get_cleanup_stack.
17659 (__pthread_get_cleanup_stack): New strong alias.
17660 * htl/pt-create.c: Include <pthreadP.h>.
17661 (entry_point): Call __pthread_exit instead of pthread_exit.
17662 (pthread_create): Rename to __pthread_create.
17663 (pthread_create): New strong alias.
17664 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17665 (pthread_detach): New strong alias.
17666 (__pthread_detach): Call __pthread_cond_broadcast instead of
17667 pthread_cond_broadcast.
17668 * htl/pt-exit.c: Include <pthreadP.h>.
17669 (__pthread_exit): Call __pthread_setcancelstate and
17670 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17671 __pthread_get_cleanup_stack.
17672 * htl/pt-testcancel.c: Include <pthreadP.h>.
17673 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17674 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17675 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17676 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17677 pthread_attr_getstacksize.
17678 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17679 Rename to __pthread_attr_getstackaddr.
17680 (pthread_attr_getstackaddr): New strong alias.
17681 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17682 Rename to __pthread_attr_getstacksize.
17683 (pthread_attr_getstacksize): New strong alias.
17684 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17685 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17686 (pthread_attr_setstack): New strong alias.
17687 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17688 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17689 pthread_attr_getstacksize, pthread_attr_setstacksize and
17690 pthread_attr_setstackaddr.
17691 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17692 Rename to __pthread_attr_setstackaddr.
17693 (pthread_attr_setstackaddr): New strong alias.
17694 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17695 Rename to __pthread_attr_setstacksize.
17696 (pthread_attr_setstacksize): New strong alias.
17697 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17698 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17700 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17701 (__pthread_key_create): New hidden def.
17702 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17703 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17704 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17705 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17706 __pthread_setspecific, __pthread_setcancelstate,
17707 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17708 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17709 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17711 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17712 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17713 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17714 (pthread_attr_setstackaddr): New strong alias.
17715 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17716 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17717 (pthread_attr_setstacksize): New strong alias.
17718 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17719 (call_exit): Call __pthread_exit instead of pthread_exit.
17720 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17721 (_pthread_mutex_init): New hidden definition.
17722 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17723 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17724 instead of pthread_attr_init and pthread_attr_setstack.
17726 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17727 __vm_deallocate instead of vm_allocate and vm_deallocate.
17728 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17730 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17732 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17734 * hurd/siginfo.c: Include <libioP.h>.
17735 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17736 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17738 * mach/devstream.c: Include <libioP.h>.
17739 (dealloc_ref): Call __mach_port_deallocate instead of
17740 mach_port_deallocate.
17741 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17742 Call __mach_port_deallocate instead of mach_port_deallocate.
17743 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17745 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17747 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17748 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17749 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17751 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17753 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17754 instead of sysconf.
17755 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17756 __clock_gettime instead of clock_gettime.
17757 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17758 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17759 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17760 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17761 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17763 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17764 __clock_gettime and __nanosleep instead of clock_gettime and
17766 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17767 __hurd_catch_signal.
17768 (hurd_catch_signal): New strong alias.
17769 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17770 __hurd_catch_signal instead of hurd_catch_signal.
17771 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17772 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17773 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17774 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17775 (_hurd_thread_sigstate): Add hidden def.
17776 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17778 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17779 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17780 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17781 __hurd_file_name_path_lookup.
17782 (hurd_file_name_path_lookup): New strong alias.
17783 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17784 hurd_file_name_path_lookup.
17785 * mach/errstring.c (mach_error_type): Add hidden def.
17786 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17787 * mach/mutex-init.c (__mutex_init): Add hidden def.
17788 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17789 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17790 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17791 * sysdeps/mach/hurd/getcwd.c
17792 (_hurd_canonicalize_directory_name_internal): Rename to
17793 __hurd_canonicalize_directory_name_internal.
17794 (_hurd_canonicalize_directory_name_internal): New strong alias.
17795 (__canonicalize_directory_name_internal, __getcwd): Call
17796 __hurd_canonicalize_directory_name_internal instead of
17797 _hurd_canonicalize_directory_name_internal.
17798 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17799 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17801 * sysdeps/hurd/include/hurd.h: New file.
17802 * sysdeps/hurd/include/hurd/fd.h: New file.
17803 * sysdeps/hurd/include/hurd/signal.h: New file.
17804 * sysdeps/mach/include/lock-intern.h: New file.
17805 * sysdeps/mach/include/mach.h: New file.
17806 * sysdeps/mach/include/mach/mig_support.h: New file.
17807 * sysdeps/mach/include/mach_error.h: New file.
17808 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17810 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17811 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17812 _HEADER_H_HIDDEN_DEF macro.
17813 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17814 _hurd_fd_error_signal): Add hidden prototype.
17815 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17817 * libio/iolibio.h (_IO_puts): New hidden prototype.
17818 * libio/ioputs.c (_IO_puts): New hidden def.
17819 * sysdeps/mach/hurd/localplt.data: New file.
17821 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17822 Amos Jeffries <squid3@treenet.co.nz>
17823 David Michael <fedora.dm0@gmail.com>
17824 Marco Gerards <marco@gnu.org>
17825 Marcus Brinkmann <marcus@gnu.org>
17826 Neal H. Walfield <neal@gnu.org>
17827 Pino Toscano <toscano.pino@tiscali.it>
17828 Richard Braun <rbraun@sceen.net>
17829 Roland McGrath <roland@gnu.org>
17830 Samuel Thibault <samuel.thibault@ens-lyon.org>
17831 Thomas DiModica <ricinwich@yahoo.com>
17832 Thomas Schwinge <tschwinge@gnu.org>
17834 * htl: New directory.
17835 * sysdeps/htl: New directory.
17836 * sysdeps/hurd/htl: New directory.
17837 * sysdeps/i386/htl: New directory.
17838 * sysdeps/mach/htl: New directory.
17839 * sysdeps/mach/hurd/htl: New directory.
17840 * sysdeps/mach/hurd/i386/htl: New directory.
17841 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17842 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17843 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17845 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17847 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17848 signals in thread created for runing timers.
17850 2018-04-01 Florian Weimer <fweimer@redhat.com>
17852 * support/support_format_addrinfo.c (support_format_addrinfo):
17853 Include unknown error number in formatted result.
17855 2018-03-29 Florian Weimer <fweimer@redhat.com>
17857 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17860 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17862 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17863 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17864 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17865 (__ASSUME_CLONE_BACKWARDS): Define.
17867 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17870 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17871 early when linux sentinel value is set.
17873 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17875 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17877 2018-03-27 Andreas Schwab <schwab@suse.de>
17880 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17881 allocation of private copy of nsaddr_list fails.
17883 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17886 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17887 * sysdeps/unix/sysv/linux/umount.c: ... here.
17888 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17889 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17890 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17891 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17893 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17894 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17896 2018-03-26 Andreas Schwab <schwab@suse.de>
17898 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17899 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17900 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17901 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17902 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17903 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17904 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17905 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17906 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17907 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17908 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17909 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17910 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17911 (R_RISCV_NUM): Define.
17913 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17915 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17916 TLS declaration of errno.
17917 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17919 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17920 (ARCH_SETUP_TLS): Likewise.
17921 * sysdeps/mach/hurd/libc-start.h: New file copied from
17922 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17923 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17924 instead of __libc_setup_tls.
17925 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17926 __libc_setup_tls before initializing libpthread and running _hurd_init
17927 which starts the signal thread.
17928 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17930 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17932 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17935 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17936 after it is defined.
17938 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17939 Max Horn <max@quendi.de>
17943 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17945 * string/test-memmove.c (do_test2): New testcase.
17947 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17949 * sysdeps/generic/frame.h: Remove file.
17950 * sysdeps/arm/frame.h: Likewise.
17951 * sysdeps/hppa/frame.h: Likewise.
17952 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17954 (GET_FRAME): Likewise.
17955 (GET_STACK): Likewise.
17956 (CALL_SIGHANDLER): Likewise.
17957 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17959 (GET_FRAME): Likewise.
17960 (GET_STACK): Likewise.
17961 (CALL_SIGHANDLER): Likewise.
17962 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17963 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17964 (GET_FRAME): Likewise.
17965 (GET_STACK): Likewise.
17966 (CALL_SIGHANDLER): Likewise.
17967 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17968 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17969 (GET_FRAME): Likewise.
17970 (GET_STACK): Likewise.
17971 (ADVANCE_STACK_FRAME): Likewise.
17972 (CALL_SIGHANDLER): Likewise.
17973 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17974 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17975 (GET_FRAME): Likewise.
17976 (GET_STACK): Likewise.
17977 (CALL_SIGHANDLER): Likewise.
17978 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17979 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17980 (GET_FRAME): Likewise.
17981 (GET_STACK): Likewise.
17982 (CALL_SIGHANDLER): Likewise.
17983 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17984 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17985 (GET_FRAME): Likewise.
17986 (GET_STACK): Likewise.
17987 (CALL_SIGHANDLER): Likewise.
17988 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17989 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17990 (GET_FRAME): Likewise.
17991 (GET_STACK): Likewise.
17992 (CALL_SIGHANDLER): Likewise.
17993 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17994 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17995 (GET_FRAME): Likewise.
17996 (GET_STACK): Likewise.
17997 (CALL_SIGHANDLER): Likewise.
17998 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17999 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18000 (GET_FRAME): Likewise.
18001 (GET_STACK): Likewise.
18002 (CALL_SIGHANDLER): Likewise.
18003 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18004 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18005 (GET_FRAME): Likewise.
18006 (GET_STACK): Likewise.
18007 (CALL_SIGHANDLER): Likewise.
18008 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18009 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18010 (GET_FRAME): Likewise.
18011 (GET_STACK): Likewise.
18012 (CALL_SIGHANDLER): Likewise.
18013 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18014 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18015 (GET_FRAME): Likewise.
18016 (GET_STACK): Likewise.
18017 (CALL_SIGHANDLER): Likewise.
18018 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18019 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18020 (FIRST_FRAME_POINTER): Likewise.
18021 (ADVANCE_STACK_FRAME): Likewise.
18022 (GET_STACK): Likewise.
18023 (GET_FRAME): Likewise.
18024 (CALL_SIGHANDLER): Likewise.
18025 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18026 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18027 (ADVANCE_STACK_FRAME): Likewise.
18028 (GET_STACK): Likewise.
18029 (GET_FRAME): Likewise.
18030 (CALL_SIGHANDLER): Likewise.
18031 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18032 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18033 (GET_FRAME): Likewise.
18034 (GET_STACK): Likewise.
18035 (CALL_SIGHANDLER): Likewise.
18036 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18037 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18038 (GET_FRAME): Likewise.
18039 (GET_STACK): Likewise.
18040 (CALL_SIGHANDLER): Likewise.
18042 2018-03-21 Joseph Myers <joseph@codesourcery.com>
18044 * sysdeps/x86_64/backtrace.c: Move to ....
18045 * debug/backtrace.c: ... here.
18046 * sysdeps/aarch64/backtrace.c: Remove file.
18047 * sysdeps/alpha/backtrace.c: Likewise.
18048 * sysdeps/hppa/backtrace.c: Likewise.
18049 * sysdeps/ia64/backtrace.c: Likewise.
18050 * sysdeps/mips/backtrace.c: Likewise.
18051 * sysdeps/nios2/backtrace.c: Likewise.
18052 * sysdeps/riscv/backtrace.c: Likewise.
18053 * sysdeps/sh/backtrace.c: Likewise.
18054 * sysdeps/tile/backtrace.c: Likewise.
18056 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18059 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
18062 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
18065 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
18066 possibly overflowing computations.
18068 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
18070 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
18071 values from Linux-specific section now that it is in the GNU section.
18072 * sysdeps/gnu/errlist.c: Regenerate.
18074 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18076 * math/Makefile (libm-narrow-fns): Add sub.
18077 (libm-test-funcs-narrow): Likewise.
18078 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
18079 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
18080 * math/gen-auto-libm-tests.c (test_functions): Add sub.
18081 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
18082 (NARROW_SUB_ROUND_TO_ODD): Likewise.
18083 (NARROW_SUB_TRIVIAL): Likewise.
18084 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
18086 (__dsubl): Likewise.
18087 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
18089 (CFLAGS-nldbl-dsub.c): New variable.
18090 (CFLAGS-nldbl-fsub.c): Likewise.
18091 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18093 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
18095 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
18096 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
18097 * math/auto-libm-test-in: Add tests of sub.
18098 * math/auto-libm-test-out-narrow-sub: New generated file.
18099 * math/libm-test-narrow-sub.inc: New file.
18100 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
18103 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
18104 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
18105 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
18114 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
18115 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
18116 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
18117 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
18118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18119 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18147 2018-03-19 Joseph Myers <joseph@codesourcery.com>
18150 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
18152 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
18154 * benchtests/bench-timing.h (attribute_hidden): Undefine.
18156 2018-03-18 Richard Braun <rbraun@sceen.net>
18158 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
18161 2018-03-18 Agustina Arzille <avarzille@riseup.net>
18163 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
18164 (__libc_cleanup_fct): Define function.
18165 (__libc_cleanup_region_start, __libc_cleanup_region_end,
18166 __libc_cleanup_end): Rewrite implementation using
18167 __attribute__ ((__cleanup__)).
18168 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
18169 * hurd/Makefile (routines): Add hurdlock.
18170 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
18172 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
18173 * hurd/hurdpid.c: Include <lowlevellock.h>
18174 (_S_msg_proc_newids): Use lll_wait to synchronize.
18175 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
18176 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
18177 * mach/Makefile (lock-headers): Remove machine-lock.h.
18178 * mach/lock-intern.h: Include <lowlevellock.h> instead of
18180 (__spin_lock_t): New type.
18181 (__SPIN_LOCK_INITIALIZER): New macro.
18182 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
18183 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
18184 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
18185 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
18186 (__mutex_init): Initialize with lll.
18187 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
18188 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
18190 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18191 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
18192 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
18193 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
18194 (__setpgid): Use lll for synchronization.
18195 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
18196 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
18197 instead of <cthreads.h>.
18198 (_IO_lock_inexpensive): New macro
18199 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
18200 (__libc_lock_self0): New declaration.
18201 (__libc_lock_owner_self): New macro.
18202 (__libc_key_t): Remove type.
18203 (_LIBC_LOCK_INITIALIZER): New macro.
18204 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
18205 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
18206 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
18207 __libc_lock_define_initialized_recursive,
18208 __rtld_lock_define_initialized_recursive,
18209 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
18210 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
18211 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
18212 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
18213 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
18214 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
18215 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
18217 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
18218 * hurd/hurdlock.c: New file.
18219 * hurd/hurdlock.h: New file.
18220 * mach/lowlevellock.h: New file
18222 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18224 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
18225 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
18226 when opening a symlink with O_NOFOLLOW.
18227 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
18228 path when flags contains O_NOFOLLOW.
18229 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
18230 if flags contains O_DIRECTORY and the result is a directory.
18231 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
18232 oneself when the pointer given in D is nul (as set by ext2fs).
18233 * sysdeps/mach/hurd/mlockall.c: New file.
18234 * sysdeps/mach/hurd/munlockall.c: New file.
18236 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18238 * hurd/hurdsig.c: Include <pthread.h>.
18239 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
18240 get the signal thread stack layout.
18241 * hurd/Makefile (headers): Remove threadvar.h.
18242 (inline-headers): Remove threadvar.h.
18243 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
18244 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
18245 __hurd_threadvar_max, __hurd_errno_location.
18246 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
18247 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
18248 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
18249 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
18250 unless TLS is not initialized yet, in which case we do not need a
18251 critical section yet anyway.
18252 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
18254 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
18256 (__hurd_threadvar_index): Remove enum.
18257 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
18258 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18260 (__hurd_reply_port0): New variable declaration.
18261 (__hurd_local_reply_port): New macro.
18262 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18263 (interrupted_reply_port_location): Add thread_t parameter. Use it
18264 with THREAD_TCB to access thread-local variables.
18265 (_hurdsig_abort_rpcs): Pass ss->thread to
18266 interrupted_reply_port_location.
18267 (_hurd_internal_post_signal): Likewise.
18268 (_hurdsig_init): Use presence of cthread_fork instead of
18269 __hurd_threadvar_stack_mask to start signal thread by hand.
18270 Remove signal thread threadvar initialization.
18271 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18272 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18273 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18275 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18277 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18278 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18279 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18280 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18281 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18282 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18283 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18285 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18286 <hurd/threadvar.h>.
18287 [IS_IN(rtld)] (rtld_errno): New variable.
18288 [IS_IN(rtld)] (__errno_location): New weak function.
18289 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18290 * sysdeps/mach/hurd/errno.c: Remove file.
18291 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18292 (__fork): Remove THREADVAR_SPACE macro and its use.
18293 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18295 (init): Do not initialize threadvar.
18296 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18298 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18299 __hurd_local_reply_port instead of threadvar.
18300 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18301 _hurd_sigstate fields.
18302 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18303 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18304 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18305 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18306 instead of threadvar.
18307 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18308 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18309 (use_threadvar, global_reply_port): Remove variables.
18310 (__hurd_reply_port0): New variable.
18311 (__mig_get_reply_port): Use __hurd_local_reply_port and
18312 __hurd_reply_port0 instead of threadvar.
18313 (__mig_dealloc_reply_port): Likewise.
18314 (__mig_init): Do not initialize threadvar.
18315 * sysdeps/mach/hurd/profil.c: Fix comment.
18316 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18317 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18318 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18319 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18320 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18321 __cthread_setspecific.
18322 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18323 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18324 __cthread_t instead of cthread_fork, cthread_detach,
18325 pthread_getattr_np, pthread_attr_getstack.
18326 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18327 __cthread_keycreate.
18328 (cthread_getspecific): Rename to __cthread_getspecific.
18329 (cthread_setspecific): Rename to __cthread_setspecific.
18330 (__libc_getspecific): Use __cthread_getspecific instead of
18331 cthread_getspecific.
18332 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18333 __cthread_keycreate instead of cthread_keycreate.
18334 (__libc_setspecific): Use __cthread_setspecific instead of
18335 cthread_setspecific.
18336 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18339 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18340 testing whether it is defined.
18342 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18344 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18346 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18347 * sysdeps/mach/i386/thread_state.h
18348 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18350 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18352 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18354 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18355 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18357 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18359 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18360 descriptor instead of creating a new one.
18361 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18363 * mach/setup-thread.c: Include <ldsodefs.h>.
18364 (__mach_setup_thread): Call _dl_allocate_tls, pass
18365 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18366 MACHINE_THREAD_STATE_FLAVOR, before getting
18367 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18368 MACHINE_THREAD_STATE_FLAVOR with the result.
18369 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18370 MACHINE_THREAD_STATE_FIX_NEW.
18371 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18372 too. Add original thread parameter.
18374 2018-03-16 Joseph Myers <joseph@codesourcery.com>
18376 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18377 Remove inline function.
18379 * sysdeps/i386/fpu/libm-test-ulps: Update.
18380 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18382 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18384 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18387 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18389 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18390 (__sincos_code): Remove define and undefine.
18391 [__FAST_MATH__] (__sincos): Remove inline function.
18392 [__FAST_MATH__] (__sincosf): Remove inline function.
18393 [__FAST_MATH__] (__sincosl): Remove inline function.
18394 (__atan2l): Remove inline functions.
18395 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18396 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18398 (floor): Remove inline function.
18400 [__FAST_MATH__] (__ldexp_code): Remove macro.
18401 [__FAST_MATH__] (ldexp): Remove inline function.
18402 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18403 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18404 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18405 [__USE_ISOC99] (__lrint_code): Remove macro.
18406 [__USE_ISOC99] (__llrint_code): Likewise.
18407 [__USE_ISOC99] (lrintf): Remove inline function.
18408 [__USE_ISOC99] (lrint): Likewise.
18409 [__USE_ISOC99] (lrintl): Likewise.
18410 [__USE_ISOC99] (llrint): Likewise.
18411 [__USE_ISOC99] (llrintf): Likewise.
18412 [__USE_ISOC99] (llrintl): Likewise.
18414 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18416 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18417 (__ieee754_sqrtf): Remove.
18418 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18419 (__ieee754_sqrtf): Remove.
18420 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18421 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18422 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18423 (__ieee754_sqrtf): Remove.
18424 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18425 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18428 (__ieee754_sqrt): Remove.
18429 (__ieee754_sqrtf): Remove.
18430 (__ieee754_sqrtl): Remove.
18431 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18432 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18433 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18434 (__ieee754_sqrtf): Remove.
18435 (__ieee754_sqrtl): Remove.
18437 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18439 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18440 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18441 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18442 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18443 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18444 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18445 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18446 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18448 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18449 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18450 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18451 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18452 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18453 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18454 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18455 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18456 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18457 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18458 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18459 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18460 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18461 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18462 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18463 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18464 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18465 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18466 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18467 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18468 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18469 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18470 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18471 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18472 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18473 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18475 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18477 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18478 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18479 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18480 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18481 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18482 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18483 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18484 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18485 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18486 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18487 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18489 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18491 * include/math.h (sqrt): Declare with asm redirect.
18494 (sqrtf128): Likewise.
18495 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18496 nonlib and libnldbl with -fmath-errno.
18497 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18498 * math/w_sqrt_template.c: Likewise.
18499 * math/w_sqrtf_compat.c: Likewise.
18500 * math/w_sqrtl_compat.c: Likewise.
18501 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18502 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18503 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18506 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18508 * benchtests/Makefile: Define _ISOMAC.
18509 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18510 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18511 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18512 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18513 * benchtests/bench-timing.h: Define attribute_hidden.
18515 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18517 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18520 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18523 * localedata/locales/cs_CZ (mon): Rename to...
18525 (mon): Import from CLDR (genitive case).
18527 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18530 * localedata/locales/el_CY (abmon): Rename to...
18531 (ab_alt_mon): This.
18532 (abmon): Import from CLDR (abbreviated genitive case).
18533 * localedata/locales/el_GR (abmon): Rename to...
18534 (ab_alt_mon): This.
18535 (abmon): Import from CLDR (abbreviated genitive case).
18537 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18540 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18542 2018-03-15 Robert Buj <robert.buj@gmail.com>
18545 * localedata/locales/ca_ES (abmon): Rename to...
18546 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18547 (mon): Rename to...
18549 (abmon): Import from CLDR (genitive case, month names preceded by
18552 (abday): Synchronize with CLDR.
18553 (d_t_fmt): Likewise.
18557 (LC_TIME): Improve indentation.
18558 (LC_TELEPHONE): Likewise.
18559 (LC_NAME): Likewise.
18560 (LC_ADDRESS): Likewise.
18562 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18564 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18565 (lrintf): Remove definitions used only with old GCC.
18566 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18567 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18568 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18569 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18570 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18571 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18572 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18573 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18574 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18575 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18576 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18577 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18578 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18579 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18580 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18581 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18582 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18583 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18584 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18585 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18586 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18587 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18588 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18589 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18590 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18591 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18592 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18593 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18595 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18597 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18598 instruction to unbreak builds with binutils 2.26 and older.
18600 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18602 * sysdeps/aarch64/strncmp.S (count): New macro.
18603 (strncmp): Store misaligned length in SRC1 in COUNT.
18604 (mutual_align): Adjust.
18605 (misaligned8): Load dword at a time when it is safe.
18607 2018-03-12 Zack Weinberg <zackw@panix.com>
18611 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18612 if the _IO_EOF_SEEN bit is already set; update commentary.
18613 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18614 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18616 * support/support_openpty.c, support/tty.h: New files.
18617 * support/Makefile (libsupport-routines): Add support_openpty.
18619 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18621 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18622 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18624 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18626 * po/pt_BR.po: Update translations.
18628 2018-03-12 David Michael <fedora.dm0@gmail.com>
18630 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18631 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18632 get a port to the startup server.
18634 2018-03-11 Zack Weinberg <zackw@panix.com>
18636 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18637 before nldbl-compat.h.
18639 2018-03-10 Zack Weinberg <zackw@panix.com>
18641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18642 math.h or math_private.h.
18644 * sysdeps/alpha/fpu/s_isnan.c
18645 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18646 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18647 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18648 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18649 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18650 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18651 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18652 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18653 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18656 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18657 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18658 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18659 Include math_private.h.
18661 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18662 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18663 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18664 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18665 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18666 * sysdeps/powerpc/power7/fpu/s_logb.c:
18667 Include math.h and math_private.h.
18669 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18670 uses of $at in .set noat / .set at.
18672 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18674 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18675 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18676 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18680 2018-03-09 Florian Weimer <fweimer@redhat.com>
18682 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18685 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18688 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18689 Add nop before __startcontext, add explaining comments.
18691 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18694 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18696 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18697 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18698 Do not build hardware transactional code for __SPE__.
18699 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18700 (__lll_trylock_elision): Likewise.
18701 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18702 (__lll_unlock_elision): Likewise.
18704 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18705 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18706 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18707 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18708 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18709 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18710 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18711 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18712 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18713 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18714 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18715 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18716 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18717 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18718 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18719 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18720 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18721 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18722 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18723 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18724 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18725 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18726 (__ASSUME_CLONE_BACKWARDS): Define.
18727 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18728 __clone2 if __NR_clone2 is defined.
18729 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18730 (__ASSUME_CLONE_BACKWARDS): Likewise.
18731 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18732 (__ASSUME_CLONE_BACKWARDS): Likewise.
18733 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18734 (__ASSUME_CLONE2): Likewise.
18735 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18736 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18737 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18738 variants and the define architecture can use.
18739 (__ASSUME_CLONE_DEFAULT): Define as default.
18740 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18741 (__ASSUME_CLONE_BACKWARDS): Likewise.
18742 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18743 (__ASSUME_CLONE_BACKWARDS): Likewise.
18744 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18745 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18747 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18749 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18751 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18754 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18755 (do_test_limit): Likewise.
18757 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18758 for every implementation.
18759 (do_test): Likewise.
18761 * benchtests/bench-strncmp.c: Convert output to json.
18763 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18765 * io/futimens.c: Add missing start-of-file descriptive comment.
18766 * io/utime.c: Likewise.
18767 * misc/futimesat.c: Likewise.
18768 * misc/utimes.c: Likewise.
18769 * sysdeps/mach/hurd/futimesat.c: Likewise.
18770 * sysdeps/mach/hurd/utimes.c: Likewise.
18771 * sysdeps/posix/utime.c: Likewise.
18772 * sysdeps/posix/utimes.c: Likewise.
18773 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18774 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18775 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18776 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18778 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18780 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18782 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18783 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18784 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18785 (__futimens): Move implementation to...
18786 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18787 utime_tvalue_from_tspec): ... new helper functions.
18788 (hurd_futimens): New function.
18789 * sysdeps/mach/hurd/futimesat.c: New file.
18790 * sysdeps/mach/hurd/utimensat.c: New file.
18792 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18794 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18795 UTIME_OMIT): New macros.
18796 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18797 before reverting to converting time spec to time value and calling
18799 * sysdeps/mach/hurd/utime-helper.c: New file.
18800 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18801 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18802 reverting to utime_tvalue_from_tval and __file_utimes.
18803 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18804 (__lutimes): Just call hurd_futimens after lookup.
18805 * sysdeps/mach/hurd/utimes.c: Likewise.
18807 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18809 * bits/sigaction.h: Add include guard.
18810 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18811 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18812 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18813 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18814 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18815 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18816 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18817 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18818 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18820 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18822 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18823 -Wmaybe-uninitialized for -Os.
18824 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18827 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18829 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18830 __INO_T_MATCHES_INO64_T is defined.
18831 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18832 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18834 * dirent/alphasort64.c: Likewise.
18835 * dirent/scandir.c: Likewise.
18836 * dirent/scandir64-tail.c: Likewise.
18837 * dirent/scandir64.c: Likewise.
18838 * dirent/scandirat.c: Likewise.
18839 * dirent/scandirat64.c: Likewise.
18840 * dirent/versionsort.c: Likewise.
18841 * dirent/versionsort64.c: Likewise.
18842 * include/dirent.h: Likewise.
18844 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18845 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18846 for socketpair endpoint.
18847 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18848 WRITE_BUFFER_SIZE as buffer size for sending socket.
18849 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18850 issue on system where send is implemented with sendto syscall.
18851 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18852 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18853 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18854 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18857 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18858 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18859 sa_restorer for vDSO case.
18860 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18862 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18864 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18865 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18866 * hurd/hurd/ioctl.h: Include <mach/port.h>
18867 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18868 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18869 <mach/mach_types.h> and <mach/message.h>.
18870 (headers): Move mach/param.h to bits/mach/param.h.
18871 * sysdeps/mach/i386/mach/param.h: Move file to ...
18872 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18873 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18875 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18876 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18877 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18878 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18879 trivial, for C++ conformity.
18880 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18881 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18882 Process mig output through $(migheadersed).
18883 * hurd/Makefile (migheadersed): Define variable.
18884 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18885 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18887 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18888 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18889 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18890 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18891 <bits/types/sigset_t.h>.
18892 [!defined __USE_GNU]: Do not #error out.
18893 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18894 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18895 Include <stddef.h> and <bits/types/sigset_t.h>
18896 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18897 instead of sighandler_t.
18898 * stdlib/errno.h (error_t): Move definition to...
18899 * bits/types/error_t.h: ... new header.
18900 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18901 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18902 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18903 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18904 * hurd/hurd.h: Include <bits/types/error_t.h>
18905 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18906 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18907 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18908 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18909 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18910 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18911 * sysdeps/mach/hurd/futimens.c: New file.
18913 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18916 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18917 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18918 * nscd/gai.c (__nss_hosts_database): Readd definition.
18919 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18920 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18921 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18923 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18925 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18926 (ifunc_one): Likewise.
18928 2018-03-01 DJ Delorie <dj@delorie.com>
18931 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18934 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18936 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18937 `match_pid' parameter.
18938 (td_ta_thr_iter): Update accordingly.
18940 2018-03-01 Florian Weimer <fweimer@redhat.com>
18942 * nptl/Makefile (install-lib-ldscripts): Remove.
18943 (install): Remove rule.
18944 ($(inst_libdir)/libpthread.so): Likewise.
18946 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18949 * localedata/locales/an_ES: update month and day names,
18950 improve d_fmt, improve postal_fmt, add country_post,
18953 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18955 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18956 Ukrainian instead of Bulgarian.
18958 2018-03-01 Florian Weimer <fweimer@redhat.com>
18960 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18963 2018-03-01 Florian Weimer <fweimer@redhat.com>
18965 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18966 * nptl/Makefile (routines): Add pthread_atfork.
18967 (static-only-routines): Set to pthread_atfork.
18968 (libpthread-routines): Remove pthread_atfork.
18969 (libpthread-static-only-routines): Remove.
18970 (install): Update comment.
18971 (libpthread.so): Do not install libpthread_nonshared.a.
18972 (tests): Do not link with libpthread_nonshared.a.
18973 (generated): Remove libpthread_nonshared.a.
18974 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18975 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18976 with libpthread_nonshared.a.
18978 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18981 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18982 (libc_feholdexcept_setroundf128): New macro.
18983 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18986 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18988 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18989 * include/inttypes.h: New file.
18991 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18993 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18994 -Os in two more places.
18996 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18998 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18999 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19000 be sorted correctly at the moment because of a bug.
19002 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19004 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19005 treat ñ as a primary different character, sync the collation
19006 for Spanish with CLDR.
19007 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19008 * localedata/Makefile: Add new test files.
19009 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19010 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19012 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19013 * localedata/am_ET.UTF-8.in: New test file.
19014 * localedata/az_AZ.UTF-8.in: Likewise.
19015 * localedata/be_BY.UTF-8.in: Likewise.
19016 * localedata/ber_DZ.UTF-8.in: Likewise.
19017 * localedata/ber_MA.UTF-8.in: Likewise.
19018 * localedata/bg_BG.UTF-8.in: Likewise.
19019 * localedata/br_FR.UTF-8.in: Likewise.
19020 * localedata/cmn_TW.UTF-8.in: Likewise.
19021 * localedata/crh_UA.UTF-8.in: Likewise.
19022 * localedata/csb_PL.UTF-8.in: Likewise.
19023 * localedata/cv_RU.UTF-8.in: Likewise.
19024 * localedata/cy_GB.UTF-8.in: Likewise.
19025 * localedata/dz_BT.UTF-8.in: Likewise.
19026 * localedata/eo.UTF-8.in: Likewise.
19027 * localedata/es_ES.UTF-8.in: Likewise.
19028 * localedata/fa_IR.UTF-8.in: Likewise.
19029 * localedata/fi_FI.UTF-8.in: Likewise.
19030 * localedata/fil_PH.UTF-8.in: Likewise.
19031 * localedata/fur_IT.UTF-8.in: Likewise.
19032 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19033 * localedata/ha_NG.UTF-8.in: Likewise.
19034 * localedata/ig_NG.UTF-8.in: Likewise.
19035 * localedata/ik_CA.UTF-8.in: Likewise.
19036 * localedata/kk_KZ.UTF-8.in: Likewise.
19037 * localedata/ku_TR.UTF-8.in: Likewise.
19038 * localedata/ky_KG.UTF-8.in: Likewise.
19039 * localedata/ln_CD.UTF-8.in: Likewise.
19040 * localedata/mi_NZ.UTF-8.in: Likewise.
19041 * localedata/ml_IN.UTF-8.in: Likewise.
19042 * localedata/mn_MN.UTF-8.in: Likewise.
19043 * localedata/mr_IN.UTF-8.in: Likewise.
19044 * localedata/mt_MT.UTF-8.in: Likewise.
19045 * localedata/nb_NO.UTF-8.in: Likewise.
19046 * localedata/om_KE.UTF-8.in: Likewise.
19047 * localedata/os_RU.UTF-8.in: Likewise.
19048 * localedata/ps_AF.UTF-8.in: Likewise.
19049 * localedata/ro_RO.UTF-8.in: Likewise.
19050 * localedata/ru_RU.UTF-8.in: Likewise.
19051 * localedata/sc_IT.UTF-8.in: Likewise.
19052 * localedata/se_NO.UTF-8.in: Likewise.
19053 * localedata/sq_AL.UTF-8.in: Likewise.
19054 * localedata/sv_SE.UTF-8.in: Likewise.
19055 * localedata/szl_PL.UTF-8.in: Likewise.
19056 * localedata/tg_TJ.UTF-8.in: Likewise.
19057 * localedata/tk_TM.UTF-8.in: Likewise.
19058 * localedata/tt_RU.UTF-8.in: Likewise.
19059 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
19060 * localedata/ug_CN.UTF-8.in: Likewise.
19061 * localedata/uz_UZ.UTF-8.in: Likewise.
19062 * localedata/vi_VN.UTF-8.in: Likewise.
19063 * localedata/yi_US.UTF-8.in: Likewise.
19064 * localedata/yo_NG.UTF-8.in: Likewise.
19065 * localedata/zh_CN.UTF-8.in: Likewise.
19066 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
19067 file and fix bugs in the collation.
19068 * localedata/locales/az_AZ: Likewise.
19069 * localedata/locales/be_BY: Likewise.
19070 * localedata/locales/ber_DZ: Likewise.
19071 * localedata/locales/ber_MA: Likewise.
19072 * localedata/locales/bg_BG: Likewise.
19073 * localedata/locales/br_FR: Likewise.
19074 * localedata/locales/br_FR@euro: Likewise.
19075 * localedata/locales/ca_ES: Likewise.
19076 * localedata/locales/cns11643_stroke: Likewise.
19077 * localedata/locales/crh_UA: Likewise.
19078 * localedata/locales/cs_CZ: Likewise.
19079 * localedata/locales/csb_PL: Likewise.
19080 * localedata/locales/cv_RU: Likewise.
19081 * localedata/locales/cy_GB: Likewise.
19082 * localedata/locales/da_DK: Likewise.
19083 * localedata/locales/dz_BT: Likewise.
19084 * localedata/locales/en_CA: Likewise.
19085 * localedata/locales/eo: Likewise.
19086 * localedata/locales/es_CU: Likewise.
19087 * localedata/locales/es_EC: Likewise.
19088 * localedata/locales/es_ES: Likewise.
19089 * localedata/locales/es_US: Likewise.
19090 * localedata/locales/et_EE: Likewise.
19091 * localedata/locales/fa_IR: Likewise.
19092 * localedata/locales/fi_FI: Likewise.
19093 * localedata/locales/fil_PH: Likewise.
19094 * localedata/locales/fur_IT: Likewise.
19095 * localedata/locales/gez_ER@abegede: Likewise.
19096 * localedata/locales/ha_NG: Likewise.
19097 * localedata/locales/hr_HR: Likewise.
19098 * localedata/locales/hsb_DE: Likewise.
19099 * localedata/locales/hu_HU: Likewise.
19100 * localedata/locales/ig_NG: Likewise.
19101 * localedata/locales/ik_CA: Likewise.
19102 * localedata/locales/is_IS: Likewise.
19103 * localedata/locales/iso14651_t1_pinyin: Likewise.
19104 * localedata/locales/kk_KZ: Likewise.
19105 * localedata/locales/ku_TR: Likewise.
19106 * localedata/locales/ky_KG: Likewise.
19107 * localedata/locales/ln_CD: Likewise.
19108 * localedata/locales/lt_LT: Likewise.
19109 * localedata/locales/lv_LV: Likewise.
19110 * localedata/locales/mi_NZ: Likewise.
19111 * localedata/locales/ml_IN: Likewise.
19112 * localedata/locales/mn_MN: Likewise.
19113 * localedata/locales/mr_IN: Likewise.
19114 * localedata/locales/mt_MT: Likewise.
19115 * localedata/locales/nb_NO: Likewise.
19116 * localedata/locales/om_KE: Likewise.
19117 * localedata/locales/os_RU: Likewise.
19118 * localedata/locales/pl_PL: Likewise.
19119 * localedata/locales/ps_AF: Likewise.
19120 * localedata/locales/ro_RO: Likewise.
19121 * localedata/locales/ru_RU: Likewise.
19122 * localedata/locales/ru_UA: Likewise.
19123 * localedata/locales/sc_IT: Likewise.
19124 * localedata/locales/se_NO: Likewise.
19125 * localedata/locales/si_LK: Likewise.
19126 * localedata/locales/sq_AL: Likewise.
19127 * localedata/locales/sv_FI: Likewise.
19128 * localedata/locales/sv_FI@euro: Likewise.
19129 * localedata/locales/sv_SE: Likewise.
19130 * localedata/locales/szl_PL: Likewise.
19131 * localedata/locales/tg_TJ: Likewise.
19132 * localedata/locales/ti_ER: Likewise.
19133 * localedata/locales/tk_TM: Likewise.
19134 * localedata/locales/tl_PH: Likewise.
19135 * localedata/locales/tr_TR: Likewise.
19136 * localedata/locales/tt_RU: Likewise.
19137 * localedata/locales/tt_RU@iqtelif: Likewise.
19138 * localedata/locales/ug_CN: Likewise.
19139 * localedata/locales/uk_UA: Likewise.
19140 * localedata/locales/uz_UZ: Likewise.
19141 * localedata/locales/uz_UZ@cyrillic: Likewise.
19142 * localedata/locales/vi_VN: Likewise.
19143 * localedata/locales/yi_US: Likewise.
19144 * localedata/locales/yo_NG: Likewise.
19146 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19148 * gen-locales.mk: Make test files which contain @ modifiers in their
19150 * localedata/gen-locale.sh: Likewise.
19152 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19154 * posix/tst-fnmatch.input: Fix results for range expressions
19156 * posix/tst-regexloc.c: Do not use a range expression for
19157 de_DE.ISO-8859-1 locale.
19159 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19161 * posix/bug-regex5.c: Fix test case because with the new
19162 iso14651_t1_common file, the da_DK locale now has 6 collating elements
19163 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
19166 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19168 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
19169 downloaded from ISO, the collation order of @-. and space has changed.
19170 Therefore, this test file needed to be adapted.
19171 * localedata/fr_CA.UTF-8.in: Likewise.
19172 * localedata/fr_FR.UTF-8.in: Likewise.
19173 * localedata/uk_UA.UTF-8.in: Likewise.
19175 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19177 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
19178 order of ȥ in the new iso14651_t1_common file.
19179 * localedata/pl_PL.UTF-8.in: Likewise.
19181 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19183 * localedata/locales/iso14651_t1_common: Add sections for various
19184 scripts to the iso14651_t1_common file.
19186 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19188 * localedata/locales/iso14651_t1_common: Use the code point of a
19189 character in the fourth collation level instead of IGNORE for all
19190 entries which have IGNORE on all 4 levels.
19192 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19194 * localedata/locales/iso14651_t1_common: Add some convenient collation
19195 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
19196 rules similar to those in CLDR.
19198 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19200 * localedata/locales/iso14651_t1_common: The new version of this
19201 file downloaded from ISO contained several syntax errors which
19202 are fixed by this patch.
19204 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19206 * localedata/locales/iso14651_t1_common: replace all <U.....>
19207 with <U000.....> because glibc understands only 4 digit or 8 digit
19209 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19211 * localedata/locales/iso14651_t1_common: Necessary changes
19212 to make the file downloaded from ISO usable by glibc.
19214 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19217 * localedata/locales/iso14651_t1_common: Update file to
19218 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
19220 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19222 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
19223 of <nptl/pthreadP.h>
19224 (thread_attr_compare): Move function to...
19225 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
19226 * sysdeps/nptl/timer_routines.h: ... new header.
19227 * sysdeps/mach/hurd/gai_misc.h: New file.
19229 2018-02-26 Joseph Myers <joseph@codesourcery.com>
19231 * string/strcoll_l.c: Include <libc-diag.h>.
19232 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
19233 declarations of seq1 and seq2.
19236 * stdlib/atoi.c (atoi): Use libc_hidden_def.
19237 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
19239 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
19243 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
19244 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
19245 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
19246 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
19247 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
19248 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
19250 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
19253 macros used in __ptrace_request.
19255 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
19258 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19260 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19261 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19262 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19265 2018-02-23 Joseph Myers <joseph@codesourcery.com>
19268 * ctype/ctype.c (tolower): Use libc_hidden_def.
19269 (toupper): Likewise.
19270 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19271 [!_ISOMAC] (toupper): Likewise.
19273 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19275 * localedata/Makefile: Remove --quiet argument when
19278 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19281 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19283 * localedata/locales/pt_PT (LC_TIME): likewise
19285 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19288 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19289 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19290 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19292 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19296 * nptl/Makefile (routines): Remove unregister-atfork.
19297 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19298 (fork_handler_alloc): Remove function.
19299 (fork_handlers, fork_handler_init): New variables.
19300 (__fork_lock): Rename to atfork_lock.
19301 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19302 to use a dynamic array to add/remove atfork handlers.
19303 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19304 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19305 Remove declaration.
19306 (fork_handler): Remove next, refcntr, and need_signal member.
19307 (__run_fork_handler_type): New enum.
19308 (__run_fork_handlers): New prototype.
19309 * nptl/register-atfork.c: Remove file.
19310 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19312 * sysdeps/nptl/nptl-signals.h: Move to ...
19313 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19315 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19316 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19317 unnecessary check for SIGTIMER.
19318 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19319 remove unnecessary removal of SIGTIMER.
19320 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19321 include-signals.h rename.
19322 * nptl/pthreadP.h: Likewise.
19323 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19324 __is_internal_signal instead of __nptl_is_internal_signal.
19326 2018-02-22 Andrew Waterman <andrew@sifive.com>
19329 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19330 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19331 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19332 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19334 2018-02-22 DJ Delorie <dj@delorie.com>
19336 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19338 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19340 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19341 do_misaligned, not misaligned8.
19343 2018-02-22 Steve Ellcey <sellcey@cavium.com>
19345 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19346 Add memcpy_thunderx2.
19347 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19349 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19350 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19351 and IS_THUNDERX2PA checks.
19352 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19353 Use macro to set name appropriately.
19354 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19355 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19356 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19358 (IS_THUNDERX2): New macro.
19360 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19362 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19364 2018-02-21 Zack Weinberg <zackw@panix.com>
19366 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19367 Define here, unconditionally.
19368 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19369 * libio/libioP.h: Remove #if 0 blocks.
19370 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19371 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19372 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19374 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19375 Assume weak_alias is always defined.
19377 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19378 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19379 Remove #if 0 and #ifdef TODO blocks.
19380 Assume text_set_element is always defined.
19382 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19383 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19384 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19386 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19387 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19388 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19389 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19390 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19391 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19392 Reformat bit flags for _flags field to make occupancy clearer.
19394 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19395 Keep definitions consistent with those in libio/libio.h.
19397 * libio/libio.h (_IO_file_flags): Remove macro.
19398 All uses changed to _flags.
19400 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19401 (__HAVE_COLUMN, _IO_BE): Don't define.
19402 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19403 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19404 * libio/libioP.h (EOF): Don't define.
19405 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19406 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19407 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19408 testing _IO_UNIFIED_JUMPTABLES.
19410 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19411 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19412 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19413 (_IO_size_t): Delete; all uses changed to size_t.
19414 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19415 (_IO_off_t): Delete; all uses changed to off_t.
19416 (_IO_off64_t): Delete; all uses changed to off64_t.
19417 (_IO_pid_t): Delete; all uses changed to pid_t.
19418 (_IO_uid_t): Delete; all uses changed to uid_t.
19419 (_IO_wint_t): Delete; all uses changed to wint_t.
19420 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19421 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19422 (_IO_cookie_io_functions_t): Delete; all uses changed to
19423 cookie_io_functions_t.
19424 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19425 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19426 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19427 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19429 * libio/iofopncook.c: Remove unnecessary forward declarations.
19430 * libio/iolibio.h: Correct outdated commentary.
19431 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19432 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19433 Remove unnecessary casts.
19434 * stdio-common/getline.c: Use _IO_getdelim directly.
19435 Don't redefine ssize_t.
19436 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19437 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19438 Remove outdated comments.
19439 * stdio-common/vfscanf.c: Don't redefine va_list.
19441 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19442 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19443 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19444 which are always true, and __cplusplus, which is always false.
19446 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19450 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19451 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19452 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19453 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19455 [!_ISOMAC] (putc_unlocked): Likewise.
19456 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19457 define inline if [__USE_EXTERN_INLINES].
19458 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19463 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19464 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19465 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19466 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19467 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19469 * time/tzfile.c (__tzfile_read): Likewise.
19471 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19474 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19476 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19478 * io/fcntl.h: Fix a typo in a comment.
19480 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19483 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19484 define _DEFAULT_SOURCE.
19485 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19487 2018-02-21 Florian Weimer <fweimer@redhat.com>
19490 * elf/cache.c (save_cache): Call fsync on temporary file before
19492 (save_aux_cache): Call fdatasync on temporary file before renaming
19495 2018-02-21 Florian Weimer <fweimer@redhat.com>
19498 * include/caller.h: Remove file.
19499 * elf/dl-caller.c: Likewise.
19500 * elf/Makefile (dl-routines): Remove dl-caller.
19501 (shared-only-routines): Do not add dl-caller.
19502 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19504 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19506 (dl_open_worker): Do not call __check_caller.
19507 (_dl_open): Do not set caller_dl_open member.
19508 * elf/rtld.c (_rtld_global_ro): Do not initialize
19509 _dl_check_caller member.
19510 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19511 _dl_check_caller member.
19512 (_dl_check_caller): Remove declaration.
19513 * sysdeps/unix/sysv/linux/dl-execstack.c
19514 (_dl_make_stack_executable): Do not call __check_caller.
19516 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19518 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19519 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19521 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19523 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19526 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19529 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19530 of 199606L, 200112L, and 200809L.
19531 (_XOPEN_SOURCE): Document special values of 600 and 700.
19532 (_ISOC11_SOURCE): Document macro.
19533 (_ATFILE_SOURCE): Likewise.
19534 (_FORTIFY_SOURCE): Likewise.
19536 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19540 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19541 and define as weak alias of __ferror_unlocked. Use
19543 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19545 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19546 function if [__USE_EXTERN_INLINES].
19547 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19550 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19553 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19555 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19558 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19559 the GLIBC_2.1 version.
19561 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19564 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19565 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19566 intl/tst-gettext-de.po from po/de.po by removing the
19567 POT-Creation-Date line.
19568 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19570 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19573 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19575 * mach/Makefile (headers): Add mach/param.h.
19576 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19577 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19578 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19579 (__ptsname_r): Move implementation to...
19580 (__ptsname_internal): ... new function. Add filling the STP
19583 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19585 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19588 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19590 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19593 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19595 * nptl/Makefile (tst-mutex8-ENV): Delete.
19596 * nptl/tst-mutex8.c (check_type):
19597 Add runtime check if mutex will be elided.
19599 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19603 * manual/install.texi (Configuring and compiling): Describe
19604 passing CC and CFLAGS on configure command line, not as
19605 environment variables. Use @code markup on those variables.
19606 Specify what options go in CC and what go in CFLAGS. Note the
19607 requirement to compile with optimization.
19608 * INSTALL: Regenerated.
19611 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19612 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19613 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19614 __sigprocmask instead of sigprocmask.
19615 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19617 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19618 __sigsetjmp and sigprocmask.
19621 * include/argz.h (argz_next): Use libc_hidden_proto.
19622 (__argz_next): Likewise.
19623 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19624 (argz_next): Use libc_hidden_weak.
19627 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19629 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19633 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19635 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19639 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19640 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19641 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19642 (__feof_unlocked): New declaration, and inline function if
19643 [__USE_EXTERN_INLINES].
19644 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19645 instead of feof_unlocked.
19646 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19647 * nss/nsswitch.c (nss_parse_file): Likewise.
19648 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19650 * time/getdate.c (__getdate_r): Likewise.
19651 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19652 Define as macro to call __feof_unlocked.
19654 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19656 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19658 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19660 * math/Makefile: Remove mpexp.c and mplog.c
19661 * sysdeps/i386/fpu/mpexp.c: Delete file.
19662 * sysdeps/i386/fpu/mplog.c: Likewise.
19663 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19664 * sysdeps/ia64/fpu/mplog.c: Likewise.
19665 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19666 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19667 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19668 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19669 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19670 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19671 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19672 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19673 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19674 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19675 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19676 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19677 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19678 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19679 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19680 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19682 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19684 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19686 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19688 * sysdeps/sh/libm-test-ulps: Update.
19690 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19692 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19695 2018-02-12 Zack Weinberg <zackw@panix.com>
19698 * posix/sys/types.h: Don't include sys/sysmacros.h.
19699 * misc/sys/sysmacros.h: Remove the conditional deprecation
19700 warnings for the macros defined by this header.
19702 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19704 * manual/probes.texi: Remove slowexp probes.
19705 * math/Makefile: Remove slowexp.
19706 * sysdeps/generic/math_private.h (__slowexp): Remove.
19707 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19708 document error bounds.
19709 * sysdeps/i386/fpu/slowexp.c: Remove.
19710 * sysdeps/ia64/fpu/slowexp.c: Remove.
19711 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19712 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19713 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19714 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19715 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19716 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19717 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19718 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19719 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19720 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19721 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19723 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19726 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19727 * benchtests/pow-inputs: Update comment for slow path cases.
19728 * manual/probes.texi (slowpow_p10): Delete removed probe.
19729 (slowpow_p10): Likewise.
19730 * math/Makefile: Remove halfulp.c and slowpow.c.
19731 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19732 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19733 (__halfulp): Remove.
19734 (__slowpow): Remove.
19735 * sysdeps/i386/fpu/halfulp.c: Delete file.
19736 * sysdeps/i386/fpu/slowpow.c: Likewise.
19737 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19738 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19740 improve comments and add error analysis.
19741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19742 (power1): Remove function:
19743 (log1): Remove error argument, add error analysis.
19744 (my_log2): Remove function.
19745 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19746 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19747 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19748 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19749 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19750 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19751 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19752 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19753 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19754 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19755 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19756 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19757 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19758 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19760 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19762 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19763 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19765 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19768 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19769 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19770 and PTRACE_SETHBPREGS.
19772 2018-02-10 Zack Weinberg <zackw@panix.com>
19775 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19777 * malloc/tst-malloc-stats-cancellation.c: New test case.
19778 * malloc/Makefile: Add new test case.
19780 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19782 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19784 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19786 * math/Makefile (libm-narrow-fns): Add add.
19787 (libm-test-funcs-narrow): Likewise.
19788 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19789 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19790 * math/gen-auto-libm-tests.c (test_functions): Add add.
19791 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19792 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19793 (NARROW_ADD_TRIVIAL): Likewise.
19794 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19796 (__daddl): Likewise.
19797 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19799 (CFLAGS-nldbl-dadd.c): New variable.
19800 (CFLAGS-nldbl-fadd.c): Likewise.
19801 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19803 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19805 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19806 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19807 * math/auto-libm-test-in: Add tests of add.
19808 * math/auto-libm-test-out-narrow-add: New generated file.
19809 * math/libm-test-narrow-add.inc: New file.
19810 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19811 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19813 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19814 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19815 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19818 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19821 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19822 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19824 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19825 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19826 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19827 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19829 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19836 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19837 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19846 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19847 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19848 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19849 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19850 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19851 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19852 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19853 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19854 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19855 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19857 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19858 (f128-pairs): New variable.
19859 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19860 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19862 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19863 Also make tests add $(f128-loader-link) to gnulib-tests.
19865 2018-02-09 DJ Delorie <dj@redhat.com>
19868 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19869 64-bit ELF type for 64-bit ELF objects.
19871 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19873 * math/libm-test-driver.c (snan_tests_arg): New variable.
19874 * math/libm-test-support.h (snan_tests_arg): New declaration.
19875 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19877 * math/Makefile (test-type-pairs): New variable.
19878 (test-type-pairs-f64xf128-yes): Likewise.
19879 (tests): Add test-narrow-macros.
19880 (libm-test-funcs-narrow): New variable.
19881 (libm-test-c-narrow): Likewise.
19882 (generated): Add $(libm-test-c-narrow).
19883 (libm-tests-base-narrow): New variable.
19884 (libm-tests-narrow): Likewise.
19885 (libm-tests): Add $(libm-tests-narrow).
19886 (libm-tests-for-type): Handle $(libm-tests-narrow).
19887 (libm-test-c-narrow-obj): New variable.
19888 ($(libm-test-c-narrow-obj)): New rule.
19889 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19890 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19891 $(o-iterator) to set dependencies and CFLAGS.
19892 * math/gen-auto-libm-tests.c: Document use for narrowing
19894 (output_for_one_input_case): Take argument NARROW.
19895 (generate_output): Likewise. Update call to
19896 output_for_one_input_case.
19897 (main): Take --narrow option. Update call to generate_output.
19898 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19899 (apply_lit): Update call to _apply_lit.
19900 (apply_arglit): New function.
19901 (parse_args): Handle "a" arguments.
19902 (parse_auto_input): Handle format names using ":".
19903 * math/README.libm-test: Document "a" parameter type.
19904 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19905 (ARG_TYPE_TRUE_MIN): Likewise.
19906 (ARG_TYPE_MAX): Likwise.
19907 (ARG_MIN_EXP): Likewise.
19908 (ARG_MAX_EXP): Likewise.
19909 (ARG_MANT_DIG): Likewise.
19910 (TEST_COND_arg_ibm128): Likewise.
19911 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19912 (TEST_COND_arg_fmt): New macro.
19913 (init_max_error): Update prototype.
19914 * math/libm-test-support.c (test_ibm128): New variable.
19915 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19916 instead of using [TEST_COND_ibm128] conditional.
19917 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19918 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19919 [TEST_NARROW] (TEST_MSG): New definition.
19920 (arg_plus_zero): New macro.
19921 (arg_minus_zero): Likewise.
19922 (arg_plus_infty): Likewise.
19923 (arg_minus_infty): Likewise.
19924 (arg_qnan_value_pl): Likewise.
19925 (arg_qnan_value): Likewise.
19926 (arg_snan_value_pl): Likewise.
19927 (arg_snan_value): Likewise.
19928 (arg_max_value): Likewise.
19929 (arg_min_value): Likewise.
19930 (arg_min_subnorm_value): Likewise.
19931 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19932 (RUN_TEST_LOOP_aa_f): New macro.
19933 (TEST_SUFF): New macro.
19934 (TEST_SUFF_STR): Likewise.
19935 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19936 (TEST_COND_any_ibm128): New macro.
19937 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19938 this_func. Update call to init_max_error.
19939 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19940 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19941 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19942 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19943 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19944 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19945 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19946 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19947 * math/test-math-vector.h (TEST_NARROW): Likewise.
19948 * math/test-arg-double.h: New file.
19949 * math/test-arg-float128.h: Likewise.
19950 * math/test-arg-float32x.h: Likewise.
19951 * math/test-arg-float64.h: Likewise.
19952 * math/test-arg-float64x.h: Likewise.
19953 * math/test-arg-ldouble.h: Likewise.
19954 * math/test-math-narrow.h: Likewise.
19955 * math/test-narrow-macros.c: Likewise.
19956 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19957 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19958 test-narrow-macros-ldbl-64.
19959 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19961 * math/bits/mathcalls-narrow.h: New file.
19962 * include/bits/mathcalls-narrow.h: Likewise.
19963 * math/math-narrow.h: Likewise.
19964 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19965 (__MATHCALL_NARROW_ARGS_2): Likewise.
19966 (__MATHCALL_NARROW_ARGS_3): Likewise.
19967 (__MATHCALL_NARROW_NORMAL): Likewise.
19968 (__MATHCALL_NARROW_REDIR): Likewise.
19969 (__MATHCALL_NARROW): Likewise.
19970 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19971 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19973 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19974 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19975 (libm-narrow-fns): New variable.
19976 (libm-narrow-types-basic): Likewise.
19977 (libm-narrow-types-ldouble-yes): Likewise.
19978 (libm-narrow-types-float128-yes): Likewise.
19979 (libm-narrow-types-float128-alias-yes): Likewise.
19980 (libm-narrow-types): Likewise.
19981 (libm-routines): Add narrowing functions.
19982 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19983 (libc_feholdexcept_setroundf128): New macro.
19984 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19985 * sysdeps/ieee754/float128/float128_private.h: Include
19986 <math/math-narrow.h>.
19987 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19988 Undefine and redefine.
19989 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19990 (libm_alias_float_ldouble): Undefine and redefine.
19991 (libm_alias_double_ldouble): Likewise.
19993 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19995 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19997 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20000 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
20002 * manual/creature.texi: Convert references to gcc.info to gcc.
20003 * manual/stdio.texi: Likewise.
20004 * manual/string.texi: Likewise.
20006 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20009 * posix/bits/types.h (__int_least8_t): New typedef.
20010 (__uint_least8_t): Likewise.
20011 (__int_least16_t): Likewise.
20012 (__uint_least16_t): Likewise.
20013 (__int_least32_t): Likewise.
20014 (__uint_least32_t): Likewise.
20015 (__int_least64_t): Likewise.
20016 (__uint_least64_t): Likewise.
20017 * sysdeps/generic/stdint.h (int_least8_t): Define using
20019 (int_least16_t): Define using __int_least16_t.
20020 (int_least32_t): Define using __int_least32_t.
20021 (int_least64_t): Define using __int_least64_t.
20022 (uint_least8_t): Define using __uint_least8_t.
20023 (uint_least16_t): Define using __uint_least16_t.
20024 (uint_least32_t): Define using __uint_least32_t.
20025 (uint_least64_t): Define using __uint_least64_t.
20026 * wcsmbs/uchar.h: Include <bits/types.h>.
20027 (char16_t): Define using __uint_least16_t conditional only on
20029 (char32_t): Define using __uint_least32_t conditional only on
20031 * wcsmbs/test-char-types.c: New file.
20032 * wcsmbs/Makefile (tests): Add test-char-types.
20034 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20037 2018-02-07 Zack Weinberg <zackw@panix.com>
20039 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
20040 Delete all contents except for definitions of _G_HAVE_MMAP and
20041 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
20042 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
20043 sysdeps/unix/sysv/linux/_G_config.h. Make same content
20046 * libio/libio.h: Don't include bits/_G_config.h here.
20047 Include stddef.h with __need_wchar_t defined. Include
20048 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
20049 Define _IO_iconv_t here, directly.
20050 Don't define _IO_HAVE_ST_BLKSIZE.
20051 * libio/libioP.h: Include _G_config.h here. Move include of
20052 shlib-compat.h up with rest of includes. Simplify conditionals
20053 controlling definition of _IO_JUMPS_OFFSET.
20055 * csu/init.c: Remove always-true #if around entire file.
20056 Don't include stdio.h. Set _IO_stdin_used to hardwired
20057 constant 0x20001, and update commentary.
20058 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
20059 Replace all uses of _G_va_list with __gnuc_va_list.
20060 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
20061 instead of #if _IO_HAVE_ST_BLKSIZE.
20062 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
20063 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
20066 * libio/bits/libio.h: Move back to libio/libio.h and adjust
20067 multiple-include guard to match.
20068 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
20070 Remove preprocessor conditionals that are always true and/or
20071 redundant to other preprocessor conditionals in the same nest.
20072 Include shlib-compat.h unconditionally.
20073 Error out if _LIBC is not defined, or if _ISOMAC is defined,
20074 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
20075 defined after including stdio.h.
20076 Use __BEGIN_DECLS/__END_DECLS.
20078 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
20079 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
20080 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
20082 2018-02-07 Zack Weinberg <zackw@panix.com>
20084 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
20085 New single-type headers split from _G_config.h.
20086 * libio/bits/types/cookie_io_functions_t.h
20087 * libio/bits/types/struct_FILE.h
20088 New single-type headers split from libio.h.
20090 * libio/Makefile: Install the above new headers. Don't install
20091 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
20093 * libio/_G_config.h, libio/libio.h: Delete file.
20095 * libio/bits/libio.h: Remove improper-inclusion guard.
20096 Include stdio.h and don't repeat anything that it does.
20097 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
20098 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
20099 __io_read_fn as cookie_read_function_t,
20100 __io_write_fn as cookie_write_function_t,
20101 __io_seek_fn as cookie_seek_function_t,
20102 __io_close_fn as cookie_close_function_t,
20103 and _IO_cookie_io_functions_t as cookie_io_functions_t.
20104 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
20105 here, in the "compatibility defines" section. Remove an #if 0
20106 block. Use the "body" macros from bits/types/struct_FILE.h to
20107 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
20108 and _IO_ferror_unlocked.
20109 Move prototypes of __uflow and __overflow...
20111 * libio/stdio.h: ...here. Don't include bits/libio.h.
20112 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
20113 directly from stdarg.h. Include bits/types/__fpos_t.h,
20114 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
20115 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
20116 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
20117 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
20118 cookie_io_functions_t, not _IO_cookie_io_functions_t;
20119 __ssize_t, not _IO_ssize_t. Unconditionally define
20120 BUFSIZ as 8192 and EOF as (-1).
20122 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
20123 macros from bits/types/struct_FILE.h instead of _IO_* macros
20124 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
20125 instead of _IO_ssize_t.
20126 * libio/bits/stdio2.h: Similarly.
20128 * libio/iolibio.h: Add multiple-include guard.
20129 Include bits/libio.h after stdio.h.
20130 * libio/libioP.h: Add multiple-include guard.
20131 Include stdio.h and bits/libio.h before iolibio.h.
20133 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
20134 * include/bits/types/cookie_io_functions_t.h
20135 * include/bits/types/struct_FILE.h: New wrappers.
20137 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
20138 Get definitions of _G_fpos_t and _G_fpos64_t from
20139 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
20140 respectively. Remove improper-inclusion guards.
20142 * conform/data/stdio.h-data: Update expectations of va_list.
20143 * scripts/check-installed-headers.sh: Remove special case for
20144 libio.h and _G_config.h.
20146 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20150 * include/sys/sysmacros.h [!_ISOMAC]
20151 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
20152 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
20153 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
20154 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
20156 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
20157 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
20159 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
20160 Undefine and redefine to add use __gnu_dev_ prefix.
20161 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
20163 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
20164 and define as hidden inline function.
20165 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
20167 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
20169 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
20170 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
20171 (gnu_dev_minor): Likewise.
20172 (gnu_dev_makedev): Likewise.
20173 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
20175 * posix/wordexp.c (exec_comm_child): Likewise.
20176 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
20177 instead of minor and __gnu_dev_major instead of major.
20178 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
20179 __gnu_dev_major instead of major.
20180 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
20181 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
20182 instead of gnu_dev_minor.
20183 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
20184 (SLAVE_P): Likewise.
20185 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
20186 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
20190 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
20192 * locale/weightwc.h (findidx): Likewise.
20194 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
20196 * manual/probes.texi (slowlog): Delete documentation of removed probe.
20197 (slowlog_inexact): Likewise
20198 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
20199 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
20201 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
20204 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
20205 missing second underscore to parameter name.
20207 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20213 * bits/byteswap.h: Update file comment. Do not include
20214 <bits/byteswap-16.h>.
20215 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
20217 (__bswap_16): Define as inline function.
20218 (__bswap_constant_32): Reformat definition.
20219 (__bswap_32): Always define as inline function, not macro, using
20220 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
20221 otherwise __bswap_constant_32.
20222 (__bswap_constant_64): Reformat definition. Do not use
20223 __extension__ here.
20224 (__bswap_64): Always define as inline function, not macro. Use
20225 __extension__ on function definition. Use __builtin_bswap64 if
20226 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
20227 * string/test-endian-file-scope.c: New file.
20228 * string/test-endian-sign-conversion.c: Likewise.
20229 * string/Makefile (headers): Remove bits/byteswap-16.h.
20230 (tests): Add test-endian-file-scope and
20231 test-endian-sign-conversion.
20232 (CFLAGS-test-endian-sign-conversion.c): New variable.
20233 * bits/byteswap-16.h: Remove file.
20234 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
20235 * sysdeps/ia64/bits/byteswap.h: Likewise.
20236 * sysdeps/m68k/bits/byteswap.h: Likewise.
20237 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20238 * sysdeps/s390/bits/byteswap.h: Likewise.
20239 * sysdeps/tile/bits/byteswap.h: Likewise.
20240 * sysdeps/x86/bits/byteswap-16.h: Likewise.
20241 * sysdeps/x86/bits/byteswap.h: Likewise.
20244 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
20245 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
20246 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
20247 199901L] (__restrict): Define to restrict.
20250 * string/testcopy.c: Include <support/support.h>. Do not include
20251 <malloc.h>. Use <support/test-driver.c>.
20252 (main): Rename to do_test. Make static. Use xmalloc instead of
20256 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
20257 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
20258 (SSIZE_MAX): Define to INT_MAX.
20259 * posix/test-ssize-max.c: New file.
20260 * posix/Makefile (tests): Add test-ssize-max.
20263 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20264 <support/support.h>. Do not include <malloc.h>.
20265 (query_auxv): Use xmalloc instead of malloc.
20268 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20269 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20272 2018-02-06 Florian Weimer <fweimer@redhat.com>
20275 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20276 Use scratch_buffer instead of extend_alloca.
20278 2018-02-06 Zack Weinberg <zackw@panix.com>
20280 * libio/stdio.h: Don't define getc or putc as macros.
20281 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20282 not _IO_getc and _IO_putc.
20284 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20285 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20287 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20289 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20290 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20292 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20295 * elf/elf.h (NT_PRFPREG): New macro.
20296 (NT_S390_VXRS_LOW): Likewise.
20297 (NT_S390_VXRS_HIGH): Likewise.
20298 (NT_S390_GS_CB): Likewise.
20299 (NT_S390_GS_BC): Likewise.
20300 (NT_S390_RI_CB): Likewise.
20302 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20303 (MAP_SYNC): New macro.
20304 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20306 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20307 (MAP_SYNC): Likewise.
20308 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20309 (MAP_SYNC): Likewise.
20310 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20311 (MAP_SYNC): Likewise.
20312 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20313 (MAP_SYNC): Likewise.
20314 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20315 (MAP_SYNC): Likewise.
20316 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20317 (MAP_SYNC): Likewise.
20318 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20320 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20323 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20324 (MAP_SHARED_VALIDATE): New macro.
20325 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20326 (MAP_SHARED_VALIDATE): Likewise.
20328 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20330 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20331 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20332 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20334 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20336 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20337 (DT_NUM): Updated to 35.
20339 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20341 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20342 __builtin_expect with __glibc_likely and __glibc_unlikely.
20343 (elf_machine_rela): Likewise.
20344 (elf_machine_lazy_rel): Likewise.
20346 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
20349 __builtin_expect with __glibc_likely and __glibc_unlikely.
20350 (elf_machine_lazy_rel): Likewise.
20352 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20355 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20357 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
20359 2018-02-05 Andreas Schwab <schwab@suse.de>
20362 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20365 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20367 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20368 not check against PTHREAD_STACK_MIN.
20370 2018-02-02 Sean McKean <smckean83@gmail.com>
20373 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20375 2018-02-02 Florian Weimer <fweimer@redhat.com>
20378 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20379 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20380 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20381 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20382 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20383 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20384 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20385 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20386 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20387 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20388 * misc/tst-preadvwritev2.c (do_test): Call it.
20389 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20391 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20393 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20395 * benchtests/bench-memcmp.c: Print json instead of plain text.
20397 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20400 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20402 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20404 (s390_sthyi): New syscall.
20406 * sysdeps/generic/ldbl-classify-compat.h: New file.
20407 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20408 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20409 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20410 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20411 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20412 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20413 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20414 <ldbl-classify-compat.h>.
20415 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20416 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20417 <ldbl-classify-compat.h>.
20418 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20419 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20420 <ldbl-classify-compat.h>.
20421 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20423 <ldbl-classify-compat.h>.
20424 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20426 <ldbl-classify-compat.h>.
20427 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20429 <ldbl-classify-compat.h>.
20430 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20431 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20432 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20433 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20434 * sysdeps/microblaze/math_private.h: Likewise.
20435 * sysdeps/nios2/math_private.h: Likewise.
20436 * sysdeps/sh/math_private.h: Likewise.
20438 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20439 * sysdeps/m68k/coldfire/math_private.h: ... here.
20440 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20441 * sysdeps/tile/math_private.h: Likewise.
20442 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20444 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20447 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20449 (libc_fetestexcept): Likewise.
20450 (libc_feupdateenv_test): Likewise.
20451 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20452 (libc_fetestexcept): Likewise.
20453 (libc_feupdateenv_test): Likewise.
20454 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20455 (libc_fetestexcept): Likewise.
20456 (libc_feupdateenv_test): Likewise.
20457 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20458 (libc_fetestexcept): Likewise.
20459 (libc_feupdateenv_test): Likewise.
20461 * sysdeps/generic/math_private.h
20462 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20463 New inline function.
20464 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20467 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20468 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20469 * sysdeps/generic/math_private.h
20470 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20472 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20474 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20476 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20478 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20480 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20482 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20483 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20484 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20485 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20486 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20487 (__fegetenv): Likewise.
20488 (fesetenv): Likewise.
20489 (__fesetenv): Likewise.
20490 (feupdateenv): Likewise.
20491 (__feupdateenv): Likewise.
20492 (fegetround): Likewise.
20493 (__fegetround): Likewise.
20494 (fesetround): Likewise.
20495 (__fesetround): Likewise.
20497 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20498 (feraiseexcept): New macro.
20499 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20500 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20502 (__feraiseexcept): Likewise.
20503 (feclearexcept): Likewise.
20504 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20505 (__feraiseexcept): Likewise.
20506 (feclearexcept): Likewise.
20507 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20508 (__feraiseexcept): Likewise.
20509 (feclearexcept): Likewise.
20510 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20511 (__feraiseexcept): Likewise.
20512 (feclearexcept): Likewise.
20513 (fetestexcept): Likewise.
20515 * sysdeps/m68k/coldfire/math-tests.h: New file.
20517 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20518 * sysdeps/m68k/bits/fenv.h: ... here.
20519 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20521 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20523 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20525 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20527 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20529 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20531 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20532 (__FE_UNDEFINED): New enum constant.
20533 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20535 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20537 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20539 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20540 to match generic bits/fenv.h.
20541 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20544 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20546 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20547 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20548 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20549 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20551 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20552 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20553 Joseph Myers <joseph@codesourcery.com>
20556 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20557 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20558 computation using c.
20559 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20560 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20561 computation using c.
20563 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20565 * version.h (RELEASE): Set to "development".
20566 (VERSION): Set to "2.27.9000".
20567 * NEWS (2.28): New section.
20569 * version.h (RELEASE): Set to "stable".
20570 (VERSION): Set to "2.27".
20571 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20573 * NEWS: Add the list of bugs fixed in 2.27.
20575 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20577 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20578 against PTHREAD_STACK_MIN.
20580 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20582 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20584 (Rafal Luzynski, Andreas Schwab): Update.
20586 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20589 * NEWS: List the languages which actually use the alternative
20590 months feature in this release. Also explain that "alt_mon" and
20591 "ab_alt_mon" are optional.
20593 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20596 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20598 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20600 * manual/install.texi (Tools for Compilation): Update the newest
20601 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20602 * INSTALL: Regenerated.
20604 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20606 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20607 instead of __builtin_expect.
20609 2018-01-30 Florian Weimer <fweimer@redhat.com>
20611 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20613 * nss/tst-nss-getpwent.c (do_test): Likewise.
20615 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20618 * localedata/locales/hr_HR (mon): Rename to...
20620 (mon): Import from CLDR (genitive case).
20621 (d_t_fmt): Update the comment.
20623 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20625 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20626 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20627 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20629 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20631 * mach/Versions: Fix version when __mach_host_self_ was added.
20632 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20633 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20634 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20635 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20636 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20637 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20638 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20639 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20640 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20641 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20642 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20643 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20644 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20645 || to respect codestyle.
20646 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20647 (do_test_bz20181): Rename accordingly.
20648 * malloc/malloc.c: Include <assert.h>.
20649 (assert): Do not define.
20650 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20651 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20652 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20653 * sysdeps/mach/hurd/hp-timing.h: New file.
20654 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20656 2018-01-29 Darius Rad <darius@bluespec.com>
20658 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20660 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20662 * sysdeps/init_array/crti.S (.section .init_array): Add
20663 PREINIT_FUNCTION when defined.
20664 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20665 * config.h.in: Regenerate.
20666 * manual/platform.texi: Add RISC-V documenation for
20667 __riscv_flush_icache.
20668 * sysdeps/riscv/__longjmp.S: New file.
20669 * sysdeps/riscv/backtrace.c: Likewise.
20670 * sysdeps/riscv/bits/endian.h: Likewise.
20671 * sysdeps/riscv/bits/setjmp.h: Likewise.
20672 * sysdeps/riscv/bits/wordsize.h: Likewise.
20673 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20674 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20675 * sysdeps/riscv/dl-trampoline.S: Likewise.
20676 * sysdeps/riscv/gccframe.h: Likewise.
20677 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20678 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20679 * sysdeps/riscv/machine-gmon.h: Likewise.
20680 * sysdeps/riscv/memusage.h: Likewise.
20681 * sysdeps/riscv/setjmp.S: Likewise.
20682 * sysdeps/riscv/sys/asm.h: Likewise.
20683 * sysdeps/riscv/tls-macros.h: Likewise.
20684 * sysdeps/riscv/dl-tls.h: New file.
20685 * sysdeps/riscv/libc-tls.c: Likewise.
20686 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20687 * sysdeps/riscv/nptl/tls.h: Likewise.
20688 * sysdeps/riscv/stackinfo.h: Likewise.
20689 * sysdeps/riscv/bits/fenv.h: New file.
20690 * sysdeps/riscv/e_sqrtl.c: Likewise.
20691 * sysdeps/riscv/fpu_control.h: Likewise.
20692 * sysdeps/riscv/math-tests.h: Likewise.
20693 * sysdeps/riscv/nofpu/Implies: Likewise.
20694 * sysdeps/riscv/sfp-machine.h: Likewise.
20695 * sysdeps/riscv/tininess.h: Likewise.
20696 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20697 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20698 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20699 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20700 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20701 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20702 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20703 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20704 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20705 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20706 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20707 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20708 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20709 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20710 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20711 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20712 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20713 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20714 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20715 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20716 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20717 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20718 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20719 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20720 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20721 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20722 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20723 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20724 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20725 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20726 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20727 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20728 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20729 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20730 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20731 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20732 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20733 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20734 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20735 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20736 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20737 * sysdeps/riscv/rvf/math_private.h: Likewise.
20738 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20739 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20740 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20741 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20742 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20743 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20744 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20745 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20746 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20747 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20748 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20749 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20750 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20751 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20752 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20753 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20754 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20755 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20756 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20757 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20758 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20759 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20760 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20761 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20762 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20763 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20764 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20765 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20766 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20767 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20768 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20769 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20770 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20771 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20772 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20773 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20774 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20775 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20776 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20777 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20778 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20779 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20780 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20781 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20782 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20783 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20784 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20785 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20786 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20787 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20788 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20789 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20790 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20791 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20792 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20793 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20794 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20795 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20796 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20797 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20798 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20799 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20800 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20801 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20802 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20803 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20804 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20805 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20806 * sysdeps/riscv/Implies: New file.
20807 * sysdeps/riscv/Makefile: Likewise.
20808 * sysdeps/riscv/configure: Likewise.
20809 * sysdeps/riscv/configure.ac: Likewise.
20810 * sysdeps/riscv/nptl/Makefile: Likewise.
20811 * sysdeps/riscv/preconfigure: Likewise.
20812 * sysdeps/riscv/rv64/Implies-after: Likewise.
20813 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20814 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20815 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20816 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20817 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20818 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20819 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20820 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20821 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20822 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20823 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20824 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20825 (Config): Likewise.
20827 2018-01-29 Florian Weimer <fweimer@redhat.com>
20830 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20831 libnsl_hidden_proto.
20832 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20833 libnsl_hidden_proto.
20834 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20835 * nis/Makefile (libnsl-routines): Add nss-default only for
20836 build-obsolete-nsl.
20837 * nis/nis_defaults.c (__nis_default_ttl): Add
20838 libnsl_hidden_nolink_def.
20839 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20841 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20842 * nis/ypclnt.c (yp_maplist): Likewise.
20844 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20846 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20847 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20849 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20851 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20852 clean -dxfq for git updates when replacing sources.
20854 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20855 --disable-libcilkrts unconditionally, not just for the final GCC
20858 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20861 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20864 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20867 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20870 * localedata/locales/be_BY (mon): Rename to...
20871 (alt_mon): This, then synchronize with CLDR (nominative case).
20872 (abmon): Rename to...
20873 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20874 (mon): Import from CLDR (genitive case).
20876 * localedata/locales/be_BY@latin (mon): Rename to...
20878 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20880 * localedata/locales/be_BY@latin (lang_name): Reworded to
20881 "biełaruskaja mova".
20883 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20886 * localedata/locales/el_CY (mon): Renamed to...
20888 (mon): Import from CLDR (genitive case).
20889 * localedata/locales/el_GR: Likewise.
20891 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20894 * localedata/locales/ru_RU (mon): Rename to...
20896 (abmon): Rename to...
20897 (ab_alt_mon): This.
20898 (mon): Import from CLDR (genitive case).
20899 (abmon): Copy from the old content except the 5th month which is
20900 now in the genitive case, even when abbreviated.
20901 * localedata/locales/ru_UA: Likewise.
20902 * time/tst-strptime.c (day_tests): Add an actual example of
20903 a difference between %b and %Ob in Russian.
20905 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20907 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20908 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20910 * resolv/res-close.c: Include <stdlib.h>.
20911 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20912 <sys/wait.h>, <time.h>, <sys/uio.h>.
20913 (NOT_CANCEL_H): Add inclusion guard.
20914 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20915 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20916 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20918 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20919 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20920 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20922 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20923 timer_ptr2id to cast struct timer_node * to void *.
20924 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20925 --disable-libcilkrts to gcc configure.
20926 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20927 and make them the default for now.
20928 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20929 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20930 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20931 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20932 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20934 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20935 __task_terminate would ever return successfully.
20936 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20938 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20939 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20940 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20941 critical section to make code simpler and avoid warning.
20942 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20943 critical section to make code simpler and avoid warning.
20944 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20945 const char * instead of char *.
20946 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20947 __hurd_file_name_split, hurd_file_name_split,
20948 __hurd_directory_name_split, hurd_directory_name_split,
20949 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20950 hurd_file_name_path_lookup): Make lookup function parameter take a
20951 const char *name instead of char *name.
20952 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20953 __hurd_directory_name_split): Likewise.
20954 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20955 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20956 * sysdeps/mach/hurd/check_native.c: New file.
20957 * sysdeps/mach/hurd/check_pf.c: New file.
20958 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20959 (__freeifaddrs): Define macro to freeifaddrs.
20960 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20961 * sysdeps/mach/libmachuser.abilist: New file.
20962 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20963 (do_test_bz20181): Rename accordingly.
20964 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20965 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20967 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20968 version only if __USE_EXTERN_INLINES is defined.
20969 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20970 __hurd_sockfail): Likewise.
20971 (_hurd_fd_get): Always declare functions, and provide inline versions
20972 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20973 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20974 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20975 _hurd_port_set): Always declare functions, and provide inline versions
20976 only if __USE_EXTERN_INLINES and _LIBC are defined and
20978 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20979 _hurd_critical_section_unlock): Likewise.
20980 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20981 * __hurd_threadvar_location): Likewise.
20982 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20983 _hurd_userlink_clear): Likewise.
20984 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20985 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20986 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20987 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20988 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20989 __spin_lock_locked): Likewise.
20990 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20991 __spin_lock_locked): Likewise.
20992 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20993 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20994 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20995 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20996 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20997 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20998 _POSIX_NO_TRUNC): Define to 0.
20999 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21000 check size against PTHREAD_STACK_MIN.
21001 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21002 IS_IN(libpthread)]: Include <sigsetops.h>.
21003 * mach/Makefile (user-interfaces): Add mach/gnumach.
21004 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21005 * sysdeps/mach/configure (mach_interface_list): Regenerate.
21006 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21007 instead of invalid -1.
21008 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21009 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21010 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21013 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
21015 * hurd/fcntl-internal.h: New file.
21017 2018-01-27 James Clarke <jrtc27@jrtc27.com>
21019 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21021 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21023 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21026 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21027 Build only shared objects.
21029 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21031 * README: Update for hppa.
21033 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21035 * sysdeps/sparc/fpu/libm-test-ulps: Update
21036 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
21038 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21042 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21045 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21046 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21047 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21048 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21051 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21054 * bits/types/__cancel_jmp_buf_tag.h: New file.
21055 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21056 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21057 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21058 * nptl/Makefile (headers): Add
21059 bits/types/__cancel_jmp_buf_tag.h.
21060 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21061 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21062 * sysdeps/nptl/pthread.h: Include
21063 <bits/types/__cancel_jmp_buf_tag.h>.
21064 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21066 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21068 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
21071 * localedata/locales/uk_UA (mon): Renamed to...
21073 (alt_digits): "0" removed and then renamed to...
21075 (date_fmt): Definition changed not to use the alternative
21078 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
21080 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
21081 FLAG_RISCV_FLOAT_ABI_DOUBLE.
21082 * elf/elf.h (EF_RISCV_RVC): New define.
21083 (EF_RISCV_FLOAT_ABI): Likewise.
21084 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
21085 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
21086 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21087 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
21088 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
21090 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21092 2018-01-25 Andreas Schwab <schwab@suse.de>
21094 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
21096 * sysdeps/gnu/configure: Regenerate.
21097 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21098 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21100 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21101 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21102 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
21103 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21104 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21106 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
21108 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
21109 URL, and run autoconf, make it the default for now.
21111 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21113 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21114 soft-float ColdFire configuration.
21116 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
21117 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
21118 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
21120 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
21123 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
21125 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
21127 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
21130 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
21131 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
21132 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
21135 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21138 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
21139 Rename to __reserved and add comment.
21140 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
21141 Rename to __reserved.
21143 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21145 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21146 i686-gnu configurations.
21147 (Context.run_builds): Include mig, gnumach and hurd in components
21149 (Context.checkout): Add mig, gnumach and hurd to components.
21150 (Context.checkout_tar): Add URL mappings for mig, gnumach and
21152 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
21153 (Config.build): Install gnumach headers, build mig and install
21154 hurd headers for 'gnu' OS.
21155 (Config.install_gnumach_headers): New function.
21156 (Config.install_hurd_headers): Likewise.
21157 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
21158 when building for 'gnu' OS.
21160 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
21162 * manual/tunables.texi (Hardware Capability Tunables): Fix
21165 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
21167 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
21168 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
21169 (ALTMON_11, ALTMON_12): Improve documentation.
21170 * manual/time.texi (strftime): Likewise.
21172 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21175 * localedata/locales/pl_PL: Alternative month names added,
21176 primary month names are genitive now.
21177 * time/tst-strptime.c (day_tests): Actually use a genitive case
21178 of a month name in Polish language.
21180 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21183 * manual/locale.texi: Document ALTMON_1..12 constants for
21184 nl_langinfo. Specify when to use ALTMON instead of MON.
21185 * manual/time.texi (strftime, strptime): Document GNU extension
21186 permitting O modifier with %B and %b. Specify when to use
21189 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21192 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
21193 names, define them as the same as abbreviated month names explicitly.
21194 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
21195 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
21196 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
21197 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
21198 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
21199 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
21200 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
21201 _NL_WABALTMON_12): New enum constants.
21202 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
21203 wab_alt_mon, and ab_alt_mon_defined members.
21204 (time_output): Output ab_alt_mon and wab_alt_mon members.
21205 (time_read): Read them, initialize them as copies of abmon and wabmon
21206 respectively if they are missing, initialize ab_alt_mon_defined.
21207 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
21208 * locale/programs/locfile-kw.h: Regenerate.
21209 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
21210 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
21212 * time/strftime_l.c (a_altmonth, aam_len): New macros.
21213 [!COMPILE_WIDE] (ABALTMON_1): New macro.
21214 (__strftime_internal): Handle %Ob and %Oh formats.
21215 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
21216 (__strptime_internal): Handle %Ob and %Oh formats.
21217 * time/tst-strptime.c (day_tests): Add more tests to parse different
21218 forms of month names including the new %Ob format specifier.
21220 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21223 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
21224 define them as the same as primary full month names explicitly.
21225 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
21226 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
21227 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
21228 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
21229 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
21230 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
21231 _NL_WALTMON_12): New enum constants.
21232 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
21233 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
21235 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
21236 walt_mon, and alt_mon_defined members.
21237 (time_output): Output alt_mon and walt_mon members.
21238 (time_read): Read them, initialize them as copies of mon and wmon
21239 respectively if they are missing, initialize alt_mon_defined.
21240 * locale/programs/locfile-kw.gperf (alt_mon): Define.
21241 * locale/programs/locfile-kw.h: Regenerate.
21242 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
21243 * localedata/tst-langinfo.c (map): Add tests for the new constants
21244 ALTMON_1 .. ALTMON_12.
21245 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
21247 * time/strftime_l.c (f_altmonth): New macro.
21248 (__strftime_internal): Handle %OB format.
21249 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
21250 (__strptime_internal): Handle %OB format.
21251 * time/tst-strptime.c (day_tests): Add tests to parse different forms
21252 of month names including the new %OB format specifier.
21254 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21257 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
21258 from ABORT_TRANSACTION.
21259 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21260 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21261 ABORT_TRANSACTION_IMPL): Likewise.
21262 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21263 Linux code, but remove the code that aborts transactions.
21265 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21267 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21269 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21271 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21272 in date: "2004-14-09" should be "2004-09-14".
21273 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21274 "2003-15-09" should be "2003-09-15".
21276 2018-01-18 Arjun Shankar <arjun@redhat.com>
21282 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21284 (_int_memalign): check for integer overflow before calling
21286 * malloc/tst-malloc-too-large.c: New test.
21287 * malloc/Makefile: Add tst-malloc-too-large.
21289 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21291 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21292 in date: "2017-24-07" should be "2017-07-24".
21293 * localedata/locales/mai_IN: Likewise.
21294 * localedata/locales/mai_NP: Likewise.
21296 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21298 * po/ru.po: Update translations.
21300 2018-01-17 Joseph Myers <joseph@codesourcery.com>
21303 * sysdeps/hppa/backtrace.c: New file.
21305 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21308 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21309 align La_x86_64_retval to VEC_SIZE.
21311 2018-01-16 Joseph Myers <joseph@codesourcery.com>
21313 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21314 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21316 2018-01-16 Florian Weimer <fweimer@redhat.com>
21318 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21319 Move tst-thread-exit-clobber ...
21320 [$(CXX)] (tests-unsupported): ... to here.
21322 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21324 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21325 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21326 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21327 (_dl_aarch64_cap_flags): Update.
21328 (_DL_HWCAP_COUNT): Update.
21330 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21332 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21333 (_DL_HWCAP_LAST): Remove.
21334 (_DL_HWCAP_COUNT): Move to ...
21335 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21336 (_DL_HWCAP_COUNT): ... here.
21338 2018-01-16 Florian Weimer <fweimer@redhat.com>
21340 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21341 mode with GNU extensions.
21343 2018-01-15 Alan Hayward <alan.hayward@arm.com>
21345 * elf/elf.h (NT_ARM_SVE): Define.
21347 2018-01-15 Florian Weimer <fweimer@redhat.com>
21350 * nptl/tst-minstack-throw.cc: New file.
21351 * nptl/Makefile (tests): Add tst-minstack-throw.
21352 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21353 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21355 2018-01-15 Joseph Myers <joseph@codesourcery.com>
21357 * scripts/build-many-glibcs.py (Context.checkout): Default
21358 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21361 2018-01-13 Carlos O'Donell <carlos@redhat.com>
21364 * elf/elf.h (DF_1_STUB): Define.
21365 (DF_1_PIE): Define.
21367 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21370 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21371 Do not add 0.5 to integer or out-of-range arguments.
21373 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21375 * po/bg.po: Update translations.
21376 * po/cs.po: Likewise.
21377 * po/de.po: Likewise.
21378 * po/ko.po: Likewise.
21379 * po/pl.po: Likewise.
21380 * po/sv.po: Likewise.
21381 * po/uk.po: Likewise.
21382 * po/vi.po: Likewise.
21384 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21386 * aarch64/start.S (_start): Use __wrap_main.
21387 (__wrap_main): New local symbol.
21389 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21393 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21394 generic_getcwd if the path returned by getcwd syscall is not absolute.
21395 * io/tst-getcwd-abspath.c: New test.
21396 * io/Makefile (tests): Add tst-getcwd-abspath.
21398 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21400 * malloc/malloc.c (malloc_consolidate): Add size check.
21402 2018-01-12 Florian Weimer <fweimer@redhat.com>
21404 * support/write_message.c (write_message): Preserve errno.
21405 * support/check.c (print_failure): Likewise.
21406 * support/support_test_verify_impl.c (support_test_verify_impl):
21408 * support/support_test_compare_failure.c
21409 (support_test_compare_failure): Likewise.
21411 2018-01-12 Florian Weimer <fweimer@redhat.com>
21414 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21415 Prevent installation of libnsl.so.
21416 (libnsl-inhibit-o): Do not build (or install) static libraries.
21418 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21421 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21422 before the day number which may produce a double space.
21423 (date_fmt): Likewise.
21425 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21427 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21428 instead of fegetenv.
21430 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21433 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21434 comment to say exceptions are discarded.
21435 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21437 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21440 2018-01-11 Florian Weimer <fweimer@redhat.com>
21442 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21445 2018-01-11 Florian Weimer <fweimer@redhat.com>
21448 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21449 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21451 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21454 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21455 negative arguments in test for NaN or infinity argument.
21457 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21459 * po/libc.pot: Regenerate.
21461 2018-01-10 Florian Weimer <fweimer@redhat.com>
21464 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21465 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21467 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21469 * hurd/hurd/fd.h: Include <fcntl.h>
21470 (__hurd_at_flags): New function.
21471 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21472 with call to __hurd_at_flags.
21473 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21474 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21476 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21477 (__access_noerrno): Use __faccessat_common instead of access_common.
21478 (__access): Likewise.
21479 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21480 with a call to __faccessat.
21481 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21482 (__faccessat_common): ... this. Move implementation of __access into it when
21483 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21484 reauthenticate_cwdir_at helper to implement AT mechanism.
21485 (__faccessat_noerrno): New function, just calls __faccessat_common.
21486 (__faccessat): New function, just calls __faccessat_common.
21487 (faccessat): Define weak alias.
21489 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21492 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21493 (CFLAGS-s_fmaxmagl.c): New variable.
21494 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21497 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21498 long int for arguments of possibly overflowing addition or
21500 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21502 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21505 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21506 (CFLAGS-e_remainderl.c): New variable.
21509 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21511 (CFLAGS-s_cacoshl.c): Likewise.
21512 (CFLAGS-s_casinhl.c): Likewise.
21513 (CFLAGS-s_catanl.c): Likewise.
21514 (CFLAGS-s_catanhl.c): Likewise.
21515 (CFLAGS-s_cexpl.c): Likewise.
21516 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21517 (CFLAGS-s_csinhl.c): Likewise.
21518 (CFLAGS-s_clogl.c): Likewise.
21519 (CFLAGS-s_clog10l.c): Likewise.
21520 (CFLAGS-s_csinl.c): Likewise.
21521 (CFLAGS-s_csqrtl.c): Likewise.
21523 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21524 2017-01-09 Svante Signell <svante.signell@gmail.com>
21526 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21527 (_hurd_exec_paths): New function.
21528 * hurd/hurd.h (_hurd_exec): Deprecate function.
21529 (_hurd_exec_paths): Declare function.
21530 * hurd/Versions: Export _hurd_exec_paths.
21531 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21532 (__execve): Use __getcwd to build absolute path, and use
21533 _hurd_exec_paths instead of _hurd_exec.
21534 * sysdeps/mach/hurd/spawni.c: Likewise.
21535 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21538 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21540 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21541 test instead of failing in case of ENOENT returned by posix_openpt.
21543 2018-01-08 Florian Weimer <fweimer@redhat.com>
21545 resolv: Support binary labels in test framework.
21546 * support/resolv_test.c (struct to_be_freed): Remove.
21547 (struct compressed_name): New.
21548 (allocate_compressed_name, ascii_tolower)
21549 (compare_compressed_name): New functions.
21550 (struct resolv_response_builder): Update type of
21551 compression_offsets for use with tsearch. Rempve to_be_freed.
21552 (response_push_pointer_to_free): Remove function.
21553 (resolv_response_add_name): Rewrite using struct compressed_name
21554 and tsearch instead of hsearch_r.
21555 (response_builder_allocate): Remove initialization of
21556 compression_offsets.
21557 (response_builder_free): Update for removal of to_be_freed. Use
21558 tdestroy instead of hdestroy_r.
21559 * resolv/Makefile (tests): Add tst-resolv-binary.
21560 (tst-resolv-binary): Link with -lresolv -lpthread.
21562 2018-01-08 Florian Weimer <fweimer@redhat.com>
21564 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21565 time. Pass positive flag instead of negative flag to
21566 support_test_compare_failure.
21567 (support_test_compare_failure): Change negative parameter to
21569 * support/support_test_compare_failure.c (report)
21570 (support_test_compare_failure): Likewise.
21571 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21572 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21574 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21577 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21578 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21579 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21581 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21583 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21585 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21586 Add s_sincosf-sse2 and s_sincosf-fma.
21587 (CFLAGS-s_sincosf-fma.c): New.
21588 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21589 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21590 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21591 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21592 __sincosf is defined.
21594 2018-01-08 Florian Weimer <fweimer@redhat.com>
21596 * nptl/tst-thread-exit-clobber.cc: New file.
21597 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21599 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21600 (tests): Add tst-thread-exit-clobber.
21601 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21603 2018-01-08 Florian Weimer <fweimer@redhat.com>
21605 * support/check.h (support_static_assert): Define.
21606 (TEST_COMPARE): Use it.
21608 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21610 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21611 [!__RLIM_T_MATCHES_RLIM64_T]
21612 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21613 __getrlimit64. Add libc_hidden_weak.
21615 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21617 * elf/elf.h (R_RISCV_NONE): New define.
21618 (R_RISCV_32): Likewise.
21619 (R_RISCV_64): Likewise.
21620 (R_RISCV_RELATIVE): Likewise.
21621 (R_RISCV_COPY): Likewise.
21622 (R_RISCV_JUMP_SLOT): Likewise.
21623 (R_RISCV_TLS_DTPMOD32): Likewise.
21624 (R_RISCV_TLS_DTPMOD64): Likewise.
21625 (R_RISCV_TLS_DTPREL32): Likewise.
21626 (R_RISCV_TLS_DTPREL64): Likewise.
21627 (R_RISCV_TLS_TPREL32): Likewise.
21628 (R_RISCV_TLS_TPREL64): Likewise.
21629 * Makerules (make-link-multidir): Make directories before linking into
21631 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21633 (VDSO_HASH_LINUX_4_15): Likewise.
21634 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21635 in subdirectories of lib.
21636 * nptl/Makefile (/librt.so): Always depend on
21637 "$(shared-thread-library)".
21639 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21641 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21642 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21643 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21645 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21646 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21648 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21649 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21650 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21651 * sysdeps/gnu/glob-lstat-compat.c: New file.
21652 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21653 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21655 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21657 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21658 Reserve 16 chars to reloc_addr before calling _itoa_word.
21660 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21663 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21664 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21666 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21667 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21669 * resource/tst-getrlimit.c: Add copyright header.
21671 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21672 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21674 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21675 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21676 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21677 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21679 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21680 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21681 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21682 RLIM64_INFINITY): Fix values to match the kernel ones.
21683 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21684 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21685 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21686 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21687 getrlimit64@@GLIBC_2_27.
21688 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21690 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21691 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21692 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21693 setrlimit, getrlimit64 and setrlimit64.
21695 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21698 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21699 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21701 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21703 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21704 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21705 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21707 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21711 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21712 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21716 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21717 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21718 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21719 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21721 2018-01-04 Florian Weimer <fweimer@redhat.com>
21724 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21725 Align the stack before calling exit.
21726 * stdlib/tst-makecontext-align.c: New file.
21727 * stdlib/Makefile (tests): Add tst-makecontext-align.
21729 2018-01-04 Florian Weimer <fweimer@redhat.com>
21731 Add support for calling dlvsym from libc.so.
21732 * include/dlfcn.h (__libc_dlvsym): Declare.
21733 * elf/Makefile (tests-static-internal): Add
21734 tst-libc_dlvsym-static.
21735 (tests-internal): Add tst-libc_dlvsym.
21736 (modules-names): Add tst-libc_dlvsym-dso.
21737 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21738 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21739 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21740 object tst-libc_dlvsym-dso.so needs to be built before running
21742 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21743 * elf/Versions: Export __libc_dlvsym.
21744 * elf/dl-libc.c (struct do_dlvsym_args): New.
21745 (do_dlvsym, __libc_dlvsym): New functions.
21746 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21747 (_dl_open_hook2): New variable.
21748 (__libc_register_dl_open_hook): Set it.
21749 * elf/tst-libc_dlvsym-dso.c: New file.
21750 * elf/tst-libc_dlvsym-static.c: Likewise.
21751 * elf/tst-libc_dlvsym.c: Likewise.
21752 * elf/tst-libc_dlvsym.h: Likewise.
21754 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21756 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21757 include <sys/mount.h>.
21759 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21761 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21762 Add __NO_MATH_ERRNO__ check.
21764 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21766 * sysdeps/mips/mips32/libm-test-ulps: Update.
21767 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21769 2018-01-02 Florian Weimer <fweimer@redhat.com>
21771 * misc/tst-pselect.c: Add copyright header.
21773 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21775 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21777 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21779 (settrlimit): Rename into setrlimit.
21780 (__sttrlimit): Rename into __setrlimit.
21782 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21783 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21784 never defined in that case.
21786 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21788 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21790 * sysdeps/arm/libm-test-ulps: Update.
21792 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21793 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21795 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21797 * NEWS: Add cosf and sincosf to list of optimized functions.
21799 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21802 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21803 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21804 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21805 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21807 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21810 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21812 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21813 making a copy of it.
21815 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21817 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21818 trailing whitespace removed.
21819 * scripts/config.guess: Update to version 2018-01-01.
21820 * scripts/config.sub: Update to version 2018-01-01.
21821 * scripts/move-if-change: Update from gnulib.
21823 * NEWS: Update copyright dates.
21824 * catgets/gencat.c (print_version): Likewise.
21825 * csu/version.c (banner): Likewise.
21826 * debug/catchsegv.sh: Likewise.
21827 * debug/pcprofiledump.c (print_version): Likewise.
21828 * debug/xtrace.sh (do_version): Likewise.
21829 * elf/ldconfig.c (print_version): Likewise.
21830 * elf/ldd.bash.in: Likewise.
21831 * elf/pldd.c (print_version): Likewise.
21832 * elf/sotruss.sh: Likewise.
21833 * elf/sprof.c (print_version): Likewise.
21834 * iconv/iconv_prog.c (print_version): Likewise.
21835 * iconv/iconvconfig.c (print_version): Likewise.
21836 * locale/programs/locale.c (print_version): Likewise.
21837 * locale/programs/localedef.c (print_version): Likewise.
21838 * login/programs/pt_chown.c (print_version): Likewise.
21839 * malloc/memusage.sh (do_version): Likewise.
21840 * malloc/memusagestat.c (print_version): Likewise.
21841 * malloc/mtrace.pl: Likewise.
21842 * manual/libc.texinfo: Likewise.
21843 * nptl/version.c (banner): Likewise.
21844 * nscd/nscd.c (print_version): Likewise.
21845 * nss/getent.c (print_version): Likewise.
21846 * nss/makedb.c (print_version): Likewise.
21847 * posix/getconf.c (main): Likewise.
21848 * scripts/test-installation.pl: Likewise.
21849 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21851 * All files with FSF copyright notices: Update copyright dates
21852 using scripts/update-copyrights.
21853 * locale/programs/charmap-kw.h: Regenerated.
21854 * locale/programs/locfile-kw.h: Likewise.
21856 2017-12-31 Zack Weinberg <zackw@panix.com>
21858 * libio/bits/libio-ldbl.h: Correct check for improper
21859 inclusion. Add own multiple include guard.
21861 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21862 Dmitry V. Levin <ldv@altlinux.org>
21866 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21867 string token expansion. Check for NULL pointer or empty string possibly
21868 returned by expand_dynamic_string_token.
21869 (decompose_rpath): Check for empty path after dynamic string
21872 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21875 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21877 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21878 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21879 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21880 and PTRACE_SYSCALL.
21881 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21882 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21883 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21884 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21885 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21886 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21888 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21889 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21890 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21891 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21893 bits/ptrace-shared.h.
21894 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21895 <bits/ptrace-shared.h>.
21896 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21897 __ptrace_peeksiginfo_flags, ptrace): Remove.
21898 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21899 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21900 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21901 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21902 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21904 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21907 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21908 end of the loop. Improve comments.
21910 2017-12-29 Zack Weinberg <zackw@panix.com>
21913 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21914 might be set on success.
21916 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21919 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21920 is unchanged on success.
21922 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21924 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21926 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21927 expand_dynamic_string_token): Likewise.
21928 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21931 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21934 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21935 is set and name contains ':', and all code depending on these checks.
21937 2017-12-24 Zack Weinberg <zackw@panix.com>
21939 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21940 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21942 * libio/libio.h: Rename the original version of this file to
21943 libio/bits/libio.h. Error out if not included by stdio.h or the
21945 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21946 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21947 if not included by bits/libio.h or the stub _G_config.h.
21948 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21949 sysdeps/unix/sysv/linux/bits. Error out if not included by
21950 bits/libio.h or the stub _G_config.h.
21951 * libio/stdio.h: Include bits/libio.h, not libio.h.
21952 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21953 well as libio.h and _G_config.h.
21955 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21956 * libio/strfile.h, stdio-common/vfscanf.c
21957 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21958 Include stdio.h, not _G_config.h nor libio.h.
21959 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21960 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21962 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21964 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21967 * stdlib/getrandom.c (getrandom): Fix comment.
21968 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21970 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21973 * manual/arith.texi (strtoul): Fix a typo.
21976 * manual/arith.texi (finite): Fix the description of the return
21979 2017-12-22 Eric Blake <ebb9@byu.net>
21981 Avoid gcc warnings on cygwin
21982 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21983 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21984 Avoid unused variable.
21986 2017-12-22 Florian Weimer <fweimer@redhat.com>
21988 * io/Makefile (routines): Add copy_file_range.
21989 (tests): Add tst-copy_file_range.
21990 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21991 * io/Versions (GLIBC_2.27): Export copy_file_range.
21992 * io/copy_file_range-compat.c: New file.
21993 * io/copy_file_range.c: Likewise.
21994 * io/tst-copy_file_range-compat.c: Likewise.
21995 * io/tst-copy_file_range.c: Likewise.
21996 * manual/llio.texi (Copying File Data): New section.
21997 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21998 * support/Makefile (libsupport-routines): Add support-xfstat,
21999 xftruncate, xlseek.
22000 * support/support-xfstat.c: New file.
22001 * support/xftruncate.c: Likewise.
22002 * support/xlseek.c: Likewise.
22003 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22004 * sysdeps/unix/sysv/linux/**.abilist: Update.
22005 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22007 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22009 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22010 disable-multi-arch variant to aarch64-linux-gnu.
22012 2017-12-20 Joseph Myers <joseph@codesourcery.com>
22014 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22015 trailing whitespace removed.
22016 * scripts/config.guess: Update to version 2017-12-17.
22017 * scripts/config.sub: Update to version 2017-11-23.
22018 * scripts/install-sh: Update to version 2017-09-23.17.
22019 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22021 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22023 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22024 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22025 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22026 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22027 * sysdeps/tile/crtn.S: Likewise.
22028 * sysdeps/tile/dl-start.S (_start): Likewise.
22029 * sysdeps/tile/dl-trampoline.S: Likewise.
22030 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22031 * sysdeps/tile/start.S (_start): Likewise.
22032 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22033 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22034 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22035 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22036 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22037 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22038 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22040 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
22042 * sysdeps/tile/preconfigure: Remove tilegx folder.
22043 * sysdeps/tile/tilegx/Implies: Move definitions to ...
22044 * sysdeps/tile/Implies: ... here.
22045 * sysdeps/tile/tilegx/Makefile: Move rules to ...
22046 * sysdeps/tile/Makefile: ... here.
22047 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
22048 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
22049 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
22050 * sysdeps/tile/bits/wordsize.h: ... here.
22051 * sysdeps/tile/tilegx/*: Move to ...
22052 * sysdeps/tile/*: ... here.
22053 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
22054 * sysdeps/tile/tilegx32/Implies: ... here.
22055 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
22056 * sysdeps/tile/tilegx64/Implies: ... here.
22057 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
22059 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22060 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
22061 * sysdeps/unix/sysv/linux/tile/*: ... here.
22062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
22063 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
22064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
22065 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
22067 * README: Remove tilepro-*-linux-gnu from supported architecture.
22068 * scripts/build-many-glibcs.py: Likewise.
22069 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22070 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
22071 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
22072 elf_machine_matches_host, elf_machine_dynamic,
22073 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
22074 howto, elf_machine_rela): Likewise.
22075 * sysdeps/tile/dl-start.S (_start): Likewise.
22076 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
22077 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
22078 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
22079 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
22080 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
22081 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22083 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
22084 * sysdeps/tile/preconfigure: Likewise.
22085 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
22086 POINTER_CHK_GUARD): Likewise.
22087 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
22088 * sysdeps/tile/start.S (_start): Likewise.
22089 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
22091 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
22092 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
22094 * sysdeps/unix/sysv/linux/tile/bits/environments.h
22095 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
22096 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
22098 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
22099 * sysdeps/tile/tilepro/Implies: Remove file.
22100 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
22101 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
22102 * sysdeps/tile/tilepro/memchr.c: Likewise.
22103 * sysdeps/tile/tilepro/memcpy.S: Likewise.
22104 * sysdeps/tile/tilepro/memset.c: Likewise.
22105 * sysdeps/tile/tilepro/memusage.h: Likewise.
22106 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
22107 * sysdeps/tile/tilepro/strchr.c: Likewise.
22108 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
22109 * sysdeps/tile/tilepro/strlen.c: Likewise.
22110 * sysdeps/tile/tilepro/strrchr.c: Likewise.
22111 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
22112 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
22113 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22114 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
22115 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
22116 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22118 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
22119 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22120 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
22121 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
22122 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22123 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
22124 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
22125 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
22126 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
22127 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
22128 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
22129 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
22130 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
22131 tilepro mention in comment.
22133 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
22134 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
22135 * nptl/pthread_join_common.c: New file: common function used on
22136 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
22137 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
22138 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
22139 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22140 (cleanup): Move definition to pthread_join_common.c.
22141 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
22142 Remove superflous checks.
22143 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
22146 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
22148 * sysdeps/aarch64/libm-test-ulps: Update.
22150 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22152 * sysdeps/aarch64/memset.S (MEMSET): Define.
22154 2017-12-20 Florian Weimer <fweimer@redhat.com>
22157 nptl: Provide full implementation of pthread_self in libc.so.
22158 * nptl/Makefile (routines): Add pthread_self.
22159 (libpthread-routines): Replace pthread_self with
22160 compat-pthread_self.
22161 * nptl/forward.c (pthread_self): Remove.
22162 * nptl/nptl-init.c (pthread_functions): Do not initialize
22164 * nptl/pthread_self.c (pthread_self): Remove weak alias.
22165 * nptl/compat-pthread_self.c: New file.
22166 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
22167 Remove ptr_pthread_self.
22169 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
22171 * posix/regcomp.c: Fix spelling in comments.
22172 * posix/regex.h: Likewise.
22173 * posix/regex_internal.c: Likewise.
22174 * posix/regexec.c: Likewise.
22176 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22179 * math/Makefile [C++] (tests): Add test for iseqsig.
22180 * math/math.h [C++] (iseqsig): New implementation, which does
22181 not rely on __MATH_TG/__builtin_types_compatible_p.
22182 * math/test-math-iseqsig.cc: New file.
22183 * sysdeps/powerpc/powerpc64le/Makefile
22184 (CFLAGS-test-math-iseqsig.cc): New variable.
22186 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
22188 * elf/dl-load.c (is_trusted_path): Remove.
22189 (fillin_rpath): Remove check_trusted argument and its use,
22190 all callers changed.
22192 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22195 * Makeconfig (link-pie-before-libc): Replace -pie with
22196 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
22197 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
22198 (tst-dlopen-aout-no-pie): New.
22199 (LDFLAGS-tst-prelink): Removed.
22200 (tst-prelink-no-pie): New.
22201 (LDFLAGS-tst-main1): Removed.
22202 (tst-main1-no-pie): New.
22203 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
22204 (tst-gmon-no-pie): New.
22206 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22208 * manual/install.texi: Document that --enable-static-pie
22210 * INSTALL: Regenerated.
22212 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
22215 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
22218 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22222 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22226 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22228 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22229 <errno.h>. Include "eexp.tbl".
22230 (half): New constant.
22232 (__ieee754_exp): Rewrite.
22233 (__slowexp): Remove prototype.
22234 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22235 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22236 * sysdeps/i386/fpu/slowexp.c: Likewise.
22237 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22238 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22239 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22240 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22241 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22242 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22243 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22245 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22246 (CPPFLAGS-slowexp.c): Remove variable.
22247 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22248 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22249 (CFLAGS-slowexp-fma.c): Remove variable.
22250 (CFLAGS-slowexp-fma4.c): Likewise.
22251 (CFLAGS-slowexp-avx.c): Likewise.
22252 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22254 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22255 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22256 * math/Makefile (type-double-routines): Remove slowexp.
22257 * manual/probes.texi (slowexp_p6): Remove.
22258 (slowexp_p32): Likewise.
22260 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22262 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22265 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22267 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22271 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22273 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22274 <errno.h>. Include "eexp.tbl".
22275 (half): New constant.
22277 (__ieee754_exp): Rewrite.
22278 (__slowexp): Remove prototype.
22279 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22280 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22281 * sysdeps/i386/fpu/slowexp.c: Likewise.
22282 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22283 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22284 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22285 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22286 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22287 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22288 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22290 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22291 (CPPFLAGS-slowexp.c): Remove variable.
22292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22293 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22294 (CFLAGS-slowexp-fma.c): Remove variable.
22295 (CFLAGS-slowexp-fma4.c): Likewise.
22296 (CFLAGS-slowexp-avx.c): Likewise.
22297 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22299 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22300 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22301 * math/Makefile (type-double-routines): Remove slowexp.
22302 * manual/probes.texi (slowexp_p6): Remove.
22303 (slowexp_p32): Likewise.
22305 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22306 James Clarke <jrtc27@jrtc27.com>
22309 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22312 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22315 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22318 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22321 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22322 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22323 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22324 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22327 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22330 * bits/types/__cancel_jmp_buf_tag.h: New file.
22331 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22332 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22333 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22334 * nptl/Makefile (headers): Add
22335 bits/types/__cancel_jmp_buf_tag.h.
22336 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22337 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22338 * sysdeps/nptl/pthread.h: Include
22339 <bits/types/__cancel_jmp_buf_tag.h>.
22340 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22342 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22344 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22346 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22347 --enable-static-pie variants to x86_64, x32 and i686.
22349 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22352 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22353 argument for attrubutes. All callers changed.
22354 (__inline_mathop1): Likewise. All callers changed.
22355 (__inline_mathop): Likewise. All callers changed.
22356 [__USE_MISC] (scalbn): Use __inline_forward instead of
22357 __inline_forward_c.
22358 [__USE_ISOC99] (scalbln): Likewise.
22359 [__USE_ISOC99] (nearbyint): Likewise.
22360 [__USE_ISOC99] (lrint): Likewise.
22361 [__USE_MISC] (scalbnf): Likewise.
22362 [__USE_ISOC99] (scalblnf): Likewise.
22363 [__USE_ISOC99] (nearbyintf): Likewise.
22364 [__USE_ISOC99] (lrintf): Likewise.
22365 [__USE_MISC] (scalbnl): Likewise.
22366 [__USE_ISOC99] (scalblnl): Likewise.
22367 [__USE_ISOC99] (nearbyintl): Likewise.
22368 [__USE_ISOC99] (lrintl): Likewise.
22369 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22370 __inline_mathop and __m81_defun changed.
22372 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22373 CPU or FPU for ARM hard-float configurations.
22375 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22377 * nptl/tst-attr3.c: Include <libc-diag.h>.
22378 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22380 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22382 * string/tester.c (test_strncat): Also disable -Warray-bounds
22383 warnings for two tests.
22385 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22388 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22389 $(cc-pie-default) == yes.
22390 * config.make.in (cc-pie-default): New.
22391 * configure.ac (libc_cv_pie_default): Renamed to ...
22392 (libc_cv_cc_pie_default): This.
22393 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22394 * configure: Regenerated.
22396 2017-12-18 Florian Weimer <fweimer@redhat.com>
22399 ld.so: Harden dl-libc/libdl hooks.
22400 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22401 (rtld_active): New function.
22402 * dlfcn/dladdr.c (__dladdr): Call it.
22403 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22404 * dlfcn/dlclose.c (__dlcose): Likewise.
22405 * dlfcn/dlerror.c (__dlerror): Likewise.
22406 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22407 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22408 * dlfcn/dlopen.c (__dlopen): Likewise.
22409 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22410 * dlfcn/dlsym.c (__dlsym): Likewise.
22411 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22412 * libio/vtables.c (_IO_vtable_check): Likewise.
22413 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22414 (__libc_dlclose): Likewise.
22415 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22418 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22421 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22422 buffers for readlink input and output.
22424 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22427 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22428 inhibit_stack_protector.
22431 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22432 inhibit_stack_protector.
22434 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22437 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22438 code and invocation.
22440 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22442 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22444 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22447 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22449 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22451 * sysdeps/s390/fpu/libm-test-ulps: Update.
22453 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22457 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22459 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22460 constants to s_sincosf.h file.
22461 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22462 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22464 * sysdeps/ieee754/flt-32/s_sincosf.h:
22467 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22470 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22473 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22476 * INSTALL: Regenerated.
22477 * Makeconfig (real-static-start-installed-name): New.
22478 (pic-default): Updated for --enable-static-pie.
22479 (pie-default): New for --enable-static-pie.
22480 (default-pie-ldflag): Likewise.
22481 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22482 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22483 Replace $(static-start-installed-name) with
22484 $(real-static-start-installed-name).
22485 (+prectorT): Updated for --enable-static-pie.
22486 (+postctorT): Likewise.
22487 (CFLAGS-.o): Add $(pie-default).
22488 (CFLAGS-.op): Likewise.
22489 * NEWS: Mention --enable-static-pie.
22490 * config.h.in (ENABLE_STATIC_PIE): New.
22491 * configure.ac (--enable-static-pie): New configure option.
22492 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22493 (have-static-pie): Likewise.
22494 Enable static PIE if linker supports --no-dynamic-linker.
22495 (ENABLE_STATIC_PIE): New AC_DEFINE.
22496 (enable-static-pie): New LIBC_CONFIG_VAR.
22497 * configure: Regenerated.
22498 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22499 gr$(start-installed-name) for --enable-static-pie.
22500 (extra-objs): Likewise.
22501 (install-lib): Likewise.
22502 (extra-objs): Add static-reloc.o and static-reloc.os
22503 ($(objpfx)$(start-installed-name)): Also depend on
22504 $(objpfx)static-reloc.o.
22505 ($(objpfx)r$(start-installed-name)): New.
22506 ($(objpfx)g$(start-installed-name)): Also depend on
22507 $(objpfx)static-reloc.os.
22508 ($(objpfx)gr$(start-installed-name)): New.
22509 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22511 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22513 * csu/static-reloc.c: New file.
22514 * elf/Makefile (routines): Add dl-reloc-static-pie.
22515 (elide-routines.os): Likewise.
22516 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22517 (tst-tls1-static-non-pie-no-pie): New.
22518 * elf/dl-reloc-static-pie.c: New file.
22519 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22520 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22521 STATIC_PIE_BOOTSTRAP.
22522 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22523 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22524 (tests-static): Likewise.
22525 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22526 (tst-gmon-static-no-pie): New.
22527 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22528 (CRT-tst-gmon-static-pie): Likewise.
22529 (tst-gmon-static-pie-ENV): Likewise.
22530 (tests-special): Likewise.
22531 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22532 (clean-tst-gmon-static-pie-data): Likewise.
22533 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22534 * gmon/tst-gmon-static-pie.c: New file.
22535 * manual/install.texi: Document --enable-static-pie.
22536 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22537 (_dl_get_dl_main_map): Likewise.
22538 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22539 * sysdeps/x86_64/configure.ac: Likewise.
22540 * sysdeps/i386/configure: Regenerated.
22541 * sysdeps/x86_64/configure: Likewise.
22542 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22543 (ASFLAGS-.op): Likewise.
22545 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22547 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22548 * posix/tst-mmap-offset.c (fname): Use /tmp.
22549 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22551 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22553 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22555 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22557 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22560 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22562 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22563 --with-float=hard for arm-linux-gnueabihf configurations.
22566 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22567 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22568 ($(mo-installed)): Use $(objpfx)%.mo.
22569 (realclean): Remove rule.
22571 * po/Makefile (linguas): Remove rule and dependencies.
22572 (linguas.mo): Likewise.
22573 (.PHONY): Do not depend on linguas and linguas.mo.
22574 (podir): Remove variable.
22575 (pofiles): Likewise.
22576 [$(pofiles)] (%.po): Remove rule.
22578 * sysdeps/sparc/sparc32/Makefile
22579 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22580 start-of-line whitespace in argument of echo.
22581 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22582 with whitespace. Generate __wrap_.udiv alias.
22583 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22584 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22585 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22586 * sysdeps/sparc/sparc32/urem.S: Likewise.
22588 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22590 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22591 for aligned inputs.
22593 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22595 * benchtests/bench-strcmp.c: Print output in JSON format.
22597 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22599 2017-12-14 Florian Weimer <fweimer@redhat.com>
22603 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22604 the expanded path string.
22606 2017-12-14 Florian Weimer <fweimer@redhat.com>
22610 * elf/dl-load.c (system_dirs): Update comment.
22611 (nsystem_dirs_len): Use array_length.
22612 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22614 2017-12-14 Florian Weimer <fweimer@redhat.com>
22616 Simplify compiling most of support/ outside of glibc.
22617 * support/check_addrinfo.c: Include <string.h>.
22618 * support/check_dns_packet.c: Likewise.
22619 * support/check_hostent.c: Likewise.
22620 * support/support_can_chroot.c: Include <support/xunistd.h>.
22621 * support/support_format_addrinfo.c: Include <stdlib.h>
22622 * support/support_format_dns_packet.c: Include <stdbool.h>.
22623 * support/support_format_hostent.c: Include <stdlib.h>.
22624 * support/support_format_netent.c: Likewise.
22625 * support/support_write_string.c: Include <support/xunistd.h>.
22626 * support/xdlfcn.c: Include <stddef.h>.
22628 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22630 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22632 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22633 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22635 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22636 (sysdeps_routines): Add memset-niagara7.
22637 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22639 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22641 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22642 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22643 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22644 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22645 Add niagara7 option.
22646 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22649 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22650 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22651 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22653 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22655 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22656 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22657 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22658 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22659 and __memmove_niagara7.
22660 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22661 Add niagara7 option.
22662 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22663 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22664 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22665 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22666 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22668 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22670 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22671 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22672 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22673 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22675 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22676 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22677 _dl_sparc_cap_flags array.
22678 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22680 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22682 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22683 time whenever possible.
22685 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22687 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22688 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22690 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22692 * soft-fp/fmadf4.c: Move to ....
22693 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22694 * soft-fp/fmasf4.c: Move to ....
22695 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22696 * soft-fp/fmatf4.c: Move to ....
22697 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22698 * sysdeps/ieee754/soft-fp/Makefile: New file.
22699 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22700 * sysdeps/arm/preconfigure: Regenerated.
22701 * sysdeps/arm/nofpu/Implies: New file.
22702 * sysdeps/arm/s_fma.c: Remove file.
22703 * sysdeps/arm/s_fmaf.c: Likewise.
22704 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22705 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22706 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22707 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22708 * sysdeps/microblaze/s_fma.c: Remove file.
22709 * sysdeps/microblaze/s_fmaf.c: Likewise.
22710 * sysdeps/mips/mips32/nofpu/Implies: New file.
22711 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22712 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22713 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22714 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22715 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22716 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22717 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22719 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22720 * sysdeps/nios2/s_fma.c: Remove file.
22721 * sysdeps/nios2/s_fmaf.c: Likewise.
22722 * sysdeps/sh/nofpu/Implies: New file.
22723 * sysdeps/sh/s_fma.c: Remove file.
22724 * sysdeps/sh/s_fmaf.c: Likewise.
22725 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22726 * sysdeps/tile/s_fma.c: Remove file.
22727 * sysdeps/tile/s_fmaf.c: Likewise.
22729 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22732 Add s_cosf-sse2 and s_cosf-fma.
22733 (CFLAGS-s_cosf-fma.c): New.
22734 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22735 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22736 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22738 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22740 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22742 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22744 * libio/Makefile (tests): Add tst-bz22415.
22745 (tst-bz22415-ENV): New rule.
22746 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22747 (tests-special): Add tst-bz22415-mem.out.
22748 ($(objpfx)tst-bz22415-mem.out): New rule.
22749 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22750 in case of a successful seek operation.
22751 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22752 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22753 buffer is required.
22754 * libio/tst-bz22415.c: New test.
22756 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22758 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22760 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22761 __IPC_64 to 0 to avoid IPC_64 being set.
22763 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22766 * math/bits/mathcalls.h (nextafter): Remove const.
22767 (nexttoward): Likewise.
22769 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22771 * configure.ac (--with-fp): Remove configure option.
22772 (with_fp_cond): New variable.
22773 (libc_cv_with_fp): New configure test. Use this variable instead
22775 * configure: Regenerated.
22776 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22777 * manual/install.texi (Configuring and compiling): Remove
22779 * INSTALL: Regenerated.
22780 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22781 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22782 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22783 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22784 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22785 use --without-fp to configure glibc.
22787 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22789 * manual/locale.texi (nl_langinfo): Fix a typo.
22791 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22794 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22796 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22798 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22799 (CFLAGS-argp-parse.c): Likewise.
22800 (CFLAGS-argp-fmtstream.c): Likewise.
22801 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22802 (CPPFLAGS-sha512-crypt.c): Likewise.
22803 (CPPFLAGS-md5-crypt.c): Likewise.
22804 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22805 (CFLAGS-stack_chk_fail_local.c): Likewise.
22806 (CFLAGS-backtrace.c): Likewise.
22807 (CFLAGS-sprintf_chk.c): Likewise.
22808 (CFLAGS-snprintf_chk.c): Likewise.
22809 (CFLAGS-vsprintf_chk.c): Likewise.
22810 (CFLAGS-vsnprintf_chk.c): Likewise.
22811 (CFLAGS-asprintf_chk.c): Likewise.
22812 (CFLAGS-vasprintf_chk.c): Likewise.
22813 (CFLAGS-obprintf_chk.c): Likewise.
22814 (CFLAGS-dprintf_chk.c): Likewise.
22815 (CFLAGS-vdprintf_chk.c): Likewise.
22816 (CFLAGS-printf_chk.c): Likewise.
22817 (CFLAGS-fprintf_chk.c): Likewise.
22818 (CFLAGS-vprintf_chk.c): Likewise.
22819 (CFLAGS-vfprintf_chk.c): Likewise.
22820 (CFLAGS-gets_chk.c): Likewise.
22821 (CFLAGS-fgets_chk.c): Likewise.
22822 (CFLAGS-fgets_u_chk.c): Likewise.
22823 (CFLAGS-fread_chk.c): Likewise.
22824 (CFLAGS-fread_u_chk.c): Likewise.
22825 (CFLAGS-swprintf_chk.c): Likewise.
22826 (CFLAGS-vswprintf_chk.c): Likewise.
22827 (CFLAGS-wprintf_chk.c): Likewise.
22828 (CFLAGS-fwprintf_chk.c): Likewise.
22829 (CFLAGS-vwprintf_chk.c): Likewise.
22830 (CFLAGS-vfwprintf_chk.c): Likewise.
22831 (CFLAGS-fgetws_chk.c): Likewise.
22832 (CFLAGS-fgetws_u_chk.c): Likewise.
22833 (CFLAGS-read_chk.c): Likewise.
22834 (CFLAGS-pread_chk.c): Likewise.
22835 (CFLAGS-pread64_chk.c): Likewise.
22836 (CFLAGS-recv_chk.c): Likewise.
22837 (CFLAGS-recvfrom_chk.c): Likewise.
22838 (CFLAGS-tst-longjmp_chk.c): Likewise.
22839 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22840 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22841 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22842 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22843 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22844 (CFLAGS-tst-chk1.c): Likewise.
22845 (CFLAGS-tst-chk2.c): Likewise.
22846 (CFLAGS-tst-chk3.c): Likewise.
22847 (CFLAGS-tst-chk4.cc): Likewise.
22848 (CFLAGS-tst-chk5.cc): Likewise.
22849 (CFLAGS-tst-chk6.cc): Likewise.
22850 (CFLAGS-tst-lfschk1.c): Likewise.
22851 (CFLAGS-tst-lfschk2.c): Likewise.
22852 (CFLAGS-tst-lfschk3.c): Likewise.
22853 (CFLAGS-tst-lfschk4.cc): Likewise.
22854 (CFLAGS-tst-lfschk5.cc): Likewise.
22855 (CFLAGS-tst-lfschk6.cc): Likewise.
22856 (CFLAGS-tst-ssp-1.c): Likewise.
22857 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22858 (CFLAGS-scandir64.c): Likewise.
22859 (CFLAGS-scandir-tail.c): Likewise.
22860 (CFLAGS-scandir64-tail.c): Likewise.
22861 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22862 (CFLAGS-dl-tunables.c): Likewise.
22863 (CFLAGS-dl-runtime.c): Likewise.
22864 (CFLAGS-dl-lookup.c): Likewise.
22865 (CFLAGS-dl-iterate-phdr.c): Likewise.
22866 (CFLAGS-vismain.c): Likewise.
22867 (CFLAGS-tst-linkall-static.c): Likewise.
22868 (CFLAGS-tst-linkall-static.c): Likewise.
22869 (CPPFLAGS-dl-load.c): Likewise.
22870 (CFLAGS-ldconfig.c): Likewise.
22871 (CFLAGS-dl-cache.c): Likewise.
22872 (CFLAGS-cache.c): Likewise.
22873 (CFLAGS-rtld.c): Likewise.
22874 (CFLAGS-multiload.c): Likewise.
22875 (CFLAGS-filtmod1.c): Likewise.
22876 (CFLAGS-tst-align.c): Likewise.
22877 (CFLAGS-tst-align2.c): Likewise.
22878 (CFLAGS-tst-alignmod.c): Likewise.
22879 (CFLAGS-tst-alignmod2.c): Likewise.
22880 (CPPFLAGS-tst-execstack.c): Likewise.
22881 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22882 (CFLAGS-tst-latepthreadmod.c): Likewise.
22883 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22884 (CFLAGS-getgrnam_r.c): Likewise.
22885 (CFLAGS-getgrent_r.c): Likewise.
22886 (CFLAGS-getgrent.c): Likewise.
22887 (CFLAGS-fgetgrent.c): Likewise.
22888 (CFLAGS-fgetgrent_r.c): Likewise.
22889 (CFLAGS-putgrent.c): Likewise.
22890 (CFLAGS-initgroups.c): Likewise.
22891 (CFLAGS-getgrgid.c): Likewise.
22892 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22893 (CFLAGS-getsgent.c): Likewise.
22894 (CFLAGS-fgetsgent.c): Likewise.
22895 (CFLAGS-fgetsgent_r.c): Likewise.
22896 (CFLAGS-putsgent.c): Likewise.
22897 (CFLAGS-getsgnam.c): Likewise.
22898 (CFLAGS-getsgnam_r.c): Likewise.
22899 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22900 (CFLAGS-iconv_charmap.c): Likewise.
22901 (CFLAGS-dummy-repertoire.c): Likewise.
22902 (CFLAGS-charmap.c): Likewise.
22903 (CFLAGS-linereader.c): Likewise.
22904 (CFLAGS-simple-hash.c): Likewise.
22905 (CFLAGS-gconv_conf.c): Likewise.
22906 (CFLAGS-iconvconfig.c): Likewise.
22907 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22908 (CFLAGS-gethstbyad.c): Likewise.
22909 (CFLAGS-gethstbynm_r.c): Likewise.
22910 (CFLAGS-gethstbynm.c): Likewise.
22911 (CFLAGS-gethstbynm2_r.c): Likewise.
22912 (CFLAGS-gethstbynm2.c): Likewise.
22913 (CFLAGS-gethstent_r.c): Likewise.
22914 (CFLAGS-gethstent.c): Likewise.
22915 (CFLAGS-rcmd.c): Likewise.
22916 (CFLAGS-getnetbynm_r.c): Likewise.
22917 (CFLAGS-getnetbynm.c): Likewise.
22918 (CFLAGS-getnetbyad_r.c): Likewise.
22919 (CFLAGS-getnetbyad.c): Likewise.
22920 (CFLAGS-getnetent_r.c): Likewise.
22921 (CFLAGS-getnetent.c): Likewise.
22922 (CFLAGS-getaliasent_r.c): Likewise.
22923 (CFLAGS-getaliasent.c): Likewise.
22924 (CFLAGS-getrpcent_r.c): Likewise.
22925 (CFLAGS-getrpcent.c): Likewise.
22926 (CFLAGS-getservent_r.c): Likewise.
22927 (CFLAGS-getservent.c): Likewise.
22928 (CFLAGS-getprtent_r.c): Likewise.
22929 (CFLAGS-getprtent.c): Likewise.
22930 (CFLAGS-either_ntoh.c): Likewise.
22931 (CFLAGS-either_hton.c): Likewise.
22932 (CFLAGS-getnetgrent.c): Likewise.
22933 (CFLAGS-getnetgrent_r.c): Likewise.
22934 (CFLAGS-tst-checks-posix.c): Likewise.
22935 (CFLAGS-tst-sockaddr.c): Likewise.
22936 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22937 (CFLAGS-tst-translit.c): Likewise.
22938 (CFLAGS-tst-gettext2.c): Likewise.
22939 (CFLAGS-tst-codeset.c): Likewise.
22940 (CFLAGS-tst-gettext3.c): Likewise.
22941 (CFLAGS-tst-gettext4.c): Likewise.
22942 (CFLAGS-tst-gettext5.c): Likewise.
22943 (CFLAGS-tst-gettext6.c): Likewise.
22944 * io/Makefile (CFLAGS-open.c): Likewise.
22945 (CFLAGS-open64.c): Likewise.
22946 (CFLAGS-creat.c): Likewise.
22947 (CFLAGS-creat64.c): Likewise.
22948 (CFLAGS-fcntl.c): Likewise.
22949 (CFLAGS-poll.c): Likewise.
22950 (CFLAGS-ppoll.c): Likewise.
22951 (CFLAGS-lockf.c): Likewise.
22952 (CFLAGS-statfs.c): Likewise.
22953 (CFLAGS-fstatfs.c): Likewise.
22954 (CFLAGS-statvfs.c): Likewise.
22955 (CFLAGS-fstatvfs.c): Likewise.
22956 (CFLAGS-fts.c): Likewise.
22957 (CFLAGS-fts64.c): Likewise.
22958 (CFLAGS-ftw.c): Likewise.
22959 (CFLAGS-ftw64.c): Likewise.
22960 (CFLAGS-lockf.c): Likewise.
22961 (CFLAGS-posix_fallocate.c): Likewise.
22962 (CFLAGS-posix_fallocate64.c): Likewise.
22963 (CFLAGS-fallocate.c): Likewise.
22964 (CFLAGS-fallocate64.c): Likewise.
22965 (CFLAGS-read.c): Likewise.
22966 (CFLAGS-write.c): Likewise.
22967 (CFLAGS-test-stat.c): Likewise.
22968 (CFLAGS-test-lfs.c): Likewise.
22969 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22970 (CFLAGS-fputc.c): Likewise.
22971 (CFLAGS-fputwc.c): Likewise.
22972 (CFLAGS-freopen64.c): Likewise.
22973 (CFLAGS-freopen.c): Likewise.
22974 (CFLAGS-fseek.c): Likewise.
22975 (CFLAGS-fseeko64.c): Likewise.
22976 (CFLAGS-fseeko.c): Likewise.
22977 (CFLAGS-ftello64.c): Likewise.
22978 (CFLAGS-ftello.c): Likewise.
22979 (CFLAGS-fwide.c): Likewise.
22980 (CFLAGS-genops.c): Likewise.
22981 (CFLAGS-getc.c): Likewise.
22982 (CFLAGS-getchar.c): Likewise.
22983 (CFLAGS-getwc.c): Likewise.
22984 (CFLAGS-getwchar.c): Likewise.
22985 (CFLAGS-iofclose.c): Likewise.
22986 (CFLAGS-iofflush.c): Likewise.
22987 (CFLAGS-iofgetpos64.c): Likewise.
22988 (CFLAGS-iofgetpos.c): Likewise.
22989 (CFLAGS-iofgets.c): Likewise.
22990 (CFLAGS-iofgetws.c): Likewise.
22991 (CFLAGS-iofputs.c): Likewise.
22992 (CFLAGS-iofputws.c): Likewise.
22993 (CFLAGS-iofread.c): Likewise.
22994 (CFLAGS-iofsetpos64.c): Likewise.
22995 (CFLAGS-iofsetpos.c): Likewise.
22996 (CFLAGS-ioftell.c): Likewise.
22997 (CFLAGS-iofwrite.c): Likewise.
22998 (CFLAGS-iogetdelim.c): Likewise.
22999 (CFLAGS-iogetline.c): Likewise.
23000 (CFLAGS-iogets.c): Likewise.
23001 (CFLAGS-iogetwline.c): Likewise.
23002 (CFLAGS-ioputs.c): Likewise.
23003 (CFLAGS-ioseekoff.c): Likewise.
23004 (CFLAGS-ioseekpos.c): Likewise.
23005 (CFLAGS-iosetbuffer.c): Likewise.
23006 (CFLAGS-iosetvbuf.c): Likewise.
23007 (CFLAGS-ioungetc.c): Likewise.
23008 (CFLAGS-ioungetwc.c): Likewise.
23009 (CFLAGS-oldfileops.c): Likewise.
23010 (CFLAGS-oldiofclose.c): Likewise.
23011 (CFLAGS-oldiofgetpos64.c): Likewise.
23012 (CFLAGS-oldiofgetpos.c): Likewise.
23013 (CFLAGS-oldiofsetpos64.c): Likewise.
23014 (CFLAGS-oldiofsetpos.c): Likewise.
23015 (CFLAGS-peekc.c): Likewise.
23016 (CFLAGS-putc.c): Likewise.
23017 (CFLAGS-putchar.c): Likewise.
23018 (CFLAGS-putwc.c): Likewise.
23019 (CFLAGS-putwchar.c): Likewise.
23020 (CFLAGS-rewind.c): Likewise.
23021 (CFLAGS-wfileops.c): Likewise.
23022 (CFLAGS-wgenops.c): Likewise.
23023 (CFLAGS-oldiofopen.c): Likewise.
23024 (CFLAGS-iofopen.c): Likewise.
23025 (CFLAGS-iofopen64.c): Likewise.
23026 (CFLAGS-oldtmpfile.c): Likewise.
23027 (CFLAGS-tst_putwc.c): Likewise.
23028 * locale/Makefile (CFLAGS-md5.c): Likewise.
23029 (CFLAGS-charmap.c): Likewise.
23030 (CFLAGS-locfile.c): Likewise.
23031 (CFLAGS-charmap-dir.c): Likewise.
23032 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23033 (CFLAGS-getpt.c): Likewise.
23034 (CFLAGS-pt_chown.c): Likewise.
23035 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23036 (CFLAGS-obstack.c): Likewise.
23037 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23038 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23039 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
23040 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
23041 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
23042 (CFLAGS-test-tgmath.c): Likewise.
23043 (CFLAGS-test-tgmath2.c): Likewise.
23044 (CFLAGS-test-tgmath-ret.c): Likewise.
23045 (CFLAGS-test-powl.c): Likewise.
23046 (CFLAGS-test-snan.c): Likewise.
23047 (CFLAGS-test-signgam-finite.c): Likewise.
23048 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23049 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23050 (CFLAGS-test-signgam-uchar.c): Likewise.
23051 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23052 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23053 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23054 (CFLAGS-test-signgam-uint.c): Likewise.
23055 (CFLAGS-test-signgam-uint-init.c): Likewise.
23056 (CFLAGS-test-signgam-uint-static.c): Likewise.
23057 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23058 (CFLAGS-test-signgam-ullong.c): Likewise.
23059 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23060 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23061 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23062 (CFLAGS-test-math-cxx11.cc): Likewise.
23063 (CFLAGS-test-math-isinff.cc): Likewise.
23064 (CFLAGS-test-math-iszero.cc): Likewise.
23065 (CFLAGS-test-math-issignaling.cc): Likewise.
23066 (CFLAGS-test-math-iscanonical.cc): Likewise.
23067 (CFLAGS-test-iszero-excess-precision.c): Likewise.
23068 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
23069 (CFLAGS-test-flt-eval-method.c): Likewise.
23070 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
23071 (CFLAGS-test-finite-macros.c): Likewise.
23072 * misc/Makefile (CFLAGS-select.c): Likewise.
23073 (CFLAGS-tsearch.c): Likewise.
23074 (CFLAGS-lsearch.c): Likewise.
23075 (CFLAGS-pselect.c): Likewise.
23076 (CFLAGS-readv.c): Likewise.
23077 (CFLAGS-writev.c): Likewise.
23078 (CFLAGS-preadv.c): Likewise.
23079 (CFLAGS-preadv64.c): Likewise.
23080 (CFLAGS-pwritev.c): Likewise.
23081 (CFLAGS-pwritev64.c): Likewise.
23082 (CFLAGS-preadv2.c): Likewise.
23083 (CFLAGS-preadv64v2.c): Likewise.
23084 (CFLAGS-pwritev2.c): Likewise.
23085 (CFLAGS-pwritev64v2.c): Likewise.
23086 (CFLAGS-usleep.c): Likewise.
23087 (CFLAGS-syslog.c): Likewise.
23088 (CFLAGS-error.c): Likewise.
23089 (CFLAGS-getpass.c): Likewise.
23090 (CFLAGS-mkstemp.c): Likewise.
23091 (CFLAGS-mkstemp64.c): Likewise.
23092 (CFLAGS-getsysstats.c): Likewise.
23093 (CFLAGS-getusershell.c): Likewise.
23094 (CFLAGS-err.c): Likewise.
23095 (CFLAGS-tst-tsearch.c): Likewise.
23096 (CFLAGS-msync.c): Likewise.
23097 (CFLAGS-fdatasync.c): Likewise.
23098 (CFLAGS-fsync.c): Likewise.
23099 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
23100 (CFLAGS-unwind.c): Likewise.
23101 (CFLAGS-unwind-forcedunwind.c): Likewise.
23102 (CFLAGS-pthread_cancel.c): Likewise.
23103 (CFLAGS-pthread_setcancelstate.c): Likewise.
23104 (CFLAGS-pthread_setcanceltype.c): Likewise.
23105 (CFLAGS-cancellation.c): Likewise.
23106 (CFLAGS-libc-cancellation.c): Likewise.
23107 (CFLAGS-pthread_exit.c): Likewise.
23108 (CFLAGS-forward.c): Likewise.
23109 (CFLAGS-pthread_testcancel.c): Likewise.
23110 (CFLAGS-pthread_join.c): Likewise.
23111 (CFLAGS-pthread_timedjoin.c): Likewise.
23112 (CFLAGS-pthread_once.c): Likewise.
23113 (CFLAGS-pthread_cond_wait.c): Likewise.
23114 (CFLAGS-sem_wait.c): Likewise.
23115 (CFLAGS-sem_timedwait.c): Likewise.
23116 (CFLAGS-fcntl.c): Likewise.
23117 (CFLAGS-lockf.c): Likewise.
23118 (CFLAGS-pread.c): Likewise.
23119 (CFLAGS-pread64.c): Likewise.
23120 (CFLAGS-pwrite.c): Likewise.
23121 (CFLAGS-pwrite64.c): Likewise.
23122 (CFLAGS-wait.c): Likewise.
23123 (CFLAGS-waitpid.c): Likewise.
23124 (CFLAGS-sigwait.c): Likewise.
23125 (CFLAGS-msgrcv.c): Likewise.
23126 (CFLAGS-msgsnd.c): Likewise.
23127 (CFLAGS-tcdrain.c): Likewise.
23128 (CFLAGS-open.c): Likewise.
23129 (CFLAGS-open64.c): Likewise.
23130 (CFLAGS-pause.c): Likewise.
23131 (CFLAGS-recv.c): Likewise.
23132 (CFLAGS-send.c): Likewise.
23133 (CFLAGS-accept.c): Likewise.
23134 (CFLAGS-sendto.c): Likewise.
23135 (CFLAGS-connect.c): Likewise.
23136 (CFLAGS-recvfrom.c): Likewise.
23137 (CFLAGS-recvmsg.c): Likewise.
23138 (CFLAGS-sendmsg.c): Likewise.
23139 (CFLAGS-close.c): Likewise.
23140 (CFLAGS-read.c): Likewise.
23141 (CFLAGS-write.c): Likewise.
23142 (CFLAGS-nanosleep.c): Likewise.
23143 (CFLAGS-sigsuspend.c): Likewise.
23144 (CFLAGS-msync.c): Likewise.
23145 (CFLAGS-fdatasync.c): Likewise.
23146 (CFLAGS-fsync.c): Likewise.
23147 (CFLAGS-pt-system.c): Likewise.
23148 (CFLAGS-tst-cleanup2.c): Likewise.
23149 (CFLAGS-tst-cleanupx2.c): Likewise.
23150 (CFLAGS-flockfile.c): Likewise.
23151 (CFLAGS-ftrylockfile.c): Likewise.
23152 (CFLAGS-funlockfile.c): Likewise.
23153 (CFLAGS-tst-initializers1.c): Likewise.
23154 (CFLAGS-tst-initializers1-c89.c): Likewise.
23155 (CFLAGS-tst-initializers1-c99.c): Likewise.
23156 (CFLAGS-tst-initializers1-c11.c): Likewise.
23157 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
23158 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
23159 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23160 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
23161 (CFLAGS-nscd_getgr_r.c): Likewise.
23162 (CFLAGS-nscd_gethst_r.c): Likewise.
23163 (CFLAGS-nscd_getai.c): Likewise.
23164 (CFLAGS-nscd_initgroups.c): Likewise.
23165 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
23166 (CFLAGS-pause.c): Likewise.
23167 (CFLAGS-pread.c): Likewise.
23168 (CFLAGS-pread64.c): Likewise.
23169 (CFLAGS-pwrite.c): Likewise.
23170 (CFLAGS-pwrite64.c): Likewise.
23171 (CFLAGS-sleep.c): Likewise.
23172 (CFLAGS-wait.c): Likewise.
23173 (CFLAGS-waitid.c): Likewise.
23174 (CFLAGS-waitpid.c): Likewise.
23175 (CFLAGS-getopt.c): Likewise.
23176 (CFLAGS-wordexp.c): Likewise.
23177 (CFLAGS-sysconf.c): Likewise.
23178 (CFLAGS-pathconf.c): Likewise.
23179 (CFLAGS-fpathconf.c): Likewise.
23180 (CFLAGS-spawn.c): Likewise.
23181 (CFLAGS-spawnp.c): Likewise.
23182 (CFLAGS-spawni.c): Likewise.
23183 (CFLAGS-glob.c): Likewise.
23184 (CFLAGS-glob64.c): Likewise.
23185 (CFLAGS-getconf.c): Likewise.
23186 (CFLAGS-nanosleep.c): Likewise.
23187 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
23188 (CFLAGS-getpwent.c): Likewise.
23189 (CFLAGS-getpw.c): Likewise.
23190 (CFLAGS-fgetpwent_r.c): Likewise.
23191 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
23192 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
23193 (CFLAGS-mq_timedreceive.c): Likewise.
23194 (CFLAGS-mq_timedsend.c): Likewise.
23195 (CFLAGS-clock_nanosleep.c): Likewise.
23196 (CFLAGS-librt-cancellation.c): Likewise.
23197 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
23198 (CFLAGS-getspent.c): Likewise.
23199 (CFLAGS-fgetspent.c): Likewise.
23200 (CFLAGS-fgetspent_r.c): Likewise.
23201 (CFLAGS-putspent.c): Likewise.
23202 (CFLAGS-getspnam.c): Likewise.
23203 (CFLAGS-getspnam_r.c): Likewise.
23204 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
23205 (CFLAGS-sigsuspend.c): Likewise.
23206 (CFLAGS-sigtimedwait.c): Likewise.
23207 (CFLAGS-sigwait.c): Likewise.
23208 (CFLAGS-sigwaitinfo.c): Likewise.
23209 (CFLAGS-sigreturn.c): Likewise.
23210 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23211 (CFLAGS-vfwprintf.c): Likewise.
23212 (CFLAGS-tmpfile.c): Likewise.
23213 (CFLAGS-tmpfile64.c): Likewise.
23214 (CFLAGS-tempname.c): Likewise.
23215 (CFLAGS-psignal.c): Likewise.
23216 (CFLAGS-vprintf.c): Likewise.
23217 (CFLAGS-cuserid.c): Likewise.
23218 (CFLAGS-errlist.c): Likewise.
23219 (CFLAGS-siglist.c): Likewise.
23220 (CFLAGS-scanf15.c): Likewise.
23221 (CFLAGS-scanf17.c): Likewise.
23222 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
23223 (CFLAGS-msort.c): Likewise.
23224 (CFLAGS-qsort.c): Likewise.
23225 (CFLAGS-system.c): Likewise.
23226 (CFLAGS-fmtmsg.c): Likewise.
23227 (CFLAGS-strfmon.c): Likewise.
23228 (CFLAGS-strfmon_l.c): Likewise.
23229 (CFLAGS-strfromd.c): Likewise.
23230 (CFLAGS-strfromf.c): Likewise.
23231 (CFLAGS-strfroml.c): Likewise.
23232 (CFLAGS-tst-bsearch.c): Likewise.
23233 (CFLAGS-tst-qsort.c): Likewise.
23234 (CFLAGS-tst-makecontext2.c): Likewise.
23235 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
23236 (CFLAGS-xnlm_prot.c): Likewise.
23237 (CFLAGS-xrstat.c): Likewise.
23238 (CFLAGS-xyppasswd.c): Likewise.
23239 (CFLAGS-xklm_prot.c): Likewise.
23240 (CFLAGS-xrex.c): Likewise.
23241 (CFLAGS-xsm_inter.c): Likewise.
23242 (CFLAGS-xmount.c): Likewise.
23243 (CFLAGS-xrusers.c): Likewise.
23244 (CFLAGS-xspray.c): Likewise.
23245 (CFLAGS-xnfs_prot.c): Likewise.
23246 (CFLAGS-xrquota.c): Likewise.
23247 (CFLAGS-xkey_prot.c): Likewise.
23248 (CFLAGS-auth_unix.c): Likewise.
23249 (CFLAGS-key_call.c): Likewise.
23250 (CFLAGS-pmap_rmt.c): Likewise.
23251 (CFLAGS-clnt_perr.c): Likewise.
23252 (CFLAGS-openchild.c): Likewise.
23253 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
23254 (CFLAGS-msgsnd.c): Likewise.
23255 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
23256 * time/Makefile (CFLAGS-tzfile.c): Likewise.
23257 (CFLAGS-tzset.c): Likewise.
23258 (CFLAGS-getdate.c): Likewise.
23259 (CFLAGS-test_time.c): Likewise.
23260 (CPPFLAGS-tst-tzname.c): Likewise.
23261 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23262 (CFLAGS-zic.c): Likewise.
23263 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23264 (CFLAGS-wcswidth.c): Likewise.
23265 (CFLAGS-wcstol.c): Likewise.
23266 (CFLAGS-wcstoul.c): Likewise.
23267 (CFLAGS-wcstoll.c): Likewise.
23268 (CFLAGS-wcstoull.c): Likewise.
23269 (CFLAGS-wcstod.c): Likewise.
23270 (CFLAGS-wcstold.c): Likewise.
23271 (CFLAGS-wcstof128.c): Likewise.
23272 (CFLAGS-wcstof.c): Likewise.
23273 (CFLAGS-wcstol_l.c): Likewise.
23274 (CFLAGS-wcstoul_l.c): Likewise.
23275 (CFLAGS-wcstoll_l.c): Likewise.
23276 (CFLAGS-wcstoull_l.c): Likewise.
23277 (CFLAGS-wcstod_l.c): Likewise.
23278 (CFLAGS-wcstold_l.c): Likewise.
23279 (CFLAGS-wcstof128_l.c): Likewise.
23280 (CFLAGS-wcstof_l.c): Likewise.
23281 (CPPFLAGS-tst-wchar-h.c): Likewise.
23282 (CPPFLAGS-wcstold_l.c): Likewise.
23284 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
23286 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23288 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23289 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23291 * manual/tunables.texi (Hardware Capability Tunables): Document
23292 glibc.tune.cached_memopt.
23293 * sysdeps/powerpc/cpu-features.c: New file.
23294 * sysdeps/powerpc/cpu-features.h: New file.
23295 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23296 _dl_powerpc_cpu_features.
23297 * sysdeps/powerpc/dl-tunables.list: New file.
23298 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23299 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23300 (INIT_ARCH): Initialize use_aligned_memopt.
23301 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23302 IS_IN(rtld))]: Restrict dl_platform_init availability and
23303 initialize CPU features used by tunables.
23304 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23305 Add memcpy-power8-cached.
23306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23307 __memcpy_power8_cached.
23308 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23309 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23312 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23314 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23315 (CFLAGS-noinl-tester.c): Likewise.
23316 (CFLAGS-tst-strlen.c): Likewise.
23317 (CFLAGS-stratcliff.c): Likewise.
23318 (CFLAGS-test-ffs.c): Likewise.
23319 (CFLAGS-tst-inlcall.c): Likewise.
23320 (CFLAGS-tst-xbzero-opt.c): Likewise.
23321 (CFLAGS-memcpy.c): Likewise.
23322 (CFLAGS-wordcopy.c): Likewise.
23324 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23326 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23327 Store r15 on stack and add cfi rule.
23328 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23331 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
23334 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23337 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23339 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23340 Add s_sinf-sse2 and s_sinf-fma.
23341 (CFLAGS-s_sinf-fma.c): New.
23342 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23343 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23344 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23346 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23348 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23350 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23353 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23354 part of result to imaginary part of argument if it is zero and the
23355 real part of the argument is not finite.
23356 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23357 of result to real part of argument if it is zero and the imaginary
23358 part of the argument is not finite.
23360 2017-12-07 Mike FABIAN <mfabian@redhat.com>
23363 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23364 and to the list of locales to be built for testing.
23365 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23366 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23367 and build the collation rules upon that.
23369 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23371 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23372 * manual/math.texi (Mathematics): Document support for _Float32.
23373 * math/Makefile (test-types): Add float32.
23374 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23375 * stdlib/Versions (GLIBC_2.27): Likewise.
23376 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23377 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23378 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23379 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23380 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23381 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23382 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23383 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23384 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23385 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23386 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23387 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23388 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23389 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23390 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23391 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23392 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23393 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23394 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23395 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23396 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23397 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23399 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23400 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23401 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23402 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23403 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23421 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23422 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23423 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23424 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23425 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23426 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23427 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23428 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23429 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23430 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23439 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23440 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23441 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23442 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23443 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23444 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23445 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23446 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23448 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23450 * stdlib/strtof.c: Include <bits/floatn.h>
23451 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23452 and later undefine as macro. Define as weak alias if
23454 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23455 and later undefine as macro. Define as weak alias if
23457 * stdlib/strtof_l.c: Include <bits/floatn.h>
23458 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23459 and later undefine as macro. Define as weak alias if
23461 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23462 and later undefine as macro. Define as weak alias if
23465 * stdlib/strfromf.c: Include <bits/floatn.h>.
23466 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23467 and later undefine as macro and define as weak alias.
23469 * math/test-float32.h: New file.
23471 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23472 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23473 (libm_alias_float_other_r): Create f32 alias.
23474 (libm_alias_float_r): Use semicolon before call to
23475 libm_alias_float_other_r.
23477 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23478 second argument to libm_alias_float_other.
23479 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23480 second argument to libm_alias_float_other.
23481 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23482 argument to libm_alias_float_other.
23485 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23486 real part of result for argument 0 + i * NaN.
23487 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23488 results for tests of 0 + i * NaN.
23490 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23492 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23494 2017-12-06 David S. Miller <davem@davemloft.net>
23496 * sysdeps/sparc/fpu/libm-test-ulps: Update
23497 exp_{downward,towardzero,upward} ulps.
23499 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23501 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23504 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23506 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23513 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23516 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23517 and to the list of locales to be built for testing.
23518 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23519 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23520 and build the collation rules upon that.
23522 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23524 * NEWS: Add sinf to list of optimized functions.
23526 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23528 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23529 (__HAVE_FLOAT32X): Likewise.
23530 * manual/math.texi (Mathematics): Document support for _Float64
23532 * math/Makefile (test-types): Add float64 and float32x.
23533 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23535 * stdlib/Versions (GLIBC_2.27): Likewise.
23536 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23537 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23538 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23539 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23540 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23541 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23542 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23543 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23544 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23545 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23546 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23547 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23548 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23549 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23550 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23551 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23552 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23553 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23554 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23555 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23556 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23557 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23559 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23560 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23561 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23562 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23563 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23580 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23581 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23582 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23583 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23584 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23585 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23586 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23587 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23588 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23589 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23598 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23599 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23600 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23601 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23602 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23603 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23604 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23605 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23607 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23609 * bits/floatn-common.h: Include <bits/long-double.h>.
23610 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23611 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23612 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23613 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23614 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23615 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23616 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23617 (__builtin_huge_valf64): Use __builtin_huge_vall.
23618 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23619 (__builtin_inff64): Use __builtin_infl.
23620 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23621 (__builtin_nanf64): Use __builtin_nanl.
23622 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23623 (__builtin_nansf64): Use __builtin_nansl.
23625 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23626 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23627 Carlos O'Donnell <carlos@redhat.com>
23629 * elf/dl-tunables.list: Add elision parameters.
23630 * manual/tunables.texi: Add entries about elision tunable.
23631 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23632 Add callback functions to dynamically enable/disable elision.
23633 Add multiple callbacks functions to set elision parameters.
23634 Deleted __libc_enable_secure check.
23635 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23636 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23637 * configure: Regenerated.
23638 * configure.ac: Option enable_lock_elision was deleted.
23639 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23640 * config.make.in: Remove references to enable_lock_elision.
23641 * manual/install.texi: Elision configure option was removed.
23642 * INSTALL: Regenerated to remove enable_lock_elision.
23644 Disable elision so it can verify error case for destroying a mutex.
23645 * sysdeps/powerpc/nptl/elide.h:
23646 Cleanup ENABLE_LOCK_ELISION check.
23647 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23648 * sysdeps/s390/configure: Regenerated.
23649 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23650 * nptl/tst-mutex8.c:
23651 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23652 * sysdeps/powerpc/powerpc32/sysdep.h:
23653 Deleted all ENABLE_LOCK_ELISION checks.
23654 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23655 * sysdeps/powerpc/sysdep.h: Likewise.
23656 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23657 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23658 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23659 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23660 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23661 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23662 enable-lock-elision.
23664 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23666 * stdlib/strtod.c: Include <bits/floatn.h>.
23667 (BUILD_DOUBLE): New macro.
23668 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23669 (strtof64): Define and later undefine as macro. Define as weak
23670 alias if [!USE_WIDE_CHAR].
23671 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23672 (wcstof64): Define and later undefine as macro. Define as weak
23673 alias if [USE_WIDE_CHAR].
23674 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23675 (strtof32x): Define and later undefine as macro. Define as weak
23676 alias if [!USE_WIDE_CHAR].
23677 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23678 (wcstof32x): Define and later undefine as macro. Define as weak
23679 alias if [USE_WIDE_CHAR].
23680 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23681 (BUILD_DOUBLE): New macro.
23682 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23683 (strtof64_l): Define and later undefine as macro. Define as weak
23684 alias if [!USE_WIDE_CHAR].
23685 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23686 (wcstof64_l): Define and later undefine as macro. Define as weak
23687 alias if [USE_WIDE_CHAR].
23688 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23689 (strtof32x_l): Define and later undefine as macro. Define as weak
23690 alias if [!USE_WIDE_CHAR].
23691 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23692 (wcstof32x_l): Define and later undefine as macro. Define as weak
23693 alias if [USE_WIDE_CHAR].
23695 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23697 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23698 (reduced): Use ones as double instead of integer.
23700 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23702 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23704 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23706 * stdlib/strfromd.c: Include <bits/floatn.h>.
23707 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23708 and later undefine as macro and define as weak alias.
23709 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23712 * math/test-float32x.h: New file.
23713 * math/test-float64.h: Likewise.
23715 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23716 (libm_alias_double_other_r_f64): New macro.
23717 (libm_alias_double_other_r_f32x): Likewise.
23718 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23719 libm_alias_double_other_r_f32x.
23720 (libm_alias_double_r): Use semicolon before call to
23721 libm_alias_double_other_r.
23722 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23724 (libm_alias_double_other_r_f64): New macro.
23725 (libm_alias_double_other_r_f32x): Likewise.
23726 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23727 libm_alias_double_other_r_f32x.
23729 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23731 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23733 (SINF_FUNC): Likewise. Replace floor with simple casts.
23735 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23738 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23739 and to the list of locales to be built for testing.
23740 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23741 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23742 and build the collation rules upon that.
23744 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23746 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23747 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23748 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23749 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23750 instead of __insn__xxx.
23751 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23752 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23753 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23754 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23755 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23756 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23758 2017-12-05 Florian Weimer <fweimer@redhat.com>
23760 Linux: Implement interfaces for memory protection keys
23761 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23763 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23764 * support/xunistd.h (xsysconf): Declare.
23765 * support/xraise.c: New file.
23766 * support/xsigaction.c: Likewise.
23767 * support/xsignal.c: Likewise.
23768 * support/xsysconf.c: Likewise.
23769 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23770 pkey_set, pkey_get, pkey_mprotect.
23771 [misc] (tests): Add tst-pkey.
23772 (tst-pkey): Link with -lpthread.
23773 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23774 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23775 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23776 (PKEY_DISABLE_WRITE): Define.
23777 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23779 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23780 (SEGV_PKUERR): Add.
23781 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23782 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23783 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23784 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23786 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23787 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23788 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23789 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23790 * sysdeps/unix/sysv/linux/**.abilist: Update.
23792 2017-12-05 Florian Weimer <fweimer@redhat.com>
23794 * support/tst-test_compare.c (subprocess): Use long long instead
23795 of long argument for consistent type width across 32-bit and
23796 64-bit architectures.
23797 (do_test): Adjust expected output.
23799 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23801 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23802 (cosf): Define using libm_alias_float.
23803 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23804 (fabsf): Define using libm_alias_float.
23805 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23806 (fmaf): Define using libm_alias_float.
23807 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23808 (rintf): Define using libm_alias_float.
23809 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23810 (sinf): Define using libm_alias_float.
23811 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23812 <libm-alias-float.h>.
23813 (modff): Define using libm_alias_float.
23814 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23815 <libm-alias-float.h>.
23816 (logbf): Define using libm_alias_float.
23817 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23818 <libm-alias-float.h>.
23819 (ceilf): Define using libm_alias_float.
23820 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23821 <libm-alias-float.h>.
23822 (copysignf): Define using libm_alias_float.
23823 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23824 <libm-alias-float.h>.
23825 (floorf): Define using libm_alias_float.
23826 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23827 <libm-alias-float.h>.
23828 (llrintf): Define using libm_alias_float.
23829 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23830 <libm-alias-float.h>.
23831 (llroundf): Define using libm_alias_float.
23832 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23833 <libm-alias-float.h>.
23834 (lrintf): Define using libm_alias_float.
23835 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23836 <libm-alias-float.h>.
23837 (lroundf): Define using libm_alias_float.
23838 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23839 <libm-alias-float.h>.
23840 (nearbyintf): Define using libm_alias_float.
23841 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23842 <libm-alias-float.h>.
23843 (rintf): Define using libm_alias_float.
23844 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23845 <libm-alias-float.h>.
23846 (roundf): Define using libm_alias_float.
23847 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23848 <libm-alias-float.h>.
23849 (truncf): Define using libm_alias_float.
23850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23851 Include <libm-alias-float.h>.
23852 (ceilf): Define using libm_alias_float.
23853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23854 Include <libm-alias-float.h>.
23855 (copysignf): Define using libm_alias_float.
23856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23857 Include <libm-alias-float.h>.
23858 (floorf): Define using libm_alias_float.
23859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23860 Include <libm-alias-float.h>.
23861 (llrintf): Define using libm_alias_float.
23862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23863 Include <libm-alias-float.h>.
23864 (llroundf): Define using libm_alias_float.
23865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23866 Include <libm-alias-float.h>.
23867 (logbf): Define using libm_alias_float.
23868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23869 Include <libm-alias-float.h>.
23870 (lrintf): Define using libm_alias_float.
23871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23872 Include <libm-alias-float.h>.
23873 (lroundf): Define using libm_alias_float.
23874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23875 Include <libm-alias-float.h>.
23876 (modff): Define using libm_alias_float.
23877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23878 Include <libm-alias-float.h>.
23879 (roundf): Define using libm_alias_float.
23880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23881 Include <libm-alias-float.h>.
23882 (truncf): Define using libm_alias_float.
23883 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23884 <libm-alias-float.h>.
23885 (llrintf): Define using libm_alias_float.
23886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23887 <libm-alias-float.h>.
23888 (llroundf): Define using libm_alias_float.
23889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23890 <libm-alias-float.h>.
23891 (ceilf): Define using libm_alias_float.
23892 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23893 <libm-alias-float.h>.
23894 (floorf): Define using libm_alias_float.
23895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23896 <libm-alias-float.h>.
23897 (llroundf): Define using libm_alias_float.
23898 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23899 <libm-alias-float.h>.
23900 (lroundf): Define using libm_alias_float.
23901 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23902 <libm-alias-float.h>.
23903 (roundf): Define using libm_alias_float.
23904 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23905 <libm-alias-float.h>.
23906 (truncf): Define using libm_alias_float.
23907 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23908 <libm-alias-float.h>.
23909 (copysignf): Define using libm_alias_float.
23910 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23911 <libm-alias-float.h>.
23912 (llrintf): Define using libm_alias_float.
23913 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23914 <libm-alias-float.h>.
23915 (llroundf): Define using libm_alias_float.
23916 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23917 <libm-alias-float.h>.
23918 (lrintf): Define using libm_alias_float.
23919 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23920 <libm-alias-float.h>.
23921 (lroundf): Define using libm_alias_float.
23922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23923 <libm-alias-float.h>.
23924 (ceilf): Define using libm_alias_float.
23925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23926 <libm-alias-float.h>.
23927 (copysignf): Define using libm_alias_float.
23928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23929 <libm-alias-float.h>.
23930 (cosf): Define using libm_alias_float.
23931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23932 <libm-alias-float.h>.
23933 (floorf): Define using libm_alias_float.
23934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23935 <libm-alias-float.h>.
23936 (llrintf): Define using libm_alias_float.
23937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23938 <libm-alias-float.h>.
23939 (llroundf): Define using libm_alias_float.
23940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23941 <libm-alias-float.h>.
23942 (logbf): Define using libm_alias_float.
23943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23944 <libm-alias-float.h>.
23945 (modff): Define using libm_alias_float.
23946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23947 <libm-alias-float.h>.
23948 (roundf): Define using libm_alias_float.
23949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23950 <libm-alias-float.h>.
23951 (sinf): Define using libm_alias_float.
23952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23953 <libm-alias-float.h>.
23954 (truncf): Define using libm_alias_float.
23955 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23956 <libm-alias-float.h>.
23957 (ceilf): Define using libm_alias_float.
23958 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23959 <libm-alias-float.h>.
23960 (copysignf): Define using libm_alias_float.
23961 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23962 <libm-alias-float.h>.
23963 (floorf): Define using libm_alias_float.
23964 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23965 <libm-alias-float.h>.
23966 (llrintf): Define using libm_alias_float.
23967 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23968 <libm-alias-float.h>.
23969 (llroundf): Define using libm_alias_float.
23970 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23971 <libm-alias-float.h>.
23972 (nearbyintf): Define using libm_alias_float.
23973 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23974 <libm-alias-float.h>.
23975 (rintf): Define using libm_alias_float.
23976 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23977 <libm-alias-float.h>.
23978 (roundf): Define using libm_alias_float.
23979 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23980 <libm-alias-float.h>.
23981 (truncf): Define using libm_alias_float.
23982 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23983 <libm-alias-float.h>.
23984 (ceilf): Define using libm_alias_float.
23985 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23986 <libm-alias-float.h>.
23987 (floorf): Define using libm_alias_float.
23988 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23989 <libm-alias-float.h>.
23990 (llroundf): Define using libm_alias_float.
23991 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23992 <libm-alias-float.h>.
23993 (roundf): Define using libm_alias_float.
23994 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23995 <libm-alias-float.h>.
23996 (truncf): Define using libm_alias_float.
23997 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23998 <libm-alias-float.h>.
23999 (copysignf): Define using libm_alias_float.
24000 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24001 <libm-alias-float.h>.
24002 (llrintf): Define using libm_alias_float.
24003 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24004 <libm-alias-float.h>.
24005 (llroundf): Define using libm_alias_float.
24006 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24007 <libm-alias-float.h>.
24008 (cosf): Define using libm_alias_float.
24009 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24010 <libm-alias-float.h>.
24011 (llrintf): Define using libm_alias_float.
24012 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24013 <libm-alias-float.h>.
24014 (llroundf): Define using libm_alias_float.
24015 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24016 <libm-alias-float.h>.
24017 (sinf): Define using libm_alias_float.
24019 2017-12-04 Florian Weimer <fweimer@redhat.com>
24021 * support/check.h (TEST_COMPARE): Define.
24022 (support_test_compare_failure): Declare.
24023 * support/Makefile (libsupport-routines): Add
24024 support_test_compare_failure.
24025 (tests): Add tst-test_compare.
24026 * support /support_test_compare_failure.c: New file.
24027 * support/tst-test_compare.c: Likewise.
24029 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24032 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24033 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24034 available, this rewrite of the collation rules does reproduce
24035 the test file in the same order.
24037 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24040 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
24041 digraphs in the month and day names. Using single code points for
24042 digraphs is deprecated. While there are dedicated Unicode
24043 codepoints, for the digraphs, these are included for backwards
24044 compatibility and modern texts use a sequence of Basic Latin
24045 characters. See: https://www.unicode.org/faq/ligature_digraph.html
24046 This makes the month and day names agree exactly with CLDR now,
24047 CLDR does not use the single code points for the digraphs either.
24049 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
24051 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
24053 2017-12-04 Joseph Myers <joseph@codesourcery.com>
24055 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
24058 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
24060 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
24061 Define only for libc.so.
24063 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
24065 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24066 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
24067 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
24068 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
24069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24071 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24074 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
24076 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
24079 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
24080 PREINIT_FUNCTION_WEAK is nonzero.
24081 (gmon_initializer): New function. Put procedure label for it in
24082 .init_array section.
24083 (_init): Don't call PREINIT_FUNCTION.
24084 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
24085 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
24086 value when map argument is null.
24088 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
24089 depi instruction from PIC pc-relative sequence.
24090 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
24091 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
24092 (elf_machine_load_address): Likewise.
24093 (elf_machine_runtime_setup): Likewise.
24095 2017-12-02 Joseph Myers <joseph@codesourcery.com>
24097 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
24098 <libm-alias-double.h>.
24099 (logb): Define using libm_alias_double.
24100 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24101 <libm-alias-double.h>.
24102 (copysign): Define using libm_alias_double.
24103 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
24104 <libm-alias-double.h>.
24105 (llrint): Define using libm_alias_double.
24106 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
24107 <libm-alias-double.h>.
24108 (llround): Define using libm_alias_double.
24109 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24110 <libm-alias-double.h>.
24111 (lrint): Define using libm_alias_double.
24112 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24113 <libm-alias-double.h>.
24114 (lround): Define using libm_alias_double.
24115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24116 Include <libm-alias-double.h>.
24117 (copysign): Define using libm_alias_double.
24118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
24119 Include <libm-alias-double.h>.
24120 (llrint): Define using libm_alias_double.
24121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
24122 Include <libm-alias-double.h>.
24123 (llround): Define using libm_alias_double.
24124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
24125 <libm-alias-double.h>.
24126 (logb): Define using libm_alias_double.
24127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
24128 Include <libm-alias-double.h>.
24129 (lrint): Define using libm_alias_double.
24130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
24131 Include <libm-alias-double.h>.
24132 (lround): Define using libm_alias_double.
24133 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
24134 <libm-alias-double.h>.
24135 (llrint): Define using libm_alias_double.
24136 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24137 <libm-alias-double.h>.
24138 (llround): Define using libm_alias_double.
24139 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24140 <libm-alias-double.h>.
24141 (llround): Define using libm_alias_double.
24142 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24143 <libm-alias-double.h>.
24144 (lround): Define using libm_alias_double.
24145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24146 <libm-alias-double.h>.
24147 (copysign): Define using libm_alias_double.
24148 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
24149 <libm-alias-double.h>.
24150 (llrint): Define using libm_alias_double.
24151 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24152 <libm-alias-double.h>.
24153 (llround): Define using libm_alias_double.
24154 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24155 <libm-alias-double.h>.
24156 (lrint): Define using libm_alias_double.
24157 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24158 <libm-alias-double.h>.
24159 (lround): Define using libm_alias_double.
24160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
24161 <libm-alias-double.h>.
24162 (copysign): Define using libm_alias_double.
24163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
24164 <libm-alias-double.h>.
24165 (llrint): Define using libm_alias_double.
24167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
24168 <libm-alias-double.h>.
24169 (llround): Define using libm_alias_double.
24170 (lround): Likewise.
24171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
24172 <libm-alias-double.h>.
24173 (logb): Define using libm_alias_double.
24174 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24175 <libm-alias-double.h>.
24176 (copysign): Define using libm_alias_double.
24177 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24178 <libm-alias-double.h>.
24179 (llrint): Define using libm_alias_double.
24181 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
24182 <libm-alias-double.h>.
24183 (llround): Define using libm_alias_double.
24184 (lround): Likewise.
24185 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24186 <libm-alias-double.h>.
24187 (llround): Define using libm_alias_double.
24188 (lround): Likewise.
24189 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24190 <libm-alias-double.h>.
24191 (copysign): Define using libm_alias_double.
24192 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24193 <libm-alias-double.h>.
24194 (llrint): Define using libm_alias_double.
24196 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24197 <libm-alias-double.h>.
24198 (llround): Define using libm_alias_double.
24199 (lround): Likewise.
24200 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24201 <libm-alias-double.h>.
24202 (llrint): Define using libm_alias_double.
24204 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24205 <libm-alias-double.h>.
24206 (llround): Define using libm_alias_double.
24207 (lround): Likewise.
24209 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24212 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
24213 compat symbol based on llround.
24215 * sysdeps/powerpc/power7/fpu/s_logb.c
24216 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
24217 symbol based on __logb, not on logb.
24218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
24219 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
24221 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24223 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
24224 (rint): Define using libm_alias_double.
24225 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
24226 <libm-alias-double.h>.
24227 (modf): Define using libm_alias_double.
24228 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
24229 <libm-alias-double.h>.
24230 (ceil): Define using libm_alias_double.
24231 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
24232 <libm-alias-double.h>.
24233 (floor): Define using libm_alias_double.
24234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
24235 <libm-alias-double.h>.
24236 (nearbyint): Define using libm_alias_double.
24237 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
24238 <libm-alias-double.h>.
24239 (rint): Define using libm_alias_double.
24240 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
24241 <libm-alias-double.h>.
24242 (round): Define using libm_alias_double.
24243 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
24244 <libm-alias-double.h>.
24245 (trunc): Define using libm_alias_double.
24246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
24247 <libm-alias-double.h>.
24248 (ceil): Define using libm_alias_double.
24249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
24250 Include <libm-alias-double.h>.
24251 (floor): Define using libm_alias_double.
24252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
24253 <libm-alias-double.h>.
24254 (modf): Define using libm_alias_double.
24255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
24256 Include <libm-alias-double.h>.
24257 (round): Define using libm_alias_double.
24258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
24259 Include <libm-alias-double.h>.
24260 (trunc): Define using libm_alias_double.
24261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24262 <libm-alias-double.h>.
24263 (ceil): Define using libm_alias_double.
24264 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24265 <libm-alias-double.h>.
24266 (floor): Define using libm_alias_double.
24267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24268 <libm-alias-double.h>.
24269 (round): Define using libm_alias_double.
24270 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24271 <libm-alias-double.h>.
24272 (trunc): Define using libm_alias_double.
24273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24274 <libm-alias-double.h>.
24275 (ceil): Define using libm_alias_double.
24276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24277 <libm-alias-double.h>.
24278 (floor): Define using libm_alias_double.
24279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24280 <libm-alias-double.h>.
24281 (modf): Define using libm_alias_double.
24282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24283 <libm-alias-double.h>.
24284 (round): Define using libm_alias_double.
24285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24286 <libm-alias-double.h>.
24287 (trunc): Define using libm_alias_double.
24288 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24289 <libm-alias-double.h>.
24290 (ceil): Define using libm_alias_double.
24291 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24292 <libm-alias-double.h>.
24293 (floor): Define using libm_alias_double.
24294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24295 <libm-alias-double.h>.
24296 (nearbyint): Define using libm_alias_double.
24297 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24298 <libm-alias-double.h>.
24299 (rint): Define using libm_alias_double.
24300 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24301 <libm-alias-double.h>.
24302 (round): Define using libm_alias_double.
24303 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24304 <libm-alias-double.h>.
24305 (trunc): Define using libm_alias_double.
24306 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24307 <libm-alias-double.h>.
24308 (ceil): Define using libm_alias_double.
24309 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24310 <libm-alias-double.h>.
24311 (floor): Define using libm_alias_double.
24312 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24313 <libm-alias-double.h>.
24314 (round): Define using libm_alias_double.
24315 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24316 <libm-alias-double.h>.
24317 (trunc): Define using libm_alias_double.
24319 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24320 (fabs): Define using libm_alias_double.
24321 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24322 (fma): Define using libm_alias_double.
24323 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24324 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24325 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24326 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24328 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24330 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24332 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24333 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24334 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24337 due redirect macro.
24339 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24341 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24343 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24345 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24346 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24347 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24348 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24351 (libm-sysdep_routines): Add s_nearbyintf-generic and
24352 s_nearbyint-generic.
24353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24366 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24377 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24388 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24399 (sysdep_calls): New rule.
24400 (sysdep_routines): Use sysdep_calls as base.
24401 (libm-sysdep_routines): Add generic rule for symbols shared with
24402 libc. Add s_copysign-generic and s_copysign-generic objects.
24403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24412 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24415 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24416 the list of locales to be built for testing.
24417 * localedata/is_IS.UTF-8.in: New file.
24418 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24421 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24423 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24424 <libm-alias-float.h>.
24425 (fabsf): Define using libm_alias_float.
24427 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24429 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24431 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24433 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24434 <libm-alias-float.h>.
24435 (fabsf): Define using libm_alias_float.
24436 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24437 <libm-alias-float.h>.
24438 (lrintf): Define using libm_alias_float.
24439 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24440 <libm-alias-float.h>.
24441 (rintf): Define using libm_alias_float.
24443 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24444 <libm-alias-double.h>.
24445 (fabs): Define using libm_alias_double.
24446 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24447 <libm-alias-double.h>.
24448 (lrint): Define using libm_alias_double.
24449 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24450 <libm-alias-double.h>.
24451 (rint): Define using libm_alias_double.
24453 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24454 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24455 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24456 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24457 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24458 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24459 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24460 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24461 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24462 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24463 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24464 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24465 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24466 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24467 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24468 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24469 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24470 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24472 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24473 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24474 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24476 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24477 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24478 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24480 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24481 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24482 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24483 s_expm1_template.c.
24484 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24485 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24486 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24488 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24489 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24490 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24491 s_floor_template.c.
24492 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24493 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24494 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24495 s_frexp_template.c.
24496 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24497 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24498 s_lrint_template.c.
24499 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24500 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24501 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24503 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24504 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24505 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24506 s_nearbyint_template.c.
24507 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24508 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24509 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24510 s_remquo_template.c.
24511 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24512 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24513 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24515 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24516 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24517 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24519 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24520 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24521 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24522 s_sincos_template.c.
24523 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24524 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24525 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24527 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24528 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24529 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24531 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24532 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24533 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24534 s_trunc_template.c.
24535 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24536 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24537 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24538 s_atan.c instead of including s_atan.c.
24539 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24540 s_atanf.c instead of including s_atanf.c.
24541 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24542 s_atanl.c instead of including s_atanl.c.
24543 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24544 instead of s_atan.c.
24545 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24546 instead of s_atanf.c.
24547 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24548 instead of s_atanl.c.
24550 * scripts/update-copyrights: Do not handle intl/plural.c
24553 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24556 * configure.ac (BISON): Require to be present.
24557 * configure: Regenerated.
24558 * intl/Makefile (generated): Add plural.c.
24559 [$(BISON) != no]: Make code unconditional.
24560 (plural.c): Change rule to $(objpfx)plural.c.
24561 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24562 * intl/plural.c: Remove.
24563 * manual/install.texi (Tools for Compilation): Document bison as
24565 * INSTALL: Regenerated.
24567 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24569 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24570 <libm-alias-double.h>.
24571 (llrint): Define using libm_alias_double.
24572 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24573 <libm-alias-float.h>.
24574 (llrintf): Define using libm_alias_float.
24575 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24576 <libm-alias-ldouble.h>.
24577 (llrintl): Define using libm_alias_ldouble.
24579 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24580 declare_mgen_alias instead of weak_alias.
24581 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24582 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24583 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24585 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24587 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24589 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24590 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24591 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24593 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24594 Add submul_1-generic.
24595 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24596 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24597 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24599 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24600 Add addmul_1-generic.
24601 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24602 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24603 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24605 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24607 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24608 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24609 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24611 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24613 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24614 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24615 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24617 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24619 According to CLDR, collation rules for Serbian and Bosnian
24620 should be the same as for Croatian.
24623 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24624 and to the list of locales to be built for testing.
24625 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24626 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24627 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24628 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24630 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24632 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24633 to make test case pass.
24634 * localedata/hr_HR.UTF-8.in: Add more test strings.
24636 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24638 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24640 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24642 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24643 the list of locales to built for testing.
24644 * localedata/hr_HR.UTF-8.in: New file.
24646 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24649 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24651 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24652 CLDR (except use ligatures for the digraphs, CLDR does not use
24653 the ligatures), add first_workday, some fixes in the date and time
24655 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24657 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24658 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24659 Add int_p_cs_precedes and int_n_cs_precedes.
24660 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24661 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24663 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24664 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24666 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24667 and lang_lib. Change postal_fmt.
24669 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24671 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24673 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24674 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24675 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24676 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24677 * sysdeps/generic/setjmpP.h: New file.
24678 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24679 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24680 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24681 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24682 Add jmp_buf-ssp.sym.
24683 (tests): Add tst-saved_mask-1.
24685 2017-11-30 Arjun Shankar <arjun@redhat.com>
24689 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24690 instead of request2size.
24692 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24695 (__lllrint): Remove alias.
24696 (lllrint): Likewise.
24697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24698 (__lllrintf): Likewise.
24699 (lllrintf): Likewise.
24701 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24702 <libm-alias-float.h>.
24703 (copysignf): Define using libm_alias_float.
24704 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24705 <libm-alias-float.h>.
24706 (fabsf): Define using libm_alias_float.
24707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24708 Include <libm-alias-float.h>.
24709 (copysignf): Define using libm_alias_float.
24710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24711 <libm-alias-float.h>.
24712 (fabsf): Define using libm_alias_float.
24713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24714 <libm-alias-float.h>.
24715 (fdimf): Define using libm_alias_float.
24716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24717 <libm-alias-float.h>.
24718 (fmaf): Define using libm_alias_float.
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24720 <libm-alias-float.h>.
24721 (llrintf): Define using libm_alias_float.
24722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24723 Include <libm-alias-float.h>.
24724 (nearbyintf): Define using libm_alias_float.
24725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24726 <libm-alias-float.h>.
24727 (rintf): Define using libm_alias_float.
24728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24729 <libm-alias-float.h>.
24730 (llrintf): Define using libm_alias_float.
24731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24732 <libm-alias-float.h>.
24733 (lrintf): Define using libm_alias_float.
24734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24735 <libm-alias-float.h>.
24736 (nearbyintf): Define using libm_alias_float.
24737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24738 <libm-alias-float.h>.
24739 (rintf): Define using libm_alias_float.
24740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24741 <libm-alias-float.h>.
24742 (ceilf): Define using libm_alias_float.
24743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24744 <libm-alias-float.h>.
24745 (floorf): Define using libm_alias_float.
24746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24747 <libm-alias-float.h>.
24748 (fmaf): Define using libm_alias_float.
24749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24750 <libm-alias-float.h>.
24751 (lrintf): Define using libm_alias_float.
24752 (llrintf): Likewise.
24753 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24754 <libm-alias-float.h>.
24755 (nearbyintf): Define using libm_alias_float.
24756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24757 <libm-alias-float.h>.
24758 (rintf): Define using libm_alias_float.
24759 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24760 <libm-alias-float.h>.
24761 (truncf): Define using libm_alias_float.
24762 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24763 <libm-alias-float.h>.
24764 (copysignf): Define using libm_alias_float.
24765 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24766 <libm-alias-float.h>.
24767 (fabsf): Define using libm_alias_float.
24768 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24769 <libm-alias-float.h>.
24770 (lrintf): Define using libm_alias_float.
24771 (llrintf): Likewise.
24772 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24773 <libm-alias-float.h>.
24774 (nearbyintf): Define using libm_alias_float.
24775 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24776 <libm-alias-float.h>.
24777 (rintf): Define using libm_alias_float.
24779 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24781 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24782 <libm-alias-double.h>.
24783 (copysign): Define using libm_alias_double.
24784 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24785 <libm-alias-double.h>.
24786 (fabs): Define using libm_alias_double.
24787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24788 Include <libm-alias-double.h>.
24789 (copysign): Define using libm_alias_double.
24790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24791 <libm-alias-double.h>.
24792 (fabs): Define using libm_alias_double.
24793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24794 <libm-alias-double.h>.
24795 (fdim): Define using libm_alias_double.
24796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24797 <libm-alias-double.h>.
24798 (fma): Define using libm_alias_double.
24799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24800 <libm-alias-double.h>.
24801 (llrint): Define using libm_alias_double.
24802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24803 Include <libm-alias-double.h>.
24804 (nearbyint): Define using libm_alias_double.
24805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24806 <libm-alias-double.h>.
24807 (rint): Define using libm_alias_double.
24808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24809 <libm-alias-double.h>.
24810 (fabs): Define using libm_alias_double.
24811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24812 <libm-alias-double.h>.
24813 (llrint): Define using libm_alias_double.
24814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24815 <libm-alias-double.h>.
24816 (nearbyint): Define using libm_alias_double.
24817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24818 <libm-alias-double.h>.
24819 (rint): Define using libm_alias_double.
24820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24821 <libm-alias-double.h>.
24822 (ceil): Define using libm_alias_double.
24823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24824 <libm-alias-double.h>.
24825 (floor): Define using libm_alias_double.
24826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24827 <libm-alias-double.h>.
24828 (fma): Define using libm_alias_double.
24829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24830 <libm-alias-double.h>.
24831 (lrint): Define using libm_alias_double.
24832 (llrint): Likewise.
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24834 <libm-alias-double.h>.
24835 (nearbyint): Define using libm_alias_double.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24837 <libm-alias-double.h>.
24838 (rint): Define using libm_alias_double.
24839 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24840 <libm-alias-double.h>.
24841 (trunc): Define using libm_alias_double.
24842 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24843 <libm-alias-double.h>.
24844 (copysign): Define using libm_alias_double.
24845 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24846 <libm-alias-double.h>.
24847 (fabs): Define using libm_alias_double.
24848 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24849 <libm-alias-double.h>.
24850 (lrint): Define using libm_alias_double.
24851 (llrint): Likewise.
24852 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24853 <libm-alias-double.h>.
24854 (nearbyint): Define using libm_alias_double.
24855 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24856 <libm-alias-double.h>.
24857 (rint): Define using libm_alias_double.
24860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24862 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24864 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24865 SPARC --disable-multi-arch glibc variants.
24867 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24868 <libm-alias-float.h>.
24869 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24871 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24872 <libm-alias-float.h>.
24873 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24875 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24876 <libm-alias-float.h>.
24877 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24879 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24880 <libm-alias-float.h>.
24881 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24883 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24884 <libm-alias-float.h>.
24885 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24887 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24888 <libm-alias-float.h>.
24889 (ceilf): Define using libm_alias_float.
24890 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24891 <libm-alias-float.h>.
24892 (floorf): Define using libm_alias_float.
24893 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24894 <libm-alias-float.h>.
24895 (fmaf): Define using libm_alias_float.
24896 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24897 <libm-alias-float.h>.
24898 (nearbyintf): Define using libm_alias_float.
24899 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24900 <libm-alias-float.h>.
24901 (rintf): Define using libm_alias_float.
24902 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24903 <libm-alias-float.h>.
24904 (truncf): Define using libm_alias_float.
24905 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24906 (copysignf): Define using libm_alias_float.
24907 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24908 (cosf): Define using libm_alias_float.
24909 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24910 (fabsf): Define using libm_alias_float.
24911 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24912 (fmaxf): Define using libm_alias_float.
24913 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24914 (fminf): Define using libm_alias_float.
24915 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24916 (llrintf): Define using libm_alias_float.
24917 [!__ILP32__] (lrintf): Likewise.
24918 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24919 (sincosf): Define using libm_alias_float.
24920 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24921 (sinf): Define using libm_alias_float.
24922 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24923 (lrintf): Define using libm_alias_float.
24925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24926 <libm-alias-double.h>.
24927 (atan): Define using libm_alias_double.
24928 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24929 <libm-alias-double.h>.
24930 (ceil): Define using libm_alias_double.
24931 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24932 <libm-alias-double.h>.
24933 (floor): Define using libm_alias_double.
24934 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24935 <libm-alias-double.h>.
24936 (fma): Define using libm_alias_double.
24937 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24938 <libm-alias-double.h>.
24939 (nearbyint): Define using libm_alias_double.
24940 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24941 <libm-alias-double.h>.
24942 (rint): Define using libm_alias_double.
24943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24944 <libm-alias-double.h>.
24945 (sin): Define using libm_alias_double.
24947 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24948 <libm-alias-double.h>.
24949 (tan): Define using libm_alias_double.
24950 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24951 <libm-alias-double.h>.
24952 (trunc): Define using libm_alias_double.
24953 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24954 (copysign): Define using libm_alias_double.
24955 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24956 (fabs): Define using libm_alias_double.
24957 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24958 (fmax): Define using libm_alias_double.
24959 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24960 (fmin): Define using libm_alias_double.
24961 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24962 (llrint): Define using libm_alias_double.
24963 [!__ILP32__] (lrint): Likewise.
24964 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24965 (lrint): Define using libm_alias_double.
24967 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24969 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24970 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24972 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24980 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24982 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24983 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24984 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24985 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24986 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24990 (libm-sysdep_routines): Add s_nearbyint-generic and
24991 s_nearbyintf-generic objects.
24992 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24993 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24994 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24995 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24996 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24997 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24999 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25000 Add s_finitef-generic and s_finite-generic objects.
25001 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25004 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25005 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25006 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25009 Add s_isinff-generic and s_isinf-generic objects.
25010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25018 Add s_isnanf-generic and s_isnan-generic objects.
25019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25026 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25030 (sysdep_routines): Use sysdep_calls as base.
25031 (libm-sysdep_routines): Add generic rule for symbols shared with
25032 libc. Add s_signbit-generic and s_signbitf-generic objects.
25033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25038 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25040 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25042 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
25043 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
25044 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
25045 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
25046 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
25047 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
25048 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
25049 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
25050 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
25051 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
25052 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
25053 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
25054 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
25055 libm_alias_float_r.
25056 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
25057 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
25059 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
25060 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
25061 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
25062 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
25063 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
25064 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
25065 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
25066 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
25067 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
25068 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
25070 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
25072 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
25073 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
25074 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
25075 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
25076 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
25077 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
25078 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
25079 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
25080 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
25081 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
25082 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
25083 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
25084 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
25085 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
25086 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
25087 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
25088 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
25089 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
25090 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
25092 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
25093 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
25094 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
25095 * sysdeps/ia64/fpu/w_lgammaf_main.c
25096 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
25097 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
25099 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25100 Alexandre Oliva <aoliva@redhat.com>
25103 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
25104 * localedata/fr_CA.UTF-8.in: New file with test data for backward
25106 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
25108 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
25109 * localedata/locales/de_DE (LC_COLLATE): Likewise.
25110 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
25111 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
25112 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
25113 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
25114 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
25115 instead of “ifdef DIACRIT_BACKWARD”.
25117 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25119 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
25120 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
25121 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
25122 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
25123 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
25124 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
25125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
25126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
25127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
25128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
25129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
25130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
25131 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
25132 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
25133 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
25134 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25135 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
25136 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
25137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25138 ($(have-as-vis3) == yes): Remove conditional.
25139 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
25141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
25143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
25145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
25147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
25149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
25150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
25151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
25152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
25153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
25154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
25155 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
25156 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
25158 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25160 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
25161 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
25162 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
25163 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
25164 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
25165 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
25166 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
25167 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
25168 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
25169 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
25170 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
25171 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
25172 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
25173 libm_alias_double_r.
25174 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
25176 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
25177 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
25178 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
25179 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
25180 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
25181 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
25182 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
25183 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
25184 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
25185 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
25186 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
25188 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
25190 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
25191 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
25192 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
25193 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
25194 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
25195 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
25196 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
25197 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
25198 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
25199 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
25200 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
25201 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
25202 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
25203 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
25204 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
25205 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
25206 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
25207 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
25209 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
25210 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
25211 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
25212 * sysdeps/ia64/fpu/w_lgamma_main.c
25213 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
25214 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
25216 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
25218 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
25219 address of $global$ into %dp register earlier. Use pc-relative
25220 instruction sequence for PIC case.
25222 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25224 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
25225 (asinhf): Define using libm_alias_float.
25226 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
25227 (atanf): Define using libm_alias_float.
25228 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
25229 (cbrtf): Define using libm_alias_float.
25230 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
25231 (ceilf): Define using libm_alias_float.
25232 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25233 (copysignf): Define using libm_alias_float.
25234 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
25235 (expm1f): Define using libm_alias_float.
25236 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
25237 (fabsf): Define using libm_alias_float.
25238 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
25239 (floorf): Define using libm_alias_float.
25240 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25241 (fmaxf): Define using libm_alias_float.
25242 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
25243 (fminf): Define using libm_alias_float.
25244 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
25245 (frexpf): Define using libm_alias_float.
25246 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25247 (llrintf): Define using libm_alias_float.
25248 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
25249 (logbf): Define using libm_alias_float.
25250 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25251 (lrintf): Define using libm_alias_float.
25252 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
25253 (nearbyintf): Define using libm_alias_float.
25254 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
25255 (remquof): Define using libm_alias_float.
25256 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
25257 (rintf): Define using libm_alias_float.
25258 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
25259 (truncf): Define using libm_alias_float.
25260 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25261 <libm-alias-float.h>.
25262 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25264 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25265 <libm-alias-float.h>.
25266 (expf): Define using libm_alias_float, or libm_alias_float_other
25268 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25269 <libm-alias-float.h>.
25270 (log2f): Define using libm_alias_float, or libm_alias_float_other
25272 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25273 <libm-alias-float.h>.
25274 (logf): Define using libm_alias_float, or libm_alias_float_other
25276 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25277 <libm-alias-float.h>.
25278 (powf): Define using libm_alias_float, or libm_alias_float_other
25280 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25281 <libm-alias-float.h>.
25282 (cosf): Define using libm_alias_float.
25283 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25284 <libm-alias-float.h>.
25285 (sincosf): Define using libm_alias_float.
25286 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25287 <libm-alias-float.h>.
25288 (sinf): Define using libm_alias_float.
25289 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25290 (fmaxf): Define using libm_alias_float.
25291 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25292 (fminf): Define using libm_alias_float.
25293 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25294 <libm-alias-float.h>.
25295 (fmaf): Define using libm_alias_float.
25297 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25298 (asinh): Define using libm_alias_double.
25299 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25300 (atan): Define using libm_alias_double.
25301 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25302 (cbrt): Define using libm_alias_double.
25303 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25304 (ceil): Define using libm_alias_double.
25305 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25306 (copysign): Define using libm_alias_double.
25307 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25308 (expm1): Define using libm_alias_double.
25309 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25310 (fabs): Define using libm_alias_double.
25311 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25312 (fdim): Define using libm_alias_double.
25313 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25314 (floor): Define using libm_alias_double.
25315 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25316 (fmax): Define using libm_alias_double.
25317 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25318 (fmin): Define using libm_alias_double.
25319 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25320 (frexp): Define using libm_alias_double.
25321 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25322 (llrint): Define using libm_alias_double.
25323 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25324 (logb): Define using libm_alias_double.
25325 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25326 (lrint): Define using libm_alias_double.
25327 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25328 (nearbyint): Define using libm_alias_double.
25329 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25330 (remquo): Define using libm_alias_double.
25331 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25332 (rint): Define using libm_alias_double.
25333 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25334 (trunc): Define using libm_alias_double.
25335 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25336 (fmax): Define using libm_alias_double.
25337 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25338 (fmin): Define using libm_alias_double.
25339 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25340 (fma): Define using libm_alias_double.
25342 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25345 * elf/dl-hwcaps.c (ROUND): Removed.
25346 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25347 and ELF_NOTE_NEXT_OFFSET.
25348 * elf/dl-load.c (ROUND): Removed.
25349 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25350 * elf/readelflib.c (ROUND): Removed.
25351 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25352 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25353 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25354 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25356 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25358 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25359 [!__fmaf] (fmaf): Define using libm_alias_float.
25361 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25362 [!__fma] (fma): Define using libm_alias_double.
25363 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25365 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25368 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25369 and implement the collation rules for cs from CLDR on top of that.
25370 * Makefile: Add cs_CZ.UTF-8 to test-input.
25371 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25373 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25375 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25377 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25378 Icarus Sparry <icarus.w.sparry@intel.com>
25380 * benchtests/Makefile:Add BENCHSET to allow subsets of
25381 benchmarks to be run.
25382 * benchtests/README: Add documentation for: Running subsets of
25385 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25387 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25388 range of tests names.
25390 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25391 result from property and remove "max", min" and "mean" from
25392 required properties based on benchtests/bench-skeleton.c.
25394 2017-11-28 Florian Weimer <fweimer@redhat.com>
25397 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25398 due to Internet requirement.
25399 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25401 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25403 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25405 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25406 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25407 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25408 (sysdep_routines): Add memset-ultra1.
25409 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25411 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25412 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25413 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25414 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25415 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25416 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25417 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25418 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25420 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25422 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25423 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25424 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25425 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25426 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25427 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25428 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25430 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25431 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25432 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25433 (sysdep_routines): Add memcpy-ultra1.
25434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25435 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25437 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25439 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25440 (cfloat_versions): Take function argument without trailing 'f'.
25441 Call libm_alias_float_other.
25442 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25443 * sysdeps/alpha/fpu/cargf.c: Likewise.
25444 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25445 * sysdeps/alpha/fpu/conjf.c: Likewise.
25446 * sysdeps/alpha/fpu/crealf.c: Likewise.
25447 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25448 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25449 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25450 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25451 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25452 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25453 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25454 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25455 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25456 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25457 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25458 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25459 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25460 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25461 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25462 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25463 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25464 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25465 (clog10f): Use libm_alias_float_other.
25466 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25467 (ceilf): Define using libm_alias_float.
25468 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25469 (copysignf): Define using libm_alias_float.
25470 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25471 (fabsf): Define using libm_alias_float.
25472 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25473 (floorf): Define using libm_alias_float.
25474 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25475 (fmaxf): Define using libm_alias_float.
25476 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25477 (fminf): Define using libm_alias_float.
25478 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25479 (lrintf): Define using libm_alias_float.
25480 (llrintf): Likewise.
25481 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25482 (lroundf): Define using libm_alias_float.
25483 (llroundf): Likewise.
25484 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25485 (rintf): Define using libm_alias_float.
25486 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25487 (truncf): Define using libm_alias_float.
25489 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25490 (ceilf): Define using libm_alias_float.
25491 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25492 (floorf): Define using libm_alias_float.
25493 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25494 (fmaf): Define using libm_alias_float.
25495 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25496 (fmaxf): Define using libm_alias_float.
25497 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25498 (fminf): Define using libm_alias_float.
25499 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25500 (llrintf): Define using libm_alias_float.
25501 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25502 (llroundf): Define using libm_alias_float.
25503 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25504 (lrintf): Define using libm_alias_float.
25505 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25506 (lroundf): Define using libm_alias_float.
25507 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25508 <libm-alias-float.h>.
25509 (nearbyintf): Define using libm_alias_float.
25510 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25511 (rintf): Define using libm_alias_float.
25512 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25513 (roundf): Define using libm_alias_float.
25514 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25515 (truncf): Define using libm_alias_float.
25517 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25518 (ceil): Define using libm_alias_double.
25519 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25520 (copysign): Define using libm_alias_double.
25521 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25522 (fabs): Define using libm_alias_double.
25523 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25524 (floor): Define using libm_alias_double.
25525 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25526 (fmax): Define using libm_alias_double.
25527 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25528 (fmin): Define using libm_alias_double.
25529 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25530 (lrint): Define using libm_alias_double.
25531 (llrint): Likewise.
25532 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25533 (lround): Define using libm_alias_double.
25534 (llround): Likewise.
25535 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25536 (rint): Define using libm_alias_double.
25537 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25538 (trunc): Define using libm_alias_double.
25540 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25541 (libm_alias_double_r): Add semicolon after weak_alias call.
25543 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25545 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25546 (ceil): Define using libm_alias_double.
25547 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25548 (floor): Define using libm_alias_double.
25549 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25550 (fma): Define using libm_alias_double.
25551 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25552 (fmax): Define using libm_alias_double.
25553 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25554 (fmin): Define using libm_alias_double.
25555 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25556 (llrint): Define using libm_alias_double.
25557 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25558 (llround): Define using libm_alias_double.
25559 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25560 (lrint): Define using libm_alias_double.
25561 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25562 (lround): Define using libm_alias_double.
25563 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25564 (nearbyint): Define using libm_alias_double.
25565 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25566 (rint): Define using libm_alias_double.
25567 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25568 (round): Define using libm_alias_double.
25569 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25570 (trunc): Define using libm_alias_double.
25572 2017-11-27 Florian Weimer <fweimer@redhat.com>
25574 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25575 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25576 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25577 (tests): Add tst-mlock2.
25578 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25579 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25580 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25581 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25582 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25583 for mlock. Document mlock2.
25585 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25587 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25588 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25590 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25592 * sysdeps/x86/Makeconfig: New file.
25593 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25594 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25595 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25596 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25597 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25598 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25599 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25601 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25602 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25603 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25604 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25605 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25606 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25607 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25608 * manual/math.texi (Mathematics): Document support for _Float64x.
25609 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25610 * stdlib/Versions (GLIBC_2.27): Likewise.
25611 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25612 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25613 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25614 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25615 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25616 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25617 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25618 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25619 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25621 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25622 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25627 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25628 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25629 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25630 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25631 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25632 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25633 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25634 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25635 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25636 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25637 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25638 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25639 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25640 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25642 2017-11-27 Andreas Schwab <schwab@suse.de>
25644 * elf/Makefile (dl-routines): Add dl-sort-maps.
25645 * elf/dl-sort-maps.c: New file.
25646 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25647 (_dl_sort_maps): Declare.
25648 * elf/dl-fini.c (_dl_sort_fini): Remove.
25649 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25650 * elf/dl-close.c (_dl_close_worker): Likewise.
25651 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25653 * elf/dl-open.c (dl_open_worker): Likewise.
25655 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25657 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25658 using libm_alias_float128.
25659 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25661 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25663 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25664 (setpayloadsigf128): Likewise.
25665 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25667 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25670 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25671 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25672 -mfloat128 to CFLAGS.
25674 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25676 (CFLAGS-libm-test-support-float64x.c): New variable.
25677 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25678 $(f128-loader-link) to gnulib-tests.
25680 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25681 (libm_alias_float128_other_r): If
25682 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25684 (libm_alias_float128_r): Add semicolon after weak_alias call.
25685 * sysdeps/generic/libm-alias-ldouble.h
25686 (libm_alias_ldouble_other_r_f128): New macro.
25687 (libm_alias_ldouble_other_r_f64x): Likewise.
25688 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25689 and libm_alias_ldouble_other_r_f64x.
25690 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25691 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25692 (libm_alias_ldouble_other_r_f128): New macro.
25693 (libm_alias_ldouble_other_r_f64x): Likewise.
25694 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25695 and libm_alias_ldouble_other_r_f64x.
25697 * stdlib/strfroml.c: Always include <stdlib.h>.
25698 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25699 undefine as macro and define as weak alias.
25700 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25701 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25703 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25704 Define and later undefine as macro and define as weak alias.
25706 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25707 Define and later undefine as macro. Define as weak alias if
25709 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25710 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25711 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25712 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25713 Define and later undefine as macro. Define as weak alias if
25715 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25716 Define and later undefine as macro. Define as weak alias if
25718 * sysdeps/ieee754/float128/strtof128_l.c
25719 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25720 Define and later undefine as macro. Define as weak alias if
25722 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25723 Define and later undefine as macro. Define as weak alias if
25725 * sysdeps/ieee754/ldbl-128/strtold_l.c
25726 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25727 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25728 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25729 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25730 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25731 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25732 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25733 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25734 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25735 * sysdeps/ieee754/ldbl-96/strtold_l.c
25736 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25737 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25738 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25739 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25741 * math/test-float64x.h: New file.
25742 * math/Makefile (type-float64x-yes): New variable.
25743 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25745 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25746 function-like macro.
25747 (min_of_type_): Likewise.
25748 (min_of_type_l): Likewise.
25749 (min_of_type_f128): Likewise.
25750 (min_of_type): Pass () as last argument of __MATH_TG.
25752 * stdlib/tst-strtod-round-skeleton.c
25753 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25756 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25757 for combinations of long double with _Float64 and _Float64x.
25759 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25760 (__DECL_SIMD_cosf32): Likewise.
25761 (__DECL_SIMD_cosf64): Likewise.
25762 (__DECL_SIMD_cosf32x): Likewise.
25763 (__DECL_SIMD_cosf64x): Likewise.
25764 (__DECL_SIMD_cosf128x): Likewise.
25765 (__DECL_SIMD_sinf16): Likewise.
25766 (__DECL_SIMD_sinf32): Likewise.
25767 (__DECL_SIMD_sinf64): Likewise.
25768 (__DECL_SIMD_sinf32x): Likewise.
25769 (__DECL_SIMD_sinf64x): Likewise.
25770 (__DECL_SIMD_sinf128x): Likewise.
25771 (__DECL_SIMD_sincosf16): Likewise.
25772 (__DECL_SIMD_sincosf32): Likewise.
25773 (__DECL_SIMD_sincosf64): Likewise.
25774 (__DECL_SIMD_sincosf32x): Likewise.
25775 (__DECL_SIMD_sincosf64x): Likewise.
25776 (__DECL_SIMD_sincosf128x): Likewise.
25777 (__DECL_SIMD_logf16): Likewise.
25778 (__DECL_SIMD_logf32): Likewise.
25779 (__DECL_SIMD_logf64): Likewise.
25780 (__DECL_SIMD_logf32x): Likewise.
25781 (__DECL_SIMD_logf64x): Likewise.
25782 (__DECL_SIMD_logf128x): Likewise.
25783 (__DECL_SIMD_expf16): Likewise.
25784 (__DECL_SIMD_expf32): Likewise.
25785 (__DECL_SIMD_expf64): Likewise.
25786 (__DECL_SIMD_expf32x): Likewise.
25787 (__DECL_SIMD_expf64x): Likewise.
25788 (__DECL_SIMD_expf128x): Likewise.
25789 (__DECL_SIMD_powf16): Likewise.
25790 (__DECL_SIMD_powf32): Likewise.
25791 (__DECL_SIMD_powf64): Likewise.
25792 (__DECL_SIMD_powf32x): Likewise.
25793 (__DECL_SIMD_powf64x): Likewise.
25794 (__DECL_SIMD_powf128x): Likewise.
25796 * stdlib/Versions (libc): Move entries for wcstof128 and
25797 wcstof128_l to ....
25798 * wcsmbs/Versions (libc): ... here.
25799 Include <float128-abi.h>.
25801 2017-11-24 Florian Weimer <fweimer@redhat.com>
25803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25804 bits/mman-shared.h.
25805 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25806 <bits/mman-shared.h>.
25807 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25809 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25810 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25811 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25812 <bits/mman-shared.h>.
25814 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25817 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25818 posix_memalign/free.
25819 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25821 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25824 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25825 and implement the collation rules for pl from CLDR on top of that.
25826 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25827 of locales to be built for testing.
25828 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25830 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25832 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25833 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25834 libm_alias_ldouble_other.
25835 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25836 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25837 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25838 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25839 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25840 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25841 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25842 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25843 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25844 libm_alias_ldouble_r.
25845 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25846 libm_alias_ldouble_other.
25847 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25848 (log10l): Likewise.
25849 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25850 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25851 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25852 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25853 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25854 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25855 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25856 (atan2l): Likewise.
25857 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25858 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25859 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25860 libm_alias_ldouble.
25861 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25863 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25864 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25865 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25867 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25868 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25869 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25870 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25871 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25872 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25873 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25874 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25875 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25876 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25877 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25878 libm_alias_ldouble.
25879 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25880 libm_alias_ldouble_other.
25881 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25882 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25883 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25884 libm_alias_ldouble.
25885 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25886 libm_alias_ldouble_other.
25887 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25888 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25889 * sysdeps/ia64/fpu/w_lgammal_main.c
25890 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25891 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25893 2017-11-23 Florian Weimer <fweimer@redhat.com>
25895 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25896 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25897 alike. Remove freeres marker.
25898 * malloc/arena.c (arena_thread_freeres): Call
25899 tcache_thread_shutdown.
25901 2017-11-23 Florian Weimer <fweimer@redhat.com>
25904 Export nscd hash function as __nss_hash.
25905 * include/nss.h (__nss_hash): Declare.
25906 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25908 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25909 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25911 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25912 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25913 * nss/Makefiles (routines): Add nss_hash.
25914 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25915 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25916 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25917 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25919 2017-11-23 Florian Weimer <fweimer@redhat.com>
25922 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25923 Return error code, not -1.
25924 * signal/tst-sigwait-eintr.c: New file.
25925 * signal/Makefile (tests): Add tst-sigwait-eintr.
25927 2017-11-23 Florian Weimer <fweimer@redhat.com>
25929 Linux: Add memfd_create system call wrapper
25930 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25932 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25933 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25934 [__USE_GNU] (memfd_create): Declare.
25935 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25936 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25937 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25938 * sysdeps/unix/sysv/linux/**.abilist: Update.
25939 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25941 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25943 * localedata/gen-locale.sh: Fix typo in variable name.
25945 * resolv/res_debug.c (p_secstodate): Condition definition on
25946 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25947 directly as __p_secstodate, and as a compat symbol. Do not use
25948 libresolv_hidden_def.
25949 * resolv/resolv.h (p_secstodate): Remove macro and function
25951 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25952 using p_secstodate.
25953 * include/resolv.h (__p_secstodate): Do not use
25954 libresolv_hidden_proto.
25955 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25956 (tests-internal): ... here.
25957 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25958 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25959 and declare and use __p_secstodate and use compat_symbol_reference
25961 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25962 implementation returning 77.
25965 * resolv/res_debug.c: Include <libc-diag.h>.
25966 (p_secstodate): Assert time_t at least as wide as u_long. On
25967 overflow, use integer seconds since the epoch as output, or use
25968 "<overflow>" as output and set errno to EOVERFLOW if integer
25969 seconds since the epoch would be 14 or more characters.
25970 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25972 * resolv/tst-p_secstodate.c: New file.
25973 * resolv/Makefile (tests): Add tst-p_secstodate.
25974 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25976 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25977 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25978 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25980 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25982 * posix/regcomp.c (init_word_char): Add comments.
25984 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25987 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25988 strlen to compute length of ut_user and set trailing NUL byte of
25991 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25994 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25995 using “copy "iso14651_t1"” and then implementing the
25996 collation rules for lv from CLDR on top of that.
25997 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25998 of locales to be built for testing.
25999 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26002 2017-11-21 Joseph Myers <joseph@codesourcery.com>
26004 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26005 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26006 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26007 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26008 [__USE_MISC] (MADV_HWPOISON): New macro.
26009 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26011 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26013 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26014 -Wmissing-braces on GCC 4.9.
26016 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26018 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26019 * sysdeps/s390/s390-32/start.S (_start): Likewise
26020 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26021 (thread_start): Likewise.
26022 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26023 (thread_start): Likewise.
26024 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26025 (__makecontext_ret): Likewise.
26026 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26027 (__makecontext_ret): Likewise.
26029 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26031 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26032 __wcschrnul): Remove attribute_hidden.
26034 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26036 regex: don't assume uint64_t or uint32_t
26037 This avoids -Werror=overflow errors for 32-bit systems in
26038 the 64-bit case. Problem reported by Joseph Myers in:
26039 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
26040 Also, when this code is used in Gnulib it ports to platforms
26041 that lack uint64_t and uint32_t. The C standard doesn't guarantee
26042 them, and on some 32-bit compilers there is no uint64_t.
26043 Problem reported by Gianluigi Tiesi in:
26044 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
26045 * posix/regcomp.c (init_word_char): Don't assume that the types
26046 uint64_t and uint32_t exist. Adapted from Gnulib patch
26047 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
26048 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
26050 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
26052 * sysdeps/aarch64/memset-reg.h: New file.
26053 * sysdeps/aarch64/memset.S: Use it.
26054 (__memset): Rename to MEMSET macro.
26055 [ZVA_MACRO]: Use zva_macro.
26056 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26057 Add memset_generic and memset_falkor.
26058 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26059 (__libc_ifunc_impl_list): Add memset ifuncs.
26060 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
26061 local variable zva_size.
26062 * sysdeps/aarch64/multiarch/memset.c: New file.
26063 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
26064 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
26065 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
26066 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
26067 (DCZID_DZP_MASK): New macro.
26068 (DCZID_BS_MASK): Likewise.
26069 (init_cpu_features): Read and set zva_size.
26070 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
26071 (struct cpu_features): New member zva_size.
26073 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
26074 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
26075 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
26077 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
26078 backwards. Fix timing computation.
26079 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
26080 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
26081 on memset by N at a time. Fix timing computation.
26083 2017-11-20 Florian Weimer <fweimer@redhat.com>
26085 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
26086 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
26088 2017-11-19 Florian Weimer <fweimer@redhat.com>
26090 manual: Document mprotect
26091 * manual/memory.texi (Memory Protection): New section.
26092 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
26093 documentation of PROT_* flags and reference the Memory Protection
26096 2017-11-19 Florian Weimer <fweimer@redhat.com>
26098 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
26099 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
26100 (Scatter-Gather): ... to here. Remove misleading comment.
26102 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
26104 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
26107 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
26108 when /proc/<pid>/setgroups does not exist.
26110 2017-11-18 Florian Weimer <fweimer@redhat.com>
26112 * sysdeps/unix/sysv/linux/tst-ttyname.c
26113 (become_root_in_mount_ns): Remove.
26114 (do_in_chroot_1): Call support_enter_mount_namespace.
26115 (do_in_chroot_2): Likewise.
26116 (do_test): Call support_become_root early.
26118 2017-11-18 Florian Weimer <fweimer@redhat.com>
26120 * support/namespace.h (support_enter_mount_namespace): Declare.
26121 * support/support_enter_mount_namespace.c: New file.
26122 * support/Makefile (libsupport-routines): Add
26123 support_enter_mount_namespace.
26125 2017-11-18 Florian Weimer <fweimer@redhat.com>
26127 * support/temp_file.c (support_create_temp_directory): Use
26128 test_dir and do not rely on the presence of the XXXXXX suffix.
26129 * support/temp_file.h (support_create_temp_directory): Update
26131 * support/tst-xreadlink.c (do_test): Adjust.
26132 * support/support_chroot.c (support_chroot_create): Likewise.
26134 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26136 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
26138 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
26141 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26143 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26144 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26145 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26146 (ceill): Define using libm_alias_ldouble.
26147 * sysdeps/x86_64/fpu/s_copysignl.S: Include
26148 <libm-alias-ldouble.h>.
26149 (copysignl): Define using libm_alias_ldouble.
26150 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26151 (fabsl): Define using libm_alias_ldouble.
26152 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26153 (floorl): Define using libm_alias_ldouble.
26154 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26155 (fmaxl): Define using libm_alias_ldouble.
26156 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26157 (fminl): Define using libm_alias_ldouble.
26158 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26159 (llrintl): Define using libm_alias_ldouble.
26160 (lrintl): Likewise.
26161 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
26162 <libm-alias-ldouble.h>.
26163 (nearbyintl): Define using libm_alias_ldouble.
26164 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26165 (truncl): Define using libm_alias_ldouble.
26166 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
26167 <libm-alias-ldouble.h>.
26168 (lrintl): Define using libm_alias_ldouble.
26170 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26171 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26172 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
26173 (asinhl): Define using libm_alias_ldouble.
26174 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
26175 (atanl): Define using libm_alias_ldouble.
26176 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
26177 (cbrtl): Define using libm_alias_ldouble.
26178 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26179 (ceill): Define using libm_alias_ldouble.
26180 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
26181 (copysignl): Define using libm_alias_ldouble.
26182 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26183 (fabsl): Define using libm_alias_ldouble.
26184 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26185 (floorl): Define using libm_alias_ldouble.
26186 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26187 (fmaxl): Define using libm_alias_ldouble.
26188 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26189 (fminl): Define using libm_alias_ldouble.
26190 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
26191 (frexpl): Define using libm_alias_ldouble.
26192 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26193 (llrintl): Define using libm_alias_ldouble.
26194 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
26195 (logbl): Define using libm_alias_ldouble.
26196 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
26197 (lrintl): Define using libm_alias_ldouble.
26198 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
26199 (nearbyintl): Define using libm_alias_ldouble.
26200 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
26201 (nextafterl): Define using libm_alias_ldouble.
26202 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
26203 (remquol): Define using libm_alias_ldouble.
26204 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
26205 (rintl): Define using libm_alias_ldouble.
26206 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26207 (truncl): Define using libm_alias_ldouble.
26208 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26209 (fmaxl): Define using libm_alias_ldouble.
26210 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26211 (fminl): Define using libm_alias_ldouble.
26213 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
26214 to C syntax instead of availability and properties of types.
26215 * bits/floatn.h [!__ASSEMBLER]: Likewise.
26216 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
26217 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
26218 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
26219 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
26220 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
26222 2017-11-17 Florian Weimer <fweimer@redhat.com>
26224 support_become_root: Enable file creation in namespaces.
26225 * support/support_become_root.c (setup_mapping): New function.
26226 (support_become_root): Call it.
26228 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26230 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
26233 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26235 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
26236 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
26238 2017-11-16 Joseph Myers <joseph@codesourcery.com>
26240 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
26242 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26245 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26247 * INSTALL: Fix botched up regeneration.
26249 * NEWS: Update sourceare link to https.
26250 * configure.ac: Likewise.
26251 * crypt/md5test-giant.c: Likewise.
26252 * dlfcn/bug-atexit1.c: Likewise.
26253 * dlfcn/bug-atexit2.c: Likewise.
26254 * localedata/README: Likewise.
26255 * malloc/tst-mallocfork.c: Likewise.
26256 * manual/install.texi: Likewise.
26257 * nptl/tst-pthread-getattr.c: Likewise.
26258 * stdio-common/tst-fgets.c: Likewise.
26259 * stdio-common/tst-fwrite.c: Likewise.
26260 * sunrpc/Makefile: Likewise.
26261 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26262 * wcsmbs/tst-mbrtowc2.c: Likewise.
26263 * configure: Regenerate.
26264 * INSTALL: Regenerate.
26266 2017-11-15 Martin Sebor <msebor@redhat.com>
26268 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26269 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26270 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26272 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26275 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26276 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26279 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26280 Defer is_pty check until end of the function.
26281 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26284 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26285 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26286 (ttyname): Likewise.
26287 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26288 (__ttyname_r): Likewise.
26290 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26293 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26295 * manual/terminal.texi (Is It a Terminal):
26296 Mention ENODEV for ttyname and ttyname_r.
26298 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26300 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26301 constant and macro.
26303 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26304 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26305 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26306 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26307 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26308 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26310 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26312 * signal/sigrelse.c (sigrelse): Optimize implementation.
26314 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26315 (__sigpause): Rely on __sigsuspend to implement single thread
26316 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26318 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26320 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26321 kernel version to 4.14.
26323 2017-11-15 Steve Ellcey <sellcey@cavium.com>
26326 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26327 Check if ifname is too long.
26329 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26331 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26333 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26335 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26336 was accidentally lost.
26338 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26340 * localedata/locales/az_IR: Add standard copyright header.
26342 2017-11-15 Florian Weimer <fweimer@redhat.com>
26345 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26346 not just the top one. Output a new "subheaps" statistic.
26348 2017-11-15 Florian Weimer <fweimer@redhat.com>
26351 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26352 under the per-arena lock.
26353 * malloc/Makefile (tests): Add tst-malloc_info.
26354 (tst-malloc_info): Link with libpthread.
26355 * malloc/tst-malloc_info.c: New file.
26357 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26360 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26361 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26362 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26363 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26364 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26365 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26366 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26367 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26369 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26370 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26371 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26372 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26373 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26374 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26375 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26376 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26377 (__floating_type): Likewise.
26378 (__real_integer_type): Likewise.
26379 (__complex_integer_type): Likewise.
26380 (__expr_is_real): Likewise.
26381 (__tgmath_real_type_sub): Likewise.
26382 (__tgmath_real_type): Likewise.
26383 (__tgmath_complex_type_sub): Likewise.
26384 (__tgmath_complex_type): Likewise.
26385 (__TGMATH_F128): Likewise.
26386 (__TGMATH_CF128): Likewise.
26387 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26389 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26390 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26392 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26394 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26395 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26396 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26397 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26399 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26400 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26402 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26403 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26404 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26406 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26407 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26408 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26412 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26414 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26415 for stpncpy calls for GCC 8.
26416 (test_strncat): Disable -Wstringop-truncation warning for strncat
26417 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26418 strncat call for GCC 7.
26419 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26421 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26424 * string/bug-strncat1.c: Include <libc-diag.h>.
26425 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26427 2017-11-13 Claude Paroz <claude@2xlibre.net>
26430 * localedata/locales/aa_DJ: Improved readibility by replacing
26431 <Uxxxx> sequences in the ASCII printable range by their ASCII
26432 character equivalents.
26433 * localedata/locales/aa_ER: Likewise.
26434 * localedata/locales/aa_ER@saaho: Likewise.
26435 * localedata/locales/aa_ET: Likewise.
26436 * localedata/locales/af_ZA: Likewise.
26437 * localedata/locales/agr_PE: Likewise.
26438 * localedata/locales/ak_GH: Likewise.
26439 * localedata/locales/am_ET: Likewise.
26440 * localedata/locales/anp_IN: Likewise.
26441 * localedata/locales/ar_AE: Likewise.
26442 * localedata/locales/ar_BH: Likewise.
26443 * localedata/locales/ar_DZ: Likewise.
26444 * localedata/locales/ar_EG: Likewise.
26445 * localedata/locales/ar_IN: Likewise.
26446 * localedata/locales/ar_IQ: Likewise.
26447 * localedata/locales/ar_JO: Likewise.
26448 * localedata/locales/ar_KW: Likewise.
26449 * localedata/locales/ar_LB: Likewise.
26450 * localedata/locales/ar_LY: Likewise.
26451 * localedata/locales/ar_MA: Likewise.
26452 * localedata/locales/ar_OM: Likewise.
26453 * localedata/locales/ar_QA: Likewise.
26454 * localedata/locales/ar_SA: Likewise.
26455 * localedata/locales/ar_SD: Likewise.
26456 * localedata/locales/ar_SS: Likewise.
26457 * localedata/locales/ar_SY: Likewise.
26458 * localedata/locales/ar_TN: Likewise.
26459 * localedata/locales/ar_YE: Likewise.
26460 * localedata/locales/as_IN: Likewise.
26461 * localedata/locales/ast_ES: Likewise.
26462 * localedata/locales/ayc_PE: Likewise.
26463 * localedata/locales/az_AZ: Likewise.
26464 * localedata/locales/az_IR: Likewise.
26465 * localedata/locales/be_BY: Likewise.
26466 * localedata/locales/be_BY@latin: Likewise.
26467 * localedata/locales/bem_ZM: Likewise.
26468 * localedata/locales/ber_DZ: Likewise.
26469 * localedata/locales/ber_MA: Likewise.
26470 * localedata/locales/bg_BG: Likewise.
26471 * localedata/locales/bhb_IN: Likewise.
26472 * localedata/locales/bho_IN: Likewise.
26473 * localedata/locales/bi_VU: Likewise.
26474 * localedata/locales/bn_BD: Likewise.
26475 * localedata/locales/bn_IN: Likewise.
26476 * localedata/locales/bo_CN: Likewise.
26477 * localedata/locales/bo_IN: Likewise.
26478 * localedata/locales/br_FR: Likewise.
26479 * localedata/locales/brx_IN: Likewise.
26480 * localedata/locales/bs_BA: Likewise.
26481 * localedata/locales/byn_ER: Likewise.
26482 * localedata/locales/ca_AD: Likewise.
26483 * localedata/locales/ca_ES: Likewise.
26484 * localedata/locales/ca_FR: Likewise.
26485 * localedata/locales/ca_IT: Likewise.
26486 * localedata/locales/ce_RU: Likewise.
26487 * localedata/locales/chr_US: Likewise.
26488 * localedata/locales/cmn_TW: Likewise.
26489 * localedata/locales/crh_UA: Likewise.
26490 * localedata/locales/cs_CZ: Likewise.
26491 * localedata/locales/csb_PL: Likewise.
26492 * localedata/locales/cv_RU: Likewise.
26493 * localedata/locales/cy_GB: Likewise.
26494 * localedata/locales/da_DK: Likewise.
26495 * localedata/locales/de_AT: Likewise.
26496 * localedata/locales/de_BE: Likewise.
26497 * localedata/locales/de_CH: Likewise.
26498 * localedata/locales/de_DE: Likewise.
26499 * localedata/locales/de_IT: Likewise.
26500 * localedata/locales/de_LI: Likewise.
26501 * localedata/locales/de_LU: Likewise.
26502 * localedata/locales/doi_IN: Likewise.
26503 * localedata/locales/dv_MV: Likewise.
26504 * localedata/locales/dz_BT: Likewise.
26505 * localedata/locales/el_CY: Likewise.
26506 * localedata/locales/el_GR: Likewise.
26507 * localedata/locales/en_AG: Likewise.
26508 * localedata/locales/en_AU: Likewise.
26509 * localedata/locales/en_BW: Likewise.
26510 * localedata/locales/en_CA: Likewise.
26511 * localedata/locales/en_DK: Likewise.
26512 * localedata/locales/en_GB: Likewise.
26513 * localedata/locales/en_HK: Likewise.
26514 * localedata/locales/en_IE: Likewise.
26515 * localedata/locales/en_IL: Likewise.
26516 * localedata/locales/en_IN: Likewise.
26517 * localedata/locales/en_NG: Likewise.
26518 * localedata/locales/en_NZ: Likewise.
26519 * localedata/locales/en_PH: Likewise.
26520 * localedata/locales/en_SG: Likewise.
26521 * localedata/locales/en_US: Likewise.
26522 * localedata/locales/en_ZA: Likewise.
26523 * localedata/locales/en_ZM: Likewise.
26524 * localedata/locales/en_ZW: Likewise.
26525 * localedata/locales/eo: Likewise.
26526 * localedata/locales/es_AR: Likewise.
26527 * localedata/locales/es_BO: Likewise.
26528 * localedata/locales/es_CL: Likewise.
26529 * localedata/locales/es_CO: Likewise.
26530 * localedata/locales/es_CR: Likewise.
26531 * localedata/locales/es_CU: Likewise.
26532 * localedata/locales/es_DO: Likewise.
26533 * localedata/locales/es_EC: Likewise.
26534 * localedata/locales/es_ES: Likewise.
26535 * localedata/locales/es_GT: Likewise.
26536 * localedata/locales/es_HN: Likewise.
26537 * localedata/locales/es_MX: Likewise.
26538 * localedata/locales/es_NI: Likewise.
26539 * localedata/locales/es_PA: Likewise.
26540 * localedata/locales/es_PE: Likewise.
26541 * localedata/locales/es_PR: Likewise.
26542 * localedata/locales/es_PY: Likewise.
26543 * localedata/locales/es_SV: Likewise.
26544 * localedata/locales/es_US: Likewise.
26545 * localedata/locales/es_UY: Likewise.
26546 * localedata/locales/es_VE: Likewise.
26547 * localedata/locales/et_EE: Likewise.
26548 * localedata/locales/eu_ES: Likewise.
26549 * localedata/locales/eu_ES@euro: Likewise.
26550 * localedata/locales/fa_IR: Likewise.
26551 * localedata/locales/ff_SN: Likewise.
26552 * localedata/locales/fi_FI: Likewise.
26553 * localedata/locales/fil_PH: Likewise.
26554 * localedata/locales/fo_FO: Likewise.
26555 * localedata/locales/fr_BE: Likewise.
26556 * localedata/locales/fr_CA: Likewise.
26557 * localedata/locales/fr_CH: Likewise.
26558 * localedata/locales/fr_FR: Likewise.
26559 * localedata/locales/fr_LU: Likewise.
26560 * localedata/locales/fur_IT: Likewise.
26561 * localedata/locales/fy_DE: Likewise.
26562 * localedata/locales/fy_NL: Likewise.
26563 * localedata/locales/ga_IE: Likewise.
26564 * localedata/locales/gd_GB: Likewise.
26565 * localedata/locales/gez_ER: Likewise.
26566 * localedata/locales/gez_ET: Likewise.
26567 * localedata/locales/gl_ES: Likewise.
26568 * localedata/locales/gu_IN: Likewise.
26569 * localedata/locales/gv_GB: Likewise.
26570 * localedata/locales/ha_NG: Likewise.
26571 * localedata/locales/hak_TW: Likewise.
26572 * localedata/locales/he_IL: Likewise.
26573 * localedata/locales/hi_IN: Likewise.
26574 * localedata/locales/hif_FJ: Likewise.
26575 * localedata/locales/hne_IN: Likewise.
26576 * localedata/locales/hr_HR: Likewise.
26577 * localedata/locales/hsb_DE: Likewise.
26578 * localedata/locales/ht_HT: Likewise.
26579 * localedata/locales/hu_HU: Likewise.
26580 * localedata/locales/hy_AM: Likewise.
26581 * localedata/locales/i18n: Likewise.
26582 * localedata/locales/ia_FR: Likewise.
26583 * localedata/locales/id_ID: Likewise.
26584 * localedata/locales/ig_NG: Likewise.
26585 * localedata/locales/ik_CA: Likewise.
26586 * localedata/locales/is_IS: Likewise.
26587 * localedata/locales/it_CH: Likewise.
26588 * localedata/locales/it_IT: Likewise.
26589 * localedata/locales/iu_CA: Likewise.
26590 * localedata/locales/ja_JP: Likewise.
26591 * localedata/locales/ka_GE: Likewise.
26592 * localedata/locales/kk_KZ: Likewise.
26593 * localedata/locales/kl_GL: Likewise.
26594 * localedata/locales/kn_IN: Likewise.
26595 * localedata/locales/ko_KR: Likewise.
26596 * localedata/locales/kok_IN: Likewise.
26597 * localedata/locales/ks_IN: Likewise.
26598 * localedata/locales/ks_IN@devanagari: Likewise.
26599 * localedata/locales/ku_TR: Likewise.
26600 * localedata/locales/kw_GB: Likewise.
26601 * localedata/locales/ky_KG: Likewise.
26602 * localedata/locales/lb_LU: Likewise.
26603 * localedata/locales/lg_UG: Likewise.
26604 * localedata/locales/li_BE: Likewise.
26605 * localedata/locales/li_NL: Likewise.
26606 * localedata/locales/lij_IT: Likewise.
26607 * localedata/locales/ln_CD: Likewise.
26608 * localedata/locales/lo_LA: Likewise.
26609 * localedata/locales/lt_LT: Likewise.
26610 * localedata/locales/lv_LV: Likewise.
26611 * localedata/locales/lzh_TW: Likewise.
26612 * localedata/locales/mag_IN: Likewise.
26613 * localedata/locales/mai_IN: Likewise.
26614 * localedata/locales/mg_MG: Likewise.
26615 * localedata/locales/mhr_RU: Likewise.
26616 * localedata/locales/mi_NZ: Likewise.
26617 * localedata/locales/mk_MK: Likewise.
26618 * localedata/locales/ml_IN: Likewise.
26619 * localedata/locales/mn_MN: Likewise.
26620 * localedata/locales/mni_IN: Likewise.
26621 * localedata/locales/mr_IN: Likewise.
26622 * localedata/locales/ms_MY: Likewise.
26623 * localedata/locales/mt_MT: Likewise.
26624 * localedata/locales/my_MM: Likewise.
26625 * localedata/locales/nan_TW: Likewise.
26626 * localedata/locales/nan_TW@latin: Likewise.
26627 * localedata/locales/nb_NO: Likewise.
26628 * localedata/locales/nds_DE: Likewise.
26629 * localedata/locales/nds_NL: Likewise.
26630 * localedata/locales/ne_NP: Likewise.
26631 * localedata/locales/nhn_MX: Likewise.
26632 * localedata/locales/niu_NU: Likewise.
26633 * localedata/locales/niu_NZ: Likewise.
26634 * localedata/locales/nl_AW: Likewise.
26635 * localedata/locales/nl_BE: Likewise.
26636 * localedata/locales/nl_NL: Likewise.
26637 * localedata/locales/nn_NO: Likewise.
26638 * localedata/locales/nr_ZA: Likewise.
26639 * localedata/locales/nso_ZA: Likewise.
26640 * localedata/locales/oc_FR: Likewise.
26641 * localedata/locales/om_ET: Likewise.
26642 * localedata/locales/om_KE: Likewise.
26643 * localedata/locales/or_IN: Likewise.
26644 * localedata/locales/os_RU: Likewise.
26645 * localedata/locales/pa_IN: Likewise.
26646 * localedata/locales/pa_PK: Likewise.
26647 * localedata/locales/pap_AW: Likewise.
26648 * localedata/locales/pap_CW: Likewise.
26649 * localedata/locales/pl_PL: Likewise.
26650 * localedata/locales/ps_AF: Likewise.
26651 * localedata/locales/pt_BR: Likewise.
26652 * localedata/locales/pt_PT: Likewise.
26653 * localedata/locales/quz_PE: Likewise.
26654 * localedata/locales/raj_IN: Likewise.
26655 * localedata/locales/ro_RO: Likewise.
26656 * localedata/locales/ru_RU: Likewise.
26657 * localedata/locales/ru_UA: Likewise.
26658 * localedata/locales/rw_RW: Likewise.
26659 * localedata/locales/sa_IN: Likewise.
26660 * localedata/locales/sat_IN: Likewise.
26661 * localedata/locales/sc_IT: Likewise.
26662 * localedata/locales/sd_IN: Likewise.
26663 * localedata/locales/sd_IN@devanagari: Likewise.
26664 * localedata/locales/se_NO: Likewise.
26665 * localedata/locales/sgs_LT: Likewise.
26666 * localedata/locales/shs_CA: Likewise.
26667 * localedata/locales/si_LK: Likewise.
26668 * localedata/locales/sid_ET: Likewise.
26669 * localedata/locales/sk_SK: Likewise.
26670 * localedata/locales/sl_SI: Likewise.
26671 * localedata/locales/sm_WS: Likewise.
26672 * localedata/locales/so_DJ: Likewise.
26673 * localedata/locales/so_ET: Likewise.
26674 * localedata/locales/so_KE: Likewise.
26675 * localedata/locales/so_SO: Likewise.
26676 * localedata/locales/sq_AL: Likewise.
26677 * localedata/locales/sq_MK: Likewise.
26678 * localedata/locales/sr_ME: Likewise.
26679 * localedata/locales/sr_RS: Likewise.
26680 * localedata/locales/sr_RS@latin: Likewise.
26681 * localedata/locales/ss_ZA: Likewise.
26682 * localedata/locales/st_ZA: Likewise.
26683 * localedata/locales/sv_FI: Likewise.
26684 * localedata/locales/sv_SE: Likewise.
26685 * localedata/locales/sw_KE: Likewise.
26686 * localedata/locales/sw_TZ: Likewise.
26687 * localedata/locales/szl_PL: Likewise.
26688 * localedata/locales/ta_IN: Likewise.
26689 * localedata/locales/ta_LK: Likewise.
26690 * localedata/locales/tcy_IN: Likewise.
26691 * localedata/locales/te_IN: Likewise.
26692 * localedata/locales/tg_TJ: Likewise.
26693 * localedata/locales/th_TH: Likewise.
26694 * localedata/locales/the_NP: Likewise.
26695 * localedata/locales/ti_ER: Likewise.
26696 * localedata/locales/ti_ET: Likewise.
26697 * localedata/locales/tig_ER: Likewise.
26698 * localedata/locales/tk_TM: Likewise.
26699 * localedata/locales/tl_PH: Likewise.
26700 * localedata/locales/tn_ZA: Likewise.
26701 * localedata/locales/to_TO: Likewise.
26702 * localedata/locales/tpi_PG: Likewise.
26703 * localedata/locales/tr_CY: Likewise.
26704 * localedata/locales/tr_TR: Likewise.
26705 * localedata/locales/ts_ZA: Likewise.
26706 * localedata/locales/tt_RU: Likewise.
26707 * localedata/locales/tt_RU@iqtelif: Likewise.
26708 * localedata/locales/ug_CN: Likewise.
26709 * localedata/locales/uk_UA: Likewise.
26710 * localedata/locales/unm_US: Likewise.
26711 * localedata/locales/ur_IN: Likewise.
26712 * localedata/locales/ur_PK: Likewise.
26713 * localedata/locales/uz_UZ: Likewise.
26714 * localedata/locales/uz_UZ@cyrillic: Likewise.
26715 * localedata/locales/ve_ZA: Likewise.
26716 * localedata/locales/vi_VN: Likewise.
26717 * localedata/locales/wa_BE: Likewise.
26718 * localedata/locales/wae_CH: Likewise.
26719 * localedata/locales/wal_ET: Likewise.
26720 * localedata/locales/wo_SN: Likewise.
26721 * localedata/locales/xh_ZA: Likewise.
26722 * localedata/locales/yi_US: Likewise.
26723 * localedata/locales/yo_NG: Likewise.
26724 * localedata/locales/yue_HK: Likewise.
26725 * localedata/locales/yuw_PG: Likewise.
26726 * localedata/locales/zh_CN: Likewise.
26727 * localedata/locales/zh_HK: Likewise.
26728 * localedata/locales/zh_SG: Likewise.
26729 * localedata/locales/zh_TW: Likewise.
26730 * localedata/locales/zu_ZA: Likewise.
26732 2017-11-13 Florian Weimer <fweimer@redhat.com>
26734 * support/next_to_fault.h, support/next_to_fault.c: New files.
26735 * support/Makefile (libsupport-routines): Add next_to_fault.
26736 * resolv/tst-inet_pton.c (struct next_to_fault)
26737 (next_to_fault_allocate, next_to_fault_free): Remove.
26738 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26740 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26742 * elf/dl-support.c: Include <dl-procruntime.c>.
26743 * include/link.h: Include <link_map.h>.
26744 * sysdeps/generic/dl-procruntime.c: New file.
26745 * sysdeps/generic/link_map.h: Likewise.
26746 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26747 the writable ld.so namespace.
26749 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26751 timezone: pacify GCC -Wstringop-truncation
26752 Problem reported by Martin Sebor in:
26753 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26754 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26756 2017-11-12 Florian Weimer <fweimer@redhat.com>
26758 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26760 (tests): Add tst-xreadlink.
26761 * support/support.h (xstrndup): Declare.
26762 * support/xunistd.h (xunlink, xreadlink): Declare.
26763 * support/temp_file.h (support_create_temp_directory): Declare.
26764 * support/temp_file.c (support_create_temp_directory): New function.
26765 * support/support_chroot.c (support_chroot_create): Use it.
26766 * support/xreadlink.c: New file.
26767 * support/xstrndup.c: Likewise.
26768 * support/xunlink.c: Likewise.
26769 * support/tst-xreadlink.c: Likewise.
26771 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26773 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26775 2017-11-11 Florian Weimer <fweimer@redhat.com>
26779 * resolv/res_comp.c (printable_string, binary_hnok)
26780 (binary_leading_dash): New functions.
26781 (res_hnok): Reimplement using these functions and ns_name_pton.
26782 (res_ownok): Likewise.
26783 (res_mailok): Reimplement using printable_string, ns_name_pton and
26785 (res_dnok): Reimplement using printable_string and ns_name_pton.
26786 * resolv/tst-res_hnok.c (tests): Add additional tests.
26787 (LETTERDIGITS, PRINTABLE): Define.
26788 (do_test): Adjust one_char results.
26790 2017-11-11 Florian Weimer <fweimer@redhat.com>
26793 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26794 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26796 2017-11-11 Florian Weimer <fweimer@redhat.com>
26798 * resolv/tst-ns_name_pton.c: New file.
26799 * resolv/Makefile (tests): Add tst-ns_name_pton.
26800 (tst-ns_name_pton): Link against libresolv.
26802 2017-11-11 Florian Weimer <fweimer@redhat.com>
26804 * resolv/tst-res_hnok.c: New file.
26805 * resolv/Makefile (tests): Add tst-res_hnok.
26806 (tst-res_hnok): Link against libresolv.
26808 2017-11-11 Florian Weimer <fweimer@redhat.com>
26810 * resolv/tst-resolv-network.c: Use test framework instead explicit
26813 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26815 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26816 <jmp_buf-macros.h>.
26817 [!_ISOMAC] (STR_HELPER): New.
26818 [!_ISOMAC] (STR): Likewise.
26819 [!_ISOMAC] (TEST_SIZE): Likewise.
26820 [!_ISOMAC] (TEST_ALIGN): Likewise.
26821 [!_ISOMAC] (TEST_OFFSET): Likewise.
26822 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26823 field offsets of jmp_buf as well as sigjmp_buf.
26824 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26825 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26826 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26827 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26828 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26829 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26830 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26831 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26832 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26833 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26835 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26837 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26842 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26843 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26844 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26845 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26846 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26851 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26852 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26853 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26855 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26859 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26861 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26863 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26865 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26867 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26869 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26871 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26873 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26875 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26877 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26879 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26881 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26883 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26885 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26887 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26889 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26891 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26893 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26895 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26897 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26899 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26901 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26903 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26905 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26907 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26909 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26911 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26913 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26915 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26917 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26919 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26921 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26923 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26925 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26927 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26929 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26931 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26933 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26935 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26937 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26939 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26941 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26942 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26943 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26944 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26945 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26947 * stdlib/tst-strtod.h (F16): New macro.
26953 (IF_FLOAT16): Likewise.
26954 (IF_FLOAT32): Likewise.
26955 (IF_FLOAT64): Likewise.
26956 (IF_FLOAT32X): Likewise.
26957 (IF_FLOAT64X): Likewise.
26958 (IF_FLOAT128X): Likewise.
26959 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26960 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26961 (STRTOD_TEST_FOREACH): Likewise.
26962 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26963 (CHOOSE_f64): Likewise.
26964 (CHOOSE_f32x): Likewise.
26965 (CHOOSE_f64x): Likewise.
26967 2017-11-07 Andreas Schwab <schwab@suse.de>
26969 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26971 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26974 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26976 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26979 2017-11-07 Claude Paroz <claude@2xlibre.net>
26982 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26984 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26986 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26989 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26992 * nptl/allocatestack.c (allocate_stack): Check if
26993 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26994 __PTHREAD_MUTEX_HAVE_PREV is defined.
26995 * nptl/descr.h (pthread): Likewise.
26996 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26998 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26999 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27000 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27001 * sysdeps/nptl/bits/thread-shared-types.h
27002 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27004 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27005 of __WORDSIZE for internal layout.
27006 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27007 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27008 instead of __WORDSIZE whether to use an union for __spins and __list
27010 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27012 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27013 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27015 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27016 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27018 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27019 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27021 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27022 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27024 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27025 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27027 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27028 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27030 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27031 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27033 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27034 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27036 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27037 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27039 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
27040 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27042 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
27043 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27045 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
27046 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27048 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
27049 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27051 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
27052 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27054 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
27055 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27058 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
27060 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
27061 checks for expected input type size.
27062 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27063 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27065 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27066 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
27067 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27068 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
27069 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27070 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
27071 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
27072 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
27073 superflous runtime assert check.
27074 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
27076 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
27078 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27080 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
27082 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
27084 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
27086 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
27087 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
27088 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27090 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27092 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
27094 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
27096 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27098 * nptl/pthread_attr_setinheritsched.c
27099 (__pthread_attr_setinheritsched): Likewise.
27100 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
27102 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
27104 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
27105 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
27106 __old_pthread_attr_setstack): Likewise.
27107 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27109 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27111 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
27113 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27114 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
27116 * nptl/tst-typesizes.c: Remove file.
27118 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
27119 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
27120 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
27121 checks for internal pthread_mutex_t offsets.
27122 * sysdeps/aarch64/nptl/pthread-offsets.h
27123 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
27124 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
27125 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
27126 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
27127 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
27128 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
27129 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
27130 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
27131 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
27132 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
27133 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
27134 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
27135 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
27136 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
27137 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
27138 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
27139 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
27140 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
27142 2017-11-07 Florian Weimer <fweimer@redhat.com>
27144 * bits/mman-linux.h: Move ...
27145 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
27147 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
27150 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27152 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
27153 Redefine STRNLEN as __strnlen_power8.
27155 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27157 * signal/sighold.c (sighold): Optimize implementation.
27159 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
27160 __NR_rt_sigqueueinfo.
27162 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27164 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
27165 assume __NR_rt_sigtimedwait.
27166 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
27167 and add LIBC_CANCEL_HANDLED for cancellation marking.
27168 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27170 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27171 (sysdeps_routines): Add memchr_noneon.
27172 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
27173 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
27174 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
27175 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
27176 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
27177 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
27178 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
27180 * sysdeps/arm/arm-ifunc.h: New file.
27181 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
27182 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
27183 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
27184 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
27185 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
27186 (__memcpy_neon): Avoid create hidden alias.
27187 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
27188 (__memcpy_vfp): Likewise.
27189 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27190 (sysdep_routines): Add memcpy_arm.
27191 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
27193 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
27196 * Makerules (make-link-multidir): New.
27197 * config.make.in (multidir): New.
27198 * configure.ac (libc_cv_multidir): New. AC_SUBST.
27199 * configure: Regenerated.
27200 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
27201 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
27202 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
27205 2017-11-06 Joseph Myers <joseph@codesourcery.com>
27208 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
27209 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
27211 2017-11-04 Mike FABIAN <mfabian@redhat.com>
27213 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
27216 2017-11-04 Florian Weimer <fweimer@redhat.com>
27218 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
27220 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27222 * math/math.h [__HAVE_DISTINCT_FLOAT16
27223 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27224 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27225 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27226 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
27227 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
27228 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
27229 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27230 (__MATH_TG_F32): New macro.
27231 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27232 (__MATH_TG_F64X): Likewise.
27233 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27234 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
27236 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
27238 * po/de.po: Update translations.
27239 * po/ru.po: Likewise.
27241 2017-11-03 Florian Weimer <fweimer@redhat.com>
27243 * manual/filesys.texi (Hard Links): Document linkat.
27245 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27247 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
27248 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27249 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27250 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27251 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27252 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27253 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
27254 the same as _Float128.
27255 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27256 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27257 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27260 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27262 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27264 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27266 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27267 (strtof32x): Likewise.
27268 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27269 (strtof64x): Likewise.
27270 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27271 (strtof128x): Likewise.
27272 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27273 (strfromf16): Likewise.
27274 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27275 (strfromf32): Likewise.
27276 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27277 (strfromf64): Likewise.
27278 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27279 (strfromf32x): Likewise.
27280 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27281 (strfromf64x): Likewise.
27282 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27283 (strfromf128x): Likewise.
27284 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27285 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27286 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27287 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27288 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27289 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27291 2017-11-03 Richard Henderson <rth@twiddle.net>
27293 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27295 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27297 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27299 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27301 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27302 DT_TLSDESC_GOT initialization.
27303 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27304 (_dl_tlsdesc_resolve_hold): Likewise.
27305 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27306 (_dl_tlsdesc_resolve_hold): Likewise.
27307 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27308 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27310 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27312 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27314 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27317 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27318 non-lazily for R_ARM_TLS_DESC.
27320 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27323 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27324 R_ARM_TLS_DESC case.
27325 (elf_machine_lazy_rel): Remove the prelink check.
27327 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27329 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27330 DT_TLSDESC_GOT initialization.
27331 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27332 (_dl_tlsdesc_resolve_rela): Likewise.
27333 (_dl_tlsdesc_resolve_hold): Likewise.
27334 (_dl_tlsdesc_undefweak): Remove ldar.
27335 (_dl_tlsdesc_dynamic): Likewise.
27336 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27337 (_dl_tlsdesc_resolve_rela): Likewise.
27338 (_dl_tlsdesc_resolve_hold): Likewise.
27339 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27340 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27341 (_dl_tlsdesc_resolve_rela): Likewise.
27342 (_dl_tlsdesc_resolve_hold): Likewise.
27344 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27346 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27347 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27349 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27351 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27352 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27354 2017-11-02 Joseph Myers <joseph@codesourcery.com>
27356 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27358 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27359 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27360 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27361 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27362 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27363 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27364 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27365 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27366 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27367 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27368 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27370 2017-11-02 Mike FABIAN <mfabian@redhat.com>
27373 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27374 * localedata/locales/tpi_PG: Add standard header.
27376 2017-11-02 Florian Weimer <fweimer@redhat.com>
27378 test-errno-linux: quotactl can fail with EPERM in containers.
27379 * sysdeps/unix/sysv/linux/test-errno-linux.c
27380 (LIST, LIST_FORWARD): New macros.
27381 (check_error_in_list): New function.
27382 (test_wrp_rv): Accept list of permitted error codes.
27383 (test_wrp_rv2): Remove.
27384 (test_wrp): Call test_wrp_rv with list of error codes.
27385 (test_wrp2): Accept list of error codes.
27386 (do_test): Adjust. Allow EPERM for quotactl.
27388 2017-11-02 Florian Weimer <fweimer@redhat.com>
27390 * stdio-common/bug16.c (do_test): Use array_length.
27391 * stdio-common/errlist.c (_sys_nerr): Likewise.
27392 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27393 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27394 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27395 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27396 (do_test): Use array_length.
27397 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27398 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27399 * stdio-common/tst-printf-round.c (do_test): Likewise.
27400 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27401 (CHECK): Use array_length.
27402 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27403 * stdio-common/tstscanf.c (main): Likewise.
27404 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27406 2017-11-02 Florian Weimer <fweimer@redhat.com>
27408 Add array_length and array_end macros.
27409 * include/array_length.h: New file.
27411 2017-11-02 Florian Weimer <fweimer@redhat.com>
27414 * posix/tst-glob-tilde.c (do_noescape): New variable.
27415 (one_test): Process it.
27416 (do_test): Set do_noescape. Add unescaping test case.
27418 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27421 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27422 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27423 with appropriate macros defined and undefined.
27424 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27425 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27426 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27427 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27428 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27429 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27430 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27431 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27432 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27433 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27436 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27437 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27438 that for long double. Do not condition define and undefine of
27439 _Mdouble_complex_ on [__CFLOAT128].
27441 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27443 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27444 of <sysdeps/generic/sysdep.h>.
27445 (ALIGNARG): Removed.
27446 (ASM_SIZE_DIRECTIVE): Likewise.
27449 (ENTRY_CHK): Likewise.
27450 (END_CHK): Likewise.
27451 (syscall_error): Likewise.
27452 (mcount): Likewise.
27453 (PSEUDO_END): Likewise.
27455 (atom_text_section): Likewise.
27456 * sysdeps/x86/sysdep.h: New file.
27457 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27458 of <sysdeps/generic/sysdep.h>.
27459 (ALIGNARG): Removed.
27460 (ASM_SIZE_DIRECTIVE): Likewise.
27463 (ENTRY_CHK): Likewise.
27464 (END_CHK): Likewise.
27465 (syscall_error): Likewise.
27466 (mcount): Likewise.
27467 (PSEUDO_END): Likewise.
27469 (atom_text_section): Likewise.
27471 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27473 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27474 category of LC_CTYPE set to "i18n:2012".
27475 * localedata/locales/i18n_ctype: Regenerate.
27477 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27479 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27480 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27481 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27482 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27484 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27485 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27486 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27487 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27489 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27492 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27494 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27496 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27498 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27499 (CMPLXF32X): Likewise.
27500 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27501 (CMPLXF64X): Likewise.
27502 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27503 (CMPLXF128X): Likewise.
27506 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27507 (__MATH_EVAL_FMT2): Define to add 0.0f.
27509 2017-10-31 Alan Modra <amodra@gmail.com>
27511 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27527 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27528 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27529 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27530 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27531 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27533 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27534 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27535 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27536 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27537 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27538 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27539 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27540 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27541 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27542 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27543 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27544 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27545 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27546 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27547 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27548 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27549 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27550 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27552 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27553 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27554 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27555 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27556 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27557 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27558 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27559 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27560 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27561 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27562 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27563 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27564 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27565 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27566 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27567 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27568 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27570 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27571 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27572 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27573 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27574 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27575 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27576 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27577 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27578 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27579 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27580 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27581 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27584 include sysdep.h and math_ldbl_opt.h.
27586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27587 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27613 2017-10-31 Alan Modra <amodra@gmail.com>
27615 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27616 string/strncase_l.c, not string/strncase.c.
27617 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27618 (libc_hidden_def): Redefine.
27620 2017-10-31 Alan Modra <amodra@gmail.com>
27622 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27623 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27624 (__strcasecmp): Don't define.
27626 2017-10-31 Alan Modra <amodra@gmail.com>
27628 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27630 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27631 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27632 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27634 2017-10-31 Alan Modra <amodra@gmail.com>
27636 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27639 2017-10-31 Alan Modra <amodra@gmail.com>
27641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27642 Redefine only when SHARED.
27644 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27646 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27647 Include <bits/math-finite.h> with appropriate macros defined and
27649 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27650 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27651 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27652 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27653 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27655 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27656 [!_Mlong_double_] (_Mlong_double_): Likewise.
27657 [!_Mfloat16_] (_Mfloat16_): Likewise.
27658 [!_Mfloat32_] (_Mfloat32_): Likewise.
27659 [!_Mfloat64_] (_Mfloat64_): Likewise.
27660 [!_Mfloat128_] (_Mfloat128_): Likewise.
27661 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27662 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27663 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27664 (_Mdouble_): Define without indirection through those macros.
27665 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27666 [!_Mfloat128_] (_Mfloat128_): Likewise.
27667 [_Mlong_double_] (_Mlong_double_): Likewise.
27668 (_Mdouble_): Define without indirection through those macros.
27669 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27670 not add -D_Mlong_double_=double.
27671 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27672 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27674 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27676 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27678 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27680 * sysdeps/x86/libc-start.c: Reformat.
27682 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27685 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27686 (1): Renamed to ...
27689 (L(Src2)): Likewise.
27690 (L(1)): Renamed to ...
27693 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27695 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27696 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27697 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27698 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27699 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27700 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27701 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27702 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27703 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27704 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27705 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27706 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27707 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27708 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27709 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27710 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27711 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27712 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27713 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27714 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27715 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27716 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27717 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27718 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27719 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27720 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27721 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27722 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27723 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27724 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27725 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27726 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27727 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27728 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27729 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27730 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27731 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27732 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27733 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27734 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27735 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27736 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27737 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27738 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27739 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27740 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27741 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27742 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27743 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27744 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27745 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27746 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27747 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27748 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27749 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27750 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27751 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27752 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27753 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27754 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27755 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27756 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27757 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27758 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27759 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27760 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27762 2017-10-30 Florian Weimer <fweimer@redhat.com>
27764 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27766 * io/tst-mkdirat.c (do_test): Likewise.
27767 * io/tst-mkfifoat.c (do_test): Likewise.
27768 * io/tst-mknodat.c (do_test): Likewise.
27769 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27770 * locale/programs/locale.c (select_dirs): Likewise.
27771 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27772 * posix/bug-glob2.c (my_readdir): Likewise.
27773 * posix/tst-dir.c (main): Likewise.
27774 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27775 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27777 2017-10-30 Florian Weimer <fweimer@redhat.com>
27779 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27782 2017-10-30 Florian Weimer <fweimer@redhat.com>
27784 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27785 Convert to support/test-driver.c.
27786 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27787 New macro parameters.
27788 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27789 * posix/tst-gnuglob.c: New file.
27790 * posix/tst-gnuglob64.c: Likewise.
27791 * posix/Makefile (tests): Add tst-gnuglob64.
27793 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27796 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27797 and use a better translation for March in “mon”.
27798 * localedata/locales/csb_PL: Use more ASCII to improve the
27799 readability of the source.
27801 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27804 * localedata/locales/km_KH: Use ASCII as much
27805 as possible for better readability of the source and
27806 remove useless comments.
27807 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27808 was commented out and apparently wrong anyway because it was
27809 using Lao characters. If Buddhist era should be used
27810 for km_KH, a native speaker should write the correct formaat
27812 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27813 (According to CLDR, the first weekday for Cambodia is Sunday).
27814 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27815 (These were using Lao characters which must be wrong. If we get
27816 the correct data from a native speaker, we could add it back, until
27817 then it is better not to have name_mr and name_mrs at all than
27820 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27822 * locale/loadlocale.c: Correct size of
27823 _nl_value_type_LC_<category> arrays.
27825 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27827 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27828 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27829 with appropriate macros defined and undefined.
27830 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27831 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27832 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27833 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27834 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27836 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27838 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27841 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27843 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27844 with lowercase letters to make it agree with CLDR.
27846 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27849 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27850 first letters of yesstr and nostr in yesexpr and noexpr,
27851 not for the full words.
27852 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27853 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27854 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27855 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27856 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27857 first letters of yesstr and nostr in yesexpr and noexpr,
27858 until now only English was matched in yesexpr and noexpr.
27859 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27860 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27861 fil but not for tl. As tl and fil are very similar, using fil
27862 is probably better than using English.
27864 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27867 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27868 in yesstr and nostr.
27870 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27872 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27873 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27874 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27876 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27878 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27880 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27882 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27883 (SNANF128X): Likewise.
27885 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27886 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27887 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27888 (HUGE_VAL_F32): Likewise.
27889 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27890 (HUGE_VAL_F64): Likewise.
27891 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27892 (HUGE_VAL_F32X): Likewise.
27893 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27894 (HUGE_VAL_F64X): Likewise.
27895 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27896 (HUGE_VAL_F128X): Likewise.
27898 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27900 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27901 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27902 for the br_FR locale.
27904 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27907 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27909 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27911 * locale/programs/record-status.h: Define globals, and function
27912 prototypes. Move function bodies...
27913 * locale/programs/record-status.c: ... to here. New file.
27914 * iconv/Makefile (iconv_prog-modules): Add record-status.
27915 * locale/Makefile (lib-modules): Likewise.
27916 * iconv/iconv_prog.c: Remove verbose.
27917 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27918 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27919 record a warning about ASCII compatibility.
27920 * locale/programs/ld-monetary.c (monetary_finish): If
27921 warn_int_curr_symbol is true then record a warning about the symbol
27922 not being in our ISO 4217 list.
27923 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27924 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27925 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27926 (OPT_NO_WARN): Define.
27927 (OPT_WARN): Define.
27928 (options): Add entry for --no-warnings, and --warnings.
27929 (set_warnings): New function to enable/disable warnings.
27930 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27931 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27932 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27933 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27934 Pass flags to generate_locale.
27935 (generate_locale): Accept new flag argument and pass it to localedef
27937 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27938 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27940 * localedata/Makefile (test-input-data): Use full file name.
27941 * localedata/da_DK.in: Rename to...
27942 * localedata/da_DK.ISO-8859-1.in: ...this.
27943 * localedata/de_DE.in: Rename to...
27944 * localedata/de_DE.ISO-8859-1.in: ...this.
27945 * localedata/en_US.in: Rename to...
27946 * localedata/en_US.ISO-8859-1.in: ...this.
27947 * localedata/fr_FR.in: Rename to...
27948 * localedata/fr_FR.UTF-8.in: ... this.
27949 * localedata/hr_HR.in: Rename to...
27950 * localedata/hr_HR.ISO-8859-2.in: ...this.
27951 * localedata/hu_HU.in: Rename to...
27952 * localedata/hu_HU.UTF-8.in: ...this.
27953 * localedata/si_LK.in: Rename to...
27954 * localedata/si_LK.UTF-8.in: ...this.
27955 * localedata/sv_SE.in: Rename to...
27956 * localedata/sv_SE.ISO-8859-1.in: ...this.
27957 * localedata/tr_TR.in: Rename to...
27958 * localedata/tr_TR.UTF-8.in: ...this.
27959 * localedata/uk_UA.in: Rename to...
27960 * localedata/uk_UA.UTF-8.in: ...this.
27961 * localedata/sort-test.sh: Test file is locale name with the
27964 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27965 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27967 * localedata/locales/i18n_ctype: Regenerate.
27968 * localedata/locales/tr_TR: Likewise.
27969 * localedata/locales/translit_circle: Likewise.
27970 * localedata/locales/translit_cjk_compat: Likewise.
27971 * localedata/locales/translit_combining: Likewise.
27972 * localedata/locales/translit_compat: Likewise.
27973 * localedata/locales/translit_font: Likewise.
27974 * localedata/locales/translit_fraction: Likewise.
27976 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27978 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27979 lxvd2x/stxvd2x with lvx/stvx.
27980 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27982 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27984 * include/alloc_buffer.h: Replace "if if " with "if " in
27986 * sysdeps/mips/memcpy.S: Likkewise.
27987 * sysdeps/mips/memset.S: Likewise.
27988 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27990 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27992 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27995 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27998 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27999 yesexpr and noexpr.
28000 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28001 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28002 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28003 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28004 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28005 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28006 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28008 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28010 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28011 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28012 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28013 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28014 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28015 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28016 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28017 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28018 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28019 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28020 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28021 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28023 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28025 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28026 as possible for better readability of the source.
28027 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28028 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28029 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28030 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28031 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28032 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28033 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28034 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28035 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28036 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28037 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28038 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28039 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
28040 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
28041 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
28042 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
28043 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
28044 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
28045 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
28046 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
28047 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
28048 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
28049 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
28050 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
28051 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
28052 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
28053 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
28054 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
28055 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
28056 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
28057 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
28058 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28059 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
28060 * localedata/locales/en_US (LC_MESSAGES): Likewise.
28061 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
28062 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
28063 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
28064 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
28065 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
28066 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
28067 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
28068 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
28069 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
28070 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
28071 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
28072 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
28073 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
28074 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
28075 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
28076 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
28077 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
28078 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
28079 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
28080 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28081 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28082 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
28083 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
28084 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28085 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
28086 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
28087 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
28088 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
28089 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
28090 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
28091 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
28092 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
28093 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
28094 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
28095 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
28096 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
28097 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
28098 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
28099 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
28100 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
28101 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28102 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
28103 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
28104 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
28105 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
28106 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
28107 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
28108 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
28109 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
28110 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28111 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
28112 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
28113 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
28114 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28115 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
28116 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
28117 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
28118 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
28119 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28120 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
28121 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
28122 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28123 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
28124 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28125 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
28126 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
28127 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
28128 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
28129 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
28130 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
28131 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
28132 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
28133 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
28134 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
28135 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
28136 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
28137 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
28138 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
28139 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28140 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
28141 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
28142 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
28143 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
28144 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
28145 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
28146 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
28147 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
28148 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
28149 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
28150 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
28151 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
28152 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
28153 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
28154 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
28155 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
28156 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
28157 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
28158 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
28159 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
28160 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
28161 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
28162 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
28163 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
28164 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
28165 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
28166 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
28167 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
28168 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
28169 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
28170 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
28171 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
28172 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28173 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
28174 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
28175 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
28176 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
28177 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
28178 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
28179 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
28180 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
28181 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28182 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
28183 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
28184 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
28185 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
28186 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
28187 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
28188 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
28189 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
28190 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
28191 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
28192 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28193 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
28194 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
28195 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
28196 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
28197 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28198 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28199 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28200 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
28202 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28204 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
28205 (Use first letters of yesstr and nostr correctly instead of using
28208 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28210 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
28211 (Use first letters of yesstr and nostr correctly).
28213 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28215 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
28216 also check for the first characters of yesstr and nostr.
28217 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
28218 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
28220 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28222 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
28223 also check for Chinese characters.
28225 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28227 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
28228 match also for the contents of yesstr and nostr. As the first letter
28229 of yesstr and nostr is equal, checking only for the first letter
28232 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28234 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
28235 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
28237 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28239 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
28240 of main contributor.
28242 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28244 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
28245 instead of using English.
28247 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28249 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
28250 by including the first letters of nostr and yesexpr in the regexp.
28251 Also make it more readable by using ASCII where possible.
28253 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28255 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
28256 the first letter of nostr in the regexp. It agrees with CLDR now.
28257 Also make it more readable by using ASCII where possible.
28259 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28261 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28262 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28263 these strings contain a U+17D6 (which somewhat looks like a colon)
28264 instead of a real colon to separate the full words for “yes”
28265 and “no” from the single letter responses.
28267 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28269 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28270 it agree with CLDR (include the first letter of yesstr).
28271 Also make it more readable by using ASCII where possible.
28273 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28275 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28276 and improve yesexpr and noexpr. The yesstr and nostr apparently
28277 came from CLDR. And CLDR has a bug there: these strings contain
28278 a U+0903 (which looks like a colon) instead of a real colon
28279 to separate the full words for “yes” and “no” from the single
28282 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28284 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28285 letters of the full yesstr and nostr in yesexpr and noexpr.
28287 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28289 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28290 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28291 * localedata/locales/an_ES: Make source more readable by using ASCII
28294 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28297 * localedata/locales/yuw_PG: New file.
28298 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28299 * locale/iso-639.def: Add Yau (Uruwa).
28301 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28303 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28305 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28307 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28308 (__libc_realloc): Likewise.
28309 (_mid_memalign): Likewise.
28310 (__libc_calloc): Likewise.
28312 2017-10-23 Mike FABIAN <mfabian@redhat.com>
28314 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28315 by adding the generic +1 and -0 as in all other locales.
28316 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28317 day names and make it more readable by using ASCII where possible.
28319 2017-10-24 Joseph Myers <joseph@codesourcery.com>
28321 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28322 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28324 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28326 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28327 WNOHANG in waitpid call.
28329 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28331 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28332 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28334 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28335 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28336 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28337 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28338 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28339 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28340 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28341 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28344 2017-10-23 Michael Collison <michael.collison@arm.com>
28346 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28347 with __builtin_sqrt.
28348 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28349 with __builtin_sqrtf.
28350 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28351 with __builtin_ceil.
28352 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28353 with __builtin_ceilf.
28354 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28355 with __builtin_floor.
28356 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28357 with __builtin_floorf.
28358 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28359 with __builtin_fma.
28360 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28361 with __builtin_fmaf.
28362 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28363 with __builtin_fmax.
28364 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28365 with __builtin_fmaxf.
28366 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28367 with __builtin_fmin.
28368 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28369 with __builtin_fminf.
28370 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28371 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28372 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28373 with builtin_rint and conversion to int.
28374 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28375 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28376 with builtin_llround.
28377 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28378 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28379 with builtin_rint and conversion to long int.
28380 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28381 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28382 with builtin_lround.
28383 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28384 with builtin_lroundf.
28385 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28386 statements with __builtin_nearbyint.
28387 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28388 statements with __builtin_nearbyintf.
28389 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28390 with __builtin_rint.
28391 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28392 with __builtin_rintf.
28393 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28394 with __builtin_round.
28395 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28396 with __builtin_roundf.
28397 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28398 with __builtin_trunc.
28399 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28400 with __builtin_truncf.
28401 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28402 and s_l[l]round[f].c too.
28404 2017-10-23 Alan Modra <amodra@gmail.com>
28406 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28407 Adjust stack after restoring regs. Add missing LR cfi_restore.
28409 2017-10-23 Alan Modra <amodra@gmail.com>
28411 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28412 Move LR save and frame setup/teardown and LR restore to
28413 immediately around memset call. Provide cfi.
28415 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28417 * sysdeps/i386/fpu/e_powf.S: Removed.
28418 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28419 * sysdeps/i386/fpu/w_powf.c: Likewise.
28420 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28421 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28422 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28424 (CFLAGS-e_powf-sse2.c): New.
28425 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28426 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28428 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28430 * sysdeps/i386/fpu/e_log2f.S: Removed.
28431 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28432 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28433 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28434 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28435 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28437 (CFLAGS-e_log2f-sse2.c): New.
28438 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28439 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28441 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28443 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28445 (CFLAGS-e_powf-fma.c): New.
28446 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28447 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28449 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28451 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28453 (CFLAGS-e_log2f-fma.c): New.
28454 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28455 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28457 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28459 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28461 (CFLAGS-e_logf-fma.c): New.
28462 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28463 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28465 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28467 * sysdeps/i386/fpu/e_logf.S: Removed.
28468 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28469 * sysdeps/i386/fpu/w_logf.c: Likewise.
28470 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28471 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28472 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28473 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28475 (CFLAGS-e_logf-sse2.c): New.
28476 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28477 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28479 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28481 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28482 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28483 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28484 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28485 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28487 (CFLAGS-e_exp2f-sse2.c): New.
28488 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28489 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28491 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28493 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28495 (CFLAGS-e_exp2f-fma.c): New.
28496 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28497 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28499 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28501 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28502 * sysdeps/i386/fpu/e_expf.S: Likewise.
28503 * sysdeps/i386/fpu/math_errf.c: Likewise.
28504 * sysdeps/i386/fpu/w_expf.c: Likewise.
28505 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28506 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28507 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28508 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28509 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28510 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28511 Remove e_expf-ia32.
28512 (CFLAGS-e_expf-sse2.c): New.
28513 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28514 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28516 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28518 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28519 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28520 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28521 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28523 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28525 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28526 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28528 (__redirect_expf): This.
28529 (SYMBOL_NAME): Changed to expf.
28530 (__ieee754_expf): Renamed to ...
28532 (__GI___expf): This.
28533 (__ieee754_expf): Add strong_alias.
28534 (__expf_finite): Likewise.
28536 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28538 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28541 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28544 2017-10-21 Florian Weimer <fweimer@redhat.com>
28546 * posix/Makefile (tests): Add tst-glob-tilde.
28547 (tests-special): Add tst-glob-tilde-mem.out
28548 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28549 (tst-glob-tilde-mem.out): Add mtrace check.
28550 * posix/tst-glob-tilde.c: New file.
28552 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28554 * bits/floatn-common.h: New file.
28555 * math/Makefile (headers): Add bits/floatn-common.h.
28556 * bits/floatn.h: Include <bits/floatn-common.h>.
28557 * sysdeps/ia64/bits/floatn.h: Likewise.
28558 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28559 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28560 * sysdeps/powerpc/bits/floatn.h: Likewise.
28561 * sysdeps/x86/bits/floatn.h: Likewise.
28563 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28565 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28566 indicates whether compiler emits an warning for alias for
28567 functions with incompatible types.
28570 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28571 the auxiliary process is terminated by a signal before calling _exit
28574 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28577 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28579 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28580 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28581 and bit_arch_XSAVEC_Usable if needed.
28582 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28583 and bit_arch_Use_dl_runtime_resolve_opt.
28584 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28586 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28587 (bit_arch_Prefer_No_AVX512): Updated.
28588 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28589 (bit_arch_XSAVEC_Usable): New.
28590 (STATE_SAVE_OFFSET): Likewise.
28591 (STATE_SAVE_MASK): Likewise.
28592 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28593 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28594 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28595 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28596 (index_arch_XSAVEC_Usable): New.
28597 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28598 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28599 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28601 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28602 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28603 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28604 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28605 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28606 _dl_runtime_resolve_xsavec.
28607 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28609 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28610 instead of VEC_SIZE.
28611 (REGISTER_SAVE_BND0): Removed.
28612 (REGISTER_SAVE_BND1): Likewise.
28613 (REGISTER_SAVE_BND3): Likewise.
28614 (REGISTER_SAVE_RAX): Always defined to 0.
28616 (_dl_runtime_resolve_avx): Likewise.
28617 (_dl_runtime_resolve_avx_slow): Likewise.
28618 (_dl_runtime_resolve_avx_opt): Likewise.
28619 (_dl_runtime_resolve_avx512): Likewise.
28620 (_dl_runtime_resolve_avx512_opt): Likewise.
28621 (_dl_runtime_resolve_sse): Likewise.
28622 (_dl_runtime_resolve_sse_vex): Likewise.
28624 (_dl_runtime_resolve_fxsave): Likewise.
28625 (USE_XSAVE): Likewise.
28626 (_dl_runtime_resolve_xsave): Likewise.
28627 (USE_XSAVEC): Likewise.
28628 (_dl_runtime_resolve_xsavec): Likewise.
28629 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28631 (_dl_runtime_resolve_avx512_opt): Likewise.
28632 (_dl_runtime_resolve_avx): Likewise.
28633 (_dl_runtime_resolve_avx_opt): Likewise.
28634 (_dl_runtime_resolve_sse): Likewise.
28635 (_dl_runtime_resolve_sse_vex): Likewise.
28636 (_dl_runtime_resolve_fxsave): New.
28637 (_dl_runtime_resolve_xsave): Likewise.
28638 (_dl_runtime_resolve_xsavec): Likewise.
28640 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28644 * posix/glob.c (__glob): Fix one-byte overflow.
28646 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28648 * malloc/malloc.c (sysdep-cancel.h): Add include.
28650 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28652 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28654 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28656 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28657 (tests): Remove $(objpfx)ga_test depdendency.
28658 * resolv/ga_test.c: Remove file.
28660 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28663 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28664 * localedata/locales/kab_DZ: New file.
28666 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28668 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28669 _dl_relocate_static_pie instead of _dl_start to compute load
28670 address in static PIE.
28672 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28674 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28676 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28679 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28680 * localedata/locales/shn_MM: New file.
28682 2017-10-20 Florian Weimer <fweimer@redhat.com>
28685 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28686 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28687 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28688 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28689 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28690 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28692 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28694 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28696 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28698 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28701 * sysdeps/mips/bits/long-double.h: Move to ....
28702 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28704 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28706 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28708 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28709 H.J. Lu <hongjiu.lu@intel.com>
28712 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28713 GLRO(dl_platform) to NULL.
28714 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28715 (modules-names): Add tst-platformmod-1 and
28716 x86_64/tst-platformmod-2.
28717 (CFLAGS-tst-platform-1.c): New.
28718 (CFLAGS-tst-platformmod-1.c): Likewise.
28719 (CFLAGS-tst-platformmod-2.c): Likewise.
28720 (LDFLAGS-tst-platformmod-2.so): Likewise.
28721 ($(objpfx)tst-platform-1): Likewise.
28722 ($(objpfx)tst-platform-1.out): Likewise.
28723 (tst-platform-1-ENV): Likewise.
28724 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28725 * sysdeps/x86_64/tst-platform-1.c: New file.
28726 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28727 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28729 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28732 * locale/iso-639.def: Add Karbi.
28733 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28734 * localedata/locales/mjw_IN: New file.
28736 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28738 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28739 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28740 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28741 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28742 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28743 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28744 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28746 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28747 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28748 * manual/math.texi (Mathematics): Document additional architecture
28749 support for _Float128.
28750 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28751 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28752 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28753 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28754 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28755 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28756 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28757 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28758 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28759 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28760 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28761 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28762 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28763 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28764 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28766 2017-10-18 Renlin Li <renlin.li@arm.com>
28768 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28769 _DYNAMIC symbol to calculate load address.
28771 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28773 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28774 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28776 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28777 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28779 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28782 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28783 and improve readability by using more ASCII.
28784 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28785 and improve readability by using more ASCII.
28787 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28789 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28790 not all targets support atomics on bool.
28792 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28794 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28795 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28797 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28798 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28799 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28800 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28801 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28802 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28804 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28806 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28809 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28812 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28813 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28814 (do_check_remalloced_chunk): Fix build bug.
28815 (do_check_malloc_state): Add assert that checks arena->top.
28816 (malloc_consolidate): Remove initialization.
28817 (int_mallinfo): Remove call to malloc_consolidate.
28818 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28820 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28822 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28823 (have_fastchunks): Remove.
28824 (clear_fastchunks): Remove.
28825 (set_fastchunks): Remove.
28826 (malloc_state): Add have_fastchunks.
28827 (malloc_init_state): Use have_fastchunks.
28828 (do_check_malloc_state): Remove incorrect invariant checks.
28829 (_int_malloc): Use have_fastchunks.
28830 (_int_free): Likewise.
28831 (malloc_consolidate): Likewise.
28833 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28835 * malloc/malloc.c (tcache_put): Inline.
28836 (tcache_get): Inline.
28838 2017-10-17 Jordi Mallach <jordi@gnu.org>
28840 Aurelien Jarno <aurelien@aurel32.net>
28842 * localedata/locales/ca_ES@valencia: New file.
28843 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28845 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28848 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28851 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28853 * scripts/build-many-glibcs.py (Context.add_all_configs):
28854 Add arm-linux-gnueabihf multiarch extra_glibcs.
28856 * sysdeps/generic/ifunc-init.h: New file.
28857 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28859 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28862 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28863 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28864 * stdlib/tst-strfmon_l.c: adapt test case.
28866 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28868 * sysdeps/generic/float128-abi.h: New file.
28869 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28870 non-__prefixed symbols to ....
28871 * math/Versions: ... here. Include <float128-abi.h>.
28872 * stdlib/Versions ... and here. Include <float128-abi.h>
28874 2017-10-16 Florian Weimer <fweimer@redhat.com>
28876 * version.h (VERSION): Switch to ".9000" as the development
28879 2017-10-16 Florian Weimer <fweimer@redhat.com>
28882 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28883 compat_symbol_reference to access non-default version.
28885 2017-10-16 Florian Weimer <fweimer@redhat.com>
28887 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28889 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28891 * include/shlib-compat.h (compat_symbol_reference): Update
28894 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28896 * math/Makefile (test-types): Add
28897 $(type-float128-$(float128-alias-fcts)).
28898 * math/test-float128.h (TYPE_STR): Define conditional on
28899 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28900 (ULP_IDX): Likewise.
28901 (ULP_I_IDX): Likewise.
28903 * stdlib/strtold.c: Include <bits/floatn.h>
28904 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28905 and later undefine as macro. Define as weak alias if
28907 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28908 and later undefine as macro. Define as weak alias if
28910 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28911 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28912 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28913 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28914 Define and later undefine as macro. Define as weak alias if
28916 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28918 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28919 Define and later undefine as macro. Define as weak alias if
28921 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28922 Define and later undefine as macro. Define as weak alias if
28925 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28927 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28928 record_verbose messages.
28930 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28933 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28934 to silence -O3 -Wall warning with GCC 7.
28936 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28938 * Makeconfig (+link-static-before-libc): Use the first of
28939 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28940 * gmon/Makefile (tests): Add tst-gmon-static.
28941 (tests-static): Likewise.
28942 (CFLAGS-tst-gmon-static.c): New.
28943 (CRT-tst-gmon-static): Likewise.
28944 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28945 (tst-gmon-static-ENV): Likewise.
28946 (tests-special): Likewise.
28947 ($(objpfx)tst-gmon-static.out): Likewise.
28948 (clean-tst-gmon-static-data): Likewise.
28949 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28950 * gmon/tst-gmon-static-gprof.sh: New file.
28951 * gmon/tst-gmon-static.c: Likewise.
28953 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28956 * locale/programs/linereader.c (get_string): Don't warn on
28957 non-symbolic character.
28960 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28964 * locale/programs/record-status.h: New file
28965 * locale/programs/locale.c: Add comment.
28966 * locale/programs/charmap-dir.c: Don't include error.h.
28967 (charmap_opendir): Use record_error.
28968 * locale/programs/charmap.c: Don't include error.h.
28969 (charmap_read): Use record_error, and record_warning.
28970 (parse_charmap): Likewise.
28971 * locale/programs/ld-address.c: Don't include error.h.
28972 (address_finish): Use record_error, and record_warning.
28973 * locale/programs/ld-collate.c: Don't include error.h.
28974 (collate_finish): Use record_error, and record_error_at_line.
28975 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28976 (ctype_class_new): Likewise.
28977 (ctype_map_new): Likewise.
28978 (set_one_default): Likewise.
28979 (set_class_defaults): Likewise.
28980 (translit_flatten): Likewise.
28981 (allocate_arrays): Use record_error, and record_verbose.
28982 * locale/programs/ld-identification.c: Don't include error.h.
28983 (indentation_finish): Use record_error and record_warning.
28984 * locale/programs/ld-measurement.c: Don't include error.h.
28985 (measurement_finish): Use record_error.
28986 * locale/programs/ld-messages.c
28987 (message_finish): Likewise.
28988 * locale/programs/ld-monetary.c
28989 (monetary_finish): Likewise.
28990 * locale/programs/ld-name.c (name_finish): Use record_error
28991 and record_warning.
28992 * locale/programs/ld-numeric.c
28993 (numeric_finish): Use record_error.
28994 * locale/programs/ld-paper.c: Don't include error.h.
28995 (paper_finish): Use record_error.
28996 * locale/programs/ld-telephone.c: Don't include error.h.
28997 (telephone_finish): Use record_error.
28998 * locale/programs/ld-time.c (time_finish): Likewise.
28999 * locale/programs/linereader.h (lr_error): Make inline func.
29000 * locale/programs/localedef.c: Define recorded_warning_count,
29001 and recorded_error_count.
29002 (main): Use record_error. Use recorded_error_count and
29003 recorded_warning_count to issue correct error returns.
29004 (add_to_readlist): Use record_error.
29005 (find_locale): Likewise.
29006 (load_locale): Likewise.
29007 * locale/programs/localedef.h: Remove be_quiet
29008 and WITH_CUR_LOCALE.
29009 * locale/programs/locarchive.c (compare_from_file): Use
29011 * locale/programs/locfile.c (write_locale_data): Use
29013 * locale/programs/repertoire.c: Dont include error.h.
29014 (repertoire_complain): Use record_error.
29015 * localedata/tst-fmon.sh: Expect failures from localedef.
29016 * localedata/tst-locale.sh: Likewise.
29017 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29019 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29020 (REPORTS): Likewise.
29022 (i18n): Rename to...
29023 (i18n_ctype): ...this.
29024 (i18n-report): Rename to...
29025 (i18n_ctype-report): ...this.
29026 * localedata/locales/i18n_ctype: Regenerate.
29027 * localedata/locales/i18n: copy i18n_ctype.
29029 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29031 * stdlib/strfroml.c: Include <bits/floatn.h>.
29032 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29033 Define before include of <stdlib.h> and undefine afterwards, then
29034 define as weak alias.
29036 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29037 Undefine and restore default definition. Use
29038 libm_alias_ldouble_other.
29040 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
29043 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
29046 2017-10-13 James Clarke <jrtc27@jrtc27.com>
29048 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29049 Assign sym_map to be map for local symbols, as TLS relocations
29050 use sym_map to determine whether the symbol is defined and to
29051 extract the TLS information.
29052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29053 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29055 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29058 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
29059 (math_force_eval): Add powerpc version.
29062 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
29064 (do_test): Likewise.
29065 * stdio-common/tst-printf.sh: Likewise.
29066 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
29067 ifdef clause in order to set the carry bit right. Replace r0 by
29068 0 without changing the behavior.
29070 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29072 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
29073 <libm-alias-ldouble.h>.
29074 (fabsl): Define using libm_alias_ldouble.
29075 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
29076 <libm-alias-ldouble.h>.
29077 (fabsl): Define using libm_alias_ldouble.
29079 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
29080 Remove conditional code.
29082 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
29083 Rename to __clog10_internal_l.
29084 (__clog10_internal_l): Define aliases using
29085 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
29088 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29090 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
29091 * benchtests/sincosf-inputs: New file.
29092 * benchtests/cosf-inputs: New file.
29093 * benchtests/sinf-inputs: New file.
29095 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
29097 * posix/tst-spawn.c (do_test): Wait for both children.
29099 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
29102 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
29103 tests-pie): Add tst-gmon-pie.
29104 (CFLAGS-tst-gmon-pie.c): New.
29105 (CRT-tst-gmon-pie): Likewise.
29106 (tst-gmon-pie-ENV): Likewise.
29107 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
29108 ($(objpfx)tst-gmon-pie.out): Likewise.
29109 (clean-tst-gmon-pie-data): Likewise.
29110 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
29111 * gmon/gmon.c [PIC]: Include <link.h>.
29112 [PIC] (callback): New function.
29113 (write_hist): Add an argument for load address. Subtract load
29115 (write_call_graph): Likewise.
29116 (write_gmon): Call __dl_iterate_phdr to get load address, pass
29117 it to write_hist and write_call_graph.
29118 * gmon/tst-gmon-pie.c: New file.
29120 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29122 * math/Makefile (test-types-basic): New variable.
29123 (test-types): Likewise.
29124 (libm-test-support): Use $(test-types) instead of $(types).
29125 (libm-tests-base-normal): Likewise.
29126 (libm-tests-base-finite): Likewise.
29127 (libm-tests-base-inline): Likewise.
29128 (generated): Likewise.
29129 ($(objpfx)libm-test-support-$(t).c): Likewise.
29130 (libm-tests-for-type iterator): Likewise.
29131 (libm-test-support iterator): Likewise.
29132 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
29133 (ulp_idx): Use ULP_IDX.
29134 * math/test-ldouble.h: Include <float.h>.
29135 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
29136 (ULP_IDX): New macro.
29137 (ULP_I_IDX): Likewise.
29138 * math/test-double.h (ULP_IDX): Likewise.
29139 (ULP_I_IDX): Likewise.
29140 * math/test-float.h (ULP_IDX): Likewise.
29141 (ULP_I_IDX): Likewise.
29142 * math/test-float128.h (ULP_IDX): Likewise.
29143 (ULP_I_IDX): Likewise.
29145 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29147 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
29148 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29149 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29150 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
29151 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29152 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
29153 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
29154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29156 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29157 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
29158 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29159 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29161 (SINGLE_THREAD_BY_GLOBAL): Define.
29162 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29164 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29166 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29168 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29170 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
29171 (SINGLE_THREAD_BY_GLOBAL): Likewise.
29172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29175 2017-10-11 Andreas Schwab <schwab@suse.de>
29177 * nis/Makefile (aux): Remove.
29178 * nscd/Makefile (aux): Add nscd_hash.
29179 (nscd-modules): Likewise.
29180 ($(objpfx)nscd): Don't depend on libnsl.
29181 * nscd/nscd_hash.c: New file.
29182 * nscd/nscd_hash.h: Likewise.
29183 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
29184 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
29185 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
29186 instead of <nis/rpcsvc/nis.h>.
29187 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
29189 2017-10-11 Florian Weimer <fweimer@redhat.com>
29192 Avoid large NSS buffers with many addresses, aliases.
29193 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
29194 using dynarrays and struct alloc_buffer.
29195 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
29196 (tst-nss-files-hosts-multi): Link with -ldl.
29197 * nss/tst-nss-files-hosts-multi.c: New file.
29199 2017-10-11 Florian Weimer <fweimer@redhat.com>
29202 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
29203 scratch_buffer. Eliminate gotos.
29205 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29207 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
29208 libm_alias_ldouble_other.
29209 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
29210 undefine and redefine.
29211 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29212 (exp10l): Do not define here.
29213 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
29214 (weak_alias): Undefine and redefine.
29215 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
29216 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29217 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
29218 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
29220 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
29221 [!__fma] (fma): Define using libm_alias_double.
29222 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
29223 [!__fmaf] (fmaf): Define using libm_alias_float.
29224 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
29225 (fmal): Define using libm_alias_ldouble.
29227 2017-10-10 Joseph Myers <joseph@codesourcery.com>
29229 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
29231 (libm_alias_double_other): Likewise.
29232 (libm_alias_double_r): Use libm_alias_double_other_r.
29233 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
29235 (libm_alias_float_other): Likewise.
29236 (libm_alias_float_r): Use libm_alias_float_other_r.
29237 * sysdeps/generic/libm-alias-float128.h
29238 (libm_alias_float128_other_r): New macro.
29239 (libm_alias_float128_other): Likewise.
29240 (libm_alias_float128_r): Use libm_alias_float128_other_r.
29241 * sysdeps/generic/libm-alias-ldouble.h
29242 (libm_alias_ldouble_other_r): New macro.
29243 (libm_alias_ldouble_other): Likewise.
29244 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29245 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
29246 (libm_alias_double_other_r): New macro.
29247 (libm_alias_double_other): Likewise.
29248 (libm_alias_double_r): Use libm_alias_double_other_r.
29249 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
29250 (libm_alias_ldouble_other_r): New macro.
29251 (libm_alias_ldouble_other): Likewise.
29252 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29253 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
29254 [!USE_AS_COMPAT]: Use libm_alias_double_other.
29255 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
29256 [!USE_AS_COMPAT]: Use libm_alias_float_other.
29257 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
29258 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
29259 * math/w_exp2f.c: Use libm_alias_float_other.
29260 * math/w_expf.c: Likewise.
29261 * math/w_log2f.c: Likewise.
29262 * math/w_logf.c: Likewise.
29263 * math/w_powf.c: Likewise.
29264 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29265 [!__exp2f]: Use libm_alias_float_other.
29266 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29267 [!__expf]: Use libm_alias_float_other.
29268 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29269 [!__log2f]: Use libm_alias_float_other.
29270 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29271 [!__logf]: Use libm_alias_float_other.
29272 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29273 [!__powf]: Use libm_alias_float_other.
29275 2017-10-10 Florian Weimer <fweimer@redhat.com>
29277 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29279 (_nss_files_gethostbyname3_r): Call it.
29281 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29283 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29284 error. Remove default definition of declare_mgen_alias.
29285 [!declare_mgen_alias_r]: Likewise.
29286 * sysdeps/generic/math-type-macros-double.h
29287 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29288 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29289 (declare_mgen_alias_r): Likewise.
29290 * sysdeps/generic/math-type-macros-float128.h
29291 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29292 * sysdeps/generic/math-type-macros-ldouble.h
29293 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29294 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29296 (declare_mgen_alias_r_s): Likewise.
29297 (declare_mgen_alias_r): Likewise.
29298 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29299 (lgamma_r): Define using libm_alias_double_r.
29300 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29301 (lgammaf_r): Define using libm_alias_float_r.
29302 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29303 (lgammal_r): Define using libm_alias_ldouble_r.
29304 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29305 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29307 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29309 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29310 extern declaration.
29312 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29314 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29316 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
29319 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29320 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29321 * math/Makefile (test-math-cxx11): New test.
29322 * math/test-math-cxx11.cc: New file.
29324 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29326 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29328 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29329 call to allocate the slave pty file descriptor.
29331 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29333 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29334 [!__fma] (fma): Define using libm_alias_double.
29335 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29336 [!__fma] (fma): Define using libm_alias_double.
29338 * sysdeps/ieee754/float128/float128_private.h: Include
29339 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29340 (libm_alias_ldouble_r): Undefine and redefine.
29341 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29342 <libm-alias-ldouble.h>.
29343 (asinhl): Define using libm_alias_ldouble.
29344 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29345 <libm-alias-ldouble.h>.
29346 (atanl): Define using libm_alias_ldouble.
29347 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29348 <libm-alias-ldouble.h>.
29349 (cbrtl): Define using libm_alias_ldouble.
29350 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29351 <libm-alias-ldouble.h>.
29352 (ceill): Define using libm_alias_ldouble.
29353 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29354 <libm-alias-ldouble.h>.
29355 (copysignl): Define using libm_alias_ldouble.
29356 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29357 <libm-alias-ldouble.h>.
29358 (cosl): Define using libm_alias_ldouble.
29359 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29360 <libm-alias-ldouble.h>.
29361 (erfl): Define using libm_alias_ldouble.
29363 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29364 <libm-alias-ldouble.h>.
29365 (expm1l): Define using libm_alias_ldouble.
29366 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29367 <libm-alias-ldouble.h>.
29368 (fabsl): Define using libm_alias_ldouble.
29369 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29370 <libm-alias-ldouble.h>.
29371 (floorl): Define using libm_alias_ldouble.
29372 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29373 <libm-alias-ldouble.h>.
29374 (fmal): Define using libm_alias_ldouble.
29375 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29376 <libm-alias-ldouble.h>.
29377 (frexpl): Define using libm_alias_ldouble.
29378 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29379 libm_alias_ldouble.
29380 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29381 <libm-alias-ldouble.h>.
29382 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29383 libm_alias_ldouble.
29384 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29385 <libm-alias-ldouble.h>.
29386 (getpayloadl): Define using libm_alias_ldouble.
29387 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29388 <libm-alias-ldouble.h>.
29389 (llrintl): Define using libm_alias_ldouble.
29390 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29391 <libm-alias-ldouble.h>.
29392 (llroundl): Define using libm_alias_ldouble.
29393 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29394 <libm-alias-ldouble.h>.
29395 (logbl): Define using libm_alias_ldouble.
29396 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29397 <libm-alias-ldouble.h>.
29398 (lrintl): Define using libm_alias_ldouble.
29399 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29400 <libm-alias-ldouble.h>.
29401 (lroundl): Define using libm_alias_ldouble.
29402 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29403 <libm-alias-ldouble.h>.
29404 (modfl): Define using libm_alias_ldouble.
29405 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29406 <libm-alias-ldouble.h>.
29407 (nearbyintl): Define using libm_alias_ldouble.
29408 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29409 <libm-alias-ldouble.h>.
29410 (nextafterl): Define using libm_alias_ldouble.
29411 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29412 <libm-alias-ldouble.h>.
29413 (nextupl): Define using libm_alias_ldouble.
29414 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29415 <libm-alias-ldouble.h>.
29416 (remquol): Define using libm_alias_ldouble.
29417 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29418 <libm-alias-ldouble.h>.
29419 (rintl): Define using libm_alias_ldouble.
29420 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29421 <libm-alias-ldouble.h>.
29422 (roundevenl): Define using libm_alias_ldouble.
29423 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29424 <libm-alias-ldouble.h>.
29425 (roundl): Define using libm_alias_ldouble.
29426 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29427 using libm_alias_ldouble.
29428 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29429 <libm-alias-ldouble.h>.
29430 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29431 Define using libm_alias_ldouble.
29432 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29433 <libm-alias-ldouble.h>.
29434 (sincosl): Define using libm_alias_ldouble.
29435 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29436 <libm-alias-ldouble.h>.
29437 (sinl): Define using libm_alias_ldouble.
29438 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29439 <libm-alias-ldouble.h>.
29440 (tanhl): Define using libm_alias_ldouble.
29441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29442 <libm-alias-ldouble.h>.
29443 (tanl): Define using libm_alias_ldouble.
29444 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29445 <libm-alias-ldouble.h>.
29446 (totalorderl): Define using libm_alias_ldouble.
29447 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29448 <libm-alias-ldouble.h>.
29449 (totalordermagl): Define using libm_alias_ldouble.
29450 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29451 <libm-alias-ldouble.h>.
29452 (truncl): Define using libm_alias_ldouble.
29453 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29454 libm_alias_ldouble.
29455 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29456 libm_alias_ldouble.
29457 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29458 <libm-alias-ldouble.h>.
29459 (weak_alias): Do not undefine and redefine.
29460 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29461 (copysignl): Define with long_double_symbol only if [IS_IN
29463 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29464 <libm-alias-ldouble.h>.
29465 (weak_alias): Do not undefine and redefine.
29466 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29467 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29468 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29469 <libm-alias-ldouble.h>.
29470 (weak_alias): Do not undefine and redefine.
29471 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29472 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29473 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29474 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29477 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29480 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29481 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29483 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29485 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29488 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29490 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29498 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29501 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29502 (tcache_thread_freeres): Set tcache_shutting_down before
29503 freeing the tcache.
29504 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29505 * malloc/tst-malloc-tcache-leak.c: New file.
29507 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29509 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29510 back to powerpc32 file.
29511 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29512 (memrchr): Add __memrchr_power8 to ifunc list.
29513 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29514 extra bytes for unaligned inputs.
29516 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29518 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29519 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29520 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29521 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29522 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29524 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29526 * sysdeps/arm/libm-test-ulps: Update.
29528 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29529 <libm-alias-ldouble.h>.
29530 (asinhl): Define using libm_alias_ldouble.
29531 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29532 <libm-alias-ldouble.h>.
29533 (cbrtl): Define using libm_alias_ldouble.
29534 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29535 <libm-alias-ldouble.h>.
29536 (copysignl): Define using libm_alias_ldouble.
29537 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29538 <libm-alias-ldouble.h>.
29539 (cosl): Define using libm_alias_ldouble.
29540 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29541 <libm-alias-ldouble.h>.
29542 (erfl): Define using libm_alias_ldouble.
29544 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29545 <libm-alias-ldouble.h>.
29546 (fmal): Define using libm_alias_ldouble.
29547 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29548 <libm-alias-ldouble.h>.
29549 (frexpl): Define using libm_alias_ldouble.
29550 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29551 libm_alias_ldouble.
29552 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29553 <libm-alias-ldouble.h>.
29554 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29555 libm_alias_ldouble.
29556 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29557 <libm-alias-ldouble.h>.
29558 (getpayloadl): Define using libm_alias_ldouble.
29559 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29560 <libm-alias-ldouble.h>.
29561 (llrintl): Define using libm_alias_ldouble.
29562 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29563 <libm-alias-ldouble.h>.
29564 (llroundl): Define using libm_alias_ldouble.
29565 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29566 <libm-alias-ldouble.h>.
29567 (lrintl): Define using libm_alias_ldouble.
29568 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29569 <libm-alias-ldouble.h>.
29570 (lroundl): Define using libm_alias_ldouble.
29571 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29572 <libm-alias-ldouble.h>.
29573 (modfl): Define using libm_alias_ldouble.
29574 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29575 <libm-alias-ldouble.h>.
29576 (nextupl): Define using libm_alias_ldouble.
29577 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29578 <libm-alias-ldouble.h>.
29579 (remquol): Define using libm_alias_ldouble.
29580 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29581 <libm-alias-ldouble.h>.
29582 (roundevenl): Define using libm_alias_ldouble.
29583 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29584 <libm-alias-ldouble.h>.
29585 (roundl): Define using libm_alias_ldouble.
29586 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29587 using libm_alias_ldouble.
29588 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29589 <libm-alias-ldouble.h>.
29590 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29591 <libm-alias-ldouble.h>.
29592 (setpayloadsigl): Define using libm_alias_ldouble.
29593 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29594 <libm-alias-ldouble.h>.
29595 (sincosl): Define using libm_alias_ldouble.
29596 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29597 <libm-alias-ldouble.h>.
29598 (sinl): Define using libm_alias_ldouble.
29599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29600 <libm-alias-ldouble.h>.
29601 (tanhl): Define using libm_alias_ldouble.
29602 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29603 <libm-alias-ldouble.h>.
29604 (tanl): Define using libm_alias_ldouble.
29605 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29606 <libm-alias-ldouble.h>.
29607 (totalorderl): Define using libm_alias_ldouble.
29608 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29609 <libm-alias-ldouble.h>.
29610 (totalordermagl): Define using libm_alias_ldouble.
29611 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29612 libm_alias_ldouble.
29613 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29614 libm_alias_ldouble.
29616 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29618 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29620 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29621 (__libc_ifunc_impl_list): Likewise.
29622 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29623 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29625 * benchtests/bench-memmove-walk.c: New file.
29626 * benchtests/Makefile (string-benchset): Add it.
29628 * benchtests/bench-memset-walk.c: New file.
29629 * benchtests/Makefile (string-benchset): Add it.
29631 * benchtests/bench-memcpy-walk.c: New file.
29632 * benchtests/Makefile (string-benchset): Add it.
29634 2017-10-05 Florian Weimer <fweimer@redhat.com>
29636 nscd: Eliminate compilation time dependency in the build output.
29637 * nscd/nscd_stat.c (STATDATA_VERSION)
29638 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29639 (STATDATA_VERSION_FULL): New macro definitions.
29640 (compilation): Remove.
29641 (struct statdata): Adjust version member.
29642 (send_stats): Set version from STATDATA_VERSION_FULL.
29643 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29645 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29647 * configure.ac (--enable-add-ons): Remove option.
29648 (machine): Do not mention add-ons in comment.
29649 (LIBC_PRECONFIGURE): Likewise.
29650 (add_ons): Remove variable and sanity checks and logic to locate
29652 (add_ons_automatic): Remove variable.
29653 (configured_add_ons): Likewise.
29654 (add_ons_sfx): Likewise.
29655 (add_ons_pfx): Likewise.
29656 (add_on_subdirs): Likewise.
29657 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29658 consideration of add-ons in Implies handling.
29659 (sysdeps_add_ons): Likewise.
29660 * configure: Regenerated.
29661 * libidn/configure.ac: Remove.
29662 * libidn/configure: Likewise.
29663 * sysdeps/unix/inet/configure.ac: New file.
29664 * sysdeps/unix/inet/configure: New generated file.
29665 * sysdeps/unix/inet/Subdirs: Add libidn.
29666 * Makeconfig (sysdeps-srcdirs): Remove variable.
29667 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29668 ($(common-objpfx)config.status): Do not depend on add-on files.
29669 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29671 (all-subdirs): Do not include $(add-on-subdirs).
29672 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29673 * config.make.in (add-ons): Remove variable.
29674 (add-on-subdirs): Likewise.
29675 (sysdeps-add-ons): Likewise.
29676 * manual/Makefile (add-chapters): Remove.
29677 ($(objpfx)texis): Do not depend on $(add-chapters).
29678 (nonexamples): Do not handle $(add-chapters).
29679 (examples): Do not handle $(add-ons).
29680 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29682 * manual/install.texi (Installation): Do not mention add-ons.
29683 (--enable-add-ons): Do not document configure option.
29684 * INSTALL: Regenerated.
29685 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29686 * manual/maint.texi (Hierarchy Conventions): Do not mention
29688 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29690 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29692 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29693 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29695 2017-10-05 Andreas Schwab <schwab@suse.de>
29698 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29699 (_IO_flush_all_lockp): Always lock list_all_lock.
29700 (_IO_flush_all_linebuffered): Likewise.
29701 (_IO_unbuffer_all): Likewise.
29703 2017-10-05 Florian Weimer <fweimer@redhat.com>
29706 Do not flush stdio streams on abort.
29707 * stdlib/abort.c (fflush): Remove macro definition.
29708 (abort): Remove stages related to stdio flushing.
29710 2017-10-05 Florian Weimer <fweimer@redhat.com>
29712 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29714 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29716 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29718 2017-10-05 Florian Weimer <fweimer@redhat.com>
29720 * support/support_format_hostent.c (support_format_hostent): Add
29721 more error information for NETDB_INTERNAL.
29723 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29725 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29726 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29727 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29728 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29729 AC_DEFINE if multi-arch is enabled.
29730 * sysdeps/i386/configure: Regenerated.
29732 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29734 * Makeconfig (+link-static-before-libc): Use
29735 $(DEFAULT-LDFLAGS-$(@F)).
29736 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29737 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29738 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29740 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29742 * elf/Makefile (tests): Add tst-main1.
29743 (modules-names): Add tst-main1mod.
29744 ($(objpfx)tst-main1): New.
29745 (CRT-tst-main1): Likewise.
29746 (LDFLAGS-tst-main1): Likewise.
29747 (LDLIBS-tst-main1): Likewise.
29748 (tst-main1mod.so-no-z-defs): Likewise.
29749 * elf/tst-main1.c: New file.
29750 * elf/tst-main1mod.c: Likewise.
29752 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29754 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29756 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29758 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29759 (fma): Define using libm_alias_double.
29760 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29761 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29763 (fmal): Do not define as compat symbol here.
29764 * sysdeps/alpha/fpu/s_fma.c: New file.
29766 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29768 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29770 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29775 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29777 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29778 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29779 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29780 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29782 Include <math_ldbl_opt.h>
29783 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29785 (compat_symbol): Undefine and redefine.
29786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29788 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29789 (compat_symbol): Undefine and redefine.
29790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29791 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29792 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29793 GLIBC_2_1 for libm.
29794 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29795 GLIBC_2.0 copysignl symbol.
29796 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29797 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29799 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29801 2017-10-04 Florian Weimer <fweimer@redhat.com>
29803 * scripts/check-local-headers.sh: Ignore nspr4 header file
29804 directory in addition to nspr.
29806 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29809 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29810 * configure: Regenerate.
29811 * crypt/Makefile (nss-cpp-flags): New variable.
29812 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29813 (CPPFLAGS-md5-crypt.c): Use it.
29814 * scripts/check-local-headers.sh: Ignore nspr header file
29817 2017-10-04 Andreas Schwab <schwab@suse.de>
29819 * nis/Makefile (services): Remove compat.
29820 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29821 ($(objpfx)libnss_compat.so): Remove rule.
29822 * nis/Versions (libnss_compat): Remove.
29823 * nss/Makefile (services): Add compat.
29824 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29825 * nss/Versions (libnss_compat): Define.
29826 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29827 Don't include <rpc/types.h>. Replace bool_t by bool.
29828 * nss/nss_compat/compat-initgroups.c: Likewise.
29829 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29830 instead of <rpcsrv/ypclnt.h>.
29831 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29832 yp_get_default_domain.
29833 * nss/nss_compat/compat-pwd.c: Likewise.
29834 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29835 yp_get_default_domain.
29836 * nss/nss_compat/nisdomain.c: New file.
29837 * nss/nss_compat/nisdomain.h: Likewise.
29839 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29842 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29843 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29845 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29848 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29849 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29851 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29853 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29854 "movl main@GOTOFF(%ebx), %eax".
29856 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29858 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29859 allow undefined _DYNAMIC in PIE libc.a.
29860 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29863 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29865 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29868 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29870 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29873 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29875 * math/test-math-iscanonical.cc (error): Replace bool with int.
29877 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29879 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29880 (modf): Define using libm_alias_double, only if [!__modf].
29881 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29882 <libm-alias-double.h>.
29883 (modf): Define using libm_alias_double, only if [!__modf].
29884 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29885 compat symbol here.
29886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29887 (weak_alias): Do not undefine and redefine.
29888 (strong_alias): Likewise.
29889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29890 (weak_alias): Likewise.
29891 (strong_alias): Likewise.
29893 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29894 (logb): Define using libm_alias_double, only if [!__logb].
29895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29896 <libm-alias-double.h>.
29897 (logb): Define using libm_alias_double, only if [!__logb].
29898 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29900 (weak_alias): Do not undefine and redefine.
29901 (strong_alias): Likewise.
29902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29903 (weak_alias): Likewise.
29904 (strong_alias): Likewise.
29906 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29908 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29909 Check SHARED instead PIC.
29911 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29913 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29914 [!__fmaf] (fmaf): Define using libm_alias_float.
29916 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29917 (frexp): Define using libm_alias_double.
29918 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29919 <libm-alias-double.h>.
29920 (frexp): Define using libm_alias_double.
29921 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29922 compat symbol here.
29924 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29927 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29928 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29929 (CFLAGS-test-math-iscanonical.cc): New variable.
29930 * math/test-math-iscanonical.cc: New file.
29931 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29932 Provide a C++ implementation based on function overloading,
29933 rather than using __MATH_TG, which uses C-only builtins.
29934 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29936 * sysdeps/powerpc/powerpc64le/Makefile
29937 (CFLAGS-test-math-iscanonical.cc): New variable.
29939 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29941 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29942 (ceil): Define using libm_alias_double.
29943 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29944 (floor): Define using libm_alias_double.
29945 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29946 <libm-alias-double.h>.
29947 (llround): Define using libm_alias_double.
29948 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29949 <libm-alias-double.h>.
29950 (lround): Define using libm_alias_double.
29951 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29952 <libm-alias-double.h>.
29953 (nearbyint): Define using libm_alias_double.
29954 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29955 <libm-alias-double.h>.
29956 (remquo): Define using libm_alias_double.
29957 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29958 (rint): Define using libm_alias_double.
29959 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29960 (round): Define using libm_alias_double.
29961 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29962 (trunc): Define using libm_alias_double.
29963 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29964 <libm-alias-double.h>.
29965 (ceil): Define using libm_alias_double.
29966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29967 <libm-alias-double.h>.
29968 (floor): Define using libm_alias_double.
29969 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29970 <libm-alias-double.h>.
29971 (llround): Define using libm_alias_double.
29972 [_LP64] (lround): Likewise.
29973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29974 <libm-alias-double.h>.
29975 [!_LP64] (lround): Define using libm_alias_double.
29976 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29977 <libm-alias-double.h>.
29978 (nearbyint): Define using libm_alias_double.
29979 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29980 <libm-alias-double.h>.
29981 (remquo): Define using libm_alias_double.
29982 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29983 <libm-alias-double.h>.
29984 (rint): Define using libm_alias_double.
29985 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29986 <libm-alias-double.h>.
29987 (round): Define using libm_alias_double.
29988 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29989 <libm-alias-double.h>.
29990 (trunc): Define using libm_alias_double.
29991 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29992 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29993 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29994 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29995 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29996 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29997 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29998 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29999 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30001 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30003 * math/w_remainder.c: New file.
30004 * math/w_remainderf.c: New file.
30005 * math/w_remainderl.c: New file.
30007 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30009 * elf/rtld.c (BOOTSTRAP_MAP): New.
30010 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30011 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30013 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30015 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30018 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30020 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30021 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30022 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30023 rtld_hidden_data_ver): Define to empty.
30024 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30025 __assert_perror_fail): Likewise.
30026 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30027 (__rewinddir): Likewise.
30028 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30029 (__profile_frequency): Likewise.
30030 * include/setjmp.h (__sigsetjmp): Likewise.
30031 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30032 __libc_sigaction): Likewise.
30033 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30034 not set hidden attribute.
30035 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30036 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30037 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30038 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30039 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
30040 __fxstatat64): Likewise.
30041 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30042 (__uname): Likewise.
30043 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30044 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
30045 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
30046 (NO_RTLD_HIDDEN): Set.
30047 * sysdeps/mach/hurd/configure: Refresh.
30048 * config.h.in: Refresh.
30050 2017-10-02 Joseph Myers <joseph@codesourcery.com>
30052 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
30053 (atan): Define using libm_alias_double.
30054 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
30055 (tan): Define using libm_alias_double.
30056 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
30057 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
30059 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
30060 define as weak alias of __atan. Do not define any aliases if
30062 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
30063 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
30064 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
30065 as weak alias of __tan. Do not define any aliases if [__tan].
30066 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
30067 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
30068 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
30070 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
30071 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
30072 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
30073 and define as weak alias of __atan.
30074 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
30076 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
30077 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
30078 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
30079 define as weak alias of __tan.
30081 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30083 * math/w_lgamma.c: New file.
30084 * math/w_lgammaf.c: New file.
30085 * math/w_lgammal.c: New file.
30087 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30089 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
30090 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
30091 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
30092 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
30093 * sysdeps/ieee754/flt-32/w_logf.c: New file.
30094 * sysdeps/ieee754/flt-32/w_powf.c: New file.
30095 * sysdeps/i386/fpu/w_log2f.c: New file.
30096 * sysdeps/i386/fpu/w_logf.c: New file.
30097 * sysdeps/i386/fpu/w_powf.c: New file.
30098 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
30099 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
30100 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
30102 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30103 H.J. Lu <hongjiu.lu@intel.com>
30105 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
30106 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
30107 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
30108 * sysdeps/ieee754/flt-32/w_expf.c: New file.
30109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
30111 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
30112 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
30113 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
30114 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
30115 * sysdeps/i386/fpu/w_exp2f.c: New file.
30116 * sysdeps/i386/fpu/w_expf.c: New file.
30117 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
30118 * sysdeps/x86_64/fpu/w_expf.c: New file.
30120 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30122 * math/Versions (logf): New libm symbol at GLIBC_2.27.
30125 * math/w_log2f.c: New file.
30126 * math/w_logf.c: New file.
30127 * math/w_powf.c: New file.
30128 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
30129 * math/w_logf_compat.c (__logf_compat): Likewise.
30130 * math/w_powf_compat.c (__powf_compat): Likewise.
30131 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
30132 * sysdeps/ia64/fpu/e_logf.S: Likewise.
30133 * sysdeps/ia64/fpu/e_powf.S: Likewise.
30134 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30135 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30136 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30137 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30138 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30139 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30140 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30143 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30144 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30145 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30154 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30155 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30156 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30158 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30163 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30164 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30167 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30169 * sysdeps/powerpc/powerpc64/multiarch/Makefile
30170 (sysdep_routines): Add memrchr_power8.
30171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30172 (memrchr): Add __memrchr_power8 to list of memrchr functions.
30173 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
30175 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30176 (memrchr): Add __memrchr_power8 to ifunc list.
30177 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
30179 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30182 * sysdeps/unix/sysv/linux/posix_fadvise64.c
30183 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
30185 * sysdeps/unix/sysv/linux/posix_fallocate64.c
30186 (__posix_fallocate64_l64): Likewise.
30188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30191 * sysdeps/unix/sysv/linux/sched_setaffinity.c
30192 (__sched_setaffinity_new): Add libc_hidden_proto and
30195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30198 * include/glob.h (__glob64): Add libc_hidden_proto.
30199 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
30202 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30205 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
30208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30211 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
30213 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30216 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
30219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30222 * csu/version.c (__libc_print_version): Add attribute_hidden.
30224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30227 * include/libc-internal.h (__init_misc): Add attribute_hidden.
30229 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30232 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
30234 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30237 * nscd/nscd_helper.c (__nis_hash): New prototype.
30239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30242 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
30243 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
30245 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30246 * termios/tcgetattr.c (__tcgetattr): Likewise.
30248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30251 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
30252 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
30253 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
30254 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
30255 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
30257 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30260 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30265 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30266 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30271 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30276 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30277 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30279 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30282 * include/ifreq.h: New file.
30283 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30284 (__ifreq): Likewise.
30285 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30286 (__ifreq): Likewise.
30288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30291 * include/idna.h: New file.
30292 * inet/getnameinfo.c: Include <idna.h> instead of
30294 (__idna_to_unicode_lzlz): Removed.
30295 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30297 (__idna_to_ascii_lz): Removed.
30298 (__idna_to_unicode_lzlz): Likewise.
30300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30303 * include/plural-exp.h: New file.
30304 * intl/plural-exp.c: Include <plural-exp.h> instead of
30307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30310 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30311 "getsourcefilter.h".
30312 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30313 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30314 "getsourcefilter.h".
30315 (__get_sol): Removed.
30317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30320 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30322 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30324 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30327 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30333 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30335 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30338 * include/search.h (__tdestroy): Add libc_hidden_proto.
30339 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30344 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30346 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30349 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30355 * include/signal.h (__kill): Add libc_hidden_proto.
30356 (__sigblock): Likewise.
30357 (__sigprocmask): Likewise.
30358 (__sigaltstack): Likewise.
30359 * signal/kill.c (__kill): Add libc_hidden_def.
30360 * signal/sigblock.c (__sigblock): Likewise.
30361 * signal/sigprocmask.c (__sigprocmask): Likewise.
30362 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30363 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30364 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30365 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30366 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30368 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30370 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30371 (__sigprocmask): Likewise.
30372 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30374 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30375 (__sigprocmask): Likewise.
30376 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30379 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30382 * include/string.h (__strsep): Add libc_hidden_proto.
30383 * string/strsep.c (__strsep): Add libc_hidden_def.
30385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30388 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30390 (__spawni): Likewise.
30392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30395 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30396 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30402 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30404 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30407 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30408 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30409 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30410 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30411 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30413 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30414 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30416 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30419 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30420 (__dcigettext): Likewise.
30422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30425 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30427 (__get_nprocs): Likewise.
30428 (__get_phys_pages): Likewise.
30429 (__get_avphys_pages): Likewise.
30430 (__get_child_max): Add attribute_hidden.
30431 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30432 (__get_nprocs): Likewise.
30433 (__get_phys_pages): Likewise.
30434 (__get_avphys_pages): Likewise.
30435 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30437 (__get_nprocs): Likewise.
30438 (__get_phys_pages): Likewise.
30439 (__get_avphys_pages): Likewise.
30440 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30442 (__get_nprocs_conf): Likewise.
30443 (__get_phys_pages): Likewise.
30444 (__get_avphys_pages): Likewise.
30446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30449 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30451 (__netlink_close): Likewise.
30452 (__netlink_free_handle): Likewise.
30453 (__netlink_request): Likewise.
30455 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30458 * include/rpc/rpc.h (__rpc_thread_variables): Add
30460 (__rpc_thread_svc_cleanup): Likewise.
30461 (__rpc_thread_clnt_cleanup): Likewise.
30462 (__rpc_thread_key_cleanup): Likewise.
30464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30467 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30468 (__writev): Likewise.
30469 * misc/readv.c (__readv): Add libc_hidden_def.
30470 * misc/writev.c (__writev): Likewise.
30471 * sysdeps/posix/readv.c (__readv): Likewise.
30472 * sysdeps/posix/writev.c (__writev): Likewise.
30473 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30474 (__readv): Likewise.
30475 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30476 (__writev): Likewise.
30478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30481 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30482 (__regcomp): Add libc_hidden_proto.
30483 (__regexec): Likewise.
30484 (__regfree): Likewise.
30485 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30486 (__regfree): Likewise.
30487 * posix/regexec.c (__regexec): Likewise.
30489 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30492 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30493 (__getutent): Likewise.
30494 (__getutid): Likewise.
30495 (__getutline): Likewise.
30496 (__pututline): Likewise.
30497 (__getutent_r): Likewise.
30498 (__getutid_r): Likewise.
30499 (__getutline_r): Likewise.
30500 (__utmpname): Add attribute_hidden.
30501 (__setutent): Likewise.
30502 (__endutent): Likewise.
30503 * login/getutent.c (__getutent): Add libc_hidden_def.
30504 * login/getutent_r.c (__getutent_r): Likewise.
30505 (__pututline): Likewise.
30506 * login/getutid.c (__getutid): Likewise.
30507 * login/getutid_r.c (__getutid_r): Likewise.
30508 * login/getutline.c (__getutline): Likewise.
30509 * login/getutline_r.c (__getutline_r): Likewise.
30510 * login/updwtmp.c (__updwtmp): Likewise.
30512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30515 * include/dirent.h (__opendir): Always add attribute_hidden.
30516 (__fdopendir): Likewise.
30517 (__closedir): Likewise.
30518 (__readdir): Likewise.
30519 (__readdir64): Add libc_hidden_proto.
30520 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30521 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30522 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30523 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30529 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30530 * include/netdb.h (__gethostbyaddr_r): Likewise.
30531 (__gethostbyname_r): Likewise.
30532 (__gethostbyname2_r): Likewise.
30533 (__getnetbyaddr_r): Likewise.
30534 (__getnetbyname_r): Likewise.
30535 (__getservbyname_r): Likewise.
30536 (__getservbyport_r): Likewise.
30537 (__getprotobyname_r): Likewise.
30538 (__getprotobynumber_r): Likewise.
30539 (__getnetgrent_r): Likewise.
30540 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30541 (__getrpcbynumber_r): Likewise.
30542 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30544 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30547 * include/stdio.h (__fcloseall): Add attribute_hidden.
30548 (__getline): Likewise.
30549 (__path_search): Likewise.
30550 (__gen_tempname): Likewise.
30551 (__libc_message): Likewise.
30552 (__flockfile): Likewise.
30553 (__funlockfile): Likewise.
30554 (__fxprintf): Likewise.
30555 (__fxprintf_nocancel): Likewise.
30557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30560 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30561 (__sgetsgent_r): Likewise.
30563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30566 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30567 (__statfs64): Likewise.
30568 (__fstatfs64): Likewise.
30569 * include/sys/statvfs.h (__statvfs64): Likewise.
30570 (__fstatvfs64): Likewise.
30571 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30572 (__statfs_filesize_max): Likewise.
30573 (__statfs_symlinks): Likewise.
30574 (__statfs_chown_restricted): Likewise.
30576 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30579 * include/time.h (__tzstring): Add attribute_hidden.
30580 (__tzfile_read): Likewise.
30581 (__tzfile_compute): Likewise.
30582 (__tzfile_default): Likewise.
30583 (__tzset_parse_tz): Likewise.
30584 (__offtime): Likewise.
30585 (__asctime_r): Likewise.
30586 (__tzset): Likewise.
30587 (__tz_convert): Likewise.
30588 (__getdate_r): Likewise.
30589 (__getclktck): Likewise.
30591 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30594 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30595 (__nscd_unmap): Likewise.
30596 (__nscd_cache_search): Likewise.
30597 (__nscd_get_nl_timestamp): Likewise.
30598 (__nscd_getpwnam_r): Likewise.
30599 (__nscd_getpwuid_r): Likewise.
30600 (__nscd_getgrnam_r): Likewise.
30601 (__nscd_getgrgid_r): Likewise.
30602 (__nscd_gethostbyname_r): Likewise.
30603 (__nscd_gethostbyname2_r): Likewise.
30604 (__nscd_gethostbyaddr_r): Likewise.
30605 (__nscd_getai): Likewise.
30606 (__nscd_getgrouplist): Likewise.
30607 (__nscd_getservbyname_r): Likewise.
30608 (__nscd_getservbyport_r): Likewise.
30609 (__nscd_innetgr): Likewise.
30610 (__nscd_setnetgrent): Likewise.
30612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30615 * include/gmp.h: Declare internal functions only if _ISOMAC is
30617 (__mpn_extract_double): Add attribute_hidden.
30618 (__mpn_extract_long_double): Likewise.
30619 (__mpn_extract_float128): Likewise.
30620 (__mpn_construct_float): Likewise.
30621 (__mpn_construct_double): Likewise.
30622 (__mpn_construct_long_double): Likewise.
30623 (__mpn_construct_float128): Likewise.
30624 (mpn_add_1): Likewise.
30625 (mpn_addmul_1): Likewise.
30626 (mpn_add_n): Likewise.
30627 (mpn_cmp): Likewise.
30628 (mpn_divrem): Likewise.
30629 (mpn_lshift): Likewise.
30630 (mpn_mul): Likewise.
30631 (mpn_mul_1): Likewise.
30632 (mpn_rshift): Likewise.
30633 (mpn_sub_1): Likewise.
30634 (mpn_submul_1): Likewise.
30635 (mpn_sub_n): Likewise.
30637 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30640 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30641 (__wcscat): Likewise.
30642 (__btowc): Likewise.
30643 (__wcrtomb): Likewise.
30644 (__mbsrtowcs): Likewise.
30645 (__wcsrtombs): Likewise.
30646 (__mbsnrtowcs): Likewise.
30647 (__wcsnrtombs): Likewise.
30648 (__wcsncpy): Likewise.
30649 (__wcpncpy): Likewise.
30650 (__wmemcpy): Likewise.
30651 (__wmempcpy): Likewise.
30652 (__wmemmove): Likewise.
30653 (__wcschrnul): Likewise.
30654 (__vfwscanf): Likewise.
30655 (__vswprintf): Likewise.
30656 (__fwprintf): Likewise.
30657 (__vfwprintf): Likewise.
30659 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30662 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30663 (__getgrgid_r): Likewise.
30664 (__getgrnam_r): Likewise.
30665 * include/pwd.h (__getpwuid_r): Likewise.
30666 (__getpwnam_r): Likewise.
30667 (__fgetpwent_r): Likewise.
30668 * include/shadow.h (__getspnam_r): Likewise.
30669 (__sgetspent_r): Likewise.
30670 (__fgetspent_r): Likewise.
30672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30675 * include/unistd.h (__access): Add attribute_hidden.
30676 (__lseek64): Likewise.
30677 (__libc_pread64): Likewise.
30678 (__pipe2): Likewise.
30679 (__sleep): Likewise.
30680 (__chdir): Likewise.
30681 (__fchdir): Likewise.
30682 (__getcwd): Likewise.
30683 (__rmdir): Likewise.
30684 (__execvpe): Likewise.
30685 (__execve): Likewise.
30686 (__setsid): Likewise.
30687 (__getuid): Likewise.
30688 (__geteuid): Likewise.
30689 (__getgid): Likewise.
30690 (__getegid): Likewise.
30691 (__getgroups): Likewise.
30692 (__group_member): Likewise.
30693 (__ttyname_r): Likewise.
30694 (__isatty): Likewise.
30695 (__readlink): Likewise.
30696 (__unlink): Likewise.
30697 (__gethostname): Likewise.
30698 (__profil): Likewise.
30699 (__getdtablesize): Likewise.
30701 (__ftruncate): Likewise.
30702 (__ftruncate64): Likewise.
30704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30707 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30708 * argp/argp-fs-xinl.c: Likewise.
30709 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30710 * argp/argp-parse.c: Include <argp.h>.
30711 * argp/argp-xinl.c: Likewise.
30712 * include/argp-fmtstream.h: New file.
30713 * include/argp.h (__argp_error): Add attribute_hidden.
30714 (__argp_failure): Likewise.
30715 (__argp_input): Likewise.
30716 (__argp_state_help): Likewise.
30718 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30721 * include/wchar.h (____wcstof_l_internal): New prototype.
30722 (____wcstod_l_internal): Likewise.
30723 (____wcstold_l_internal): Likewise.
30724 (____wcstol_l_internal): Likewise.
30725 (____wcstoul_l_internal): Likewise.
30726 (____wcstoll_l_internal): Likewise.
30727 (____wcstoull_l_internal): Likewise.
30728 (____wcstof128_l_internal): Likewise.
30729 * sysdeps/ieee754/float128/wcstof128.c
30730 (____wcstof128_l_internal): Removed.
30731 * sysdeps/ieee754/float128/wcstof128_l.c
30732 (____wcstof128_l_internal): Likewise.
30733 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30734 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30735 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30736 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30737 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30738 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30739 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30740 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30741 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30742 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30747 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30748 instead of <sys/statvfs.h>.
30749 (__internal_statvfs): Removed.
30750 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30751 instead of <sys/statvfs.h>.
30752 (__internal_statvfs64): Removed.
30753 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30754 "internal_statvfs.h" instead of <sys/statvfs.h>.
30755 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30756 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30757 instead of <sys/statvfs.h>.
30758 (__internal_statvfs): Removed.
30759 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30760 instead of <sys/statvfs.h>.
30761 (__internal_statvfs64): Removed.
30763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30766 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30767 (__gconv_close): Likewise.
30768 (__gconv): Likewise.
30769 (__gconv_find_transform): Likewise.
30770 (__gconv_lookup_cache): Likewise.
30771 (__gconv_compare_alias_cache): Likewise.
30772 (__gconv_load_cache): Likewise.
30773 (__gconv_get_path): Likewise.
30774 (__gconv_close_transform): Likewise.
30775 (__gconv_release_cache): Likewise.
30776 (__gconv_find_shlib): Likewise.
30777 (__gconv_release_shlib): Likewise.
30778 (__gconv_get_builtin_trans): Likewise.
30779 (__gconv_compare_alias): Likewise.
30780 * include/dlfcn.h (_dlerror_run): Likewise.
30781 * include/stdio.h (__fortify_fail_abort): Likewise.
30782 * include/time.h (__tz_compute): Likewise.
30783 (__strptime_internal): Likewise.
30784 * intl/gettextP.h (_nl_find_domain): Likewise.
30785 (_nl_load_domain): Likewise.
30786 (_nl_find_msg): Likewise.
30787 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30788 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30789 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30790 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30791 (__gai_find_request): Likewise.
30792 (__gai_remove_request): Likewise.
30793 (__gai_notify): Likewise.
30794 (__gai_notify_only): Likewise.
30795 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30796 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30797 (_dl_non_dynamic_init): Likewise.
30798 (_dl_aux_init): Likewise.
30799 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30800 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30802 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30803 (__wcsmbs_clone_conv): Likewise.
30804 (__wcsmbs_named_conv): Likewise.
30806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30809 * include/stdlib.h (__random): Add attribute_hidden.
30810 (__random_r): Likewise.
30811 (__srandom_r): Likewise.
30812 (__initstate_r): Likewise.
30813 (__setstate_r): Likewise.
30814 (__erand48_r): Likewise.
30815 (__nrand48_r): Likewise.
30816 (__jrand48_r): Likewise.
30817 (__srand48_r): Likewise.
30818 (__seed48_r): Likewise.
30819 (__lcong48_r): Likewise.
30820 (__drand48_iterate): Likewise.
30821 (__setenv): Likewise.
30822 (__unsetenv): Likewise.
30823 (__clearenv): Likewise.
30824 (__ptsname_r): Likewise.
30825 (__posix_openpt): Likewise.
30826 (__add_to_environ): Likewise.
30827 (__realpath): Add libc_hidden_proto.
30828 (__ecvt_r): Likewise.
30829 (__fcvt_r): Likewise.
30830 (__qecvt_r): Likewise.
30831 (__qfcvt_r): Likewise.
30832 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30833 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30835 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30838 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30839 * include/time.h (__mktime_internal): Likewise.
30840 * libio/iolibio.h (__fopen_internal): Likewise.
30842 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30844 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30846 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30847 Correct offset used to restore PIC register.
30849 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30852 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30853 code to load address of __getcontext_ret when generating PIC code.
30855 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30857 * elf/Makefile (tests-static-internal): Add
30858 tst-tls1-static-non-pie.
30859 (LDFLAGS-tst-tls1-static-non-pie): New.
30860 * elf/tst-tls1-static-non-pie.c: New file.
30862 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30864 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30865 (asinh): Define using libm_alias_double.
30866 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30867 (cbrt): Define using libm_alias_double.
30868 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30869 <libm-alias-double.h>.
30870 (copysign): Define using libm_alias_double.
30871 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30872 (erf): Define using libm_alias_double.
30874 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30875 (expm1): Define using libm_alias_double.
30876 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30877 (fabs): Define using libm_alias_double.
30878 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30880 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30881 <libm-alias-double.h>.
30882 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30884 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30885 <libm-alias-double.h>.
30886 (getpayload): Define using libm_alias_double.
30887 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30888 <libm-alias-double.h>.
30889 (llrint): Define using libm_alias_double.
30890 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30891 (lrint): Define using libm_alias_double.
30892 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30893 <libm-alias-double.h>.
30894 (nextup): Define using libm_alias_double.
30895 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30896 <libm-alias-double.h>.
30897 (roundeven): Define using libm_alias_double.
30898 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30900 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30901 <libm-alias-double.h>.
30902 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30903 using libm_alias_double.
30904 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30905 (cos): Define using libm_alias_double.
30907 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30908 <libm-alias-double.h>.
30909 (sincos): Define using libm_alias_double.
30910 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30911 (tanh): Define using libm_alias_double.
30912 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30913 <libm-alias-double.h>.
30914 (totalorder): Define using libm_alias_double.
30915 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30916 <libm-alias-double.h>.
30917 (totalordermag): Define using libm_alias_double.
30918 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30920 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30922 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30923 <libm-alias-double.h>.
30924 (getpayload): Define using libm_alias_double.
30925 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30926 <libm-alias-double.h>.
30927 (roundeven): Define using libm_alias_double.
30928 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30929 <libm-alias-double.h>.
30930 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30931 <libm-alias-double.h>.
30932 (totalorder): Define using libm_alias_double.
30933 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30934 <libm-alias-double.h>.
30935 (totalordermag): Define using libm_alias_double.
30936 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30937 libc compat symbol here.
30938 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30939 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30940 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30941 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30942 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30943 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30944 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30945 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30946 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30947 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30949 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30951 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30952 _dl_relocate_static_pie instead of _dl_start to compute load
30953 address in static PIE. Return 0 if _DYNAMIC is undefined for
30956 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30958 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30959 _DYNAMIC is undefined for static executable.
30961 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30963 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30965 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30969 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30972 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30973 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30974 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30975 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30976 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30977 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30978 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30979 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30980 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30981 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30982 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30983 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30984 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30987 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30989 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30991 * math/bits/cmathcalls.h (cimag): Remove inline.
30992 (creal): Remove inline.
30993 (conj): Remove inline.
30995 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30997 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30998 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30999 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31000 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31001 (issignalingf_inline): Likewise.
31002 (POWF_LOG2_TABLE_BITS): Likewise.
31003 (POWF_LOG2_POLY_ORDER): Likewise.
31004 (POWF_SCALE_BITS): Likewise.
31005 (POWF_SCALE): Likewise.
31006 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31007 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31008 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31010 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31012 * math/Makefile (type-float-routines): Add e_log2f_data.
31013 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31014 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31015 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31016 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31017 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31018 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31019 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31021 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31023 * math/Makefile (type-float-routines): Add e_logf_data.
31024 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31025 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31026 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31027 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31028 * sysdeps/i386/fpu/e_logf_data.c: New file.
31029 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31030 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31032 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31034 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31035 undefined _DYNAMIC in PIE libc.a.
31036 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31039 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31041 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
31042 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
31043 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
31044 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
31045 (__signbit): Remove.
31046 (__signbitl): Remove.
31047 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
31048 (__signbit): Remove.
31049 (__signbitl): Remove.
31050 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
31051 (__signbit): Remove.
31052 (__signbitl): Remove.
31053 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
31054 (__signbit): Remove.
31055 (__signbitl): Remove.
31056 * sysdeps/tile/bits/mathinline.h: Delete file.
31057 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
31058 (__signbit): Remove.
31059 (__signbitl): Remove.
31061 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31063 * math/math.h: Improve handling of C99 isgreater macros.
31064 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
31065 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
31066 * sysdeps/powerpc/bits/mathinline.h: Likewise.
31067 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31068 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
31070 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
31072 * sysdeps/aarch64/libm-test-ulps: Update.
31074 2017-09-28 Joseph Myers <joseph@codesourcery.com>
31077 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31078 math_opt_barrier on argument when doing arithmetic on it.
31079 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31080 Likewise. Use math_force_eval not math_opt_barrier after
31082 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
31083 math_opt_barrier on argument when doing arithmetic on it.
31084 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31087 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
31089 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
31091 (__freeifaddrs): Likewise.
31093 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31095 * include/dirent.h (__dirfd): New declaration.
31096 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
31098 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
31099 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
31100 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
31101 * include/unistd.h (__revoke): New declaration.
31102 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
31104 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
31105 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
31107 * include/dirent.h (__seekdir): New declaration.
31108 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
31109 redefine as weak alias.
31110 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
31112 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
31113 and use libc_hidden_def on them.
31114 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
31116 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
31117 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
31118 instead of getifaddrs and freeifaddrs.
31120 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31123 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
31124 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
31125 (__dso_handle): Remove declaration.
31126 * dlfcn/tstatexit.c (__dso_handle): Removed.
31127 (main): Don't check __dso_handle.
31128 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
31129 (main): Don't check __dso_handle.
31130 * include/dso_handle.h: New file.
31131 * malloc/mtrace.c: Include <dso_handle.h>.
31132 (mtrace): Pass __dso_handle directly.
31133 * nptl/pthread_atfork.c: Include <dso_handle.h>.
31134 (__dso_handle): Remove declaration.
31135 (__pthread_atfork): Pass __dso_handle directly.
31136 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
31137 (__dso_handle): Removed.
31138 * posix/wordexp-test.c: Include <dso_handle.h>.
31139 (__dso_handle): Remove declaration.
31140 (__app_register_atfork): Pass __dso_handle directly.
31141 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
31142 (__dso_handle): Remove declaration.
31143 (at_quick_exit): Pass __dso_handle directly.
31144 * stdlib/atexit.c: Include <dso_handle.h>.
31145 (__dso_handle): Remove declaration.
31146 (atexit): Pass __dso_handle directly.
31147 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
31148 (__dso_handle): Removed.
31150 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31152 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
31155 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
31157 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
31158 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
31159 values to correct default value for given type.
31161 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31164 * elf/Makefile (tests): Add tst-debug1.
31165 ($(objpfx)tst-debug1): New.
31166 ($(objpfx)tst-debug1.out): Likewise.
31167 ($(objpfx)tst-debug1mod1.so): Likewise.
31168 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
31169 with p_filesz == 0.
31170 * elf/tst-debug1.c: New file.
31172 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31174 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
31175 Define using __ifunc.
31177 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31179 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
31182 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31185 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
31187 2017-09-26 Florian Weimer <fweimer@redhat.com>
31189 * resolv/Makefile (tests-internal): Fix typo in comment.
31191 2017-09-26 Florian Weimer <fweimer@redhat.com>
31193 * resolv/nss_dns/dns-host.c: Fix typo in comment.
31195 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31197 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
31198 Use an union instead of a max_align_t array for __space,
31199 so that __space is the same size on all platforms.
31200 * malloc/scratch_buffer_grow_preserve.c
31201 (__libc_scratch_buffer_grow_preserve): Likewise.
31204 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
31206 * posix/Makefile (routines): Add glob-lstat-compat and
31207 glob64-lstat-compat.
31208 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
31209 * posix/glob-lstat-compat.c: New file.
31210 * posix/glob64-lstat-compat.c: Likewise.
31211 * posix/tst-glob_lstat_compat.c: Likewise.
31212 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
31213 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
31214 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
31215 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
31217 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
31218 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31219 * posix/glob.c (glob_lstat): New function.
31220 (glob): Rename to __glob and add versioned symbol to 2.27.
31221 (glob_in_dir): Use glob_lstat.
31222 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
31223 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
31224 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
31226 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
31227 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
31228 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
31229 gl_lstat on glob call.
31230 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
31231 and glob64 symbols.
31232 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31233 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
31234 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
31235 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
31236 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
31237 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
31238 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
31239 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
31240 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
31241 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31242 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31243 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
31246 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
31247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
31248 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31249 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31250 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
31251 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31252 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
31254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
31255 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
31256 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
31257 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
31259 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31261 * configure.ac (AS): Require binutils 2.25 or later.
31262 * configure: Regenerated.
31264 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31267 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31270 2017-09-25 DJ Delorie <dj@redhat.com>
31273 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31276 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31278 * sysdeps/ieee754/dbl-64/sincos32.h
31279 [SINCCOS32_H]: Remove define.
31280 [SINCOS32_H]: Define.
31282 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31284 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31286 * math/w_exp2f.c: New file.
31287 * math/w_expf.c: New file.
31288 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31289 * math/w_expf_compat.c (__expf_compat): Likewise.
31290 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31291 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31312 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31313 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31314 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31315 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31316 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31321 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31322 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31323 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31325 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31327 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31328 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31329 (roundtoint, converttoint): Likewise.
31330 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31331 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31332 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31333 * sysdeps/ieee754/flt-32/math_config.h: New file.
31334 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31335 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31336 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31337 * sysdeps/i386/fpu/math_errf.c: New file.
31338 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31339 * sysdeps/ia64/fpu/math_errf.c: New file.
31340 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31341 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31343 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31345 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31346 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31347 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31348 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31349 to make sure that these symbols are defined.
31350 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31352 (__need_NULL): Do not define.
31353 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31355 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31356 CMGROUP_MAX, cmsgcred): Do not define.
31357 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31359 * bits/socket.h: Likewise.
31360 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31361 __gettimeofday instead of gettimeofday.
31362 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31363 instead of settimeofday.
31365 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31367 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31368 (asinhf): Define using libm_alias_float.
31369 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31370 (atanf): Define using libm_alias_float.
31371 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31372 (cbrtf): Define using libm_alias_float.
31373 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31374 (ceilf): Define using libm_alias_float.
31375 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31376 <libm-alias-float.h>.
31377 (copysignf): Define using libm_alias_float.
31378 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31379 (cosf): Define using libm_alias_float.
31380 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31381 (erff): Define using libm_alias_float.
31383 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31384 (expm1f): Define using libm_alias_float.
31385 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31386 (fabsf): Define using libm_alias_float.
31387 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31388 (floorf): Define using libm_alias_float.
31389 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31390 (frexpf): Define using libm_alias_float.
31391 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31393 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31394 <libm-alias-float.h>.
31395 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31397 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31398 <libm-alias-float.h>.
31399 (getpayloadf): Define using libm_alias_float.
31400 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31401 <libm-alias-float.h>.
31402 (llrintf): Define using libm_alias_float.
31403 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31404 <libm-alias-float.h>.
31405 (llroundf): Define using libm_alias_float.
31406 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31407 (logbf): Define using libm_alias_float.
31408 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31409 (lrintf): Define using libm_alias_float.
31410 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31411 (lroundf): Define using libm_alias_float.
31412 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31413 (modff): Define using libm_alias_float.
31414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31415 <libm-alias-float.h>.
31416 (nearbyintf): Define using libm_alias_float.
31417 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31418 <libm-alias-float.h>.
31419 (nextafterf): Define using libm_alias_float.
31420 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31421 <libm-alias-float.h>.
31422 (nextupf): Define using libm_alias_float.
31423 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31424 <libm-alias-float.h>.
31425 (remquof): Define using libm_alias_float.
31426 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31427 (rintf): Define using libm_alias_float.
31428 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31429 <libm-alias-float.h>.
31430 (roundevenf): Define using libm_alias_float.
31431 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31432 (roundf): Define using libm_alias_float.
31433 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31434 using libm_alias_float.
31435 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31436 <libm-alias-float.h>.
31437 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31438 Define using libm_alias_float.
31439 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31440 <libm-alias-float.h>.
31441 (sincosf): Define using libm_alias_float.
31442 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31443 (sinf): Define using libm_alias_float.
31444 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31445 (tanf): Define using libm_alias_float.
31446 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31447 (tanhf): Define using libm_alias_float.
31448 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31449 <libm-alias-float.h>.
31450 (totalorderf): Define using libm_alias_float.
31451 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31452 <libm-alias-float.h>.
31453 (totalordermagf): Define using libm_alias_float.
31454 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31455 (truncf): Define using libm_alias_float.
31456 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31458 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31461 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31464 math/math.h: Let fpclassify use the builtin in C++ mode, even
31465 when optimazing for size.
31467 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31469 * csu/Makefile (generated): Do not add version-info.h.
31470 (before-compile): Likewise.
31471 (all-Banner-files): Remove variable.
31472 ($(objpfx)version-info.h): Remove rule.
31473 * csu/version.c (banner): Do not include "version-info.h".
31474 * libidn/Banner: Remove.
31475 * manual/contrib.texi (Simon Josefsson): New entry.
31477 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31479 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31480 Remove conditionals on LDBL_MANT_DIG.
31481 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31482 (__ieee754_lgammal_r): Likewise.
31484 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31486 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31488 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31489 _Float128 and L(). Replace _Float128 with long double and L(x)
31490 with xL, throughout the file.
31491 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31492 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31493 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31494 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31496 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31498 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31499 sysdeps/ieee754/ldbl-128ibm.
31500 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31501 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31502 of including it. Keep _Float128 and L() intact. These will be
31503 reviewed by a separate patch.
31504 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31505 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31506 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31507 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31509 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31512 (__finitef128): Define to __redirect___finitef128.
31513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31514 (__isinff128): Define to __redirect___isinff128.
31515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31516 (__isnanf128): Define to __redirect___isnanf128.
31518 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31520 * sysdeps/powerpc/powerpc64le/Makefile
31521 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31522 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31524 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31525 Carlos O'Donell <carlos@redhat.com>
31528 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31529 * stdlib/test-dlclose-exit-race.c: New file.
31530 * stdlib/test-dlclose-exit-race-helper.c: New file.
31531 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31533 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31535 * crypt/Banner: Remove file.
31536 * nptl/Banner: Likewise.
31537 * resolv/Banner: Likewise.
31538 * soft-fp/Banner: Likewise.
31539 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31540 ($(objpfx)version.d): Remove dependency on banner.h.
31541 ($(objpfx)version.os): Likewise.
31542 * nptl/version.c (banner): Do not include banner.h.
31543 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31544 Jelinek and BIND code.
31546 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31547 Carlos O'Donell <carlos@redhat.com>
31549 * support/xdlfcn.h: New file.
31550 * support/xdlfcn.c: New file.
31551 * support/Makefile (libsupport-routines): Add xdlfcn.
31552 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31554 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31557 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31558 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31559 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31560 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31561 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31562 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31563 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31564 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31566 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31567 Ricky Zhou <rickyz@google.com>
31568 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31571 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31573 (__new_exitfn): Fail registration when we finished at_exit processing.
31574 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31575 * stdlib/on_exit.c (__on_exit): Likewise.
31576 * stdlib/exit.c (__exit_funcs_done): New variable.
31577 (__run_exit_handlers): Use __exit_funcs_lock.
31578 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31580 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31581 (test-cxa_atexit-race, test-on_exit-race): New tests.
31582 * stdlib/test-atexit-race-common.c: New file.
31583 * stdlib/test-atexit-race.c: New file.
31584 * stdlib/test-at_quick_exit-race.c: New file.
31585 * stdlib/test-cxa_atexit-race.c: New file.
31586 * stdlib/test-on_exit-race.c: New file.
31588 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31590 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31591 * benchtests/exp2f-inputs: Copy of expf-inputs.
31592 * benchtests/log2f-inputs: Copy of logf-inputs.
31594 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31596 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31597 Explicitly take address of first element of array arguments in
31598 call to INLINE_SYSCALL.
31600 2017-09-19 Andreas Schwab <schwab@suse.de>
31603 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31605 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31607 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31608 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31609 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31610 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31611 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31612 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31613 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31614 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31615 * posix/Makefile (tests): Add tst-fexecve.
31616 * posix/tst-fexecve.c: New file.
31618 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31620 * benchtests/Makefile: Add logf benchmark.
31621 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31623 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31625 * benchtests/Makefile: Add expf benchmark.
31626 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31628 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31630 * csu/Makefile: Add -funwind-tables to libc-start.c.
31631 * debug/Makefile: Add -funwind-tables to backtrace.c.
31632 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31633 * sysdeps/arm/Makefile: Likewise.
31634 * sysdeps/i386/Makefile: Likewise.
31635 * sysdeps/m68k/Makefile: Likewise.
31636 * sysdeps/mips/Makefile: Likewise.
31637 * sysdeps/nios2/Makefile: Likewise.
31638 * sysdeps/sh/Makefile: Likewise.
31639 * sysdeps/sparc/Makefile: Likewise.
31641 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31643 * benchtests/Makefile (bench-math): Add trunc and truncf.
31644 (CFLAGS-bench-trunc.c): New variable.
31645 (CFLAGS-bench-truncf.c): Likewise.
31646 * benchtests/trunc-inputs: New file.
31647 * benchtests/truncf-inputs: Likewise.
31649 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31651 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31653 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31655 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31656 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31658 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31659 (exp10l): Define as weak alias.
31660 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31661 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31663 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31664 (remainderl): Define as weak alias.
31666 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31667 (fmal): Define using libm_alias_ldouble.
31668 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31669 (acoshl): Define using libm_alias_ldouble.
31670 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31671 (acosl): Define using libm_alias_ldouble.
31672 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31673 (asinl): Define using libm_alias_ldouble.
31674 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31675 (atan2l): Define using libm_alias_ldouble.
31676 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31677 (atanhl): Define using libm_alias_ldouble.
31678 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31679 (coshl): Define using libm_alias_ldouble.
31680 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31681 (exp10l): Define using libm_alias_ldouble.
31682 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31683 (exp2l): Define using libm_alias_ldouble.
31684 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31685 (expl): Define using libm_alias_ldouble.
31686 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31687 (fmodl): Define using libm_alias_ldouble.
31688 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31689 (hypotl): Define using libm_alias_ldouble.
31690 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31691 (j0l): Define using libm_alias_ldouble.
31693 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31694 (j1l): Define using libm_alias_ldouble.
31696 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31697 (jnl): Define using libm_alias_ldouble.
31699 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31700 (log10l): Define using libm_alias_ldouble.
31701 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31702 (log2l): Define using libm_alias_ldouble.
31703 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31704 (logl): Define using libm_alias_ldouble.
31705 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31706 (powl): Define using libm_alias_ldouble.
31707 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31708 (remainderl): Define using libm_alias_ldouble.
31709 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31710 (sinhl): Define using libm_alias_ldouble.
31711 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31712 (sqrtl): Define using libm_alias_ldouble.
31713 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31714 (tgammal): Define using libm_alias_ldouble.
31715 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31716 (exp10l): Do not use long_double_symbol here.
31717 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31718 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31719 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31720 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31721 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31722 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31723 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31724 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31725 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31726 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31727 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31728 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31729 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31730 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31731 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31732 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31733 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31734 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31735 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31736 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31737 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31738 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31740 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31742 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31743 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31745 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31747 * io/read.c (read): Add libc_hidden_weak.
31748 * sysdeps/mach/hurd/read.c (read): Likewise.
31749 * io/write.c (write): Likewise.
31750 * sysdeps/mach/hurd/write.c (write): Likewise.
31751 * io/pread64.c (__pread64): Likewise.
31752 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31753 * posix/pread64.c (__pread64): Add libc_hidden_def.
31755 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31757 * benchtests/scripts/compare_strings.py: New option -g.
31758 (draw_graph): Print a message that a graph is being generated.
31759 (process_results): Generate graph only if -g is passed.
31760 (main): Process option -g.
31762 * benchtests/scripts/compare_strings.py (process_results):
31763 Better spacing for output.
31765 * benchtests/scripts/compare_strings.py: Use argparse.
31766 * benchtests/README: Document existence of compare_strings.py.
31768 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31770 * math/s_fma.c: Include <libm-alias-double.h>.
31771 (fma): Define using libm_alias_double.
31772 * math/s_nextafter.c: Include <libm-alias-double.h>.
31773 (nextafter): Define using libm_alias_double.
31774 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31775 (acos): Define using libm_alias_double.
31776 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31777 (aocsh): Define using libm_alias_double.
31778 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31779 (asin): Define using libm_alias_double.
31780 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31781 (atan2): Define using libm_alias_double.
31782 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31783 (atanh): Define using libm_alias_double.
31784 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31785 (cosh): Define using libm_alias_double.
31786 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31787 (exp10): Define using libm_alias_double.
31788 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31789 (exp2): Define using libm_alias_double.
31790 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31791 (exp): Define using libm_alias_double.
31792 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31793 (fmod): Define using libm_alias_double.
31794 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31795 (hypot): Define using libm_alias_double.
31796 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31797 (j0): Define using libm_alias_double.
31799 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31800 (j1): Define using libm_alias_double.
31802 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31803 (jn): Define using libm_alias_double.
31805 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31806 (log10): Define using libm_alias_double.
31807 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31808 (log2): Define using libm_alias_double.
31809 * math/w_log_compat.c: Include <libm-alias-double.h>.
31810 (log): Define using libm_alias_double.
31811 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31812 (pow): Define using libm_alias_double.
31813 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31814 (remainder): Define using libm_alias_double.
31815 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31816 (sinh): Define using libm_alias_double.
31817 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31818 (sqrt): Define using libm_alias_double.
31819 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31820 (tgamma): Define using libm_alias_double.
31821 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31822 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31823 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31824 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31825 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31826 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31827 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31828 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31829 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31830 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31831 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31832 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31833 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31834 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31835 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31836 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31837 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31838 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31839 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31840 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31841 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31842 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31843 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31844 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31845 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31847 * math/e_acoshl.c: Remove.
31848 * math/e_acosl.c: Likewise.
31849 * math/e_asinl.c: Likewise.
31850 * math/e_atan2l.c: Likewise.
31851 * math/e_atanhl.c: Likewise.
31852 * math/e_coshl.c: Likewise.
31853 * math/e_expl.c: Likewise.
31854 * math/e_fmodl.c: Likewise.
31855 * math/e_gammal_r.c: Likewise.
31856 * math/e_hypotl.c: Likewise.
31857 * math/e_j0l.c: Likewise.
31858 * math/e_j1l.c: Likewise.
31859 * math/e_jnl.c: Likewise.
31860 * math/e_lgammal_r.c: Likewise.
31861 * math/e_log10l.c: Likewise.
31862 * math/e_log2l.c: Likewise.
31863 * math/e_logl.c: Likewise.
31864 * math/e_powl.c: Likewise.
31865 * math/e_rem_pio2l.c: Likewise.
31866 * math/e_sinhl.c: Likewise.
31867 * math/e_sqrtf128.c: Likewise.
31868 * math/e_sqrtl.c: Likewise.
31869 * math/k_cosl.c: Likewise.
31870 * math/k_sinl.c: Likewise.
31871 * math/k_tanl.c: Likewise.
31872 * math/s_asinhl.c: Likewise.
31873 * math/s_atanl.c: Likewise.
31874 * math/s_cbrtl.c: Likewise.
31875 * math/s_erfl.c: Likewise.
31876 * math/s_expm1l.c: Likewise.
31877 * math/s_log1pl.c: Likewise.
31878 * math/s_tanhl.c: Likewise.
31880 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31884 [$(subdir) = math] (sysdep_calls): New variable. Has the
31885 previous contents of sysdep_routines, but re-sorted..
31886 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31888 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31889 defined in sysdep_calls and replace by the respective m_* names.
31890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31891 (compat_symbol): Undefine to avoid duplicated compat symbols in
31894 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31896 * math/s_fmaf.c: Include <libm-alias-float.h>.
31897 (fmaf): Define using libm_alias_float.
31898 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31899 (acosf): Define using libm_alias_float.
31900 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31901 (acoshf): Define using libm_alias_float.
31902 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31903 (asinf): Define using libm_alias_float.
31904 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31905 (atan2f): Define using libm_alias_float.
31906 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31907 (atanhf): Define using libm_alias_float.
31908 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31909 (coshf): Define using libm_alias_float.
31910 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31911 (exp10f): Define using libm_alias_float.
31912 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31913 (fmodf): Define using libm_alias_float.
31914 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31915 (hypotf): Define using libm_alias_float.
31916 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31917 (j0f): Define using libm_alias_float.
31919 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31920 (j1f): Define using libm_alias_float.
31922 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31923 (jnf): Define using libm_alias_float.
31925 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31926 (log10f): Define using libm_alias_float.
31927 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31928 (log2f): Define using libm_alias_float.
31929 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31930 (logf): Define using libm_alias_float.
31931 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31932 (powf): Define using libm_alias_float.
31933 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31934 (remainderf): Define using libm_alias_float.
31935 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31936 (sinhf): Define using libm_alias_float.
31937 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31938 (sqrtf): Define using libm_alias_float.
31939 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31940 (tgammaf): Define using libm_alias_float.
31942 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31944 * include/math.h (roundeven): Change hidden_proto call to
31946 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31948 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31949 (y0): Rename to __y0 and define as weak alias.
31950 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31951 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31953 (y0f): Rename to __y0f and define as weak alias.
31954 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31956 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31957 (y1): Rename to __y1 and define as weak alias.
31958 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31959 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31961 (y1f): Rename to __y1f and define as weak alias.
31962 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31964 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31965 (yn): Rename to __yn and define as weak alias.
31966 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31967 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31969 (ynf): Rename to __ynf and define as weak alias.
31970 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31971 (fromfp): Define as weak alias.
31972 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31973 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31974 (fromfpx): Define as weak alias.
31975 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31976 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31977 __getpayload and define as weak alias.
31978 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31979 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31980 __roundeven and define as weak alias.
31981 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31982 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31984 (setpayload): Define as weak alias.
31985 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31986 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31988 (setpayloadsig): Define as weak alias.
31989 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31990 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31991 __totalorder and define as weak alias.
31992 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31993 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31994 to __totalordermag and define as weak alias.
31995 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31996 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31997 (ufromfp): Define as weak alias.
31998 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31999 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32001 (ufromfpx): Define as weak alias.
32002 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32003 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32004 Rename to __getpayload and define as weak alias.
32005 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32006 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32007 Rename to __roundeven and define as weak alias.
32008 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32009 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32010 Rename to __totalorder and define as weak alias.
32011 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32012 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32013 (totalordermag): Rename to __totalordermag and define as weak
32015 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32016 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32018 (__roundevenl): Likewise.
32019 (__totalorderl): Likewise.
32020 (__totalordermagl): Likewise
32021 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32023 (fromfpf128): Define as weak alias.
32024 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32026 (fromfpxf128): Define as weak alias.
32027 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32029 (setpayloadf128): Define as weak alias.
32030 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32031 __setpayloadsigf128.
32032 (setpayloadsigf128): Define as weak alias.
32033 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32035 (ufromfpf128): Define as weak alias.
32036 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32038 (ufromfpxf128): Define as weak alias.
32039 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
32040 (fromfpf): Define as weak alias.
32041 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
32043 (fromfpxf): Define as weak alias.
32044 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
32045 __getpayloadf and define as weak alias.
32046 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
32047 __roundevenf and define as weak alias.
32048 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
32050 (setpayloadf): Define as weak alias.
32051 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
32053 (setpayloadsigf): Define as weak alias.
32054 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
32055 __totalorderf and define as weak alias.
32056 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
32057 Rename to __totalordermagf and define as weak alias.
32058 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
32060 (ufromfpf): Define as weak alias.
32061 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
32063 (ufromfpxf): Define as weak alias.
32064 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
32066 (fromfpl): Define as weak alias.
32067 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
32069 (fromfpxl): Define as weak alias.
32070 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
32071 to __getpayloadl and define as weak alias.
32072 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
32073 __roundevenl and define as weak alias.
32074 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
32076 (setpayloadl): Define as weak alias.
32077 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
32079 (setpayloadsigl): Define as weak alias.
32080 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
32081 to __totalorderl and define as weak alias.
32082 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
32083 Rename to __totalordermagl and define as weak alias.
32084 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
32086 (ufromfpl): Define as weak alias.
32087 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
32089 (ufromfpxl): Define as weak alias.
32090 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
32092 (fromfpl): Define as weak alias.
32093 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
32095 (fromfpxl): Define as weak alias.
32096 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
32097 Rename to __getpayloadl and define as weak alias.
32098 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
32099 to __roundevenl and define as weak alias. Call __roundeven
32100 instead of roundeven.
32101 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
32103 (setpayloadl): Define as weak alias.
32104 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
32106 (setpayloadsigl): Define as weak alias.
32107 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
32108 Rename to __totalorderl and define as weak alias.
32109 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
32110 Rename to __totalordermagl and define as weak alias.
32111 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
32113 (ufromfpl): Define as weak alias.
32114 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
32116 (ufromfpxl): Define as weak alias.
32117 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
32119 (fromfpl): Define as weak alias.
32120 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
32122 (fromfpxl): Define as weak alias.
32123 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
32124 __getpayloadl and define as weak alias.
32125 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
32126 __roundevenl and define as weak alias.
32127 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
32129 (setpayloadl): Define as weak alias.
32130 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
32132 (setpayloadsigl): Define as weak alias.
32133 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
32134 __totalorderl and define as weak alias.
32135 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
32136 Rename to __totalordermagl and define as weak alias.
32137 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
32139 (ufromfpl): Define as weak alias.
32140 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
32142 (ufromfpxl): Define as weak alias.
32144 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
32146 * benchtests/bench-string.h (realloc_bufs): New function.
32147 (test_init): Call it.
32148 * benchtests/bench-memset-large.c (do_test): Likewise.
32149 * benchtests/bench-memset.c (do_test): Likewise.
32151 * benchtests/bench-memset-large.c: Print output in JSON
32153 * benchtests/bench-memset.c: Likewise.
32155 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32158 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
32159 * iconvdata/Makefile: Add IBM858.
32160 * iconvdata/gconv-modules: Likewise.
32161 * iconvdata/tst-tables.sh: Likewise.
32162 * iconvdata/ibm858.c: New file.
32163 * localedata/charmaps/IBM858: Likewise.
32165 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
32168 * locales/niu_NZ (LC_TIME): copy "niu_NU".
32169 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
32171 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32174 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
32175 and add tel_int_fmt.
32177 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32179 * sysdeps/generic/libm-alias-float128.h: New file.
32180 * sysdeps/generic/math-type-macros-float128.h: Include
32181 <libm-alias-float128.h>.
32182 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32184 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32186 * sysdeps/generic/libm-alias-ldouble.h: New file.
32187 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
32188 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
32189 * sysdeps/generic/math-type-macros-ldouble.h: Include
32190 <libm-alias-ldouble.h>.
32191 [!declare_mgen_alias] (declare_mgen_alias): Define to use
32192 libm_alias_ldouble.
32194 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
32196 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
32197 * math/w_exp_compat.c: ... here.
32198 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
32199 * math/w_expf_compat.c: ... here.
32200 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
32201 * math/w_expl_compat.c: ... here.
32202 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
32203 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
32204 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
32205 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32207 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32209 * math/w_scalbln_template.c (strong_alias): Do not undefine and
32211 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
32213 (ldexpl): Only define as compat symbol for libc, not libm.
32214 (scalbnl): Define as compat symbol for libc here.
32215 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
32216 define for [IS_IN (libc)].
32217 (__ldexpl_2): Remove alias.
32218 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
32219 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
32220 name in long_double_symbol call.
32221 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
32222 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32223 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32224 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
32225 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
32227 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
32228 Define as compat symbol.
32230 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32232 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
32233 * sysdeps/unix/sysv/linux/alpha/Makefile
32234 [$(subdir) = csu] (sysdep_routines): Remove rule.
32236 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32238 * sysdeps/generic/libm-alias-double.h: New file.
32239 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
32240 * sysdeps/generic/math-type-macros-double.h: Include
32241 <libm-alias-double.h>.
32242 [declare_mgen_alias] (declare_mgen_alias): Define to use
32244 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
32245 (M_LIBM_NEED_COMPAT): Remove macro.
32246 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
32247 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
32248 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
32250 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32251 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32252 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32253 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32254 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32255 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32256 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32257 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32258 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32259 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32260 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32261 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32262 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32263 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32264 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32265 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32266 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32267 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32268 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32269 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32270 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32271 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32272 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32273 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32274 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32275 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32276 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32277 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32278 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32280 (declare_mgen_alias): New macro.
32281 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32282 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32284 (M_LIBM_NEED_COMPAT): Remove macro.
32285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32286 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32287 <first-versions.h>.
32288 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32289 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32291 2017-09-12 Joseph Myers <joseph@codesourcery.com>
32293 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32294 (declare_mgen_alias_2): Remove.
32295 * sysdeps/generic/math-type-macros-double.h
32296 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32298 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32300 (ldexp): Define with declare_mgen_alias.
32301 (scalbn): Likewise.
32303 2017-09-12 Steve Ellcey <sellcey@cavium.com>
32305 * grp/initgroups.c: Include config.h.
32306 (DEFAULT_CONFIG): New macro.
32307 (internal_getgrouplist): Use DEFAULT_CONFIG.
32308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32309 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32310 (DEFAULT_DEFCONFIG): New macro.
32311 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32312 * nss/grp-lookup.c: Include config.h
32313 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32314 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32315 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32316 * manual/nss.texi: Update default values section.
32318 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32321 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32323 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32324 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32325 Handle MathVec_Prefer_No_AVX512.
32326 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32327 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32330 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32332 * posix/sched_primax.c (__sched_get_priority_max): Add
32334 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32335 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32336 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32337 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32338 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32339 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32340 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32341 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32344 2017-09-11 Joseph Myers <joseph@codesourcery.com>
32346 * sysdeps/generic/libm-alias-float.h: New file.
32347 * sysdeps/generic/math-type-macros-float.h: Include
32348 <libm-alias-float.h>.
32349 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32351 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32354 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32355 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32356 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32357 (HWCAP_IMPORTANT): Likewise.
32358 (HWCAP_X86_64): New enum.
32359 (HWCAP_X86_AVX512_1): Updated.
32360 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32361 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32362 (modules-names): Add x86_64/tst-x86_64mod-1.
32363 (LDFLAGS-tst-x86_64mod-1.so): New.
32364 ($(objpfx)tst-x86_64-1): Likewise.
32365 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32366 (tst-x86_64-1-clean): Likewise.
32367 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32368 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32370 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32372 * po/sv.po: Update translations.
32373 * po/fr.po: Likewise.
32375 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32377 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32379 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32381 * elf/rtld-Rules: Fix $(error) use.
32383 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32386 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32387 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32388 * localedata/locales/bn_BD: “Bengali” was still used in some
32389 comments. Change it to “Bangla”.
32391 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32393 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32395 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32397 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32398 thunderx2t99p1 to list of cpu names.
32399 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32400 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32402 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32404 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32405 Use strcmp instead of tunable_is_name.
32407 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32409 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32410 (F_GET_RW_HINT): New macro.
32411 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32412 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32413 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32414 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32415 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32416 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32417 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32418 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32419 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32421 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32422 (F_ADD_SEALS): New macro.
32423 [__USE_GNU] (F_GET_SEALS): Likewise.
32424 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32425 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32426 [__USE_GNU] (F_SEAL_GROW): Likewise.
32427 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32429 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32431 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32432 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32433 * posix/glob_internal.h (__glob_pattern_type):
32434 * posix/glob.c (glob):
32435 * posix/glob_pattern_p.c (__glob_pattern_p):
32438 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32439 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32440 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32441 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32442 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32444 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32445 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32446 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32447 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32448 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32449 * sysdeps/wordsize-64/glob.c: Likewise.
32450 * sysdeps/wordsize-64/glob64.c: Likewise.
32451 * sysdeps/wordsize-64/globfree.c: Likewise.
32452 * sysdeps/wordsize-64/globfree64.c: Likewise.
32453 * sysdeps/unix/sysv/linux/glob.c: New file.
32454 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32455 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32456 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32457 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32458 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32459 adds !GLOB_NO_OLD_VERSION as an extra condition.
32460 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32461 using relative path instead of absolute one.
32462 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32463 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32464 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32465 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32466 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32467 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32470 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32471 (glob): Use the same scratch buffer for both getlogin_r and
32472 getpwnam_r. Don’t require preallocation of the login name. This
32473 simplifies storage allocation, and corrects the handling of
32477 * posix/glob.c (glob): Port recent patches to platforms
32478 lacking getpwnam_r.
32479 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32480 returns an error number rather than setting errno.
32482 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32483 instead of GCC extension.
32484 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32485 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32486 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32490 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32491 * posix/bug-glob1.c: Remove file.
32492 * posix/tst-glob_symlinks.c: New file.
32493 * posix/glob.c (__lstat64): New macro.
32494 (is_dir): New function.
32495 (glob, glob_in_dir): Match symlinks even if they are dangling.
32496 (link_stat, link_exists_p): Remove. All uses removed.
32500 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32501 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32506 * posix/Makefile (routines): Add globfree, globfree64, and
32508 * posix/flexmember.h: New file.
32509 * posix/glob_internal.h: Likewise.
32510 * posix/glob_pattern_p.c: Likewise.
32511 * posix/globfree.c: Likewise.
32512 * posix/globfree64.c: Likewise.
32513 * sysdeps/gnu/globfree64.c: Likewise.
32514 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32515 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32516 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32517 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32518 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32519 * sysdeps/wordsize-64/globfree.c: Likewise.
32520 * sysdeps/wordsize-64/globfree64.c: Likewise.
32521 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32522 [NDEBUG): Remove comments.
32523 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32524 (dirent_type): New type. Use uint_fast8_t not
32525 uint8_t, as C99 does not require uint8_t.
32526 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32527 (struct readdir_result): Use dirent_type. Do not define skip_entry
32528 unless it is needed; this saves a byte on platforms lacking d_ino.
32529 (readdir_result_type, readdir_result_skip_entry):
32530 New functions, replacing ...
32531 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32532 these functions, which were removed. This makes the callers
32533 easier to read. All callers changed.
32534 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32535 (size_add_wrapv, glob_use_alloca): New static functions.
32536 (glob, glob_in_dir): Check for size_t overflow in several places,
32537 and fix some size_t checks that were not quite right.
32538 Remove old code using SHELL since Bash no longer
32540 (glob, prefix_array): Separate MS code better.
32541 (glob_in_dir): Remove old Amiga and VMS code.
32542 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32544 (glob_in_dir): Do not rely on undefined behavior in accessing
32545 struct members beyond their bounds. Use a flexible array member
32547 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32548 0/1. Caller changed.
32549 (glob): Fix memory leaks.
32550 * posix/glob64 (globfree64): Move to separate file.
32551 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32552 (globfree64): Remove hidden alias.
32553 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32555 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32557 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32559 Move compat code to separate file.
32560 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32563 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32565 * resolv/tst-resolv-qtypes.c (domain): Changed to
32566 "const char domain[] =".
32568 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32570 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32573 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32574 (TCP_MD5SIG_EXT): Likewise.
32575 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32576 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32577 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32579 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32581 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32583 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32585 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32588 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32590 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32592 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32593 before assuming that the file is empty. Avoid testing buffer content
32596 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32599 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32601 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32603 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32605 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32607 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32609 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32611 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32614 2017-09-06 Florian Weimer <fweimer@redhat.com>
32616 * malloc/dynarray_emplace_enlarge.c
32617 (__libc_dynarray_emplace_enlarge): Add missing else.
32619 2017-09-06 Florian Weimer <fweimer@redhat.com>
32622 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32623 case of failure to obtain the global conf object.
32625 2017-09-06 Florian Weimer <fweimer@redhat.com>
32628 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32629 dynarray allocation failure.
32631 2017-09-06 Florian Weimer <fweimer@redhat.com>
32633 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32634 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32635 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32637 (response): Call them. Add 'p', '6' flag processing.
32638 (test_reverse): New function.
32639 (test_get2_any): Call it.
32640 (test_no_inet6): Add 'p' test.
32641 (test_inet6): Likewise.
32643 2017-09-06 Florian Weimer <fweimer@redhat.com>
32645 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32646 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32648 (test_gai): Adjust query names. Add additional tests.
32649 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32650 test_get2. Adjust query names. Add additional tests.
32651 (test_no_inet6): New function, extracted from threadfunc.
32652 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32653 Add additional tests.
32655 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32658 * localedata/unicode-gen/utf8_gen.py: Set the width for
32659 characters with Prepended_Concatenation_Mark property to 1
32660 * localedata/charmaps/UTF-8: Updated using the improved script.
32662 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32665 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32666 use the range notation for all ranges of neighbouring characters
32667 with the same width.
32669 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32671 * sysdeps/generic/math-type-macros-double.h: Include
32672 <math-svid-compat.h>.
32673 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32674 * sysdeps/generic/math-type-macros-float.h: Include
32675 <math-svid-compat.h>.
32676 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32677 * sysdeps/generic/math-type-macros-ldouble.h: Include
32678 <math-svid-compat.h>.
32679 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32680 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32682 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32683 * math/w_acosf_compat.c: Likewise.
32684 * math/w_acosh_compat.c: Likewise.
32685 * math/w_acoshf_compat.c: Likewise.
32686 * math/w_acoshl_compat.c: Likewise.
32687 * math/w_acosl_compat.c: Likewise.
32688 * math/w_asin_compat.c: Likewise.
32689 * math/w_asinf_compat.c: Likewise.
32690 * math/w_asinl_compat.c: Likewise.
32691 * math/w_atan2_compat.c: Likewise.
32692 * math/w_atan2f_compat.c: Likewise.
32693 * math/w_atan2l_compat.c: Likewise.
32694 * math/w_atanh_compat.c: Likewise.
32695 * math/w_atanhf_compat.c: Likewise.
32696 * math/w_atanhl_compat.c: Likewise.
32697 * math/w_cosh_compat.c: Likewise.
32698 * math/w_coshf_compat.c: Likewise.
32699 * math/w_coshl_compat.c: Likewise.
32700 * math/w_exp10_compat.c: Likewise.
32701 * math/w_exp10f_compat.c: Likewise.
32702 * math/w_exp10l_compat.c: Likewise.
32703 * math/w_exp2_compat.c: Likewise.
32704 * math/w_exp2f_compat.c: Likewise.
32705 * math/w_exp2l_compat.c: Likewise.
32706 * math/w_fmod_compat.c: Likewise.
32707 * math/w_fmodf_compat.c: Likewise.
32708 * math/w_fmodl_compat.c: Likewise.
32709 * math/w_hypot_compat.c: Likewise.
32710 * math/w_hypotf_compat.c: Likewise.
32711 * math/w_hypotl_compat.c: Likewise.
32712 * math/w_j0_compat.c: Likewise.
32713 * math/w_j0f_compat.c: Likewise.
32714 * math/w_j0l_compat.c: Likewise.
32715 * math/w_j1_compat.c: Likewise.
32716 * math/w_j1f_compat.c: Likewise.
32717 * math/w_j1l_compat.c: Likewise.
32718 * math/w_jn_compat.c: Likewise.
32719 * math/w_jnf_compat.c: Likewise.
32720 * math/w_jnl_compat.c: Likewise.
32721 * math/w_lgamma_r_compat.c: Likewise.
32722 * math/w_lgammaf_r_compat.c: Likewise.
32723 * math/w_lgammal_r_compat.c: Likewise.
32724 * math/w_log10_compat.c: Likewise.
32725 * math/w_log10f_compat.c: Likewise.
32726 * math/w_log10l_compat.c: Likewise.
32727 * math/w_log2_compat.c: Likewise.
32728 * math/w_log2f_compat.c: Likewise.
32729 * math/w_log2l_compat.c: Likewise.
32730 * math/w_log_compat.c: Likewise.
32731 * math/w_logf_compat.c: Likewise.
32732 * math/w_logl_compat.c: Likewise.
32733 * math/w_pow_compat.c: Likewise.
32734 * math/w_powf_compat.c: Likewise.
32735 * math/w_powl_compat.c: Likewise.
32736 * math/w_remainder_compat.c: Likewise.
32737 * math/w_remainderf_compat.c: Likewise.
32738 * math/w_remainderl_compat.c: Likewise.
32739 * math/w_sinh_compat.c: Likewise.
32740 * math/w_sinhf_compat.c: Likewise.
32741 * math/w_sinhl_compat.c: Likewise.
32742 * math/w_sqrt_compat.c: Likewise.
32743 * math/w_sqrtf_compat.c: Likewise.
32744 * math/w_sqrtl_compat.c: Likewise.
32745 * math/w_tgamma_compat.c: Likewise.
32746 * math/w_tgammaf_compat.c: Likewise.
32747 * math/w_tgammal_compat.c: Likewise.
32748 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32749 [LIBM_SVID_COMPAT].
32750 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32751 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32752 [LIBM_SVID_COMPAT].
32753 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32754 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32755 [LIBM_SVID_COMPAT].
32756 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32757 * sysdeps/i386/fpu/w_sqrt.c: New file.
32758 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32759 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32760 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32761 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32762 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32763 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32764 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32765 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32766 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32767 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32768 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32769 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32770 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32771 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32772 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32773 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32774 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32775 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32776 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32777 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32778 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32779 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32780 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32781 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32782 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32783 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32784 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32785 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32786 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32787 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32788 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32789 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32790 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32791 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32792 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32793 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32794 * sysdeps/ia64/fpu/w_log.c: Likewise.
32795 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32796 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32797 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32798 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32799 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32800 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32801 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32802 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32803 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32804 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32805 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32806 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32807 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32808 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32809 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32810 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32811 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32812 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32813 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32814 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32815 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32816 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32817 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32818 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32819 [LIBM_SVID_COMPAT].
32820 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32821 * sysdeps/ieee754/k_standard.c: Likewise.
32822 * sysdeps/ieee754/k_standardf.c: Likewise.
32823 * sysdeps/ieee754/k_standardl.c: Likewise.
32824 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32825 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32826 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32827 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32828 long_double_symbol call on [LIBM_SVID_COMPAT].
32829 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32830 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32831 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32832 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32833 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32834 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32835 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32836 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32837 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32838 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32839 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32840 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32841 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32842 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32843 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32844 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32845 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32846 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32847 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32848 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32849 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32850 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32852 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32854 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32855 * malloc/tst-mallocstate.c: Convert from test-skeleton
32856 to test-driver. Ifdef code using TEST_COMPAT macro.
32857 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32858 * math/test-matherr.c: Likewise.
32860 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32863 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32864 comparing word with byte-swapped constant.
32866 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32869 * locale/iso-639.def: add Miskito.
32870 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32871 * localedata/locales/miq_NI: New file.
32873 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32876 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32877 (__mkdir): Likewise.
32878 * io/chmod.c (__chmod): Add libc_hidden_def.
32879 * io/mkdir.c (__mkdir): Likewise.
32880 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32881 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32882 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32883 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32885 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32887 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32891 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32892 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32894 2017-09-04 Florian Weimer <fweimer@redhat.com>
32896 * math/math.h: Issue warning if log is defined.
32898 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32900 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32901 kernel version to 4.13.
32903 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32905 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32906 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32908 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32909 just <bits/types.h>.
32910 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32911 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32912 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32913 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32914 * misc/preadv2.c: Include <errno.h>.
32915 * misc/preadv64v2.c: Include <errno.h>.
32916 * misc/pwritev2.c: Include <errno.h>.
32917 * misc/pwritev64v2.c: Include <errno.h>.
32918 * sysdeps/posix/preadv2.c: Include <errno.h>.
32919 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32920 Fix <unistd.h> inclusion.
32921 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32922 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32923 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32924 __strtoul_internal): New functions.
32925 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32926 * sysdeps/posix/system.c: Include <sigsetops.h>.
32927 * sysdeps/mach/hurd/i386/Makefile
32928 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32929 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32930 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32931 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32932 __feraiseexcept_renamed to feraiseexcept instead of
32933 __GI_feraiseexcept.
32934 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32935 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32936 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32937 RWF_NOWAIT): Define to 0 if undefined already.
32938 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32940 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32941 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32943 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32945 * manual/math.texi (pow10): Do not document.
32946 (pow10f): Likewise.
32947 (pow10l): Likewise.
32948 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32949 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32950 * math/libm-test-exp10.inc (pow10_test): Remove.
32951 (do_test): Do not call pow10.
32952 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32953 [NO_LONG_DOUBLE] (pow10l): Likewise.
32954 * math/w_exp10f_compat.c (pow10f): Likewise.
32955 * math/w_exp10l_compat.c (pow10l): Likewise.
32956 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32957 (pow10): Make into compat symbol.
32958 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32959 (pow10f): Make into compat symbol.
32960 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32961 (pow10l): Make into compat symbol.
32962 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32964 (CFLAGS-nldbl-pow10.c): Remove variable..
32965 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32966 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32967 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32968 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32969 Undefine and redefine.
32970 (pow10l): Make into compat symbol.
32971 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32972 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32973 * sysdeps/arm/libm-test-ulps: Likewise.
32974 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32975 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32976 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32977 * sysdeps/microblaze/libm-test-ulps: Likewise.
32978 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32979 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32980 * sysdeps/nios2/libm-test-ulps: Likewise.
32981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32982 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32983 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32984 * sysdeps/sh/libm-test-ulps: Likewise.
32985 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32986 * sysdeps/tile/libm-test-ulps: Likewise.
32987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32989 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32991 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32993 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32995 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32996 "../ChangeLog.old/ChangeLog.8".
32997 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32998 "../ChangeLog.old/ChangeLog.14".
33000 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33002 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33005 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33007 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33009 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33011 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33012 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33014 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33016 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33017 32 atexit handlers.
33019 2017-09-01 Zack Weinberg <zackw@panix.com>
33021 * math/math.h (HUGE_VAL): Improve commentary.
33023 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33024 Andreas Schwab <schwab@suse.de>
33027 * include/stdio.h (__gen_tempfd): New function.
33028 * stdio-common/Makefile (routines): Add gentempfd.
33029 * stdio-common/gentempfd.c: New file.
33030 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33031 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33032 unnamed file first.
33034 2017-09-01 Florian Weimer <fweimer@redhat.com>
33038 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33039 result to determine success or failure, not the errno value.
33040 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
33041 (tst-nss-files-hosts-erange): Link with -ldl.
33042 * nss/tst-nss-files-hosts-erange.c: New file.
33043 * nss/tst-resolv-basic.c (response): Handle nodata.example.
33044 (do_test): Add NO_DATA tests.
33045 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
33046 (do_test): Call it.
33048 2017-09-01 Florian Weimer <fweimer@redhat.com>
33051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
33052 coming from gethostbyname2_r.
33054 2017-09-01 Florian Weimer <fweimer@redhat.com>
33056 * support/namespace.h (struct support_chroot_configuration): Add
33058 (struct support_chroot): Add path_hosts, path_host_conf.
33059 * support/support_chroot.c (write_file): New function.
33060 (support_chroot_create): Call it to process /etc/resolv.conf,
33061 /etc/hosts, /etc/host.conf.
33062 (support_chroot_free): Update.
33064 2017-09-01 Florian Weimer <fweimer@redhat.com>
33066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
33067 status indicates it is set.
33069 2017-09-01 Florian Weimer <fweimer@redhat.com>
33072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
33073 function lookup failures more reliable.
33075 2017-09-01 Florian Weimer <fweimer@redhat.com>
33077 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
33078 (getcanonname): Likewise.
33079 (gaih_inet): Likewise.
33081 2017-09-01 Florian Weimer <fweimer@redhat.com>
33083 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
33084 (getcanonname): Likewise.
33085 (gaih_inet): Likewise.
33087 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33088 Richard Henderson <rth@twiddle.net>
33090 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
33091 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
33092 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
33093 (IREG_SIZE, OREG_SIZE): New macros.
33094 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
33095 (IREG_SIZE, OREG_SIZE): New macros.
33096 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
33097 (IREG_SIZE): New macro.
33098 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
33099 (IREG_SIZE): New macro.
33100 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
33102 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
33103 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33104 (__CONCATX): Handle exceptions correctly on large values that may
33106 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
33107 Initialize if not already set.
33108 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33110 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33112 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
33113 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
33115 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
33117 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
33119 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
33121 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
33123 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
33125 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
33127 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
33128 (NO_CANCELLATION): Likewise.
33129 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
33131 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
33133 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
33135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
33136 (NO_CANCELLATION): Likewise.
33137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
33138 (NO_CANCELLATION): Likewise.
33139 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
33141 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
33143 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
33145 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
33147 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
33149 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
33150 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
33152 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33154 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
33157 2017-08-31 Florian Weimer <fweimer@redhat.com>
33159 * include/libc-symbols.h (internal_function): Remove.
33161 2017-08-31 Florian Weimer <fweimer@redhat.com>
33163 * stdlib/fmtmsg.c (internal_addseverity): Remove
33166 2017-08-31 Florian Weimer <fweimer@redhat.com>
33168 * stdio-common/printf_fp.c (group_number): Remove
33170 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
33172 2017-08-31 Florian Weimer <fweimer@redhat.com>
33174 * posix/fnmatch.c (internal_function): Remove definition.
33175 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
33176 * posix/regcomp.c (peek_token, init_word_char)
33177 (duplicate_node_closure, fetch_token, peek_token)
33178 (peek_token_bracket, build_range_exp, build_collating_symbol):
33180 * posix/regex_internal.c (re_string_construct_common)
33181 (create_ci_newstate, create_cd_newstate, re_string_allocate)
33182 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
33183 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
33184 (re_string_translate_buffer, re_string_reconstruct)
33185 (re_string_peek_byte_case, re_string_fetch_byte_case)
33186 (re_string_destruct, re_string_context_at, re_node_set_alloc)
33187 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
33188 (re_node_set_add_intersect, re_node_set_init_union)
33189 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
33190 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
33191 (re_dfa_add_node, calc_state_hash, re_acquire_state)
33192 (re_acquire_state_context): Likewise.
33193 * posix/regex_internal.h (internal_function): Remove definition.
33194 (re_string_realloc_buffers, build_wcs_buffer)
33195 (build_wcs_upper_buffer, build_upper_buffer)
33196 (re_string_translate_buffer, re_string_context_at)
33197 (re_string_char_size_at, re_string_wchar_at)
33198 (re_string_elem_size_at): Likewise.
33199 * posix/regexec.c (match_ctx_init, match_ctx_clean)
33200 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
33201 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
33202 (re_search_internal, re_search_2_stub, re_search_stub)
33203 (re_copy_regs, prune_impossible_nodes, check_matching)
33204 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
33205 (free_fail_stack_return, sift_states_iter_mb)
33206 (sift_states_backward, build_sifted_states)
33207 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
33208 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
33209 (check_subexp_limits, sift_states_bkref, merge_state_array)
33210 (find_recover_state, transit_state, merge_state_with_log)
33211 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
33212 (transit_state_mb, transit_state_bkref, get_subexp)
33213 (get_subexp_sub, find_subexp_node, check_arrival)
33214 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
33215 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
33216 (check_node_accept_bytes, find_collation_sequence_value)
33217 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
33218 (acquire_init_state_context, check_halt_node_context)
33219 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
33220 (sub_epsilon_src_nodes): Likewise.
33221 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
33222 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
33223 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
33224 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
33225 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
33226 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
33227 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
33228 * sysdeps/posix/ttyname.c (getttyname): Likewise.
33229 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
33230 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
33231 (PREADV): Likewise.
33232 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
33233 (PREADV): Likewise.
33234 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
33235 (PWRITEV): Likewise.
33236 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
33237 (PWRITEV): Likewise.
33238 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
33239 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
33241 2017-08-31 Florian Weimer <fweimer@redhat.com>
33243 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
33244 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
33245 Remove internal_function.
33246 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33247 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
33248 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
33249 (__deallocate_stack, __libc_pthread_init)
33250 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
33251 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
33252 (__libc_disable_asynccancel, __librt_disable_asynccancel):
33254 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
33255 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
33256 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
33258 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
33259 (__pthread_mutex_unlock_usercnt): Likewise.
33261 2017-08-31 Florian Weimer <fweimer@redhat.com>
33263 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33264 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33265 (fts_safe_changedir): Remove internal_function.
33266 * io/ftw.c (internal_function): Remove definition.
33267 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33269 2017-08-31 Florian Weimer <fweimer@redhat.com>
33271 * inet/deadline.c (__deadline_current_time)
33272 (__deadline_from_timeval, __deadline_to_ms): Remove
33274 * inet/getnameinfo.c (nrl_domainname): Likewise.
33275 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33276 * inet/inet6_option.c (add_pad): Likewise.
33277 * inet/net-internal.h (__deadline_current_time)
33278 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33279 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33280 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33281 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33283 2017-08-31 Joseph Myers <joseph@codesourcery.com>
33285 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33286 include <bits/nan.h>.
33287 * math/Makefile (headers): Remove bits/nan.h.
33288 * bits/nan.h: Remove.
33289 * sysdeps/ieee754/bits/nan.h: Likewise.
33290 * sysdeps/mips/bits/nan.h: Likewise.
33292 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33293 not include <bits/inf.h>.
33294 * math/Makefile (headers): Remove bits/inf.h.
33295 * bits/inf.h: Remove.
33296 * sysdeps/ieee754/bits/inf.h: Likewise.
33298 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33299 bits/huge_vall.h or bits/huge_val_flt128.h.
33300 (HUGE_VAL): Define directly here.
33301 [__USE_ISOC99] (HUGE_VALF): Likewise.
33302 [__USE_ISOC99] (HUGE_VALL): Likewise.
33303 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33304 (HUGE_VAL_F128): Likewise.
33305 * math/Makefile (headers): Remove bits/huge_val.h,
33306 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33307 * bits/huge_val.h: Remove.
33308 * bits/huge_val_flt128.h: Likewise.
33309 * bits/huge_valf.h: Likewise.
33310 * bits/huge_vall.h: Likewise.
33311 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33312 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33313 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33314 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33315 * sysdeps/sh/bits/huge_val.h: Likewise.
33316 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33317 * sysdeps/x86/bits/huge_vall.h: Likewise.
33319 2017-08-31 Florian Weimer <fweimer@redhat.com>
33321 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33323 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33325 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33326 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33327 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33328 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33329 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33330 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33331 * elf/dl-libc.c (dlerror_run): Likewise.
33332 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33333 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33334 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33335 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33337 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33338 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33339 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33340 * elf/dl-profile.c (_dl_start_profile): Likewise.
33341 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33342 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33344 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33345 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33346 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33347 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33348 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33349 (_dl_allocate_tls_storage): Likewise.
33350 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33351 (_dl_check_all_versions): Likewise.
33352 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33353 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33354 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33355 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33356 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33357 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33358 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33359 internal_function from __dl_start.
33360 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33361 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33362 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33363 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33364 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33365 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33366 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33367 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33368 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33369 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33370 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33371 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33372 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33373 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33374 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33376 (struct rtld_global_ro): Remove internal_function from the
33377 _dl_lookup_symbol_x member.
33378 (_dl_symbol_value): Remove. No longer defined anywhere.
33379 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33381 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33382 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33383 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33384 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33385 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33386 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33387 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33388 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33389 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33390 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33391 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33392 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33394 2017-08-31 Florian Weimer <fweimer@redhat.com>
33396 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33397 Remove internal_function.
33398 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33400 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33403 2017-08-31 Florian Weimer <fweimer@redhat.com>
33405 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33406 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33407 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33409 2017-08-31 Florian Weimer <fweimer@redhat.com>
33411 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33412 (__gai_enqueue_request): Remove internal_function.
33413 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33414 (__gai_remove_request, __gai_notify, __gai_notify_only)
33415 (__gai_sigqueue): Likewise.
33416 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33417 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33418 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33419 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33422 2017-08-31 Florian Weimer <fweimer@redhat.com>
33424 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33425 * include/dirent.h (__opendirat, __getdents, __getdents64)
33426 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33427 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33428 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33429 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33431 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33433 2017-08-31 Florian Weimer <fweimer@redhat.com>
33435 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33437 (GETCWD_RETURN_TYPE): Likewise.
33439 2017-08-31 Florian Weimer <fweimer@redhat.com>
33441 * include/time.h (__tz_compute, __strptime_internal): Remove
33443 * time/strptime_l.c (__strptime_internal): Likewise.
33444 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33446 2017-08-31 Florian Weimer <fweimer@redhat.com>
33448 * iconv/gconv.c (__gconv): Remove internal_function.
33449 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33450 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33451 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33452 (__gconv_release_cache): Likewise.
33453 * iconv/gconv_close.c (__gconv_close): Likewise.
33454 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33455 (read_conf_file, __gconv_get_path): Likewise.
33456 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33457 (__gconv_release_step, gen_steps, increment_counter)
33458 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33459 (__gconv_close_transform, free_modules_db): Likewise.
33460 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33462 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33463 (__gconv_find_transform, __gconv_lookup_cache)
33464 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33465 (__gconv_close_transform, __gconv_release_cache)
33466 (__gconv_loaded_object, __gconv_release_shlib)
33467 (__gconv_compare_alias): Likewise.
33468 * iconv/gconv_open.c (__gconv_open): Likewise.
33469 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33470 * iconv/iconvconfig.c (add_module): Likewise.
33471 * intl/dcigettext.c (plural_lookup, guess_category_value)
33472 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33473 * intl/eval-plural.h (plural_eval): Likewise.
33474 * intl/finddomain.c (_nl_find_domain): Likewise.
33475 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33476 (_nl_load_domain, _nl_find_msg): Likewise.
33477 (internal_function): Remove definition.
33478 * intl/loadinfo.h (internal_function): Likewise.
33479 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33481 * intl/localealias.c (internal_function): Remove definition.
33482 (read_alias_file): Remove internal_function.
33483 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33484 * intl/plural-exp.h (internal_function): Remove definition.
33485 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33487 * intl/plural.c: Regenerate.
33488 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33489 * locale/coll-lookup.c (__collidx_table_lookup)
33490 (__collseq_table_lookup): Likewise.
33491 * locale/coll-lookup.h (__collidx_table_lookup)
33492 (__collseq_table_lookup): Likewise.
33493 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33494 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33495 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33496 (_nl_unload_locale): Likewise.
33497 * locale/localeinfo.h (struct __locale_data): Remove
33498 internal_function from cleanup member.
33499 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33500 (_nl_remove_locale, _nl_load_locale_from_archive)
33501 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33502 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33503 (_nl_cleanup_time): Remove internal_function.
33504 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33505 (_nl_parse_alt_digit): Likewise.
33506 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33507 (_nl_select_era_entry): Likewise.
33508 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33509 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33510 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33511 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33512 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33514 2017-08-31 Florian Weimer <fweimer@redhat.com>
33516 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33517 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33518 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33519 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33521 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33522 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33523 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33524 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33526 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33528 2017-08-31 Florian Weimer <fweimer@redhat.com>
33530 * misc/getttyent.c (skip, value): Remove internal_function.
33531 * misc/syslog.c (openlog_internal): Likewise.
33532 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33534 2017-08-31 Florian Weimer <fweimer@redhat.com>
33536 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33537 (__nss_rewrite_field): Remove internal_function.
33538 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33539 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33540 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33541 * nss/nsswitch.c (nss_parse_file, nss_getline)
33542 (nss_parse_service_list, nss_new_service): Likewise.
33543 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33544 * nss/valid_field.c (__nss_valid_field): Likewise.
33545 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33547 2017-08-31 Florian Weimer <fweimer@redhat.com>
33549 * malloc/arena.c (__malloc_fork_lock_parent)
33550 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33551 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33552 internal_function from defintions.
33553 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33554 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33555 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33556 internal_function from declarations.
33557 * malloc/malloc.c (internal_function): Do not define.
33558 (mem2mem_check): Remove internal_function from declaration.
33559 (munmap_chunk, mremap_chunk): Remove internal_function.
33560 * malloc/mtrace.c (tr_where): Likewise.
33562 2017-08-31 Florian Weimer <fweimer@redhat.com>
33564 * include/rpc/pmap_clnt.h (__get_socket): Remove
33566 * sunrpc/auth_des.c (synchronize): Likewise.
33567 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33568 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33569 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33570 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33571 (key_call): Likewise.
33572 * sunrpc/pm_getport.c (__get_socket): Likewise.
33573 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33574 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33575 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33576 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33577 (invalidate): Likewise.
33578 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33579 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33580 (set_input_fragment, get_input_bytes): Likewise.
33582 2017-08-31 Florian Weimer <fweimer@redhat.com>
33584 * malloc/malloc.c (_int_free): Remove locked variable and related
33587 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33590 * Makerules (build-module-helper-objlist): Filter out
33591 $(elf-objpfx)sofini.os.
33592 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33595 2017-08-31 Florian Weimer <fweimer@redhat.com>
33597 * libio/fcloseall.c: Assume weak_alias is defined.
33598 * libio/feof.c: Likewise.
33599 * libio/fileno.c: Likewise.
33600 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33601 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33603 (_IO_file_open): Call __open directly.
33604 (_IO_new_file_sync): Assume ESPIPE is defined.
33605 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33606 (_IO_new_file_write): Call __write directly.
33607 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33608 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33609 * libio/genops.c: Assume _LIBC is defined.
33610 (save_for_backup): Remove internal_function.
33611 * libio/getc.c: Assume weak_alias is defined.
33612 * libio/getwc.c: Likewise.
33613 * libio/iofclose.c: Assume _LIBC is defined.
33614 * libio/iofdopen.c: Likewise.
33615 (_IO_fcntl): Remove macro definition.
33616 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33617 Call __fcntl directly.
33618 * libio/iofflush.c: Assume weak_alias is defined.
33619 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33621 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33622 * libio/iofgets.c: Likewise.
33623 * libio/iofopen.c: Assume _LIBC is defined.
33624 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33625 * libio/iofputs.c: Assume weak_alias is defined.
33626 * libio/iofread.c: Likewise.
33627 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33628 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33629 * libio/ioftell.c: Assume weak_alias is defined.
33630 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33631 * libio/iofwide.c: Assume _LIBC is defined.
33632 (_IO_fwide): Drop SHARED conditional because it is implied by
33634 * libio/iofwrite.c: Assume weak_alias is defined.
33635 * libio/iogetdelim.c: Likewise.
33636 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33637 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33638 (_IO_getwline): Call __wmemcpy directly.
33639 * libio/iopopen.c: Assume _LIBC is defined.
33640 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33641 (_IO_close): Remove macro definitions.
33642 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33644 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33646 * libio/ioputs.c: Assume weak_alias is defined.
33647 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33648 * libio/iosetbuffer.c: Assume weak_alias is defined.
33649 * libio/iosetvbuf.c: Likewise.
33650 * libio/ioungetc.c: Likewise.
33651 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33652 libc_hidden_def, libc_hidden_weak, NULL are defined.
33653 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33654 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33656 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33658 (_IO_old_file_init_internal): Drop SHARED conditional because it
33659 is implied by SHLIB_COMPAT.
33660 (_IO_old_file_fopen): Call __open directly.
33661 (_IO_old_file_sync): Assume ESPIPE is defined.
33662 (_IO_old_file_write): Call __write directly.
33663 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33664 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33665 Call __fcntl directly.
33666 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33667 (_IO_old_fgetpos): Assume EIO is defined.
33668 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33669 (_IO_old_fgetpos64): Assume EIO is defined.
33670 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33671 (_IO_old_fsetpos): Assume EIO is defined.
33672 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33673 (_IO_old_fsetpos64): Assume EIO is defined.
33674 * libio/oldiopopen.c: Assume _LIBC is defined.
33675 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33676 (_IO_close): Remove macro definitions.
33677 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33679 (_IO_old_proc_close): Call __close, __waitpid directly.
33680 * libio/put.c: Assume weak_alias is defined.
33681 * libio/stdfiles.c: Assume _LIBC is defined.
33682 * libio/stdio.c: Likewise.
33683 * libio/wfileops.c: Likewise.
33684 (_IO_wfile_sync): Assume ESPIPE is defined.
33685 * libio/wgenops.c: Assume _LIBC is defined.
33686 (save_for_wbackup): Remove internal_function.
33688 2017-08-31 Florian Weimer <fweimer@redhat.com>
33690 * malloc/malloc.c (top_check): Change return type to void. Remove
33692 * malloc/hooks.c (top_check): Likewise.
33693 (malloc_check, realloc_check, memalign_check): Adjust.
33695 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33698 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33699 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33700 sigcontext and namespace requirements.
33701 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33702 * sysdeps/m68k/sys/ucontext.h: Likewise.
33703 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33704 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33705 <bits/sigcontext.h>.
33706 (__ctx): Define earlier.
33707 (mcontext_t): Define structure contents rather than using struct
33709 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33710 __glibc_reserved1 instead of __reserved.
33711 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33712 <bits/sigcontext.h>.
33713 (__ctx): Define earlier.
33714 (mcontext_t): Define structure contents rather than using struct
33716 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33717 mcontext_t instead of struct sigcontext.
33718 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33719 <bits/sigcontext.h>.
33720 (__ctx): Define earlier.
33721 (mcontext_t): Define structure contents rather than using struct
33723 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33724 <bits/sigcontext.h>.
33725 (__ctx): Define earlier.
33726 (mcontext_t): Define structure contents rather than using struct
33728 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33729 mcontext_t instead of struct sigcontext.
33730 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33731 mcontext_t instead of struct sigcontext.
33732 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33733 <bits/sigcontext.h>.
33734 (__ctx): New macro.
33735 (struct __ia64_fpreg_mcontext): New type.
33736 (mcontext_t): Define structure contents rather than using struct
33738 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33739 (uc_sigmask): Define using __ctx.
33740 (uc_stack): Likewise.
33741 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33742 <bits/sigcontext.h>.
33743 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33744 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33745 <bits/sigcontext.h>.
33746 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33747 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33748 <bits/sigcontext.h>.
33749 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33750 <bits/sigcontext.h>.
33751 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33752 <bits/sigcontext.h>.
33753 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33754 <bits/sigcontext.h>.
33755 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33756 <bits/sigcontext.h>.
33757 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33758 <bits/sigcontext.h>.
33759 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33760 <bits/sigcontext.h>.
33761 (__ctx): Define earlier.
33762 (mcontext_t): Define structure contents rather than using struct
33764 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33765 <bits/sigcontext.h>. Include <bits/types.h>.
33766 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33767 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33768 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33769 (test-xfail-UNIX98/signal.h/conform): Likewise.
33770 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33771 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33772 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33773 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33774 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33775 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33776 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33777 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33778 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33780 2017-08-30 Florian Weimer <fweimer@redhat.com>
33782 * malloc/dynarray_emplace_enlarge.c
33783 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33784 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33785 * malloc/tst-dynarray.c (test_long_overflow): New function.
33786 (do_test): Call it.
33788 2017-08-30 Florian Weimer <fweimer@redhat.com>
33790 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33791 (set_arena_corrupt): Remove definitions.
33792 (mtrim): Do not check for corrupt arena.
33793 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33796 2017-08-30 Florian Weimer <fweimer@redhat.com>
33799 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33801 (ptmalloc_init): Do not set or use check_action.
33802 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33803 call to malloc_printerr. Remove return statement.
33804 (free_check): Likewise. Remove arena unlock.
33805 (top_check): Update comment. Adjust call to malloc_printerr.
33806 Remove heap repair code.
33807 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33808 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33809 (sysmalloc): Adjust call to malloc_printerr.
33810 (munmap_chunk, __libc_realloc): Likewise. Remove return
33812 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33813 Remove errout label and corresponding gotos.
33814 (_int_free): Likewise. Remove arena unlock.
33815 (do_set_mallopt_check): Do not set check_action.
33816 (malloc_printerr): Adjust parameter list. Do not mark arena as
33818 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33820 * manual/probes.texi (Memory Allocation Probes): Remove
33821 memory_mallopt_check_action.
33823 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33825 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33826 Use pointer to uint64_t instead of long int for sp.
33828 2017-08-30 Florian Weimer <fweimer@redhat.com>
33831 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33832 without printing a backtrace. Do not leak any information in the
33834 * manual/memory.texi (Heap Consistency Checking): Update.
33835 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33837 2017-08-30 Florian Weimer <fweimer@redhat.com>
33839 Do not scale NPTL tests with available number of CPUs.
33840 * nptl/tst-cond16.c (count): Set to constant value of 8.
33841 * nptl/tst-cond18.c (count): Likewise.
33843 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33846 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33847 Define to take a second argument that is a macro that
33848 concatentates a suffix, not the suffix itself.
33849 (__CONCAT_d): New macro.
33850 (__CONCAT_f): Likewise.
33851 (__CONCAT_l): Likewise.
33853 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33855 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33858 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33859 Aurelien Jarno <aurelien@aurel32.net>
33860 Maciej W. Rozycki <macro@imgtec.com>
33863 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33864 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33865 `mips16-syscall6' and `mips16-syscall7'.
33866 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33867 (CFLAGS-mips16-syscall7.c): Remove.
33868 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33869 Remove `__mips16_syscall5', `__mips16_syscall6' and
33870 `__mips16_syscall7'.
33871 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33872 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33873 `__mips_syscall_return'.
33874 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33875 (__mips16_syscall1): Likewise.
33876 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33877 (__mips16_syscall2): Likewise.
33878 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33879 (__mips16_syscall3): Likewise.
33880 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33881 (__mips16_syscall4): Likewise.
33882 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33884 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33886 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33888 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33889 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33890 `__mips16_syscall5'. Remove prototype.
33891 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33892 `__mips16_syscall6'. Remove prototype.
33893 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33894 `__mips16_syscall7'. Remove prototype.
33895 (__nomips16, __mips16_syscall_return): Move to...
33896 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33897 (__nomips16, __mips_syscall_return): ... here.
33898 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33899 `__mips16_syscall_return' to `__mips_syscall_return'.
33900 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33901 `internal_syscall##nr'.
33902 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33903 `internal_syscall##nr'.
33904 (FORCE_FRAME_POINTER): Remove.
33905 (__mips_syscall5): New prototype.
33906 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33907 (__mips_syscall6): New prototype.
33908 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33909 (__mips_syscall7): New prototype.
33910 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33911 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33912 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33913 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33914 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33915 (sysdep_routines): Add libc-do-syscall.
33916 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33917 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33919 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33922 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33923 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33924 (advise_stack_range): New function.
33925 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33926 stack non required to advise_stack_range at allocatestack.c
33928 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33930 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33932 2017-08-29 Florian Weimer <fweimer@redhat.com>
33935 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33936 __end_fct. Mangle __end_fct after setting it to NULL.
33937 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33938 (modules-names, modules-names-tests): Add
33939 tst-gconv-init-failure-mod.
33940 (gconv-modules): New target.
33941 (tst-gconv-init-failure-mod.so): Link against libsupport.
33942 (tst-gconv-init-failure): Depend on gconv-modules,
33943 tst-gconv-init-failure-mod.so.
33944 * iconv/tst-gconv-init-failure-mod.c: New file.
33945 * iconv/tst-gconv-init-failure.c: Likewise.
33946 * iconv/test-gconv-modules: Likewise.
33948 2017-08-29 Florian Weimer <fweimer@redhat.com>
33951 * iconv/gconv_db.c (free_derivation): Remove redundant
33953 (gen_steps): Unconditionally mangle __btowc_fct after
33955 (increment_counter): Likewise. Do not call init_fct for internal
33958 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33961 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33962 (_MSUF_): Remove macro.
33963 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33965 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33966 (__REDIRFROM_X): New macro.
33967 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33969 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33970 (__REDIRTO_X): Likewise.
33971 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33973 (__MATH_REDIRCALL_2): Likewise.
33974 (__MATH_REDIRCALL_INTERNAL): Likewise.
33975 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33976 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33977 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33978 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33979 * math/test-finite-macros.c: New file.
33980 * math/Makefile (tests): Add test-finite-macros.
33981 (CFLAGS-test-finite-macros.c): New variable.
33983 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33984 Jeff Law <law@redhat.com>
33987 Mangle NULL pointers in iconv/gconv.
33988 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33989 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33990 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33991 is non-NULL before demangling the end_fct. Check for NULL
33992 end_fct after demangling.
33993 (__gconv_release_step): Demangle the end_fct before checking
33994 it for NULL. Remove assert on __shlibc_handle != NULL.
33995 (gen_steps): Don't check btowc_fct for NULL before mangling.
33996 Demangle init_fct before checking for NULL.
33997 (increment_counter): Likewise.
33998 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33999 end_fct for NULL before mangling.
34000 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34003 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
34006 * locale/iso-639.def: add Morisyen.
34008 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34011 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34012 (iszero): New C++ implementation that does not use
34013 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34014 signaling nans are enabled, since __builtin_types_compatible_p
34015 is a C-only feature.
34016 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34017 defined, include ieee754_float128.h for access to the union and
34018 member ieee854_float128.ieee.
34019 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34020 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34021 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34022 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34023 options of test-math-zero on powerpc64le.
34025 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34027 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34028 Change double to float.
34030 2017-08-28 Joseph Myers <joseph@codesourcery.com>
34032 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34034 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34035 conditional code; define contents only for [LIBM_SVID_COMPAT].
34037 2017-08-28 Florian Weimer <fweimer@redhat.com>
34039 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
34040 (abi-lp64_be-options): Remove.
34041 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
34042 (abi-hard-options): Likewise.
34043 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
34044 (abi-o32_hard-options, abi-o32_soft_2008-options)
34045 (abi-o32_hard_2008-options, abi-n32_soft-options)
34046 (abi-n32_hard-options, abi-n32_soft_2008-options)
34047 (abi-n32_hard_2008-options, abi-n64_soft-options)
34048 (abi-n64_hard-options, abi-n64_soft_2008-options)
34049 (abi-n64_hard_2008-options): Likewise.
34050 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
34051 (abi-64-v1-options, abi-64-v2-options): Likewise.
34052 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
34053 (abi-64-options): Likewise.
34054 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
34055 (abi-64-options): Likewise.
34056 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
34057 (abi-64-options): Likewise.
34058 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
34059 (abi-64-options, abi-x32-options): Likewise.
34061 2017-08-28 Florian Weimer <fweimer@redhat.com>
34063 Store supported list of SYS_* system calls in the source tree.
34064 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
34065 (bits/syscall.h): Generate from list file.
34066 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
34067 [$(subdir) = misc] (tests): Add tst-syscall-list.
34068 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
34069 [$(subdir) = misc] (tst-syscall-list-macros.list)
34070 [$(subdir) = misc] (tst-syscall-list-nr.list)
34071 (tst-syscall-list-sys.list): Helper targets for new
34072 tst-syscall-list test.
34073 [$(subdir) = misc] (tst-syscall-list.out): Run test script
34074 tst-syscall-list.sh.
34075 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
34076 target. Do not include bits/syscall.d.
34077 [$(subdir) = misc] (generated): Do not update.
34078 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
34079 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
34080 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
34081 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
34083 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34085 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
34086 (tst-cxa_atexit, tst-on_exit): Likewise.
34087 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
34088 tst-cxa_atexit, and tst-on_exit.
34089 * stdlib/tst-atexit-common.c: New file.
34090 * stdlib/tst-atexit.c: New file.
34091 * stdlib/tst-at_quick_exit.c: New file.
34092 * stdlib/tst-cxa_atexit.c: New file.
34093 * stdlib/tst-on_exit.c: New file.
34095 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
34097 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
34098 * mach/stack_chk_fail_local.c: New file.
34099 * hurd/stack_chk_fail_local.c: New file.
34100 * mach/Machrules ($(interface-library)-routines): Add
34101 stack_chk_fail_local.
34102 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
34103 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
34104 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
34105 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
34106 * hurd/Makefile (CFLAGS-hurdstartup.o,
34107 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
34109 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
34111 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34112 (index_cpu_*, index_arch_*): Removed.
34114 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
34116 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
34117 Use uint64_t instead of unsigned long.
34119 2017-08-25 Joseph Myers <joseph@codesourcery.com>
34121 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
34122 [__HAVE_DISTINCT_FLOAT128].
34124 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
34125 of <bits/math-finite.h>.
34126 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
34127 inclusion of <bits/math-finite.h>.
34128 * math/bits/math-finite.h (__REDIRTO_X): Do not define
34129 conditionally on [__MATH_DECLARING_LDOUBLE && defined
34130 __NO_LONG_DOUBLE_MATH].
34131 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
34132 (__MATH_REDIRCALL_2): Likewise.
34133 (__MATH_REDIRCALL_INTERNAL): Likewise.
34134 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34135 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
34136 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
34140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
34142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
34144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
34146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
34148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
34150 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34151 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34152 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34153 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
34155 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
34156 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
34157 w_sqrtf_compat-ppc32.
34159 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34161 * math/math.h [defined __cplusplus] (issignaling): In the long
34162 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
34163 is not defined. Call __issignaling, otherwise.
34165 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34167 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
34168 syscall definitions and replace __builtin_expect with __glibc_likely.
34169 * sysdeps/unix/syscall-template.S: Update comment about cancellable
34171 (SYSCALL_CANCELLABLE): Removedefinition
34172 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
34174 (PSEUDO_END): Likewise.
34175 [IS_IN (libpthread)] (CENABLE): Likewise.
34176 [IS_IN (libpthread)] (CDISABLE): Likewise.
34177 [IS_IN (libc)] (CENABLE): Likewise.
34178 [IS_IN (libc)] (CENABLE): Likewise.
34179 [IS_IN (librt)] (CDISABLE): Likewise.
34180 [IS_IN (librt)] (CDISABLE): Likewise.
34181 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34182 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
34184 (PSEUDO_END): Likewise.
34185 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
34186 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
34187 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34188 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34189 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34190 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34191 (CENABLE): Likewise.
34192 (CDISABLE): Likewise.
34193 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34194 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
34196 (PSEUDO_END): Likewise.
34197 [IS_IN (libpthread)] (CENABLE): Likewise.
34198 [IS_IN (libpthread)] (CDISABLE): Likewise.
34199 [IS_IN (libc)] (CENABLE): Likewise.
34200 [IS_IN (libc)] (CENABLE): Likewise.
34201 [IS_IN (librt)] (CDISABLE): Likewise.
34202 [IS_IN (librt)] (CDISABLE): Likewise.
34203 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34204 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
34206 (PSEUDO_END): Likewise.
34207 [IS_IN (libpthread)] (CENABLE): Likewise.
34208 [IS_IN (libpthread)] (CDISABLE): Likewise.
34209 [IS_IN (libc)] (CENABLE): Likewise.
34210 [IS_IN (libc)] (CENABLE): Likewise.
34211 [IS_IN (librt)] (CDISABLE): Likewise.
34212 [IS_IN (librt)] (CDISABLE): Likewise.
34213 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34214 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
34216 (PSEUDO_END): Likewise.
34217 [IS_IN (libpthread)] (CENABLE): Likewise.
34218 [IS_IN (libpthread)] (CDISABLE): Likewise.
34219 [IS_IN (libc)] (CENABLE): Likewise.
34220 [IS_IN (libc)] (CENABLE): Likewise.
34221 [IS_IN (librt)] (CDISABLE): Likewise.
34222 [IS_IN (librt)] (CDISABLE): Likewise.
34223 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34224 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
34226 (PSEUDO_END): Likewise.
34227 [IS_IN (libpthread)] (CENABLE): Likewise.
34228 [IS_IN (libpthread)] (CDISABLE): Likewise.
34229 [IS_IN (libc)] (CENABLE): Likewise.
34230 [IS_IN (libc)] (CENABLE): Likewise.
34231 [IS_IN (librt)] (CDISABLE): Likewise.
34232 [IS_IN (librt)] (CDISABLE): Likewise.
34233 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34234 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
34236 (PSEUDO_END): Likewise.
34237 [IS_IN (libpthread)] (CENABLE): Likewise.
34238 [IS_IN (libpthread)] (CDISABLE): Likewise.
34239 [IS_IN (libc)] (CENABLE): Likewise.
34240 [IS_IN (libc)] (CENABLE): Likewise.
34241 [IS_IN (librt)] (CDISABLE): Likewise.
34242 [IS_IN (librt)] (CDISABLE): Likewise.
34243 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34244 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
34246 (PSEUDO_END): Likewise.
34247 [IS_IN (libpthread)] (CENABLE): Likewise.
34248 [IS_IN (libpthread)] (CDISABLE): Likewise.
34249 [IS_IN (libc)] (CENABLE): Likewise.
34250 [IS_IN (libc)] (CENABLE): Likewise.
34251 [IS_IN (librt)] (CDISABLE): Likewise.
34252 [IS_IN (librt)] (CDISABLE): Likewise.
34253 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34254 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
34256 (PSEUDO_END): Likewise.
34257 [IS_IN (libpthread)] (CENABLE): Likewise.
34258 [IS_IN (libpthread)] (CDISABLE): Likewise.
34259 [IS_IN (libc)] (CENABLE): Likewise.
34260 [IS_IN (libc)] (CENABLE): Likewise.
34261 [IS_IN (librt)] (CDISABLE): Likewise.
34262 [IS_IN (librt)] (CDISABLE): Likewise.
34263 (SINGLE_THREAD_P): Likewise.
34264 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34266 (PSEUDO_END): Likewise.
34267 [IS_IN (libpthread)] (CENABLE): Likewise.
34268 [IS_IN (libpthread)] (CDISABLE): Likewise.
34269 [IS_IN (libc)] (CENABLE): Likewise.
34270 [IS_IN (libc)] (CENABLE): Likewise.
34271 [IS_IN (librt)] (CDISABLE): Likewise.
34272 [IS_IN (librt)] (CDISABLE): Likewise.
34273 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34274 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34276 (PSEUDO_END): Likewise.
34277 [IS_IN (libpthread)] (CENABLE): Likewise.
34278 [IS_IN (libpthread)] (CDISABLE): Likewise.
34279 [IS_IN (libc)] (CENABLE): Likewise.
34280 [IS_IN (libc)] (CENABLE): Likewise.
34281 [IS_IN (librt)] (CDISABLE): Likewise.
34282 [IS_IN (librt)] (CDISABLE): Likewise.
34283 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34284 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34285 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34286 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34289 (PSEUDO_END): Likewise.
34290 [IS_IN (libpthread)] (CENABLE): Likewise.
34291 [IS_IN (libpthread)] (CDISABLE): Likewise.
34292 [IS_IN (libc)] (CENABLE): Likewise.
34293 [IS_IN (libc)] (CENABLE): Likewise.
34294 [IS_IN (librt)] (CDISABLE): Likewise.
34295 [IS_IN (librt)] (CDISABLE): Likewise.
34296 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34299 (PSEUDO_END): Likewise.
34300 [IS_IN (libpthread)] (CENABLE): Likewise.
34301 [IS_IN (libpthread)] (CDISABLE): Likewise.
34302 [IS_IN (libc)] (CENABLE): Likewise.
34303 [IS_IN (libc)] (CENABLE): Likewise.
34304 [IS_IN (librt)] (CDISABLE): Likewise.
34305 [IS_IN (librt)] (CDISABLE): Likewise.
34306 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34307 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34309 (PSEUDO_END): Likewise.
34310 [IS_IN (libpthread)] (CENABLE): Likewise.
34311 [IS_IN (libpthread)] (CDISABLE): Likewise.
34312 [IS_IN (libc)] (CENABLE): Likewise.
34313 [IS_IN (libc)] (CENABLE): Likewise.
34314 [IS_IN (librt)] (CDISABLE): Likewise.
34315 [IS_IN (librt)] (CDISABLE): Likewise.
34316 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34319 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34320 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34322 (PSEUDO_END): Likewise.
34323 [IS_IN (libpthread)] (CENABLE): Likewise.
34324 [IS_IN (libpthread)] (CDISABLE): Likewise.
34325 [IS_IN (libc)] (CENABLE): Likewise.
34326 [IS_IN (libc)] (CENABLE): Likewise.
34327 [IS_IN (librt)] (CDISABLE): Likewise.
34328 [IS_IN (librt)] (CDISABLE): Likewise.
34329 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34330 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34332 (PSEUDO_END): Likewise.
34333 [IS_IN (libpthread)] (CENABLE): Likewise.
34334 [IS_IN (libpthread)] (CDISABLE): Likewise.
34335 [IS_IN (libc)] (CENABLE): Likewise.
34336 [IS_IN (libc)] (CENABLE): Likewise.
34337 [IS_IN (librt)] (CDISABLE): Likewise.
34338 [IS_IN (librt)] (CDISABLE): Likewise.
34339 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34341 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34343 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34345 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34347 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34349 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34352 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34353 middle and outer with size_t instead of int. Repleace %d and
34354 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34355 "MAX (outer, nchars - 64)" to support unsigned outer and
34356 nchars. Also exit loop when outer == 0.
34358 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34360 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34361 * include/signal.h (__sigsuspend_nocancel): Likewise.
34362 * include/time.h (__nanosleep_nocancel): Likewise.
34363 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34364 * login/utmp_file.c: Include non cancellable syscall header.
34365 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34368 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34370 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34371 .byte sequences with AVX512F instructions.
34372 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34373 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34374 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34375 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34377 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34380 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34381 Steve Ellcey <sellcey@cavium.com>
34383 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34384 Use PTR_REG macro in cmp instruction.
34386 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34388 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34389 Change the return type of the ifunc resolver to match the return
34390 type of the target function.
34392 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34394 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34395 (preadv64): Likewise.
34396 (pwrite64(: Likewise.
34397 (pwritev64): Likewise.
34399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34400 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34401 (LOAD_ARGS_0): Likewise.
34402 (LOAD_ARGS_1): Likewise.
34403 (LOAD_ARGS_2): Likewise.
34404 (LOAD_ARGS_3): Likewise.
34405 (LOAD_ARGS_4): Likewise.
34406 (LOAD_ARGS_5): Likewise.
34407 (LOAD_ARGS_6): Likewise.
34408 (LOAD_REGS_0): Likewise.
34409 (LOAD_REGS_1): Likewise.
34410 (LOAD_REGS_2): Likewise.
34411 (LOAD_REGS_3): Likewise.
34412 (LOAD_REGS_4): Likewise.
34413 (LOAD_REGS_5): Likewise.
34414 (LOAD_REGS_6): Likewise.
34415 (ASM_ARGS_0): Likewise.
34416 (ASM_ARGS_1): Likewise.
34417 (ASM_ARGS_2): Likewise.
34418 (ASM_ARGS_3): Likewise.
34419 (ASM_ARGS_4): Likewise.
34420 (ASM_ARGS_5): Likewise.
34421 (ASM_ARGS_6): Likewise.
34422 (LOAD_ARGS_TYPES_1): Likewise.
34423 (LOAD_ARGS_TYPES_2): Likewise.
34424 (LOAD_ARGS_TYPES_3): Likewise.
34425 (LOAD_ARGS_TYPES_4): Likewise.
34426 (LOAD_ARGS_TYPES_5): Likewise.
34427 (LOAD_ARGS_TYPES_6): Likewise.
34428 (LOAD_REGS_TYPES_1): Likewise.
34429 (LOAD_REGS_TYPES_2): Likewise.
34430 (LOAD_REGS_TYPES_3): Likewise.
34431 (LOAD_REGS_TYPES_4): Likewise.
34432 (LOAD_REGS_TYPES_5): Likewise.
34433 (LOAD_REGS_TYPES_6): Likewise.
34434 (TYPEFY): New define.
34435 (ARGIFY): Likewise.
34436 (internal_syscall0): Likewise.
34437 (internal_syscall1): Likewise.
34438 (internal_syscall2): Likewise.
34439 (internal_syscall3): Likewise.
34440 (internal_syscall4): Likewise.
34441 (internal_syscall5): Likewise.
34442 (internal_syscall6): Likewise.
34443 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34444 (INTERNAL_SYSCALL_NCS): Remove define.
34445 (internal_syscall1): Add define.
34447 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34449 * math/w_remainder_compat.c: Remove duplicate inclusion of
34450 math-svid-compat.h.
34451 * math/w_remainderf_compat.c: Likewise.
34452 * math/w_remainderl_compat.c: Likewise.
34454 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34458 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34461 * math/tgmath.h (__floating_type): Simplify definitions.
34462 (__real_integer_type): New macro.
34463 (__complex_integer_type): Likewise.
34464 (__expr_is_real): Likewise.
34465 (__tgmath_real_type_sub): Update comment to describe handling of
34467 (__tgmath_complex_type_sub): New macro.
34468 (__tgmath_complex_type): Likewise.
34469 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34470 (__TGMATH_CF128): Use __expr_is_real.
34471 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34473 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34474 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34475 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34478 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34480 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34482 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34484 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34487 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34488 nanosleep_not_cancel with __nanosleep_nocancel.
34489 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34490 (__nanosleep_nocancel): New macro.
34491 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34493 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34495 (__nanosleep_nocancel): New prototype.
34497 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34498 pause_not_cancel with __pause_nocancel.
34499 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34500 (__pause_nocancel): New macro.
34501 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34503 (__pause_nocancel): New prototype.
34504 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34506 2017-08-22 Martin Sebor <msebor@redhat.com>
34508 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34509 to return a pointer to the same type as the target function.
34511 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34515 * include/printf.h (__printf_fphex): Add attribute_hidden.
34516 (__guess_grouping): New prototype.
34517 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34518 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34519 libc_hidden_proto and libc_hidden_def.
34520 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34521 (__vstrfmon_l): Remove the third argument passed to
34524 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34526 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34527 definition for issignaling that does not rely on __MATH_TG,
34528 since __MATH_TG uses __builtin_types_compatible_p, which is only
34529 available in C mode.
34530 (CFLAGS-test-math-issignaling.cc): New variable.
34531 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34532 * math/test-math-issignaling.cc: New test for C++ implementation
34533 of type-generic issignaling.
34534 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34535 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34536 options of test-math-issignaling on powerpc64le.
34538 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34540 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34542 (hidden_proto): Likewise.
34543 (hidden_tls_proto): Likewise.
34544 (__hidden_proto): Likewise.
34546 2017-08-22 Florian Weimer <fweimer@redhat.com>
34548 math: Statically link tests of internal functionality.
34549 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34551 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34552 (gmp-objs): Remove assignment.
34553 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34555 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34558 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34560 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34562 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34565 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34566 variable definitions above inclusion of ../Rules.
34568 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34570 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34571 case calling __builtin_unreachable.
34573 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34575 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34576 __waitpid_nocancel.
34577 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34578 (__waitpid_nocancel): New macro.
34579 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34581 (__waitpid_nocancel): Replace macro with a function.
34582 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34585 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34587 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34588 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34590 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34591 __writev_nocancel_nostatus.
34592 (write_call_graph): Likewise.
34593 (write_bb_counts): Likewise.
34594 * resolv/herror.c (herror): Likewise.
34595 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34597 (__writev_nocancel_nostatus): New macro.
34598 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34600 (__writev_nocancel_nostatus): New function.
34602 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34605 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34607 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34609 (hidden_proto): Likewise.
34610 (hidden_tls_proto): Likewise.
34611 (__hidden_proto): Likewise.
34614 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34615 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34624 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34625 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34626 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34627 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34629 GLIBC_2.0 sqrtl symbol.
34631 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34632 [__USE_MISC] (_LIB_VERSION): Likewise.
34633 [__USE_MISC] (struct exception): Likewise.
34634 [__USE_MISC] (matherr): Likewise.
34635 [__USE_MISC] (DOMAIN): Likewise.
34636 [__USE_MISC] (SING): Likewise.
34637 [__USE_MISC] (OVERFLOW): Likewise.
34638 [__USE_MISC] (UNDERFLOW): Likewise.
34639 [__USE_MISC] (TLOSS): Likewise.
34640 [__USE_MISC] (PLOSS): Likewise.
34641 [__USE_MISC] (HUGE): Likewise.
34642 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34643 * math/math-svid-compat.h: New file.
34644 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34646 * include/math.h [!_ISOMAC] (__matherr): Remove.
34647 * manual/arith.texi (FP Exceptions): Do not document matherr.
34648 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34649 (tests-internal): New variable.
34650 (install-lib): Do not add libieee.a.
34651 (non-lib.a): Likewise.
34652 (extra-objs): Do not add libieee.a and ieee-math.o.
34653 (CPPFLAGS-s_lib_version.c): Remove variable.
34654 ($(objpfx)libieee.a): Remove rule.
34655 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34656 * math/ieee-math.c: Remove.
34657 * math/libm-test-support.c (matherr): Remove.
34658 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34659 and license notices. Include <math-svid-compat.h> and
34661 (matherr): Undefine as macro. Use compat_symbol_reference.
34662 (_LIB_VERSION): Likewise.
34663 * math/test-matherr-2.c: New file.
34664 * math/test-matherr-3.c: Likewise.
34665 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34667 (__kernel_standard_f): Likewise.
34668 (__kernel_standard_l): Likewise.
34669 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34670 <math_private.h>. Include <math-svid-compat.h>.
34671 (_LIB_VERSION): Undefine as macro.
34672 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34673 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34674 [LIBM_SVID_COMPAT], use compat_symbol.
34675 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34676 <math_private.h>. Include <math-svid-compat.h>.
34677 (matherr): Undefine as macro.
34678 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34680 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34681 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34682 compat_symbol_reference.
34683 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34684 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34685 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34686 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34687 (MATHERR_D): Remove declaration.
34688 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34689 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34690 [LIBM_BUILD] (pmatherrf): Likewise.
34691 [LIBM_BUILD] (pmatherr): Likewise.
34692 [LIBM_BUILD] (pmatherrl): Likewise.
34693 (DOMAIN): Likewise.
34695 (OVERFLOW): Likewise.
34696 (UNDERFLOW): Likewise.
34699 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34700 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34702 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34703 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34705 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34706 * math/w_acos_compat.c: Likewise.
34707 * math/w_acosf_compat.c: Likewise.
34708 * math/w_acosh_compat.c: Likewise.
34709 * math/w_acoshf_compat.c: Likewise.
34710 * math/w_acoshl_compat.c: Likewise.
34711 * math/w_acosl_compat.c: Likewise.
34712 * math/w_asin_compat.c: Likewise.
34713 * math/w_asinf_compat.c: Likewise.
34714 * math/w_asinl_compat.c: Likewise.
34715 * math/w_atan2_compat.c: Likewise.
34716 * math/w_atan2f_compat.c: Likewise.
34717 * math/w_atan2l_compat.c: Likewise.
34718 * math/w_atanh_compat.c: Likewise.
34719 * math/w_atanhf_compat.c: Likewise.
34720 * math/w_atanhl_compat.c: Likewise.
34721 * math/w_cosh_compat.c: Likewise.
34722 * math/w_coshf_compat.c: Likewise.
34723 * math/w_coshl_compat.c: Likewise.
34724 * math/w_exp10_compat.c: Likewise.
34725 * math/w_exp10f_compat.c: Likewise.
34726 * math/w_exp10l_compat.c: Likewise.
34727 * math/w_exp2_compat.c: Likewise.
34728 * math/w_exp2f_compat.c: Likewise.
34729 * math/w_exp2l_compat.c: Likewise.
34730 * math/w_fmod_compat.c: Likewise.
34731 * math/w_fmodf_compat.c: Likewise.
34732 * math/w_fmodl_compat.c: Likewise.
34733 * math/w_hypot_compat.c: Likewise.
34734 * math/w_hypotf_compat.c: Likewise.
34735 * math/w_hypotl_compat.c: Likewise.
34736 * math/w_j0_compat.c: Likewise.
34737 * math/w_j0f_compat.c: Likewise.
34738 * math/w_j0l_compat.c: Likewise.
34739 * math/w_j1_compat.c: Likewise.
34740 * math/w_j1f_compat.c: Likewise.
34741 * math/w_j1l_compat.c: Likewise.
34742 * math/w_jn_compat.c: Likewise.
34743 * math/w_jnf_compat.c: Likewise.
34744 * math/w_jnl_compat.c: Likewise.
34745 * math/w_lgamma_main.c: Likewise.
34746 * math/w_lgamma_r_compat.c: Likewise.
34747 * math/w_lgammaf_main.c: Likewise.
34748 * math/w_lgammaf_r_compat.c: Likewise.
34749 * math/w_lgammal_main.c: Likewise.
34750 * math/w_lgammal_r_compat.c: Likewise.
34751 * math/w_log10_compat.c: Likewise.
34752 * math/w_log10f_compat.c: Likewise.
34753 * math/w_log10l_compat.c: Likewise.
34754 * math/w_log2_compat.c: Likewise.
34755 * math/w_log2f_compat.c: Likewise.
34756 * math/w_log2l_compat.c: Likewise.
34757 * math/w_log_compat.c: Likewise.
34758 * math/w_logf_compat.c: Likewise.
34759 * math/w_logl_compat.c: Likewise.
34760 * math/w_pow_compat.c: Likewise.
34761 * math/w_powf_compat.c: Likewise.
34762 * math/w_powl_compat.c: Likewise.
34763 * math/w_remainder_compat.c: Likewise.
34764 * math/w_remainderf_compat.c: Likewise.
34765 * math/w_remainderl_compat.c: Likewise.
34766 * math/w_scalb_compat.c: Likewise.
34767 * math/w_scalbf_compat.c: Likewise.
34768 * math/w_scalbl_compat.c: Likewise.
34769 * math/w_sinh_compat.c: Likewise.
34770 * math/w_sinhf_compat.c: Likewise.
34771 * math/w_sinhl_compat.c: Likewise.
34772 * math/w_sqrt_compat.c: Likewise.
34773 * math/w_sqrtf_compat.c: Likewise.
34774 * math/w_sqrtl_compat.c: Likewise.
34775 * math/w_tgamma_compat.c: Likewise.
34776 * math/w_tgammaf_compat.c: Likewise.
34777 * math/w_tgammal_compat.c: Likewise.
34778 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34779 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34780 * sysdeps/ieee754/k_standard.c: Likewise.
34781 * sysdeps/ieee754/k_standardf.c: Likewise.
34782 * sysdeps/ieee754/k_standardl.c: Likewise.
34783 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34784 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34785 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34786 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34788 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34789 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34790 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34791 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34796 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34798 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34799 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34801 2017-08-21 Florian Weimer <fweimer@redhat.com>
34804 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34805 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34806 Move before inclusion of ../Rules.
34808 2017-08-21 Florian Weimer <fweimer@redhat.com>
34811 * assert/assert.h (assert): Use static_cast (bool) for C++.
34812 Use the ternary operator in the warning branch for GNU C.
34813 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34814 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34815 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34816 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34817 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34819 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34822 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34823 (__syscall_clock_gettime): Add attribute_hidden.
34824 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34825 (__start_context): Likewise.
34827 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34829 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34831 (hidden_proto): Likewise.
34832 (hidden_tls_proto): Likewise.
34833 (__hidden_proto): Likewise.
34835 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34837 * include/libc-symbols.h (attribute_hidden): Enable hidden
34838 visibility in libc.a compiled with PIE.
34840 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34843 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34844 Add attribute_hidden.
34846 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34849 * Makerules (all-nonlib): Add $(others-extras).
34850 * catgets/Makefile (others-extras): New.
34851 * elf/Makefile (others-extras): Likewise.
34852 * nss/Makefile (others-extras): Likewise.
34854 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34857 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34858 * elf/dl-open.c: Include <libc-internal.h>.
34859 (__libc_multiple_libcs): Removed.
34860 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34862 * include/libc-internal.h (__libc_multiple_libcs): New.
34863 * misc/sbrk.c: Include <libc-internal.h>.
34864 (__libc_multiple_libcs): Removed.
34866 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34869 * grp/initgroups.c (__nss_group_database): Removed.
34870 (__nss_initgroups_database): Likewise.
34871 * nscd/gai.c (__nss_hosts_database): Likewise.
34872 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34873 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34874 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34875 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34876 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34877 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34879 * nss/nsswitch.c (__nss_database_custom): Define only if
34880 USE_NSCD is defined.
34881 (__nss_configure_lookup): Use __nss_database_custom only if
34882 USE_NSCD is defined.
34883 * nss/nsswitch.h (__nss_database_custom): Declare only if
34884 USE_NSCD is defined. Add attribute_hidden.
34885 (__nss_setent): Add attribute_hidden.
34886 (__nss_endent): Likewise.
34887 (__nss_getent_r): Likewise.
34888 (__nss_getent): Likewise.
34889 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34891 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34894 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34895 libc_hidden_proto and libc_hidden_def.
34897 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34900 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34901 Add libc_hidden_proto.
34902 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34903 Add libc_hidden_def.
34905 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34908 * gmon/Makefile (routines): Remove bb_init_func and
34910 (elide-routines.os): Removed.
34911 * gmon/bb_exit_func.c: Likewise.
34912 * gmon/bb_init_func.c: Likewise.
34913 * include/sys/gmon.h (__bb): Likewise.
34914 (__bb_init_func): Likewise.
34915 (__bb_exit_func): Likewise.
34916 * sysdeps/alpha/bb_init_func.S: Likewise.
34918 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34920 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34921 * include/setjmp.h (____longjmp_chk): Here. Add
34924 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34927 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34929 (__strspn_sse2): Likewise.
34931 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34933 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34934 (close_not_cancel_no_status): Likewise.
34935 (__close_nocancel): New macro.
34936 (__close_nocancel_nostatus): Likewise.
34937 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34939 (close_not_cancel): Likewise.
34940 (close_not_cancel_no_status): Likewise.
34941 (__close_nocancel): New prototype.
34942 (__close_nocancel_nostatus): New function.
34943 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34944 * catgets/open_catalog.c (__open_catalog): Replace
34945 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34946 * gmon/gmon.c (write_gmon): Likewise.
34947 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34948 * intl/loadmsgcat.c (close): Likewise.
34949 * io/ftw.c (open_dir_stream): Likewise.
34950 (ftw_startup): Likewise.
34951 * libio/fileops.c (_IO_file_open): Likewise.
34952 (_IO_file_close_mmap): Likewise.
34953 (_IO_file_close): Likewise.
34954 * libio/iopopen.c (_IO_dup2): Likewise.
34955 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34956 * locale/loadlocale.c (_nl_load_locale): Likewise.
34957 * login/utmp_file.c (pututline_file): Likewise.
34958 (endutent_file): Likewise.
34959 * misc/daemon.c (daemon): Likewise.
34960 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34961 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34962 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34963 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34964 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34965 * nscd/nscd_helper.c (open_socket): Likewise.
34966 (__nscd_open_socket): Likewise.
34967 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34968 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34969 (__nscd_innetgr): Likewise.
34970 * nss/nss_db/db-open.c (internal_setent): Likewise.
34971 * resolv/res-close.c (__res_iclose): Likewise.
34972 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34973 * sysdeps/posix/closedir.c (__closedir): Likewise.
34974 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34975 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34976 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34977 (opendir_tail): Likewise.
34978 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34979 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34980 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34981 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34982 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34983 (gethostid): Likewise.
34984 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34985 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34987 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34988 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34989 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34990 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34992 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34993 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34994 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34996 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34997 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34999 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35001 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35002 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35003 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35006 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35007 (openat_not_cancel_3): Likewise.
35008 (openat64_not_cancel_3): Likewise).
35009 (openat_not_cancel_3): Likewise).
35010 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35012 (openat_not_cancel_3): Likewise.
35013 (openat64_not_cancel): Likewise.
35014 (openat64_not_cancel_3): Likewise.
35015 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35016 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35017 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35018 __open{64}_nocancel.
35019 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35020 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35021 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35023 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35026 * include/argz.h (__argz_create_sep): New function prototype.
35027 (__argz_append): Likewise.
35028 (__argz_add): Likewise.
35029 (__argz_add_sep): Likewise.
35030 (__argz_delete): Likewise.
35031 (__argz_insert): Likewise.
35032 (__argz_replace): Likewise.
35033 * string/argz.h (__argz_create_sep): Removed.
35034 (__argz_append): Likewise.
35035 (__argz_add): Likewise.
35036 (__argz_add_sep): Likewise.
35037 (__argz_delete): Likewise.
35038 (__argz_insert): Likewise.
35039 (__argz_replace): Likewise.
35041 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35043 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
35044 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
35045 (GNU_PROPERTY_STACK_SIZE): Likewie.
35046 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
35047 (GNU_PROPERTY_LOPROC): Likewise.
35048 (GNU_PROPERTY_HIPROC): Likewise.
35049 (GNU_PROPERTY_LOUSER): Likewise.
35050 (GNU_PROPERTY_HIUSER): Likewise.
35051 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
35052 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
35053 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
35054 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
35055 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
35056 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
35057 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
35058 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
35059 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
35060 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
35061 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
35062 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
35063 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
35064 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
35065 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
35066 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
35067 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
35068 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
35069 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
35070 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
35071 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
35072 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
35073 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
35075 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35077 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
35080 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35083 * math/math.h (isinf): Check if in C or C++ mode before using
35084 __builtin_types_compatible_p, since this is a C mode feature.
35086 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35088 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
35089 (__write_nocancel): New macro.
35090 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
35091 Rewrite as a function prototype.
35092 (write_not_cancel): Remove macro.
35093 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
35094 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
35095 (write_gmon): Likewise.
35096 * libio/fileops.c (_IO_new_file_write): Likewise.
35097 * login/utmp_file.c (pututline_file): Likewise.
35098 (updwtmp_file): Likewise.
35099 * stdio-common/psiginfo.c (psiginfo): Likewise.
35100 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35101 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35102 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35104 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35107 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
35108 (__read_nocancel): New macro.
35109 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35111 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
35113 (__read_nocancel): New prototype.
35114 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
35115 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
35116 with __read_nocancel.
35117 * intl/loadmsgcat.c (read): Likewise.
35118 * libio/fileops.c (_IO_file_read): Likewise.
35119 * locale/loadlocale.c (_nl_load_locale): Likewise.
35120 * login/utmp_file.c (getutent_r_file): Likewise.
35121 (internal_getut_r): Likewise.
35122 (getutline_r_file): Likewise.
35123 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35124 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35125 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35126 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35128 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
35129 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35130 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35132 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35134 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35136 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35138 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35140 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35143 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
35144 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
35147 2017-08-17 DJ Delorie <dj@redhat.com>
35149 * bug17079.c: Update to new test harness.
35150 * test-digits-dots.c: Likewise.
35151 * test-netdb.c: Likewise.
35152 * tst-field.c: Likewise.
35153 * tst-nss-getpwent.c: Likewise.
35154 * tst-nss-static.c: Likewise.
35155 * tst-nss-test1.c: Likewise.
35156 * tst-nss-test2.c: Likewise.
35157 * tst-nss-test3.c: Likewise.
35158 * tst-nss-test4.c: Likewise.
35159 * tst-nss-test5.c: Likewise.
35161 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35163 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
35164 (open_not_cancel_2): Likewise.
35165 (open_nocancel): New macro.
35166 (open64_nocancel): Likewise.
35167 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
35168 (open_not_cancel_2): Likewise.
35169 (__open_nocancel): New prototype.
35170 (__open64_nocancel): Likewise.
35171 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35173 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
35174 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
35175 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
35176 with __open_nocancel.
35177 * csu/check_fds.c (check_one_fd): Likewise.
35178 * gmon/gmon.c (write_gmon): Likewise.
35179 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
35180 * intl/loadmsgcat.c (open): Likewise.
35181 * libio/fileops.c (_IO_file_open): Likewise.
35182 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35183 * locale/loadlocale.c (_nl_load_locale): Likewise.
35184 * login/utmp_file.c (setutent_file): Likewise.
35185 * misc/daemon.c (daemon): Likewise.
35186 * nss/nss_db/db-open.c (internal_setent): Likewise.
35187 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35188 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
35189 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35190 (__opendir): Likewise.
35191 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35192 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35193 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35194 (gethostid): Likewise.
35195 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35196 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35199 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
35200 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35201 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35203 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35205 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35207 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35209 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35211 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35213 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35214 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35216 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
35218 * benchtests/bench-skeleton.c (main): Add support for
35219 latency benchmarking.
35220 * benchtests/scripts/bench.py: Add support for latency benchmarking.
35222 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
35224 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
35225 the startup object.
35227 2017-08-17 Florian Weimer <fweimer@redhat.com>
35229 * include/sys/socket.h (__opensock): Remove internal_function.
35230 * socket/opensock.c (__opensock): Likewise.
35231 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
35233 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35236 * signal/bits/types/__sigval_t.h: New file.
35237 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
35238 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
35239 and define sigval_t using __sigval_t.
35240 * include/bits/types/__sigval_t.h: New file.
35241 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
35242 instead of <bits/types/__sigval_t.h>.
35243 (struct sigevent): Use __sigval_t instead of sigval_t.
35244 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
35245 instead of <bits/types/__sigval_t.h>.
35246 (siginfo_t): Use __sigval_t instead of sigval_t.
35247 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
35248 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35249 (struct sigevent): Use __sigval_t instead of sigval_t.
35250 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
35251 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35252 (siginfo_t): Use __sigval_t instead of sigval_t.
35253 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
35255 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35257 * NEWS: Remove "[Add new features here]" for 2.27.
35259 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35261 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35264 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35266 * NEWS: Mention x86-64 FMA optimization.
35268 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35271 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35273 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35274 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35275 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35277 2017-08-16 Andreas Schwab <schwab@suse.de>
35281 * elf/ldd.bash.in: Never run file directly.
35283 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35286 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35287 (L(SP_INF_0)): Likewise.
35289 2017-08-15 Florian Weimer <fweimer@redhat.com>
35291 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35294 2017-08-15 Florian Weimer <fweimer@redhat.com>
35296 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35297 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35298 BROKEN_THREAD_SIGNALS code.
35299 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35300 request_list): Remove caller_pid member used for
35301 BROKEN_THREAD_SIGNALS.
35302 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35303 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35304 Remove BROKEN_THREAD_SIGNALS support.
35305 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35306 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35308 2017-08-15 Florian Weimer <fweimer@redhat.com>
35310 * gmon/Makefile (tests): Add tst-gmon.
35311 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35313 (tests-special): Add tst-gmon-prof.out.
35314 (tst-gmon.out): Depend on clean-tst-gmon-data.
35315 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35316 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35317 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35319 * aclocal.m4 (GPROF): Set and substitute.
35320 * config.amke.in (GPROF): Set.
35321 * configure: Regenerate.
35323 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35325 * elf/elf.h A (NT_PPC_TAR): New macro.
35326 (NT_PPC_PPR): Likewise.
35327 (NT_PPC_DSCR): Likewise.
35328 (NT_PPC_EBB): Likewise.
35329 (NT_PPC_PMU): Likewise.
35330 (NT_PPC_TM_CGPR): Likewise.
35331 (NT_PPC_TM_CFPR): Likewise.
35332 (NT_PPC_TM_CVMX): Likewise.
35333 (NT_PPC_TM_CVSX): Likewise.
35334 (NT_PPC_TM_SPR): Likewise.
35335 (NT_PPC_TM_CTAR): Likewise.
35336 (NT_PPC_TM_CPPR): Likewise.
35337 (NT_PPC_TM_CDSCR): Likewise.
35339 2017-08-15 Florian Weimer <fweimer@redhat.com>
35341 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35342 regparm (2) instead of internal_function.
35343 (_MCOUNT_DECL): Adjust.
35345 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35347 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35348 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35350 2017-08-14 Joseph Myers <joseph@codesourcery.com>
35352 * conform/data/sys/wait.h-data (si_value): Do not expect for
35355 2017-08-14 Florian Weimer <fweimer@redhat.com>
35358 NSS: Create stubs for accidentally exported lookup functions.
35359 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35360 Remove declaration.
35361 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35362 (ether_hostton): Call __nss_ethers_lookup2 instead.
35363 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35364 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35365 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35366 (setup): Call __nss_netgroup_lookup2 instead.
35367 * nss/Makefile (routines): Add compat-lookup.
35368 * nss/Versions (GLIBC_2.27): Add symbol version.
35369 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35370 (DB_COMPAT_FCT): Remove.
35371 * nss/compat-lookup.c: New file.
35372 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35373 from databases.def.
35374 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35375 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35376 (netname2user): Call __nss_publickey_lookup2 instead.
35377 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35378 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35381 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35382 Sergei Trofimovich <slyfox@inbox.ru>
35385 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35386 Rename to MMAP2_PAGE_UNIT.
35387 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35388 __OFF_T_MATCHES_OFF64_T is not defined.
35389 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35391 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35392 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35394 2017-08-14 Florian Weimer <fweimer@redhat.com>
35396 i386: Do not set internal_function.
35397 * config.h.in (USE_REGPARMS, internal_function): Remove.
35398 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35399 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35401 2017-08-14 Florian Weimer <fweimer@redhat.com>
35403 * elf/dl-init.c (_dl_init): Remove internal_function.
35404 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35405 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35407 2017-08-14 Florian Weimer <fweimer@redhat.com>
35409 * elf/rtld.c (_dl_start): Remove internal_function.
35410 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35413 2017-08-14 Florian Weimer <fweimer@redhat.com>
35415 * elf/dl-fini.c (_dl_fini): Remove internal_function
35416 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35418 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35420 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35421 (bit_cpu_SHSTK): Likewise.
35422 (index_cpu_IBT): Likewise.
35423 (index_cpu_SHSTK): Likewise.
35424 (reg_IBT): Likewise.
35425 (reg_SHSTK): Likewise.
35426 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35427 Handle index_cpu_IBT and index_cpu_SHSTK.
35429 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35432 * po/fr.po: Fix spelling mistake.
35434 2017-08-13 Florian Weimer <fweimer@redhat.com>
35436 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35437 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35438 (_dl_catch_error, _dl_receive_error): Likewise.
35439 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35440 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35441 (_dl_deallocate_tls): Likewise.
35442 * include/dlfcn.h (_dl_addr): Likewise.
35443 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35444 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35445 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35448 2017-08-13 Florian Weimer <fweimer@redhat.com>
35450 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35451 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35453 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35455 2017-08-13 Florian Weimer <fweimer@redhat.com>
35457 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35459 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35460 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35461 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35462 internal_function from _dl_make_stack_executable_hook member.
35463 (_dl_make_stack_executable): Remove internal_function.
35464 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35466 * sysdeps/unix/sysv/linux/dl-execstack.c
35467 (_dl_make_stack_executable): Likewise.
35469 2017-08-13 Florian Weimer <fweimer@redhat.com>
35471 * sysdeps/unix/sysv/linux/netlinkaccess.h
35472 (__netlink_assert_response): Remove internal_function.
35473 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35474 (__netlink_assert_response): Likewise.
35476 2017-08-13 Florian Weimer <fweimer@redhat.com>
35478 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35480 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35482 2017-08-13 Florian Weimer <fweimer@redhat.com>
35484 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35486 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35487 * inet/netgroup.h (__internal_setnetgrent)
35488 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35489 * inet/getnetgrent_r.c (__internal_setnetgrent)
35490 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35491 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35492 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35493 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35494 * nss/nsswitch.h (db_lookup_function): Likewise.
35496 2017-08-13 Florian Weimer <fweimer@redhat.com>
35498 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35499 Remove internal_function.
35500 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35501 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35502 message argument on the stack.
35503 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35506 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35508 Adapt test case data to the changes in the thousands
35512 * localedata/tst-langinfo.sh: Adapt test case data.
35513 * stdlib/tst-strfmon_l.c: Likewise.
35514 * stdlib/tst-strtod4.c: Likewise.
35515 * stdlib/tst-strtod5i.c: Likewise.
35517 2017-08-11 Florian Weimer <fweimer@redhat.com>
35520 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35521 Suppress pedantic warning resulting from statement expression.
35522 (__ASSERT_FUNCTION): Add missing __extension__.
35524 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35526 * benchtests/bench-memmove-large.c: Print output in JSON
35528 * benchtests/bench-memmove.c: Likewise.
35530 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35531 * benchtests/bench-memchr.c (do_one_test): Likewise.
35532 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35533 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35534 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35535 * benchtests/bench-memmove.c (do_one_test): Likewise.
35536 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35537 * benchtests/bench-memset.c (do_one_test): Likewise.
35538 * benchtests/bench-string.h (test_init): Remove memsets.
35540 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35543 (Computing the Width of an Integer Data Type): Rename section to
35544 "Width of an Integer Type". Remove inaccurate statement regarding
35545 lack of C language facilities for determining width of integer
35546 types, and reorder content to improve flow and context of
35549 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35551 * lang.texi (va_copy): Change standard from ISO to C99.
35552 (__va_copy): Add standard and header annotation.
35553 Update description for clarity of origins and current use.
35555 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35558 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35559 xssqrtqp requires operands to be in Vector Registers
35560 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35561 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35562 (__ieee754_sqrtf128): Likewise.
35564 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35566 * sysdeps/aarch64/memcmp.S (memcmp):
35567 Rewrite of optimized memcmp.
35569 2017-08-10 Florian Weimer <fweimer@redhat.com>
35571 Introduce ld.so exceptions.
35572 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35573 (_dl_exception_create, _dl_exception_create_format)
35574 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35575 (_dl_catch_exception): Declare.
35576 (_dl_catch_error): Update comment.
35577 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35578 errstring, malloced members with exception member.
35579 (_dl_out_of_memory): Remove.
35580 (fatal_error): New function, extracted from _dl_signal_error.
35581 (_dl_signal_exception, _dl_signal_cexception): New functions.
35582 (_dl_signal_error): Call _dl_exception_create to allocate an
35584 (_dl_catch_exception): New function, based on _dl_catch_error.
35585 (_dl_catch_error): Implement using _dl_catch_exception.
35586 * elf/dl-exception.c: New file.
35587 * elf/Makefile (dl-routines): Add dl-exception.
35588 (elide-routines.os): Likewise.
35589 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35590 _dl_exception_create_format, _dl_exception_free.
35591 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35592 _dl_signal_exception.
35593 * elf/dl-lookup.c (make_string): Remove.
35594 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35595 _dl_signal_cexception, _dl_exception_free.
35596 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35597 _dl_signal_exception.
35598 * elf/dl-sym.c (do_sym): Likewise.
35599 * elf/dl-version.c (make_string): Remove.
35600 (match_symbol): Use _dl_exception_create_format,
35601 _dl_signal_cexception, _dl_exception_free.
35602 (_dl_check_map_versions): Likewise.
35603 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35604 _dl_catch_exception.
35605 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35606 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35607 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35608 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35609 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35610 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35611 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35612 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35614 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35621 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35622 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35623 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35625 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35627 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35629 2017-08-10 Florian Weimer <fweimer@redhat.com>
35631 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35632 attribute_hidden, internal_function.
35633 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35636 2017-08-10 Florian Weimer <fweimer@redhat.com>
35638 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35639 function which calls __builtin_unreachable.
35641 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35643 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35644 Indian monetary formatting
35645 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35648 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35650 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35651 Fix typo in comment.
35654 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35655 PTRACE_SEIZE_DEVEL): Remove.
35656 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35657 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35662 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35664 * posix/bits/types.h (__qaddr_t): Remove.
35667 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35668 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35670 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35671 (ucontext_t): Use __ctx with uc_flags.
35672 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35673 (__ctxt): Likewise.
35674 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35676 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35677 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35679 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35680 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35682 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35684 (ucontext_t): Use __ctx with uc_flags.
35685 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35686 (ucontext_t): Use __ctx with uc_flags.
35687 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35688 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35689 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35690 (ucontext_t): Use __ctx with uc_flags.
35691 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35692 undefine further down.
35693 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35695 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35696 undefine further down.
35697 (ucontext_t): Use __ctx with uc_flags.
35698 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35699 undefine further down.
35700 (ucontext_t): Use __ctx with uc_flags.
35701 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35702 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35703 Rename uc_pad to __glibc_reserved1.
35704 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35705 undefine further down.
35706 (ucontext_t): Use __ctx with uc_flags.
35707 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35709 (ucontext_t): Use __ctx with uc_flags.
35710 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35711 __ctx with uc_flags.
35712 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35713 (ucontext_t): Use __ctx with uc_flags.
35714 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35715 __ctx with uc_flags.
35717 2017-08-09 Florian Weimer <fweimer@redhat.com>
35720 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35721 before early return.
35723 2017-08-09 Andreas Schwab <schwab@suse.de>
35726 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35730 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35731 tst-compat-forwarder.
35732 (modules-names): Add tst-compat-forwarder-mod.
35733 ($(objpfx)tst-compat-forwarder): Depend on
35734 $(objpfx)tst-compat-forwarder-mod.so.
35735 * nptl/tst-compat-forwarder.c: New file.
35736 * nptl/tst-compat-forwarder-mod.c: New file.
35738 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35740 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35743 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35744 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35746 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35748 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35749 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35750 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35751 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35753 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35756 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35759 * manual/setjmp.texi (getcontex): Document uc_stack value
35760 compatibility differences.
35762 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35764 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35765 (old_malloc_hook): Likewise.
35766 (old_memalign_hook): Likewise.
35767 (old_realloc_hook): Likewise.
35768 (struct hdr): Likewise.
35770 (freehook): Likewise.
35771 (mallochook): Likewise.
35772 (memalignhook): Likewise.
35773 (reallochook): Likewise.
35774 (mprobe): Likewise.
35775 * malloc/mtrace.c (mallwatch): Likewise.
35776 (tr_old_free_hook): Likewise.
35777 (tr_old_malloc_hook): Likewise.
35778 (tr_old_realloc_hook): Likewise.
35779 (tr_old_memalign_hook): Likewise.
35780 (tr_where): Likewise.
35781 (lock_and_info): Likewise.
35782 (tr_freehook): Likewise.
35783 (tr_mallochook): Likewise.
35784 (tr_reallochook): Likewise.
35785 (tr_memalignhook): Likewise.
35786 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35787 * misc/mmap.c (__mmap): Likewise.
35788 * misc/mmap64.c (__mmap64): Likewise.
35789 * misc/mprotect.c (__mprotect): Likewise.
35790 * misc/msync.c (msync): Likewise.
35791 * misc/munmap.c (__munmap): Likewise.
35792 * posix/posix_madvise.c (posix_madvise): Likewise.
35793 * socket/send.c (__send): Likewise.
35794 * socket/sendto.c (__sendto): Likewise.
35795 * socket/setsockopt.c (__setsockopt): Likewise.
35796 * string/memcmp.c (__ptr_t): Remove macro.
35797 (MEMCMP): Use void * instead of ptr_t.
35798 * string/memrchr.c (__ptr_t): Remove macro.
35799 (__memrchr): Use void * instead of ptr_t.
35800 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35801 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35802 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35803 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35804 * sysdeps/mach/msync.c (msync): Likewise.
35805 * sysdeps/mach/munmap.c (__munmap): Likewise.
35806 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35808 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35809 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35810 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35811 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35812 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35813 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35814 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35815 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35817 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35818 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35819 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35820 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35821 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35822 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35823 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35824 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35825 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35827 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35828 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35829 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35830 (MEMCMP): Use void * instead of ptr_t.
35831 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35832 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35834 2017-08-08 Florian Weimer <fweimer@redhat.com>
35836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35839 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35842 * csu/libc-tls.c: Include <startup.h> first.
35843 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35844 * elf/dl-tunables.c: Include <startup.h> first.
35845 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35846 * sysdeps/generic/startup.h: New file.
35847 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35848 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35849 (I386_USE_SYSENTER): New. Defined to 0.
35851 2017-08-08 Andreas Schwab <schwab@suse.de>
35854 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35855 * nptl/pt-system.c (system): Likewise.
35857 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35860 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35862 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35863 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35864 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35865 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35866 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35867 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35868 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35870 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35873 * bits/sigaction.h (struct sigaction): Define sa_handler and
35874 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35875 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35876 [__USE_XOPEN_EXTENDED].
35877 (SA_RESTART): Likewise.
35878 (SA_NODEFER): Likewise.
35879 (SA_RESETHAND): Likewise.
35880 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35881 (struct sigaction): Define sa_handler and sa_sigaction using union
35882 also for [__USE_XOPEN_EXTENDED].
35883 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35884 [__USE_XOPEN_EXTENDED].
35885 (SA_RESTART): Likewise.
35886 (SA_NODEFER): Likewise.
35887 (SA_RESETHAND): Likewise.
35888 * sysdeps/unix/sysv/linux/bits/sigaction.h
35889 (struct sigaction): Define sa_handler and sa_sigaction using union
35890 also for [__USE_XOPEN_EXTENDED].
35891 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35892 [__USE_XOPEN_EXTENDED].
35893 (SA_RESTART): Likewise.
35894 (SA_NODEFER): Likewise.
35895 (SA_RESETHAND): Likewise.
35896 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35897 (struct sigaction): Define sa_handler and sa_sigaction using union
35898 also for [__USE_XOPEN_EXTENDED].
35899 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35900 [__USE_XOPEN_EXTENDED].
35901 (SA_RESTART): Likewise.
35902 (SA_NODEFER): Likewise.
35903 (SA_RESETHAND): Likewise.
35904 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35905 (struct sigaction): Define sa_handler and sa_sigaction using union
35906 also for [__USE_XOPEN_EXTENDED].
35907 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35908 [__USE_XOPEN_EXTENDED].
35909 (SA_RESTART): Likewise.
35910 (SA_NODEFER): Likewise.
35911 (SA_RESETHAND): Likewise.
35912 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35913 (struct sigaction): Define sa_handler and sa_sigaction using union
35914 also for [__USE_XOPEN_EXTENDED].
35915 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35916 [__USE_XOPEN_EXTENDED].
35917 (SA_RESTART): Likewise.
35918 (SA_NODEFER): Likewise.
35919 (SA_RESETHAND): Likewise.
35920 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35921 (struct sigaction): Define sa_handler and sa_sigaction using union
35922 also for [__USE_XOPEN_EXTENDED].
35923 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35924 [__USE_XOPEN_EXTENDED].
35925 (SA_RESTART): Likewise.
35926 (SA_NODEFER): Likewise.
35927 (SA_RESETHAND): Likewise.
35928 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35929 (struct sigaction): Define sa_handler and sa_sigaction using union
35930 also for [__USE_XOPEN_EXTENDED].
35931 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35932 [__USE_XOPEN_EXTENDED].
35933 (SA_RESTART): Likewise.
35934 (SA_NODEFER): Likewise. Define directly rather than as alias.
35935 (SA_RESETHAND): Likewise.
35936 (SA_INTERRUPT): Define only for [__USE_MISC].
35937 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35938 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35940 (SA_STACK): Define only for [__USE_MISC].
35941 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35942 (struct sigaction): Define sa_handler and sa_sigaction using union
35943 also for [__USE_XOPEN_EXTENDED].
35944 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35945 [__USE_XOPEN_EXTENDED].
35946 (SA_RESTART): Likewise.
35947 (SA_NODEFER): Likewise.
35948 (SA_RESETHAND): Likewise.
35949 (SA_NOPTRACE): Define only for [__USE_MISC].
35951 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35952 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35953 (struct catalog_info): Likewise.
35954 * inet/htontest.c (lo): Likewise.
35956 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35957 * inet/inet_net.c (inet_network): Likewise.
35958 * inet/inet_netof.c (inet_netof): Likewise.
35959 * inet/rcmd.c (__ivaliduser): Likewise.
35960 (iruserok): Likewise.
35961 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35962 * locale/programs/locale-spec.c (locale_special): Likewise.
35963 * nis/nis_findserv.c (struct findserv_req): Likewise.
35964 (__nis_findfastest_with_timeout): Likewise.
35965 * nss/test-netdb.c (test_network): Likewise.
35966 * resolv/inet_neta.c (inet_neta): Likewise.
35967 * resolv/ns_date.c (ns_datetosecs): Likewise.
35968 (SECS_PER_DAY): Likewise.
35969 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35971 * resolv/res_comp.c (__putlong): Likewise.
35972 (__putshort): Likewise.
35973 (_getlong): Likewise.
35974 (_getshort): Likewise.
35975 * resolv/res_debug.c (p_time): Likewise.
35976 (precsize_ntoa): Likewise.
35977 (precsize_aton): Likewise.
35978 (latlon2ul): Likewise.
35979 (loc_aton): Likewise.
35980 (loc_ntoa): Likewise.
35981 * resolv/res_hconf.c (struct netaddr): Likewise.
35982 (_res_hconf_reorder_addrs): Likewise.
35983 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35984 (clnttcp_control): Likewise.
35985 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35986 (clntudp_control): Likewise.
35987 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35988 (clntunix_control): Likewise.
35989 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35990 * sunrpc/rpc/auth.h (union des_block): Likewise.
35991 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35992 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35993 (xdrrec_create): Likewise.
35994 (xdrrec_endofrecord): Likewise.
35995 (flush_out): Likewise.
35996 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35997 (xdrstdio_putlong): Likewise.
35998 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36001 * misc/sys/cdefs.h (__long_double_t): Remove.
36002 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36003 instead of __long_double_t,
36004 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36006 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36008 * benchtests/scripts/compare_strings.py: Avoid display error when
36009 running on a text terminal.
36011 * benchtests/scripts/compare_strings.py (main): Add an
36012 optional -base option.
36013 (process_results): New argument base_func.
36015 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36017 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36018 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36020 2017-08-07 Andreas Schwab <schwab@suse.de>
36022 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36023 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36024 * intl/Makefile ($(objpfx)tst-gettext.out)
36025 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36026 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36027 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36028 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36029 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36030 * posix/Makefile ($(objpfx)globtest.out)
36031 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36032 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36033 ($(objpfx)tst-printf.out): Likewise.
36034 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36035 ($(objpfx)tst-setcontext3.out): Likewise.
36037 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36039 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36040 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
36041 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
36042 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
36043 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36045 (CFLAGS-doasin-fma.c): New.
36046 (CFLAGS-dosincos-fma.c): Likewise.
36047 (CFLAGS-e_asin-fma.c): Likewise.
36048 (CFLAGS-e_atan2-fma.c): Likewise.
36049 (CFLAGS-e_exp-fma.c): Likewise.
36050 (CFLAGS-e_log-fma.c): Likewise.
36051 (CFLAGS-e_pow-fma.c): Likewise.
36052 (CFLAGS-halfulp-fma.c): Likewise.
36053 (CFLAGS-mpa-fma.c): Likewise.
36054 (CFLAGS-mpatan-fma.c): Likewise.
36055 (CFLAGS-mpatan2-fma.c): Likewise.
36056 (CFLAGS-mpexp-fma.c): Likewise.
36057 (CFLAGS-mplog-fma.c): Likewise.
36058 (CFLAGS-mpsqrt-fma.c): Likewise.
36059 (CFLAGS-mptan-fma.c): Likewise.
36060 (CFLAGS-s_atan-fma.c): Likewise.
36061 (CFLAGS-sincos32-fma.c): Likewise.
36062 (CFLAGS-slowexp-fma.c): Likewise.
36063 (CFLAGS-slowpow-fma.c): Likewise.
36064 (CFLAGS-s_sin-fma.c): Likewise.
36065 (CFLAGS-s_tan-fma.c): Likewise.
36066 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
36067 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
36068 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
36069 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
36070 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
36071 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
36072 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
36073 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
36074 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
36075 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
36076 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
36077 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
36078 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
36079 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
36080 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
36081 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
36082 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
36083 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
36084 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
36085 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
36086 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
36087 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
36088 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
36089 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
36090 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36091 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36092 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36093 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
36094 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36095 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36096 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36098 2017-08-04 Joseph Myers <joseph@codesourcery.com>
36100 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
36101 (min_of_type_f): New macro.
36102 (min_of_type_): Likewise.
36103 (min_of_type_l): Likewise.
36104 (min_of_type_f128): Likewise.
36105 (min_of_type): Define using __MATH_TG and taking an expression
36107 (math_check_force_underflow): Pass expression instead of type to
36109 (math_check_force_underflow_nonneg): Likewise.
36111 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36113 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36114 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
36115 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
36117 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36120 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
36121 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
36122 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
36123 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
36124 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
36125 memcpy_chk-nonshared, mempcpy_chk-nonshared,
36126 memmove_chk-nonshared and memset_chk-nonshared
36127 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
36128 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
36129 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
36130 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
36131 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
36132 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
36133 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
36134 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
36135 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
36136 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
36137 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
36138 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
36139 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
36140 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
36141 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
36142 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
36143 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
36144 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
36145 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
36146 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
36147 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
36148 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
36149 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
36150 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
36151 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
36152 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
36153 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
36154 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
36155 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
36156 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
36157 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
36158 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
36159 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
36160 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36161 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36162 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
36163 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
36164 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
36165 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
36166 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
36167 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
36168 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
36169 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
36170 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
36171 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
36172 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
36173 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
36174 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
36175 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
36176 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
36177 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
36178 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
36179 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
36180 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
36181 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
36182 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
36183 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
36184 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
36185 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
36186 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
36187 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
36188 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
36189 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
36190 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
36191 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
36192 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
36193 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
36194 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
36195 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
36196 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
36197 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
36198 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36199 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36200 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36201 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36202 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36203 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36204 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36205 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36206 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36207 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36208 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36209 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36210 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36211 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36212 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36213 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36214 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36215 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36216 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36217 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36218 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36219 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36220 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36221 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36222 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36223 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36224 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36225 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36226 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36227 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36228 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36229 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36230 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36231 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36232 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36233 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36234 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36238 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
36239 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
36240 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
36241 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
36242 svml_d_log2_core-sse2, svml_d_log4_core-sse,
36243 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
36244 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
36245 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
36246 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
36247 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
36248 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
36249 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
36250 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
36251 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
36252 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
36253 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
36254 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
36255 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
36256 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
36257 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
36258 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
36259 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36260 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36261 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36262 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36263 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36264 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36265 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36266 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36267 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36268 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36269 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36270 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36271 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36272 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36273 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36276 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36278 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36279 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36280 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36281 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36282 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36283 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36284 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36285 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36286 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36287 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36288 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36289 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36290 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36291 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36292 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36293 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36294 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36295 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36296 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36298 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36299 Don't include <sysdep.h> nor <init-arch.h>.
36300 (_ZGVbN2v_cos): Removed.
36301 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36303 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36304 Don't include <sysdep.h> nor <init-arch.h>.
36305 (_ZGVdN4v_cos): Removed.
36306 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36308 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36309 Don't include <sysdep.h> nor <init-arch.h>.
36310 (_ZGVeN8v_cos): Removed.
36311 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36313 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36314 Don't include <sysdep.h> nor <init-arch.h>.
36315 (_ZGVbN2v_exp): Removed.
36316 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36318 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36319 Don't include <sysdep.h> nor <init-arch.h>.
36320 (_ZGVdN4v_exp): Removed.
36321 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36323 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36324 Don't include <sysdep.h> nor <init-arch.h>.
36325 (_ZGVeN8v_exp): Removed.
36326 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36328 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36329 Don't include <sysdep.h> nor <init-arch.h>.
36330 (_ZGVbN2v_log): Removed.
36331 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36333 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36334 Don't include <sysdep.h> nor <init-arch.h>.
36335 (_ZGVdN4v_log): Removed.
36336 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36338 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36339 Don't include <sysdep.h> nor <init-arch.h>.
36340 (_ZGVeN8v_log): Removed.
36341 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36343 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36344 Don't include <sysdep.h> nor <init-arch.h>.
36345 (_ZGVbN2vv_pow): Removed.
36346 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36348 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36349 Don't include <sysdep.h> nor <init-arch.h>.
36350 (_ZGVdN4vv_pow): Removed.
36351 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36353 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36354 Don't include <sysdep.h> nor <init-arch.h>.
36355 (_ZGVeN8vv_pow): Removed.
36356 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36358 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36359 Don't include <sysdep.h> nor <init-arch.h>.
36360 (_ZGVbN2v_sin): Removed.
36361 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36363 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36364 Don't include <sysdep.h> nor <init-arch.h>.
36365 (_ZGVbN4v_sin): Removed.
36366 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36369 Don't include <sysdep.h> nor <init-arch.h>.
36370 (_ZGVbN8v_sin): Removed.
36371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36373 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36374 Don't include <sysdep.h> nor <init-arch.h>.
36375 (_ZGVbN2vvv_sincos): Removed.
36376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36378 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36379 Don't include <sysdep.h> nor <init-arch.h>.
36380 (_ZGVdN4vvv_sincos): Removed.
36381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36384 Don't include <sysdep.h> nor <init-arch.h>.
36385 (_ZGVeN8vvv_sincos): Removed.
36386 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36388 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36389 Don't include <sysdep.h> nor <init-arch.h>.
36390 (_ZGVeN16v_cosf): Removed.
36391 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36393 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36394 Don't include <sysdep.h> nor <init-arch.h>.
36395 (_ZGVbN4v_cosf): Removed.
36396 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36398 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36399 Don't include <sysdep.h> nor <init-arch.h>.
36400 (_ZGVdN8v_cosf): Removed.
36401 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36403 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36404 Don't include <sysdep.h> nor <init-arch.h>.
36405 (_ZGVeN16v_expf): Removed.
36406 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36408 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36409 Don't include <sysdep.h> nor <init-arch.h>.
36410 (_ZGVbN4v_expf): Removed.
36411 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36413 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36414 Don't include <sysdep.h> nor <init-arch.h>.
36415 (_ZGVdN8v_expf): Removed.
36416 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36418 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36419 Don't include <sysdep.h> nor <init-arch.h>.
36420 (_ZGVeN16v_logf): Removed.
36421 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36423 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36424 Don't include <sysdep.h> nor <init-arch.h>.
36425 (_ZGVbN4v_logf): Removed.
36426 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36428 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36429 Don't include <sysdep.h> nor <init-arch.h>.
36430 (_ZGVdN8v_logf): Removed.
36431 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36433 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36434 Don't include <sysdep.h> nor <init-arch.h>.
36435 (_ZGVeN16vv_powf): Removed.
36436 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36438 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36439 Don't include <sysdep.h> nor <init-arch.h>.
36440 (_ZGVbN4vv_powf): Removed.
36441 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36443 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36444 Don't include <sysdep.h> nor <init-arch.h>.
36445 (_ZGVdN8vv_powf): Removed.
36446 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36448 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36449 Don't include <sysdep.h> nor <init-arch.h>.
36450 (_ZGVeN16vvv_sincosf): Removed.
36451 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36453 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36454 Don't include <sysdep.h> nor <init-arch.h>.
36455 (_ZGVbN4vvv_sincosf): Removed.
36456 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36459 Don't include <sysdep.h> nor <init-arch.h>.
36460 (_ZGVdN8vvv_sincosf): Removed.
36461 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36463 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36464 Don't include <sysdep.h> nor <init-arch.h>.
36465 (_ZGVeN16v_sinf): Removed.
36466 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36468 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36469 Don't include <sysdep.h> nor <init-arch.h>.
36470 (_ZGVbN4v_sinf): Removed.
36471 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36473 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36474 Don't include <sysdep.h> nor <init-arch.h>.
36475 (_ZGVdN8v_sinf): Removed.
36477 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36479 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36480 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36481 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36482 s_rint-sse4_1 and s_rintf-sse4_1.
36483 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36484 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36485 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36486 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36487 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36488 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36489 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36490 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36491 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36492 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36493 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36494 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36496 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36497 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36498 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36499 (__ceilf): Removed.
36500 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36501 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36502 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36503 (__floor): Removed.
36504 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36505 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36506 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36507 (__floorf): Removed.
36508 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36509 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36510 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36511 (__nearbyint): Removed.
36512 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36513 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36514 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36515 (__nearbyintf): Removed.
36516 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36517 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36518 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36520 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36521 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36522 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36523 (__rintf): Removed.
36525 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36527 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36528 SHARED. Avoid dynamic relocation against main in static PIE.
36530 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36533 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36534 (LDFLAGS-tst-prelink): Likewise.
36536 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36538 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36539 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36540 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36541 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36542 (INTERNAL_SYSCALL_NCS): Likewise.
36543 (LOADARGS_1): Likewise.
36544 (LOADARGS_5): Likewise.
36545 (RESTOREARGS_1): Likewise.
36546 (RESTOREARGS_5): Likewise.
36548 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36550 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36551 (MEMPCPY_SYMBOL): Likewise.
36552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36553 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36556 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36557 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36559 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36560 (__hidden_ver1): Don't use in libc.a.
36561 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36562 (__mempcpy): Don't create a weak alias in libc.a.
36563 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36565 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36566 (__hidden_ver1): Don't use in libc.a.
36568 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36570 * config.make.in (have-insert): New.
36571 * configure.ac (libc_cv_insert): New. Set to yes if linker
36572 supports INSERT in linker script.
36573 (AC_SUBST(libc_cv_insert): New.
36574 * configure: Regenerated.
36575 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36576 if $(have-insert) == yes.
36578 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36580 * elf/Makefile (tests): Add vismain only if
36581 $(have-protected-data) == yes.
36582 (tests-pie): Likewise.
36584 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36587 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36588 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36590 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36593 * sysdeps/i386/i586/memset.S
36594 (__memset_zero_constant_len_parameter): Removed.
36595 * sysdeps/i386/i686/memset.S
36596 (__memset_zero_constant_len_parameter): Likewise.
36597 * sysdeps/i386/i686/multiarch/memset_chk.S
36598 (__memset_zero_constant_len_parameter): Likewise.
36599 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36602 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36604 * stdlib/getentropy.c (getentropy): Change return type to int.
36606 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36608 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36610 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36612 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36614 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36615 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36617 (ieee_float_shape_type): Likewise.
36618 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36619 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36620 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36621 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36622 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36623 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36624 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36625 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36626 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36628 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36629 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36630 (__ieee754_yn): Likewise.
36631 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36632 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36633 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36635 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36636 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36637 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36638 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36639 (__erfc): Likewise.
36640 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36641 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36642 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36643 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36644 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36645 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36647 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36648 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36649 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36650 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36651 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36652 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36653 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36654 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36655 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36656 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36657 (__issignaling): Likewise.
36658 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36659 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36660 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36662 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36663 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36664 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36665 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36667 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36669 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36670 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36671 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36672 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36673 (__erfcf): Likewise.
36674 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36675 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36676 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36677 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36679 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36680 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36682 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36683 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36684 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36685 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36686 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36687 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36688 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36689 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36691 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36693 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36695 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36696 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36698 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36700 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36701 (__ieee754_ynl): Likewise.
36702 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36703 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36705 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36707 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36708 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36709 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36711 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36712 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36713 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36714 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36715 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36716 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36717 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36718 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36720 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36721 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36722 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36724 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36725 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36726 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36727 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36728 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36731 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36733 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36735 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36737 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36738 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36739 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36740 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36741 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36742 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36743 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36745 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36748 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36750 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36751 (__ieee754_remainderl): Likewise.
36752 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36753 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36757 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36760 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36761 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36762 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36763 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36764 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36765 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36767 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36768 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36769 (__ieee754_y0l): Likewise.
36772 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36773 (__ieee754_y1l): Likewise.
36776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36777 (__ieee754_ynl): Likewise.
36778 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36779 (__ieee754_lgammal_r): Likewise.
36780 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36782 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36783 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36784 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36785 (__erfcl): Likewise.
36786 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36787 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36789 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36790 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36791 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36792 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36793 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36794 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36795 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36797 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36798 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36799 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36800 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36801 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36803 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36804 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36806 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36807 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36808 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36809 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36810 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36812 2017-08-03 Florian Weimer <fweimer@redhat.com>
36815 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36816 on memory allocation failure.
36818 2017-08-03 Alan Modra <amodra@gmail.com>
36820 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36821 tst-tlsopt-powerpc.c with function name change and no test harness.
36822 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36823 Call tls_get_addr_opt_test.
36824 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36825 (modules-names): Add mod-tlsopt-powerpc.
36826 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36827 (tst-tlsopt-powerpc): Depend on .so.
36828 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36829 define. Expand use in TLS_GD and TLS_LD.
36831 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36833 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36835 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36837 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36840 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36841 comparing size with that of double.
36842 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36843 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36844 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36845 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36846 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36847 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36848 unsigned __int128 types.
36850 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36852 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36853 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36854 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36855 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36856 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36858 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36860 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36862 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36866 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36867 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36868 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36869 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36870 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36871 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36872 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36874 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36877 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36878 bit-field expressions passed to sizeof or typeof.
36879 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36880 (__TGMATH_F128): Likewise.
36881 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36882 (__TGMATH_CF128): Likewise.
36883 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36884 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36885 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36886 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36887 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36888 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36889 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36890 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36891 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36892 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36893 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36894 (__TGMATH_UNARY_IMAG): Likewise.
36895 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36896 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36897 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36899 (define_vars_for_type): Handle bit_field type specially.
36900 (Tests.__init__): Declare structure with bit-field element.
36902 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36905 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36906 (MEMCPY_CHK): Define only if SHARED is defined.
36907 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36909 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36912 See ChangeLog.18 for earlier changes.