1 2019-08-09 DJ Delorie <dj@redhat.com>
3 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
4 * manual/tunables.texi: Document it.
5 * malloc/malloc.c (do_set_mxfast): New.
6 (__libc_mallopt): Call it.
7 * malloc/arena.c: Add mxfast tunable.
8 * malloc/tst-mxfast.c: New.
9 * malloc/Makefile: Add it.
11 2019-08-08 Niklas Hambüchen <mail@nh2.me>
12 Carlos O'Donell <carlos@redhat.com>
15 * malloc/malloc.c (__malloc_info): Account for top chunk.
17 2019-08-07 Joseph Myers <joseph@codesourcery.com>
19 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
20 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
22 2019-08-06 Joseph Myers <joseph@codesourcery.com>
24 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
26 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
28 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
30 2019-08-05 Joseph Myers <joseph@codesourcery.com>
32 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
35 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
40 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
42 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
44 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
46 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
47 (ALWAYS_USE_VSYSCALL): Likewise.
48 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
49 (ALWAYS_USE_VSYSCALL): Likewise.
50 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51 (ALWAYS_USE_VSYSCALL): Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53 (ALWAYS_USE_VSYSCALL): Likewise.
54 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
56 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57 (ALWAYS_USE_VSYSCALL): Likewise.
58 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59 (ALWAYS_USE_VSYSCALL): Likewise.
60 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
62 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
64 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
65 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
66 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
67 USE_VSYSCALL): Remove defitions.
70 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
71 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
72 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
76 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
77 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
78 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79 (ALWAYS_USE_VSYSCALL): Define.
80 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81 (ALWAYS_USE_VSYSCALL): Likewise.
84 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
85 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
86 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
89 * sysdeps/sh/libm-test-ulps: Update.
91 2019-08-05 Florian Weimer <fweimer@redhat.com>
94 * login/uptmp-private.h (struct ufuncs): Remove definition.
95 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
96 (__libc_utmp_jump_table): Remove declarations.
97 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
98 (__libc_getutline_r, __libc_pututline, __libc_endutent)
99 (__libc_updwtmp): Declare.
100 * login/getutent_r.c (__libc_utmp_unknown_functions)
101 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
102 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
103 (endutent_unknown): Remove definitions.
104 (__setutent): Call __libc_setutent.
105 (__getutent_r): Call __libc_getutent_r.
106 (__pututline): Call __libc_pututline.
107 (__endutent): Call __libc_endutent.
108 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
109 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
110 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
111 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
112 (__libc_setutent): Rename from stetutent_file. Drop static.
113 (maybe_setutent): New function.
114 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
115 Check for initialization.
116 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
117 Check for initialization.
118 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
119 Check for initialization.
120 (__libc_pututline): Rename from pututline_file. Drop static.
121 Check for initialization.
122 (__libc_endutent): Rename from endutent_file. Drop static. Check
124 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
125 * login/utmpname.c (__utmpname): Call __libc_endutent.
126 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
127 __libc_getutlien_r, __libc_endutent.
128 * manual/users.texi (Who Logged In, Manipulating the Database):
131 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
133 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
135 2019-08-02 Joseph Myers <joseph@codesourcery.com>
137 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
139 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
140 kernel version number to 5.2.
142 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
144 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
145 mnemonics and set .machine power8.
146 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
147 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
148 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
149 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
150 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
151 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
152 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
153 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
154 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
155 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
157 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
159 * sysdeps/hppa/fpu/libm-test-ulps: Update.
161 2019-08-01 Florian Weimer <fweimer@redhat.com>
164 * malloc/malloc.c (__malloc_info): Remove unwanted leading
167 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
170 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
173 2019-08-01 Carlos O'Donell <carlos@redhat.com>
175 * version.h (RELEASE): Set to "stable".
176 (VERSION): Set to "2.30".
177 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
179 * manual/install.texi: Update component versions.
180 * INSTALL: Regenerate.
183 2019-07-31 Carlos O'Donell <carlos@redhat.com>
185 * po/be.po: Update translations.
186 * po/bg.po: Likewise.
187 * po/ca.po: Likewise.
188 * po/cs.po: Likewise.
189 * po/da.po: Likewise.
190 * po/de.po: Likewise.
191 * po/el.po: Likewise.
192 * po/eo.po: Likewise.
193 * po/es.po: Likewise.
194 * po/fi.po: Likewise.
195 * po/fr.po: Likewise.
196 * po/gl.po: Likewise.
197 * po/hr.po: Likewise.
198 * po/hu.po: Likewise.
199 * po/ia.po: Likewise.
200 * po/id.po: Likewise.
201 * po/it.po: Likewise.
202 * po/ja.po: Likewise.
203 * po/ko.po: Likewise.
204 * po/lt.po: Likewise.
205 * po/nb.po: Likewise.
206 * po/nl.po: Likewise.
207 * po/pl.po: Likewise.
208 * po/pt_BR.po: Likewise.
209 * po/ru.po: Likewise.
210 * po/rw.po: Likewise.
211 * po/sk.po: Likewise.
212 * po/sl.po: Likewise.
213 * po/sv.po: Likewise.
214 * po/tr.po: Likewise.
215 * po/uk.po: Likewise.
216 * po/vi.po: Likewise.
217 * po/zh_CN.po: Likewise.
218 * po/zh_TW.po: Likewise.
220 2019-07-31 Florian Weimer <fweimer@redhat.com>
224 iconv, libio: Revert reference counting changes.
225 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
226 free the steps array.
227 * libio/Makefile (tests): Remove tst-wfile-gconv.
228 (tests-container): Do not add tst-wfile-ascii.
229 (tst-wfile-gconv-ENV): Do not set.
230 (generated): Do not add tst-wfile-gconv.mtrace,
231 tst-wfile-gconv.check.
232 [($run-built-tests)] (tests-special): Do not add
233 tst-wfile-gconv-mem.out.
234 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
235 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
236 instead of __wcsmbs_clone_conv.
237 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
238 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
240 2019-07-30 Joseph Myers <joseph@codesourcery.com>
242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
243 (__CONTEXT_FUNC_NAME): Restore setting of r31.
245 2019-07-30 Florian Weimer <fweimer@redhat.com>
247 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
248 type to uintptr_t. Update comment.
249 (check_stack_top): Adjust.
251 2019-07-29 Florian Weimer <fweimer@redhat.com>
253 Linux: Move declaration of getdents64 to <dirent.h>.
254 * bits/dirent_ext.h: New file.
255 * dirent/Makefile (headers): Add bits/dirent_ext.h.
256 * dirent/dirent.h: Include <bits/dirent_ext.h>.
257 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
258 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
260 * manual/filesys.texi (Low-level Directory Access): Update header
263 2019-07-29 DJ Delorie <dj@redhat.com>
264 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
267 * Makeconfig (all-subdirs): Improved source comments.
268 * Makefile (testroot.pristine/install.stamp): Pass
269 subdirs='$(sorted-subdirs)' to make install.
271 2019-07-25 Florian Weimer <fweimer@redhat.com>
274 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
275 counter before freeing array.
277 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
280 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
282 * sysdeps/x86_64/configure: Regenerated.
283 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
284 to -mprefer-vector-width=128 if supported.
286 2019-07-24 Florian Weimer <fweimer@redhat.com>
288 * scripts/build-many-glibcs.py (Context.checkout): Default to
291 2019-07-24 Florian Weimer <fweimer@redhat.com>
294 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
295 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
296 (sysdep_headers): Add bits/socket-constants.h.
297 (tests-special): Add tst-socket-consts.out.
298 (tst-socket-consts.out): New target.
299 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
300 around <asm/unistd.h>.
301 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
302 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
304 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
305 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
306 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
307 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
308 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
309 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
311 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
313 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
316 * Makefile (testroot.pristine/install.stamp): Pass
317 subdirs='$(all-subdirs)' to make install.
319 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
320 the same arguments used in all tests.
322 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
324 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
326 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
329 * locale/C-translit.h.in: Add Cyrillic transliteration.
331 2019-07-19 Florian Weimer <fweimer@redhat.com>
333 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
335 (fsconfig): Add system call name.
339 (move_mount): Likewise.
340 (open_tree): Likewise.
342 2019-07-18 Carlos O'Donell <carlos@redhat.com>
344 * po/libc.pot: Regenerate.
346 2019-07-18 Mike Crowe <mac@mcrowe.com>
348 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
349 functions recently added to sysdeps/nptl/pthread.h:
350 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
351 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
353 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
354 pthread_cond_clockwait forwarding functions. There are no internal
355 users, so it is unnecessary to expose these functions in libc.so.
356 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
357 unnecessary ptr___pthread_cond_clockwait member.
358 * nptl/nptl-init.c (pthread_functions): Remove assignment of
361 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
364 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
365 begin with an uppercase letter now.
367 (mon): Update from CLDR, reword February from "Kudo" to
368 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
369 and August from "Liiqen" to "Leqeeni".
370 * localedata/locales/aa_ER (mon): Update from CLDR, reword
371 April from "Agda Baxisso" to "Agda Baxis" and August from
372 "Leqeeni" to "Liiqen".
373 * localedata/locales/aa_ER@saaho (mon): Likewise.
374 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
375 abbreviated February from "Kud" to "Nah".
376 (mon): Update from CLDR, reword February from "Kudo" to
377 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
379 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
382 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
384 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
387 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
388 name_mrs, name_miss, and name_ms.
389 * localedata/locales/nl_NL (LC_NAME): Likewise.
391 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
394 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
395 * localedata/locales/en_IE (first_weekday): Likewise.
397 2019-07-12 Mike Crowe <mac@mcrowe.com>
399 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
400 that is only useful if futex_supports_exact_relative_timeouts ()
402 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
404 * sysdeps/nptl/futex-internal.h: Remove comment about relative
405 timeouts potentially being imprecise since it's no longer true.
406 Remove declaration of futex_supports_exact_relative_timeouts.
407 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
408 of futex_supports_exact_relative_timeouts.
410 * NEWS: Mention recently-added pthread_cond_clockwait,
411 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
412 sem_clockwait functions.
414 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
415 works like pthread_mutex_timedlock but takes a clockid parameter to
416 measure the abstime parameter against.
417 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
418 * nptl/DESIGN-systemtap-probes.txt: Likewise.
419 * nptl/pthread_mutex_timedlock.c
420 (__pthread_mutex_clocklock_common): Rename from
421 __pthread_mutex_timedlock and add clockid parameter. Pass this
422 parameter to lll_clocklock and lll_clocklock_elision in place of
423 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
424 LIBC_PROBE and validate clockid parameter before calling
425 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
426 implementation to add LIBC_PROBE and calls
427 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
429 * nptl/Makefile: Add tst-mutex11.c.
430 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
431 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
432 clockid parameters to pthread_mutex_clocklock.
433 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
434 clockid parameter to indicate which clock to be used. Call
435 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
436 (do_test): Call do_test_clock to separately test
437 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
438 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
439 * nptl/tst-mutex9.c: Likewise.
440 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
441 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
443 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
445 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
447 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
449 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
451 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
453 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
455 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
456 (GLIBC_2.30): Likewise.
457 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
458 (GLIBC_2.30): Likewise.
459 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
460 (GLIBC_2.30): Likewise.
461 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
462 (GLIBC_2.30): Likewise.
463 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
464 (GLIBC_2.30): Likewise.
465 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
468 (GLIBC_2.30): Likewise.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
470 (GLIBC_2.30): Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
472 (GLIBC_2.30): Likewise.
473 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
474 (GLIBC_2.30): Likewise.
475 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
476 (GLIBC_2.30): Likewise.
477 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
478 (GLIBC_2.30): Likewise.
479 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
481 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
482 (GLIBC_2.30): Likewise.
483 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
484 (GLIBC_2.30): Likewise.
485 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
486 (GLIBC_2.30): Likewise.
487 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
488 (GLIBC_2.30): Likewise.
490 nptl: Rename lll_timedlock to lll_clocklock and add clockid
491 parameter to indicate the clock that the abstime parameter should
492 be measured against in preparation for adding
493 pthread_mutex_clocklock.
494 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
495 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
496 from __lll_timedlock and add clockid parameter.
497 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
499 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
500 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
501 rather than __gettimeofday so that clockid can be used. This means
502 that conversion from struct timeval is no longer required.
503 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
505 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
506 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
507 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
508 from lll_timedlock_elision, add clockid parameter and use
509 meaningful names for other parameters. (__pthread_mutex_timedlock):
510 Pass CLOCK_REALTIME where necessary to lll_clocklock and
511 lll_clocklock_elision.
512 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
513 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
514 clockid parameter. (__lll_clocklock_elision): Rename from
515 __lll_timedlock_elision and add clockid parameter.
516 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
517 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
518 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
519 (__lll_lock_elision): Call __lll_clocklock_elision rather than
520 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
521 (LLL_LOCK): Likewise.
522 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
523 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
525 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
526 pthread_rwlock_clockwrlock which behave like
527 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
528 respectively, except they always measure abstime against the
529 supplied clockid. The functions currently support CLOCK_REALTIME
530 and CLOCK_MONOTONIC and return EINVAL if any other clock is
532 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
533 pthread_wrlock_clockwrlock.
534 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
535 pthread_rwlock_clockwrlock.c.
536 * nptl/pthread_rwlock_clockrdlock.c: Implement
537 pthread_rwlock_clockrdlock.
538 * nptl/pthread_rwlock_clockwrlock.c: Implement
539 pthread_rwlock_clockwrlock.
540 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
541 clockid parameter and verify that it indicates a supported clock on
542 entry so that we fail even if it doesn't end up being used. Pass
543 that clock on to futex_abstimed_wait when necessary.
544 (__pthread_rwlock_wrlock_full): Likewise.
545 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
546 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
547 be used because there's no timeout.
548 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
549 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
550 be used because there is no timeout.
551 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
552 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
554 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
555 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
557 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
558 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
559 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
560 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
561 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
562 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
563 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
564 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
565 (GLIBC_2.30): Likewise.
566 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
567 (GLIBC_2.30): Likewise.
568 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
569 (GLIBC_2.30): Likewise.
570 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
571 (GLIBC_2.30): Likewise.
572 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
573 (GLIBC_2.30): Likewise.
574 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
576 (GLIBC_2.30): Likewise.
577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
578 (GLIBC_2.30): Likewise.
579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
580 (GLIBC_2.30): Likewise.
581 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
582 (GLIBC_2.30): Likewise.
583 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
584 (GLIBC_2.30): Likewise.
585 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
586 (GLIBC_2.30): Likewise.
587 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
588 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
589 (GLIBC_2.30): Likewise.
590 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
591 (GLIBC_2.30): Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
593 (GLIBC_2.30): Likewise.
594 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
595 (GLIBC_2.30): Likewise.
596 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
597 pthread_rwlock_clockwrlock timeout tests to match the existing
598 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
599 * nptl/tst-rwlock14.c (do_test): Likewise.
600 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
601 ancillary output throughout. (tf): Accept thread_args structure so
602 that rwlock, a clockid and function name can be passed to the
603 thread. (do_test_clock): Rename from do_test. Accept clockid
604 parameter to specify test clock. Use the magic clockid value of
605 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
606 pthread_rwlock_timedwrlock should be tested, otherwise pass the
607 specified clockid to pthread_rwlock_clockrdlock and
608 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
609 (do_test): Call do_test_clock to test each clockid in turn.
610 * nptl/tst-rwlock7.c: Likewise.
611 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
612 thread_args structure so that the (now int) thread number, the
613 clockid and the function name can be passed to the thread.
614 (do_test_clock): Renamed from do_test. Pass the necessary
615 thread_args when creating the reader and writer threads. Use
616 xpthread_create and xpthread_join.
617 (do_test): Call do_test_clock to test each clockid in turn.
618 * manual/threads.texi: Add documentation for
619 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
621 nptl: pthread_rwlock: Move timeout validation into _full functions
622 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
623 Check validity of abstime parameter.
624 (__pthread_rwlock_rwlock_full): Likewise.
625 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
626 Remove check for validity of abstime parameter.
627 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
630 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
631 like pthread_cond_timedwait except it always measures abstime
632 against the supplied clockid.
633 * nptl/Makefile: Add tst-cond26 and tst-cond27
634 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
635 * sysdeps/nptl/pthread.h: Likewise
636 * nptl/forward.c: Add __pthread_cond_clockwait
637 * nptl/forward.c: Likewise
638 * nptl/pthreadP.h: Likewise
639 * sysdeps/nptl/pthread-functions.h: Likewise
640 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
641 clockid parameter and comment describing why we don't need to check
642 its value. Use that value when calling
643 futex_abstimed_wait_cancelable rather than reading the clock from
644 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
645 (__pthread_cond_timedwait): Read clock from flags and pass it to
646 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
647 function with weak alias from pthread_cond_clockwait.
648 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
649 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
650 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
651 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
652 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
653 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
654 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
655 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
656 (GLIBC_2.30): Likewise.
657 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
658 (GLIBC_2.30): Likewise.
659 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
660 (GLIBC_2.30): Likewise.
661 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
662 (GLIBC_2.30): Likewise.
663 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
664 (GLIBC_2.30): Likewise.
665 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
667 (GLIBC_2.30): Likewise.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
669 (GLIBC_2.30): Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
671 (GLIBC_2.30): Likewise.
672 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
673 (GLIBC_2.30): Likewise.
674 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
675 (GLIBC_2.30): Likewise.
676 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
677 (GLIBC_2.30): Likewise.
678 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
679 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
680 (GLIBC_2.30): Likewise.
681 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
682 (GLIBC_2.30): Likewise.
683 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
684 (GLIBC_2.30): Likewise.
685 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
686 (GLIBC_2.30): Likewise.
687 * nptl/tst-cond11.c (run_test): Support testing
688 pthread_cond_clockwait too by using a special magic
689 CLOCK_USE_ATTR_CLOCK value to determine whether to call
690 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
691 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
692 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
693 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
694 clocks to pthread_cond_clockwait.
695 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
696 struct timespec and pthread_cond_clockwait.
697 * manual/threads.texi: Document pthread_cond_clockwait.
699 nptl: Add POSIX-proposed sem_clockwait which behaves just like
700 sem_timedwait, but measures abstime against the specified clock.
701 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
702 clockid parameters to indicate the clock which abstime should be
704 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
705 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
707 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
709 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
710 sem_clockwait.c to match those used for sem_timedwait.c.
711 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
712 * nptl/Versions (GLIBC_2.30): Likewise.
713 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
714 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
715 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
716 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
717 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
718 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
719 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
720 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
721 (GLIBC_2.30): Likewise.
722 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
723 (GLIBC_2.30): Likewise.
724 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
725 (GLIBC_2.30): Likewise.
726 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
727 (GLIBC_2.30): Likewise.
728 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
729 (GLIBC_2.30): Likewise.
730 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
732 (GLIBC_2.30): Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
734 (GLIBC_2.30): Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
736 (GLIBC_2.30): Likewise.
737 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
738 (GLIBC_2.30): Likewise.
739 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
740 (GLIBC_2.30): Likewise.
741 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
742 (GLIBC_2.30): Likewise.
743 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
744 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
745 (GLIBC_2.30): Likewise.
746 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
747 (GLIBC_2.30): Likewise.
748 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
749 (GLIBC_2.30): Likewise.
750 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
751 (GLIBC_2.30): Likewise.
752 * nptl/tst-sem17.c: Add new test for passing invalid clock to
754 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
755 tests to also test sem_clockwait.
756 * manual/threads.texi: Document sem_clockwait.
758 nptl: Add clockid parameter to futex timed wait calls
759 * sysdeps/nptl/lowlevellock-futex.h,
760 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
761 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
762 takes a clockid rather than a special clockbit.
763 * sysdeps/nptl/lowlevellock-futex.h: Add
764 lll_futex_supported_clockid so that client functions can check
765 whether their clockid parameter is valid even if they don't
766 ultimately end up calling lll_futex_clock_wait_bitset.
767 * sysdeps/nptl/futex-internal.h,
768 sysdeps/unix/sysv/linux/futex-internal.h
769 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
770 clockid_t parameter to indicate which clock the absolute time
771 passed should be measured against. Pass that clockid onto
772 lll_futex_clock_wait_bitset. Add invalid clock as reason for
774 * sysdeps/nptl/futex-internal.h,
775 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
776 futex_abstimed_supported_clockid so that client functions can check
777 whether their clockid parameter is valid even if they don't
778 ultimately end up calling futex_abstimed_wait.
779 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
780 code to calculate relative timeout for
781 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
782 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
783 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
784 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
785 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
786 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
787 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
789 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
792 * posix/tst-mmap-offset.c: Mention BZ #24699.
793 (do_test_bz21270): Rename to do_test_large_offset and use
794 mmap64_maximum_offset to check for maximum expected offset value.
795 * sysdeps/generic/mmap_info.h: New file.
796 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
797 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
800 2019-07-10 DJ Delorie <dj@redhat.com>
801 Sergei Trofimovich <slyfox@inbox.ru>
805 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
807 * nss/tst-nss-db-endgrent.c: New.
808 * nss/tst-nss-db-endgrent.root: New.
809 * nss/tst-nss-db-endpwent.c: New.
810 * nss/tst-nss-db-endpwent.root: New.
811 * nss/Makefile: Add new tests.
812 * support/links-dso-program-c.c: Add selinux dependency.
813 * support/links-dso-program.cc: Add selinux dependency.
814 * support/Makefile: Build those with -lselinux if enabled.
816 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
818 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
819 DT_AARCH64_VARIANT_PCS check.
820 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
821 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
824 2019-07-10 Andreas Schwab <schwab@suse.de>
827 * malloc/malloc.h (__malloc_check_init): Don't declare.
828 * include/malloc.h (__malloc_check_init): Likewise.
829 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
830 * manual/memory.texi (__malloc_check_init): Don't mention it.
832 2019-07-10 Mao Han <han_mao@c-sky.com>
834 * locale/Makefile: Fix tst-locale-locpath arguments passing.
836 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
838 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
839 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
841 2019-07-08 DJ Delorie <dj@redhat.com>
844 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
845 * io/tst-ftw-lnk.c: New test.
846 * io/Makefile: Run it.
848 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
850 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
851 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
852 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
853 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
854 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
855 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
857 Adjust implementation path.
858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
859 Adjust implementation path.
860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
861 Adjust implementation path.
862 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
863 (libm-sysdep_routines): Add s_log* objects.
864 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
865 CFLAGS-s_logb-power7.c): New fule.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
868 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
872 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
875 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
878 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
882 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
885 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
888 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
892 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
895 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
897 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
898 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
899 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
902 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
903 powerpc32 integer 0 converting to -0.
905 * benchtests/Makefile (bench-math): Add logb.
906 * benchtests/logb-inputs: New file.
907 * benchtests/logbf-inputs: New file.
909 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
910 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
911 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
912 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
917 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
918 sysdep_routines): Add s_modf* objects.
919 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
920 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
923 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
927 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
930 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
933 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
936 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
939 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
941 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
942 twoM500, twoM600, two60factor, pdnum): Remove.
943 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
944 (__ieee754_hypot): Replace static variables with inline definition,
945 remove ununsed branches.
946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
947 (libm-sysdep_routines): Remove e_hypot-* objects.
948 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
949 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
951 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
953 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
954 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
955 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
957 * benchtests/Makefile (bench-math): Add hypot.
958 * benchtests/hypot-inputs: New file.
960 2019-07-08 Vincent Chen <vincentc@andestech.com>
962 * sysdeps/unix/sysv/linux/dl-vdso.h
963 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
965 2019-07-04 Andreas Schwab <schwab@suse.de>
968 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
970 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
972 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
973 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
974 * sysdeps/aarch64/sys/ifunc.h: New file.
975 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
976 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
978 2019-07-01 Florian Weimer <fweimer@redhat.com>
981 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
982 Replace __vfork with __libpthread_version_placeholder for
984 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
985 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
987 * nptl/pt-vfork.c: Remove file.
988 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
989 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
990 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
991 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
992 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
993 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
994 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
995 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
996 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
997 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
998 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
999 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1001 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1002 Remove vfork, __vfork.
1003 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1005 (GLIBC_2.1.2): Replace __vfork with
1006 __libpthread_version_placeholder.
1007 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1008 Remove vfork, __vfork.
1009 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1011 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1013 (GLIBC_2.1.2): Replace __vfork with
1014 __libpthread_version_placeholder.
1015 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1017 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1018 (GLIBC_2.4): Remove vfork, __vfork.
1019 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1020 (GLIBC_2.0): Remove vfork.
1021 (GLIBC_2.1.2): Replace __vfork with
1022 __libpthread_version_placeholder.
1023 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1024 (GLIBC_2.18): Remove vfork, __vfork.
1025 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1026 (GLIBC_2.0): Remove vfork.
1027 (GLIBC_2.2): Remove __vfork.
1028 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1029 (GLIBC_2.2): Remove vfork, __vfork.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1031 (GLIBC_2.0): Remove vfork.
1032 (GLIBC_2.1.2): Replace __vfork with
1033 __libpthread_version_placeholder.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1035 (GLIBC_2.3): Remove vfork, __vfork.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1037 (GLIBC_2.17): Likewise.
1038 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1039 (GLIBC_2.0): Remove vfork.
1040 (GLIBC_2.1.2): Replace __vfork with
1041 __libpthread_version_placeholder.
1042 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1043 (GLIBC_2.2): Remove vfork, __vfork.
1044 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1046 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1047 (GLIBC_2.0): Remove vfork.
1048 (GLIBC_2.1.2): Replace __vfork with
1049 __libpthread_version_placeholder.
1050 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1051 (GLIBC_2.2): Remove vfork, __vfork.
1052 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1053 (GLIBC_2.2.5): Likewise.
1054 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1055 (GLIBC_2.16): Likewise.
1056 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1057 Remove __errno_location.
1059 2019-07-02 Florian Weimer <fweimer@redhat.com>
1062 * malloc/Depend: Add nptl and htl, due to potential indirect
1063 libpthread dependency of memusagestat.
1065 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1067 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
1070 2019-07-01 Florian Weimer <fweimer@redhat.com>
1072 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
1073 variant for arm-linux-gnueabi.
1075 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
1078 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
1080 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
1081 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
1082 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
1083 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
1084 and tst-cet-legacy-mod-6c.
1085 (CFLAGS-tst-cet-legacy-5a.c): New.
1086 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
1087 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
1088 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
1089 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
1090 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
1091 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
1092 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
1093 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
1094 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
1095 ($(objpfx)tst-cet-legacy-5a): Likewise.
1096 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
1097 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
1098 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
1099 ($(objpfx)tst-cet-legacy-5b): Likewise.
1100 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
1101 (tst-cet-legacy-5b-ENV): Likewise.
1102 ($(objpfx)tst-cet-legacy-6a): Likewise.
1103 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
1104 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
1105 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
1106 ($(objpfx)tst-cet-legacy-6b): Likewise.
1107 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
1108 (tst-cet-legacy-6b-ENV): Likewise.
1109 * sysdeps/x86/tst-cet-legacy-5.c: New file.
1110 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
1111 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
1112 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
1113 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
1114 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
1115 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
1116 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
1117 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
1118 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
1119 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
1120 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
1121 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
1122 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
1124 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
1126 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
1127 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
1128 (__fegetround_ISA300) New.
1129 (__fegetround_ISA2) New.
1130 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
1131 (_FPU_MFFS): Move implementation...
1133 (_FPU_MFFSL): Move implementation....
1134 (_FPU_GET_RC_ISA300): Here. New.
1135 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
1136 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
1137 (fegetenv_status): New.
1138 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
1139 instead of fegetenv_register().
1140 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
1142 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
1144 * benchtests/bench-math-inlines.c: Increase iterations.
1145 * benchtests/bench-memcmp.c: Likewise.
1146 * benchtests/bench-rawmemchr.c: Likewise.
1147 * benchtests/bench-strcmp.c: Likewise.
1148 * benchtests/bench-strcpy_chk.c: Likewise.
1149 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
1150 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
1151 (INNER_LOOP_ITERS_SMALL): Likewise.
1152 * benchtests/bench-strncat.c: Increase iterations.
1153 * benchtests/bench-strncmp.c: Increase iterations.
1154 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
1155 * benchtests/bench-strrchr.c: Increase iterations.
1156 * benchtests/bench-strstr.c: Keep iterations unchanged.
1157 * benchtests/bench-strtod.c: Increase iterations.
1159 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1161 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
1162 with INNER_LOOP_ITERS_LARGE.
1163 * benchtests/bench-memchr.c: Likewise.
1164 * benchtests/bench-rawmemchr.c: Likewise.
1165 * benchtests/bench-strcat.c: Likewise.
1166 * benchtests/bench-strchr.c: Likewise.
1167 * benchtests/bench-string.h: Likewise.
1168 * benchtests/bench-strlen.c: Likewise.
1169 * benchtests/bench-strncpy.c: Likewise.
1170 * benchtests/bench-strnlen.c: Likewise.
1172 2019-06-28 Florian Weimer <fweimer@redhat.com>
1174 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
1175 Use mmap instead of malloc. malloc with M_PERTURB writes to the
1176 entire allocated memory range.
1178 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
1180 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
1181 (prepare_version_base): New helper inline function.
1182 (prepare_version): New macro replacing PREPARE_VERSION.
1183 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
1185 2019-06-28 Florian Weimer <fweimer@redhat.com>
1188 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
1189 mismatch in a versioned symbol reference.
1190 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
1191 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
1192 tst-sonamemove-dlopen.
1193 (module-names): Add tst-sonamemove-linkmod1,
1194 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
1195 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
1196 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
1197 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
1198 (tst-sonamemove-runmod1.so): Link against
1199 tst-sonamemove-runmod2.so.
1200 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
1201 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
1202 tst-sonamemove-runmod2.so.
1203 (tst-sonamemove-dlopen): Link with -ldl.
1204 (tst-sonamemove-dlopen.out): Likewise.
1205 * elf/tst-sonamemove-link.c: New file.
1206 * elf/tst-sonamemove-dlopen.c: Likewise.
1207 * elf/tst-sonamemove-linkmod1.c: Likewise.
1208 * elf/tst-sonamemove-linkmod1.map: Likewise.
1209 * elf/tst-sonamemove-runmod1.c: Likewise.
1210 * elf/tst-sonamemove-runmod1.map: Likewise.
1211 * elf/tst-sonamemove-runmod2.c: Likewise.
1212 * elf/tst-sonamemove-runmod2.map: Likewise.
1214 2019-06-28 Florian Weimer <fweimer@redhat.com>
1216 * support/xdlfcn.h (xdlvsym): Declare function.
1217 * support/xdlfcn.c (xdlvsym): Define funciton.
1219 2019-06-28 Florian Weimer <fweimer@redhat.com>
1222 io: Remove the copy_file_range emulation.
1223 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
1224 not define and call copy_file_range_compat.
1225 * io/Makefile (tests-static, tests-internal): Do not add
1226 tst-copy_file_range-compat.
1227 * io/copy_file_range-compat.c: Remove file.
1228 * io/copy_file_range.c (copy_file_range): Define as stub.
1229 * io/tst-copy_file_range-compat.c: Remove file.
1230 * io/tst-copy_file_range.c (xdevfile): Remove variable.
1231 (typical_sizes): Update comment. Remove 16K sizes.
1232 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
1234 (find_maximum_offset, pipe_as_source, pipe_as_destination)
1235 (delayed_write_failure_beginning, delayed_write_failure_end)
1236 (cross_device_failure, enospc_failure_1, enospc_failure)
1237 (oappend_failure): Remove functions.
1238 (tests): Adjust test case list.
1239 (do_test): Remove file system search code. Check for ENOSYS from
1240 copy_file_range. Do not free xdevfile.
1241 * manual/llio.texi (Copying File Data): Document ENOSYS error from
1242 copy_file_range. Do not document the EXDEV error, which future
1243 kernels may not report. Update the wording to reflect that
1244 further errors are possible.
1245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1246 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
1248 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1249 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1251 * sysdeps/unix/sysv/linux/kernel-features.h
1252 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
1254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1255 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
1257 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1258 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1261 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1263 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
1264 used as a mask for the mode argument of __vfprintf_internal.
1265 * stdio-common/printf-parse.h (printf_arg): New union member:
1267 * stdio-common/vfprintf-internal.c
1268 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
1269 (PARSE_FLOAT_VA_ARG): Likewise.
1270 (SETUP_FLOAT128_INFO): Likewise.
1271 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
1272 SETUP_FLOAT128_INFO.
1273 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
1274 floating-point value to the new union member, pa_float128.
1275 (printf_positional): Zero-initialize args_value[cnt] with memset.
1277 2019-06-27 Florian Weimer <fweimer@redhat.com>
1280 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
1281 buffer size if necessary.
1282 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1284 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1286 (large_buffer_checks): Likewise.
1287 (do_test): Call large_buffer_checks.
1289 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1291 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1292 * sysdeps/x86/dl-lookupcfg.h: Here.
1293 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1295 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1298 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1304 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1305 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1307 * sysdeps/powerpc/powerpc32/fpu/Makefile
1308 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1309 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1310 and fctidz optimization.
1311 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1312 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1314 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1315 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1316 CFLAGS-s_lround-power5+.c): New rule.
1317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1339 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1340 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1341 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1342 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1343 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1345 2019-06-26 Vincent Chen <vincentc@andestech.com>
1347 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1348 specific system calls, fp_udfiex_crtl and udftrap.
1350 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1352 * nptl/tst-eintr1.c (tf1): Add return statement.
1353 (do_test): Remove unused th variable.
1355 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1357 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1358 Return error if get_character fails.
1360 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
1362 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1364 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1367 * localedata/locales/szl_PL (day): Use the correct Unicode
1368 sequences instead of non-ASCII characters.
1370 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1373 * localedata/locales/szl_PL (abday): Spelling corrections.
1377 (alt_mon): This, then apply spelling corrections.
1378 (mon): New entry, month names in the genitive case.
1380 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1383 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1384 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1385 (thousands_sep): Likewise.
1386 (grouping): Set to 3;3.
1388 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
1390 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1391 PREPARE_VERSION_KNOWN.
1392 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1393 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1395 (VDSO_HASH_LINUX_2_6_39): Likewise.
1396 (VDSO_NAME_LINUX_4_9): Likewise.
1397 (VDSO_HASH_LINUX_4_9): Likewise.
1398 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1399 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1400 (_libc_vdso_platform_setup): Likewise.
1401 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1402 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1404 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1407 2019-06-20 Mike Crowe <mac@mcrowe.com>
1409 * nptl/eintr.c: Use libsupport.
1410 * nptl/tst-eintr1.c: Likewise.
1411 * nptl/tst-eintr2.c: Likewise.
1412 * nptl/tst-eintr3.c: Likewise.
1413 * nptl/tst-eintr4.c: Likewise.
1414 * nptl/tst-eintr5.c: Likewise.
1415 * nptl/tst-mutex-errorcheck.c: Likewise.
1416 * nptl/tst-mutex5.c: Likewise.
1418 * support/test-driver.h: Add verbose_printf macro.
1420 * support/xtime.h: Add xclock_now() helper function.
1422 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1423 Florian Weimer <fweimer@redhat.com>
1426 * libio/genops.c (_IO_unbuffer_all)
1427 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1428 buffers and access _IO_FILE_complete members of legacy libio streams.
1429 * libio/tst-bz24228.c: New file.
1430 * libio/tst-bz24228.map: Likewise.
1431 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1432 [build-shared] (generated): Add tst-bz24228.mtrace and
1434 [run-built-tests && build-shared] (tests-special): Add
1435 $(objpfx)tst-bz24228-mem.out.
1436 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1437 ($(objpfx)tst-bz24228-mem.out): New rule.
1439 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1441 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1442 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1443 (__FPU_MFFSL): Likewise.
1444 (_FPU_SETCW): Likewise.
1446 2019-06-19 Stan Shebs <stanshebs@google.com>
1447 Raoni Fassina Firmino <raoni@linux.ibm.com>
1450 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1451 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1452 static-linking version.
1453 * sysdeps/unix/sysv/linux/powerpc/Makefile
1454 (tests-static): Add test-gettimebasefreq-static.
1456 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1459 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1462 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1463 between the currency symbol and the minus sign).
1464 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1466 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1469 * string/test-strcasestr.c (check_result): Add NULL check.
1470 * nss/tst-field.c (check_rewrite): Likewise.
1471 * benchtests/bench-strstr.c (do_one_test): Likewise.
1472 * string/test-strstr.c (check_result): Likewise.
1473 * argp/argp-test.c (popt): Increase size of buf to 12.
1474 * benchtests/bench-malloc-simple.c (bench):
1475 Do not initialize tests array out of bounds.
1477 2019-06-19 Florian Weimer <fweimer@redhat.com>
1480 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1483 2019-06-18 Florian Weimer <fweimer@redhat.com>
1486 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1487 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1488 fail when called from dlopen.
1489 * elf/Makefile [have-fpie && build-shared] (tests): Add
1491 (tst-dlopen-pie): Link with -ldl.
1492 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1493 * elf/tst-dlopen-pie.c (do_test): New file.
1495 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1498 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1499 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1500 between the currency symbol and the minus sign).
1501 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1502 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1504 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1506 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1507 sysdep-rtld-routines): Remove rules.
1508 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1509 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1510 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1511 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1512 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1513 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1514 vDSO path for SHARED.
1515 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1516 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1517 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1518 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1519 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1520 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1522 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1523 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1524 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1525 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1526 CFLAGS-s_llround-power5+.c): New rule.
1527 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1529 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1531 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1533 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1535 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1538 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1540 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1542 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1543 * sysdeps/powerpc/powerpc64/fpu/Makefile
1544 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1545 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1546 (libm-sysdep_routines): Remove s_llround-* objects.
1547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1557 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1560 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1561 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1562 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1563 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1564 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1565 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1566 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1567 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1568 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1569 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1572 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1573 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1574 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1575 * sysdeps/powerpc/powerpc32/fpu/Makefile
1576 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1577 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1579 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1580 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1581 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1583 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1584 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1585 CFLAGS-s_lrint-ppc32.c): New rule.
1586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1596 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1597 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1598 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1599 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1611 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1612 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1614 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1615 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1617 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1619 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1622 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1624 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1626 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1628 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1630 (libm-sysdep_routines): Remove s_llrint-* objects.
1631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1636 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1637 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1638 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1639 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1640 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1641 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1642 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1643 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1644 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1646 2019-06-14 Florian Weimer <fweimer@redhat.com>
1648 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1649 argument to __glibc_has_include to inhibit macro expansion.
1651 2019-06-14 Florian Weimer <fweimer@redhat.com>
1653 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1654 function-like macro, so that __has_include can inhibit expansion
1657 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1659 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1663 Allow memset in libc.so.
1665 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1667 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1668 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1669 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1670 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1671 symbols at load time.
1672 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1674 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1676 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1677 (DT_AARCH64_VARIANT_PCS): Define.
1679 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1682 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1692 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1693 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1695 Remove s_finite* objects.
1696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1702 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1703 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1704 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1705 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1707 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1708 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1711 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1721 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1722 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1724 Remove s_isinf* and s_isinf* objects.
1725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1731 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1732 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1734 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1736 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1737 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1739 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1740 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1741 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1743 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1759 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1760 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1761 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1762 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1763 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1764 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1766 Remove s_isnan-* and s_isnanf-* objects.
1767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1776 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1777 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1778 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1780 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1781 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1782 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1783 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1786 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1788 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1789 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1790 CFLAGS-bench-isfinite.c): New rule.
1791 * benchtests/isnan-input: New file.
1792 * benchtests/isinf-input: New file.
1793 * benchtests/isfinite-input: New file.
1795 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1796 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1797 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1798 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1800 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1810 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1813 Remove s_copysign-power6 s_copysign-ppc64.
1814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1820 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1821 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1822 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1823 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1825 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1826 round_to_integer_float, round_mode): Add RINT handling.
1827 (reset_fenv_mode): New symbol.
1828 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1829 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1830 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1831 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1832 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1833 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1835 2019-06-12 Florian Weimer <fweimer@redhat.com>
1838 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1839 * libio/freopen.c (freopen): Use it.
1841 2019-06-12 Florian Weimer <fweimer@redhat.com>
1843 Linux: Deprecate sysctl.
1844 * include/sysctl.h (__sysctl): Remove declaration.
1845 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1847 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1848 (sysctl): Add deprecation attribute.
1849 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1850 directly, to avoid the deprecation warning. Do not include
1852 (__sysctl): Remove hidden alias.
1854 2019-06-12 Florian Weimer <fweimer@redhat.com>
1856 Linux: Use kernel headers for statx definitions if available.
1857 * include/bits/statx-generic.h: New file.
1858 * include/bits/types/struct_statx.h: Likewise.
1859 * include/bits/types/struct_statx_timestamp.h: Likewise.
1860 * io/Makefile (headers): Add bits/statx-generic.h.
1861 * io/bits/statx-generic.h: New file. Partly copied from
1863 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1864 define original_statx.
1865 * io/bits/types/struct_statx.h: Likewise.
1866 * io/bits/types/struct_statx_timestamp.h: Likewise.
1867 (statx_generic): Use original_statx.
1868 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1869 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1871 2019-06-12 Florian Weimer <fweimer@redhat.com>
1873 * misc/sys/cdefs.h (__glibc_has_include): Define.
1875 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1877 * string/memmem.c (__memmem): Rewrite to improve performance.
1879 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1881 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1883 (two_way_long_needle): Block inlining.
1884 * string/strstr.c (strstr2): Add new function.
1885 (strstr3): Likewise.
1886 (STRSTR): Completely rewrite strstr to improve performance.
1888 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1890 * benchtests/bench-strstr.c (test_hard_needle): New function.
1892 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1894 * malloc/tst-calloc.c: Include <libc-diag.h>.
1895 (null_test): Ignore -Wunused-result around calls to calloc.
1896 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1897 (do_test): Ignore -Wunused-result around call to malloc.
1899 2019-06-07 Florian Weimer <fweimer@redhat.com>
1901 Linux: Add getdents64 system call.
1902 * include/dirnent.h (getdents): Add comment and change buffer
1903 argument type to void *.
1904 (getdents64): Likewise. Add hidden prototype.
1905 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1907 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1909 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1910 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1911 argument type to void *.
1912 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1913 Add hidden definition and getdents64 alias.
1914 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1916 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1917 * manual/filesys.texi (Accessing Directories): Add Low-level
1918 Directory Access node reference.
1919 (Opening a Directory): Cross-reference it.
1920 (Low-level Directory Access): New node.
1921 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1923 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1925 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1926 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1928 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1930 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1932 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1934 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1936 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1938 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1940 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1941 (GLIBC_2.30): Likewise.
1942 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1943 (GLIBC_2.30): Likewise.
1944 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1945 (GLIBC_2.30): Likewise.
1946 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1947 (GLIBC_2.30): Likewise.
1948 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1951 (GLIBC_2.30): Likewise.
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1953 (GLIBC_2.30): Likewise.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1955 (GLIBC_2.30): Likewise.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1957 (GLIBC_2.30): Likewise.
1958 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1960 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1962 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1964 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1965 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1967 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1969 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1971 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1974 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1976 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1980 (_FPU_GETCW): Use __FPU_MFFS().
1981 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1983 2019-06-06 Florian Weimer <fweimer@redhat.com>
1985 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1986 internal GCC preprocessor identifier __has_include__.
1988 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1990 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1991 with call to equivalent function.
1993 2019-06-04 Florian Weimer <fweimer@redhat.com>
1995 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1996 (do_release_shlib): Adjust for __twalk_r.
1997 (__gconv_release_shlib): Call __twalk_r.
1999 2019-06-04 Andreas Schwab <schwab@suse.de>
2002 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2003 no irreversible characters occurred.
2004 * iconv/gconv_simple.c (internal_ucs4_loop)
2005 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2006 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2007 (ucs4_internal_loop_single, internal_ucs4le_loop)
2008 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2009 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2010 (ucs4le_internal_loop_single): Add const to outend.
2011 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2012 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2013 * iconv/Makefile (tests): Add tst-iconv7.
2014 * iconv/tst-iconv7.c: New file.
2016 2019-06-03 Joseph Myers <joseph@codesourcery.com>
2018 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2020 2019-06-01 Florian Weimer <fweimer@redhat.com>
2022 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2023 * sysdeps/unix/sysv/linux/arm/Makefile
2024 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2025 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2026 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2027 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2028 compatibility symbols.
2030 2019-05-31 Florian Weimer <fweimer@redhat.com>
2032 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2033 system calls for the arm architecture: breakpoint, get_tls,
2034 set_tls, usr26, usr32.
2036 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2038 * sysdeps/powerpc/Makefile
2039 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2040 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2041 Declare '.machine power7' to get support for ldbrx.
2042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2043 directive based on the directory of the file.
2044 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2046 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2047 '.machine' directive.
2048 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2049 (VADDUQM_V7_V8): Remove.
2050 (__STRCASECMP): Replace macros with actual instructions.
2051 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2052 '.machine' directive.
2053 (VCLZD_V8_v7): Remove.
2054 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2056 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2058 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2060 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2062 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2064 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2066 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
2067 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
2068 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
2069 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
2070 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2073 2019-05-28 mansayk <6688000@gmail.com>
2076 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
2078 2019-05-28 mansayk <6688000@gmail.com>
2081 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
2082 (abmon): Likewise, but remove the trailing dots.
2084 2019-05-28 Joseph Myers <joseph@codesourcery.com>
2086 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
2088 2019-05-27 Florian Weimer <fweimer@redhat.com>
2090 * nptl/nptl-init.c: Add comment.
2092 2019-05-24 Florian Weimer <fweimer@redhat.com>
2094 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
2095 struct in_addr/struct in6_addr alignment.
2097 2019-05-23 Joseph Myers <joseph@codesourcery.com>
2099 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2100 (F_SEAL_FUTURE_WRITE): New macro.
2102 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
2104 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
2105 * elf/tst-ldconfig-bad-aux-cache.c: New file.
2106 * elf/tst-ldconfig_aux-cache.root: New directory.
2107 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
2108 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
2109 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
2111 2019-05-22 Zack Weinberg <zackw@panix.com>
2113 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
2115 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
2116 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
2118 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
2123 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
2124 Issue an #error if used with a compiler in SPE-float mode.
2125 * sysdeps/powerpc/powerpc32/__longjmp_common.S
2126 * sysdeps/powerpc/powerpc32/setjmp_common.S
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2133 Remove code to preserve SPE register state.
2135 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2136 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2137 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
2138 Remove __SPE__ ifndefs.
2140 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
2142 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
2143 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
2144 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
2145 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
2146 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
2147 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
2148 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
2149 (INNER_LOOP_ITERS_MEDIUM): New define.
2150 (INNER_LOOP_ITERS_SMALL): New define.
2151 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
2152 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
2153 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
2154 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
2155 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
2157 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
2159 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
2162 (SEMTIMEDOP_IPC_ARGS): Likewise.
2164 2019-05-21 Florian Weimer <fweimer@redhat.com>
2167 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
2168 before updating __counter field and release it afterwards. Add
2170 * iconv/gconv.h (struct __gconv_step): Mention synchronization
2171 requirement for __counter member.
2173 2019-05-21 Florian Weimer <fweimer@redhat.com>
2176 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
2177 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
2178 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
2179 instead of __gconv_release_step.
2180 * libio/Makefile (tests): Add tst-wfile-gconv.
2181 (tests-container): Add tst-wfile-ascii.
2182 (tst-wfile-gconv-ENV): Enable mtrace.
2183 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
2184 (tests-special): Add tst-wfile-gconv-mem.out.
2185 (tst-wfile-gconv.out): Depend on locales.
2186 (tst-wfile-gconv-mem.out): Add mtrace rule.
2187 * libio/tst-wfile-ascii.c: New file.
2188 * libio/tst-wfile-gconv.c: Likewise.
2190 2019-05-20 Florian Weimer <fweimer@redhat.com>
2193 libio: Remove codecvt vtable.
2194 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
2196 * libio/iofgetpos.c (_IO_new_fgetpos): Call
2197 __libio_codecvt_encoding.
2198 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
2199 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2200 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
2201 * libio/iofwide.c (__libio_codecvt): Remove variable.
2202 (_IO_fwide): Do not copy __libio_codecvt.
2203 (__libio_codecvt_out): Rename from do_out and export.
2204 (do_unshift): Remove function.
2205 (__libio_codecvt_in): Rename from do_in and export.
2206 (__libio_codecvt_encoding): Rename from do_encoding and export.
2207 (do_always_noconv): Remove function.
2208 (__libio_codecvt_length): Rename from do_length and export.
2209 (do_max_length): Remove function.
2210 * libio/libio.h (enum __codecvt_result): Remove definition; moved
2212 (struct _IO_codecvt): Remove fields __codecvt_destr,
2213 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
2214 __codecvt_do_encoding, __codecvt_do_always_noconv,
2215 __codecvt_do_length, __codecvt_do_max_length.
2216 * libio/libioP.h (enum __codecvt_result): Define; moved from
2218 (__libio_codecvt_out, __libio_codecvt_in)
2219 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
2221 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
2222 (_IO_wfile_underflow): Call __libio_codecvt_in.
2223 (_IO_wfile_underflow): Likewise.
2224 (_IO_wfile_underflow_mmap): Likewise.
2225 (_IO_wfile_sync): Call __libio_codecvt_encoding,
2226 __libio_codecvt_length.
2227 (adjust_wide_data): Call __libio_codecvt_encoding,
2229 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
2230 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
2231 __libio_codecvt_length.
2233 2019-05-20 Florian Weimer <fweimer@redhat.com>
2235 * support/support.h (support_sbindir_prefix): Declare.
2236 (support_install_rootsbindir): Update comment.
2237 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
2238 * support/support_paths.c (support_sbindir_prefix): Define.
2240 2019-05-20 Mike Crowe <mac@mcrowe.com>
2242 * support/timespec.c: Add backslash to correct newline in failure
2245 * support/timespec.h: Correct confusing comment.
2247 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2249 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
2251 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
2252 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
2253 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
2254 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
2257 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
2260 2019-05-20 Joseph Myers <joseph@codesourcery.com>
2262 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
2263 (NT_ARM_PACG_KEYS): Likewise.
2265 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
2267 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
2268 (tcache_put): Remove redundant assert.
2269 (tcache_get): Remove redundant asserts.
2270 (__libc_malloc): Check tcache count is not zero.
2271 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
2273 2019-05-17 Florian Weimer <fweimer@redhat.com>
2275 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
2277 2019-05-16 Joseph Myers <joseph@codesourcery.com>
2279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2280 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
2282 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2284 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2285 (__ASSUME_STATX): Likewise.
2287 2019-05-16 Florian Weimer <fweimer@redhat.com>
2289 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2291 (LINE_PARSER): Do not map IPv4 addresses.
2292 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2294 (_nss_nis_gethostent_r): Always pass AF_INET to
2295 internal_nis_gethostent_r.
2296 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2298 (_nss_nis_gethostbyname2_r): Adjust call to
2299 internal_nis_gethostent_r.
2300 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2301 call to internal_nis_gethostent_r.
2302 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2304 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2305 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2306 Remove flags argument. Do not map IPv4 addresses.
2307 (internal_nisplus_gethostent_r): Adjust call to
2308 _nss_nisplus_parse_hostent.
2309 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2310 to _nss_nisplus_parse_hostent.
2311 (_nss_nisplus_gethostbyname2_r): Adjust call to
2312 internal_gethostbyname2_r.
2313 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2314 Adjust call to internal_gethostbyname2_r.
2315 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2316 _nss_nisplus_parse_hostent.
2317 (_nss_nisplus_gethostbyname4_r): Adjust call to
2318 internal_gethostbyname2_r.
2320 2019-05-16 Florian Weimer <fweimer@redhat.com>
2322 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2324 (LINE_PARSER): Remove address mapping.
2325 (EXTRA_ARGS_VALUE): Remove flags argument.
2326 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2327 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2328 gethostbyname3_multi.
2329 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2330 _nss_files_gethostbyname3_r.
2331 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2333 2019-05-16 Florian Weimer <fweimer@redhat.com>
2335 * support/support_test_compare_blob.c (report_blob): Report
2336 incorrect NULL blobs.
2338 2019-05-15 Mark Wielaard <mark@klomp.org>
2341 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2342 __libc_once_get (once) and static_buf == NULL.
2343 (__dlerror): Check we have a valid key, set result to static_buf
2346 2019-05-15 Andreas Schwab <schwab@suse.de>
2349 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2350 __codecvt_do_length.
2351 * libio/Makefile (tests): Add tst-wfile-sync.
2352 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2353 * libio/tst-wfile-sync.c: New file.
2354 * libio/tst-wfile-sync.input: New file.
2356 2019-05-15 Florian Weimer <fweimer@redhat.com>
2358 nss: Turn __nss_database_lookup into a compatibility symbol.
2359 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2360 __nss_database_lookup.
2361 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2362 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2363 __nss_database_lookup.
2364 (__nss_next): Move to …
2365 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2367 (__nss_database_lookup): New function.
2368 * nss/Versions (GLIBC_2.0): Update comment.
2369 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2370 * grp/initgroups.c (internal_getgrouplist): Call
2371 __nss_database_lookup2 instead of __nss_database_lookup.
2372 * nscd/aicache.c (addhstaiX): Likewise.
2373 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2374 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2375 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2376 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2377 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2379 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2380 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2383 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
2385 * support/support.h (support_install_rootsbindir): New variable.
2386 * support/support_paths.c: Likewise.
2387 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2389 2019-05-15 Florian Weimer <fweimer@redhat.com>
2391 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2392 * iconv/gconv_int.h (__gconv_transliterate): … here.
2393 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2394 * iconv/skeleton.c: Likewise.
2396 2019-05-14 Florian Weimer <fweimer@redhat.com>
2398 Linux: Add the tgkill function.
2399 * bits/signal_ext.h: New file.
2400 * manual/signal.texi (Signaling Another Process): Document tgkill.
2401 * signal/Makefile (headers): Add bits/signal_ext.h.
2402 * signal/signal.h: Include <bits/signal_ext.h>.
2403 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2404 (tst-tgkill): Link with libpthread.
2405 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2406 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2407 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2408 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2410 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2422 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2423 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2433 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2434 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2435 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2436 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2438 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2439 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2440 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2442 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2444 * manual/search.texi (Tree Search Function): Adjust twalk_r
2447 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2450 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2453 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2454 * support/support.h (support_bindir_prefix): New variable.
2455 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2457 * config.make.in (bindir): New variable.
2459 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2460 (lll_trylock): Call __lll_trylock.
2461 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2462 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2463 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2464 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2465 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2466 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2467 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2468 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2469 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2470 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2471 lowlevellock-futex.h.
2473 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2474 initialization for LLL_LOCK_INITIALIZER different than 0.
2475 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2476 Assume LLL_LOCK_INITIALIZER being 0.
2477 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2478 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2480 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2481 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2483 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2484 Optimize futex call and add systemtap probe.
2486 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2487 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2488 __libc_disable_asynccancel, __librt_enable_asynccancel,
2489 __libc_disable_asynccancel, __librt_enable_asynccancel,
2490 __librt_disable_asynccancel): Move to ...
2491 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2492 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2493 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2494 * sysdeps/generic/single-thread.h: New file.
2495 * sysdeps/unix/sysdep.h: Include single-thread.h.
2496 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2497 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2499 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2502 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2503 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2505 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2506 * localedata/unicode-gen/PropList.txt: Likewise.
2507 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2508 * localedata/charmaps/UTF-8: Regenerate.
2509 * localedata/locales/i18n_ctype: Likewise.
2510 * localedata/locales/tr_TR: Likewise.
2511 * localedata/locales/translit_circle: Likewise.
2512 * localedata/locales/translit_cjk_compat: Likewise.
2513 * localedata/locales/translit_combining: Likewise.
2514 * localedata/locales/translit_compat: Likewise.
2515 * localedata/locales/translit_font: Likewise.
2516 * localedata/locales/translit_fraction: Likewise.
2518 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2521 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2522 (do_set_tcache_count): Only update if count is small enough.
2523 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2525 2019-05-10 Florian Weimer <fweimer@redhat.com>
2527 * nptl/sem_close.c (struct walk_closure): Define.
2528 (walker): Adjust for __twalk_r.
2529 (sem_close): Call __twalk_r.
2531 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2533 * support/timespec.c (test_timespec_before_impl,
2534 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2537 2019-05-09 Mike Crowe <mac@mcrowe.com>
2539 * nptl/tst-abstime.c: Use libsupport.
2541 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2542 small bug where only tv.tv_usec was checked which could cause an
2543 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2546 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2549 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2550 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2552 * nptl/tst-cond11.c: Use libsupport.
2554 * support/timespec.h: New file. Provide timespec helper functions
2555 along with macros in the style of those in check.h.
2556 * support/timespec.c: New file. Implement check functions declared
2557 in support/timespec.h.
2558 * support/timespec-add.c: New file from gnulib containing
2559 timespec_add implementation that handles overflow.
2560 * support/timespec-sub.c: New file from gnulib containing
2561 timespec_sub implementation that handles overflow.
2562 * support/README: Mention timespec.h.
2564 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2567 * nptl/Makefile: Move tst-eintr1 to xtests.
2569 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2571 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2573 (round_mode): Add definition for TRUNC.
2574 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2575 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2576 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2577 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2578 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2580 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2582 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2584 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2586 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2588 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2590 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2592 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2594 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2595 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2596 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2597 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2598 s_truncf-power5+, and s_truncf-ppc64.
2599 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2600 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2602 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2604 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2605 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2607 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2610 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2612 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2613 s_truncf-power5+, and s_truncf-ppc64.
2614 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2616 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2617 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2619 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2620 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2622 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2623 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2625 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2627 (round_mode): Add definition for ROUND.
2628 (round_to_integer_float): Likewise.
2629 * sysdeps/powerpc/fpu/s_round.c: New file.
2630 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2631 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2632 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2633 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2635 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2637 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2639 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2641 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2643 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2645 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2647 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2649 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2650 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2651 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2652 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2653 s_roundf-power5+, and s_roundf-ppc64.
2654 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2655 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2657 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2659 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2660 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2662 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2665 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2667 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2668 s_roundf-power5+, and s_roundf-ppc64.
2669 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2671 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2672 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2674 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2675 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2676 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2677 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2678 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2680 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2682 (round_mode): Add definition for FLOOR.
2683 * sysdeps/powerpc/fpu/s_floor.c: New file.
2684 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2685 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2686 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2703 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2704 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2705 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2706 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2707 s_floorf-power5+, and s_floorf-ppc64.
2708 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2709 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2711 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2713 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2714 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2716 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2719 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2721 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2722 s_floorf-power5+, and s_floorf-ppc64.
2723 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2731 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2732 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2733 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2736 2019-05-08 Mike Crowe <mac@mcrowe.com>
2738 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2739 clock_gettime wrapper for use in tests that fails the test rather
2740 than returning failure.
2742 * support/xtime.h: New file to declare xclock_gettime.
2744 * support/Makefile: Add xclock_gettime.c.
2746 * support/README: Mention xtime.h.
2748 2019-05-08 Florian Weimer <fweimer@redhat.com>
2750 malloc/tst-mallocfork2: Use process-shared barriers.
2751 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2752 (signal_count, sigusr1_sender_pid): Remove.
2753 (iterations): Define constant.
2754 (shared): New variable.
2755 (sigusr1_received): Update comment.
2756 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2757 (signal_sender): Optional use barriers to avoid sending signals
2758 during irrelevant times.
2759 (do_it): Initialize variable shared. Use xfork for error
2760 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2761 the iteration count, independent of signal delivery. Check for
2762 deadlocks in fork. Introduce barriers for reducing signal
2763 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2764 replaced by the barriers. Count signals during fork/free/malloc
2766 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2768 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2770 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2772 (clock_adjtime64) New syscall.
2773 (clock_getres_time64) Likewise.
2774 (clock_gettime64) Likewise.
2775 (clock_nanosleep_time64) Likewise.
2776 (clock_settime64) Likewise.
2777 (futex_time64) Likewise.
2778 (io_pgetevents_time64) Likewise.
2779 (io_uring_enter) Likewise.
2780 (io_uring_register) Likewise.
2781 (io_uring_setup) Likewise.
2782 (mq_timedreceive_time64) Likewise.
2783 (mq_timedsend_time64) Likewise.
2784 (pidfd_send_signal) Likewise.
2785 (ppoll_time64) Likewise.
2786 (pselect6_time64) Likewise.
2787 (recvmmsg_time64) Likewise.
2788 (rt_sigtimedwait_time64) Likewise.
2789 (sched_rr_get_interval_time64) Likewise.
2790 (semtimedop_time64) Likewise.
2791 (timer_gettime64) Likewise.
2792 (timer_settime64) Likewise.
2793 (timerfd_gettime64) Likewise.
2794 (timerfd_settime64) Likewise.
2795 (utimensat_time64) Likewise.
2797 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2798 version to 9 branch.
2800 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2802 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2803 __memmove_thunderx2 to the list of implementations
2804 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2805 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2806 (__memmove_thunderx2): Rewritten using SIMD ld/st
2807 (__memcpy_thunderx2): Fixed handling overlapping cases.
2808 Used ldp/stp instead of ldr/str if possible. Made loops
2811 2019-05-03 Florian Weimer <fweimer@redhat.com>
2813 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2815 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2818 * elf/tst-pldd.c (in_str_list): New function.
2819 (do_test): Add default names for ld and libc as one option.
2821 2019-05-02 Florian Weimer <fweimer@redhat.com>
2823 misc: Add twalk_r function.
2824 * include/search.h (__twalk_r): Declare.
2825 * manual/examples/twalk.c: New file.
2826 * manual/search.texi (Tree Search Function): Document twalk_r.
2827 * misc/Versions (2.30): Export twalk_r.
2828 (GLIBC_PRIVATE): Export __twalk_r.
2829 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2830 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2831 (twalk_r): Add weak alias.
2832 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2833 (walk_trace): New variable.
2834 (struct twalk_with_twalk_r_closure): Define.
2835 (twalk_with_twalk_r_action): New function.
2836 (twalk_with_twalk_r): Likewise.
2837 (walk_action): Call walk_trace_add.
2838 (walk_tree_with): Rename from walk_tree. Add walk argument.
2839 (walk_tree): New function.
2840 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2841 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2843 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2845 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2846 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2847 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2848 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2849 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2850 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2852 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2854 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2856 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2857 (GLIBC_2.30): Likewise.
2858 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2859 (GLIBC_2.30): Likewise.
2860 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2861 (GLIBC_2.30): Likewise.
2862 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2863 (GLIBC_2.30): Likewise.
2864 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2867 (GLIBC_2.30): Likewise.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2869 (GLIBC_2.30): Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2871 (GLIBC_2.30): Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2873 (GLIBC_2.30): Likewise.
2874 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2876 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2880 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2881 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2885 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2887 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2890 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2892 Make mktime etc. compatible with __time64_t
2893 Keep these functions compatible with Gnulib while adding
2894 __time64_t support. The basic idea is to move private API
2895 declarations from include/time.h to time/mktime-internal.h, since
2896 the former file cannot easily be shared with Gnulib whereas the
2898 Also, do some other minor cleanup while in the neighborhood.
2899 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2900 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2901 since Gnulib needs it.
2902 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2903 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2904 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2905 (in_time_t_range): New static function.
2906 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2907 so that glibc users are not tempted to use __time64_t.
2908 * time/mktime-internal.h: Rewrite so that it does both glibc
2909 and Gnulib work. Include time.h if not _LIBC.
2910 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2911 (__time64_t): New type or macro, moved here from
2913 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2914 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2915 from include/time.h.
2916 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2917 New macros, taken from GNulib.
2918 (__mktime_internal): New prototype, moved here from include/time.h.
2919 * time/mktime.c (mktime_min, mktime_max, convert_time)
2920 (ranged_convert, __mktime_internal, __mktime64):
2921 * time/timegm.c (__timegm64):
2922 Use __time64_t, not time_t.
2923 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2924 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2926 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2927 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2928 for libc_hidden_def.
2930 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2932 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2934 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2937 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2938 from `-Wmaybe-uninitialized'.
2939 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2941 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2943 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2945 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2946 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2947 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2948 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2949 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2951 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2968 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2969 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2970 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2971 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2973 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2976 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2977 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2979 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2982 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2985 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2986 s_ceilf-power5+, and s_ceilf-ppc64.
2987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2992 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2993 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2994 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2995 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2997 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2998 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2999 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3001 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3003 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3004 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3005 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3006 (sem_getvalue): Likewise.
3008 2019-04-26 Florian Weimer <fweimer@redhat.com>
3010 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3011 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3013 2019-04-26 Florian Weimer <fweimer@redhat.com>
3015 Makeconfig: Move -Wl,-rpath-link options before library references.
3016 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3017 (link-libc): Remove $(link-libc-rpath-link).
3019 2019-04-25 Florian Weimer <fweimer@redhat.com>
3021 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3022 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3023 (+link-static-before-libc): Remove $(CC).
3024 (+link-static, +link-static-tests): Add $(CC).
3025 (+link-before-libc): Remove $(CC).
3026 (+link, +link-pie, +link-pie-printers): Add $(CC).
3028 2019-04-26 Florian Weimer <fweimer@redhat.com>
3030 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3031 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3032 (+link-static-before-libc): Remove $(CC).
3033 (+link-static, +link-static-tests): Add $(CC).
3034 (+link-before-libc): Remove $(CC).
3035 (+link, +link-pie, +link-pie-printers): Add $(CC).
3037 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3040 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3042 2019-04-25 Florian Weimer <fweimer@redhat.com>
3044 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3045 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3046 (bench-link-targets): New variable.
3047 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3049 2019-04-25 Florian Weimer <fweimer@redhat.com>
3051 Also enable BIND_NOW for programs if --enable-bind-now.
3052 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3053 (+link-pie): Use $(link-extra-flags).
3054 (+link-static): Likewise.
3055 [! $(build-pie-default)] (+link): Likewise.
3056 * manual/install.texi (Configuring and compiling): Update
3057 --enable-bind-now description.
3058 * INSTALL: Regenerated.
3060 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3062 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3063 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3065 2019-04-24 Mike Frysinger <vapier@gentoo.org>
3068 * malloc/Makefile (others): Add memusagestat.
3069 ($(objpfx)memusagestat): Delete rule.
3070 (LDLIBS-memusagestat): New variable.
3072 2019-04-24 Florian Weimer <fweimer@redhat.com>
3074 * locale/Makefile (tests-special): Guard setting by
3075 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
3076 to run while cross-compiling.
3078 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3081 * elf/Makefile (tests-container): Add tst-pldd.
3082 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
3083 (E(find_maps)): Avoid use alloca, use default read file operations
3084 instead of explicit LFS names, and fix infinite loop.
3085 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
3086 (get_process_info): Use _Static_assert instead of assert, use default
3087 directory operations instead of explicit LFS names, and free some
3089 * elf/tst-pldd.c: New file.
3091 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
3093 * malloc/arena.c (do_set_mallopt_check): Removed.
3095 2019-04-23 Florian Weimer <fweimer@redhat.com>
3097 locale: Add LOCPATH diagnostics to the locale program.
3098 * locale/programs/locale.c (setlocale_failed): New variable.
3099 (try_setlocale): New function.
3100 (quote_string): Likewise.
3101 (setlocale_diagnostics): Likewise.
3102 (main): Call try_setlocale instead of setlocale. Call
3103 setlocale_diagnostics.
3104 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
3105 (tst-locale-locpath.out): New target.
3106 * locale/tst-locale-locpath.sh: New file.
3108 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3110 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
3113 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3116 * malloc/hooks.c (malloc_check, realloc_check): Use
3117 __builtin_add_overflow on overflow check and adapt to
3118 checked_request2size change.
3119 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
3120 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
3121 allocation size to PTRDIFF_MAX.
3122 (REQUEST_OUT_OF_RANGE): Remove macro.
3123 (checked_request2size): Change to inline function and limit maximum
3124 requested size to PTRDIFF_MAX.
3125 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
3126 maximum allocation size to PTRDIFF_MAX.
3127 (_mid_memalign): Use _int_memalign call for overflow check.
3128 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
3129 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
3130 limit maximum requested size to PTRDIFF_MAX.
3131 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
3132 valloc, pvalloc): Add __attribute_alloc_size__.
3133 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
3134 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
3135 larger than PTRDIFF_MAX.
3136 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
3137 around tests of malloc with negative sizes.
3138 * malloc/tst-posix_memalign.c (do_test): Likewise.
3139 * malloc/tst-pvalloc.c (do_test): Likewise.
3140 * malloc/tst-valloc.c (do_test): Likewise.
3141 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
3142 with resulting size allocation larger than PTRDIFF_MAX with
3143 reallocarray_nowarn.
3144 (reallocarray_nowarn): New function.
3145 * NEWS: Mention the malloc function semantic change.
3147 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3149 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
3150 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3152 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
3153 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
3154 * sysdeps/powerpc/fpu/s_fma.c: New file.
3155 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3157 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
3158 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
3160 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
3161 the magic flag store.
3162 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3164 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
3166 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
3167 Remove rt_sigreturn call.
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3170 Remove rt_sigreturn call.
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3176 * support/Makefile (libsupport-routines): Add support_subprocess,
3177 xposix_spawn, xposix_spawn_file_actions_addclose, and
3178 xposix_spawn_file_actions_adddup2.
3179 (tst-support_capture_subprocess-ARGS): New rule.
3180 * support/capture_subprocess.h (support_capture_subprogram): New
3182 * support/support_capture_subprocess.c (support_capture_subprocess):
3183 Refactor to use support_subprocess and support_capture_poll.
3184 (support_capture_subprogram): New function.
3185 * support/tst-support_capture_subprocess.c (write_mode_to_str,
3186 str_to_write_mode, test_common, parse_int, handle_restart,
3187 do_subprocess, do_subprogram, do_multiple_tests): New functions.
3188 (do_test): Add support_capture_subprogram tests.
3189 * support/subprocess.h: New file.
3190 * support/support_subprocess.c: Likewise.
3191 * support/xposix_spawn.c: Likewise.
3192 * support/xposix_spawn_file_actions_addclose.c: Likewise.
3193 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
3194 * support/xspawn.h: Likewise.
3196 2019-04-17 Mike Gerow <gerow@google.com>
3198 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
3201 2019-04-11 Florian Weimer <fweimer@redhat.com>
3203 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
3204 domain with empty string.
3205 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3207 2019-04-11 Florian Weimer <fweimer@redhat.com>
3209 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
3211 (alloc_buffer_next): Change return type to non-const. Update
3214 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
3216 * manual/time.texi (Formatting Calendar Time): Add missing percent
3217 sign to conversion specifier.
3219 2019-04-09 Carlos O'Donell <carlos@redhat.com>
3220 Kwok Cheung Yeung <kcy@codesourcery.com>
3223 * malloc/mtrace.c: Define prototypes for all hooks.
3224 (set_default_hooks): New function.
3225 (set_trace_hooks): Likewise.
3226 (save_default_hooks): Likewise.
3227 (tr_freehook): Use new s*_hooks functions.
3228 (tr_mallochook): Likewise.
3229 (tr_reallochook): Likewise.
3230 (tr_memalignhook): Likewise.
3232 (muntrace): Likewise.
3234 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3236 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
3237 (generic_stpcpy): New function.
3238 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
3239 (generic_stpncpy): New function.
3240 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
3241 (generic_strcat): New function.
3242 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
3243 (generic_strcpy): New function.
3244 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
3245 (STUPID_STRNCAT): Remove function.
3246 (generic_strncat): New function.
3247 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
3248 (STUPID_STRNCPY): Remove function.
3249 (generic_strncpy): New function.
3250 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
3251 (generic_strnlen): New function.
3252 (memchr_strnlen): New function.
3253 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
3254 (memchr_strlen): Likewise.
3256 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3258 * benchtests/bench-strstr.c (input): Add realistic input text.
3259 (stupid_strstr): Remove function.
3260 (basic_strstr): Add function.
3261 (twoway_strstr): Add function.
3262 (do_one_test): Add result checking.
3263 (do_test): Use new input text. Remove accidental early matches.
3264 (test_main): Improve range of tests, reduce unaligned cases.
3266 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3268 * benchtests/bench-memmem.c (simple_memmem): Remove function.
3269 (basic_memmem): Add function.
3270 (twoway_memmem): Add function.
3272 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3274 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
3275 * benchtests/bench-malloc-thread.c: Likewise.
3276 * benchtests/bench-skeleton.c: Likewise.
3277 * benchtests/bench-strtod.c: Likewise.
3278 * benchtests/bench-timing.h: Likewise.
3280 2019-04-08 Florian Weimer <fweimer@redhat.com>
3282 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
3284 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3285 RES_INSECURE2 security checks.
3286 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3287 RES_INSECURE2 handling.
3289 2019-04-08 Florian Weimer <fweimer@redhat.com>
3291 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3292 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3293 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3295 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3296 (tests-internal): Update justification for tst-resolv-res_init,
3297 tst-resolv-res_init-thread.
3298 (tst-res_use_inet6): Remove target.
3299 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3300 * resolv/res_debug.c (p_option): Remove "inet6" support.
3301 * resolv/res_init.c (res_setoptions): Likewise.
3302 * resolv/res_use_inet6.h: Remove file.
3303 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3305 (res_use_inet6): Always return false.
3306 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3307 * resolv/resolv_context.h: Adjust file comment.
3308 (struct resolv_context): Update comment on __next field.
3309 (__resolv_context_put): Update comment.
3310 * resolv/tst-res_use_inet6.c: Remove file.
3311 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3313 (test_cases): Adjust test case.
3314 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3315 (thread_byname2_af_inet6): Use old byname_inet6 code.
3316 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3317 (gai): Remove do_inet6 argument.
3318 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3319 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3320 (thread_gai_unspec_inet6): Remove functions.
3321 (do_test): Adjust thread_funcs.
3322 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3324 (gaih_inet): Do not disable RES_USE_INET6 flag.
3326 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3328 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3329 and remove redundant code.
3331 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3333 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3335 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3338 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3343 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3344 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3345 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3346 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3347 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3349 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3351 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3354 Remove wcsrchr optimizations.
3355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3357 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3360 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3362 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3370 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3371 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3372 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3373 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3374 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3376 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3378 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3381 Remove wcschr optimizations.
3382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3384 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3387 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3389 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3397 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3398 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3399 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3400 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3401 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3403 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3405 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3408 Remove wcscpy optimizations.
3409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3411 * include/loop_unroll.h: New file.
3412 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3413 besides generic implementation.
3415 2019-04-03 DJ Delorie <dj@redhat.com>
3417 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3418 snprintf truncating output.
3420 2019-04-02 DJ Delorie <dj@redhat.com>
3422 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3425 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3428 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3430 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3431 (mkreftable): Add rules for the new Japanese era and the new dates.
3433 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3434 Rafal Luzynski <digitalfreak@lingonborough.com>
3436 * time/tst-strftime2.c (date_t): Explicitly define the type.
3437 (dates): Use natural month and year numbers to express a date.
3438 (is_before): New function to compare dates.
3439 (mkreftable): Minor improvements to simplify maintenance.
3440 (do_test): Reflect the changes in dates array.
3443 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3444 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3445 * time/tst-strftime2.c (locales): Likewise.
3446 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3447 2010-04-01, and 2011-04-01.
3448 (mkreftable): Add rules for the new locales and the new dates.
3450 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3452 * localedata/locales/ja_JP: Add comments to era entries.
3454 2019-04-01 DJ Delorie <dj@redhat.com>
3457 * time/strptime_l.c (%Ey): Fix fencepost error.
3458 * time/tst-strftime3.c: New.
3459 * time/Makefile (tests): Add tst-strftime3.
3461 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3463 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3464 conditional branch to DIVBYZERO. Fix unwind info.
3465 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3466 excb after conditional branch to $powerof2. Add missing unop
3467 instructions and .align directives and reorder instructions to
3470 2019-04-01 Richard Henderson <rth@twiddle.net>
3472 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3474 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3477 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3479 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3480 $libc_cv_riscv_float_abi in `test' invocation.
3481 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3483 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3485 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3487 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3489 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3490 (_GET_SI_FPSCR): Likewise.
3491 (_SET_SI_FPSCR): Likewise.
3493 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3495 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3497 (signbit): Use builtin for clang 3.3.
3498 (isinf): Use builtin for clang 3.7.
3500 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3502 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3504 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3506 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3509 2019-03-25 Mike Crowe <mac@mcrowe.com>
3511 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3512 pthread_rwlock_timedrdlock with calls to
3513 pthread_rwlock_timedwrlock to ensure that the latter is tested
3514 too. Use new function name in diagnostic messages too.
3516 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3517 (do_test) Use libsupport test macros rather than hand-coded
3518 conditionals and error messages. Ensure that sem_init returns zero
3519 rather than not -1. Use <support/test-driver.c> rather than
3522 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3523 test macros rather than hand-coded conditionals and error messages.
3524 Use <support/test-driver.c> rather than test-skeleton.c.
3526 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3528 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3530 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3531 (NT_MIPS_MSA): Likewise.
3533 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3535 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3536 * benchtests/README: Update description.
3537 * benchtests/bench-timing.h: Default to hp-timing.
3538 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3539 HP_TIMING_PRINT): Remove.
3540 (HP_TIMING_NOW): Add generic implementation.
3541 (hp_timing_t): Change to uint64_t.
3543 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3545 * nptl/descr.h: Likewise.
3546 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3547 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3548 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3549 Abstract hp-timing usage with RTLD_* macros.
3550 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3551 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3552 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3553 HP_TIMING_NONAVAIL): Likewise.
3554 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3556 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3557 HP_SMALL_TIMING_AVAIL): Likewise.
3558 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3559 HP_SMALL_TIMING_AVAIL): Likewise.
3560 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3561 HP_SMALL_TIMING_AVAIL): Likewise.
3562 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3563 HP_SMALL_TIMING_AVAIL): Likewise.
3564 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3566 * sysdeps/generic/hp-timing-common.h: Update comment with
3567 HP_TIMING_AVAIL removal.
3569 * include/random-bits.h: New file.
3570 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3571 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3573 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3574 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3577 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3578 * rt/Makefile (clock-routines): Remove get_clockfreq.
3579 * rt/get_clockfreq.c: Remove file.
3580 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3581 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3583 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3584 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3586 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3587 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3588 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3589 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3590 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3592 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3593 pthread_clock_settime.
3594 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3595 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3596 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3597 * elf/rtld.c (_dl_start_final): Likewise.
3598 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3599 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3601 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3602 (_dl_cpuclock_offset): Remove.
3603 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3604 cpuclock_offset_ununsed.
3605 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3606 cpuclock_offset set.
3607 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3608 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3609 * nptl/pthread_clock_gettime.c: Remove file.
3610 * nptl/pthread_clock_settime.c: Likewise.
3611 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3612 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3613 and CLOCK_PROCESS_CPUTIME_ID support.
3614 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3615 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3616 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3617 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3618 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3620 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3622 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3624 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3625 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3626 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3628 * sysdeps/s390/memmem-arch13.S: New file.
3629 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3630 if it is only used as fallback.
3631 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3632 * sysdeps/s390/multiarch/ifunc-impl-list.c
3633 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3635 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3637 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3638 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3639 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3641 * sysdeps/s390/multiarch/ifunc-impl-list.c
3642 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3643 * sysdeps/s390/strstr-arch13.S: New file.
3644 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3645 if it is only used as fallback.
3646 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3648 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3650 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3651 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3652 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3653 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3655 * sysdeps/s390/multiarch/ifunc-impl-list.c
3656 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3657 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3658 S390_IS_ARCH13_MIE3): New defines.
3660 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3662 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3663 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3664 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3665 * sysdeps/s390/configure: Regenerated.
3667 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3669 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3670 Add vxe2, vxp, dflt, sort flags.
3671 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3672 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3674 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3675 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3676 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3677 HWCAP_S390_DFLT): Define.
3679 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3682 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3683 of compiler warning.
3684 * locale/programs/ld-collate.c (collate_output): Likewise.
3686 2019-03-21 DJ Delorie <dj@redhat.com>
3689 * iconv/iconvconfig.c (write_output): Replace floating point math
3690 with integer math to avoid imprecise results.
3691 * locale/programs/ld-collate.c (collate_output): Likewise.
3693 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3695 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3696 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3698 2019-03-20 mansayk <6688000@gmail.com>
3701 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3702 (abday): Likewise, but remove the trailing dots.
3704 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3706 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3708 (HWCAP_PACA): Likewise.
3709 (HWCAP_PACG): Likewise.
3710 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3712 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3714 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3716 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3719 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3721 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3723 (old_getpagesize): New syscall.
3725 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3728 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3729 * localedata/locales/cmn_TW (era): Likewise.
3730 * localedata/locales/hak_TW (era): Likewise.
3731 * localedata/locales/lzh_TW (era): Likewise.
3732 * localedata/locales/nan_TW (era): Likewise.
3734 2019-03-14 Adam Maris <amaris@redhat.com>
3736 * malloc/malloc.c (_int_malloc): Check for large bin list
3737 corruption when inserting unsorted chunk.
3739 2019-03-14 Florian Weimer <fweimer@redhat.com>
3741 Remove obsolete, never-implemented XSI STREAMS declarations.
3742 * manual/terminal.texi (Allocation): Remove portability note and
3744 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3746 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3747 * sysdeps/unix/inet/Subdirs (streams): Remove.
3748 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3749 (conformtest-headers-UNIX98): Likewise.
3750 (conformtest-headers-XOPEN2K): Likewise.
3751 (conformtest-headers-POSIX2008): Likewise.
3752 * posix/compat-streams.c: New file.
3753 * posix/Makefile (routines): Add it.
3754 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3755 getpmsg, isastream, putmsg, putpmsg.
3756 (GLIBC_2.30): New section.
3757 * bits/stropts.h: Remove file.
3758 * bits/xtitypes.h: Likewise.
3759 * conform/data/stropts.h-data: Likewise.
3760 * include/stropts.h: Likewise.
3761 * include/sys/stropts.h: Likewise.
3762 * include/xtitypes.h: Likewise.
3763 * streams/Makefile: Likewise.
3764 * streams/fattach.c: Likewise.
3765 * streams/fdetach.c: Likewise.
3766 * streams/getmsg.c: Likewise.
3767 * streams/getpmsg.c: Likewise.
3768 * streams/isastream.c: Likewise.
3769 * streams/putmsg.c: Likewise.
3770 * streams/putpmsg.c: Likewise.
3771 * streams/stropts.h: Likewise.
3772 * streams/sys/stropts.h: Likewise.
3773 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3774 * sysdeps/s390/bits/xtitypes.h: Likewise.
3775 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3776 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3777 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3778 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3779 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3780 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3781 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3782 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3783 * sysdeps/x86/bits/xtitypes.h: Likewise.
3785 2019-03-14 Florian Weimer <fweimer@redhat.com>
3787 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3789 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3790 but not with libnss_files.
3791 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3793 2019-03-14 Zack Weinberg <zackw@panix.com>
3795 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3796 Specify encoding="utf-8" when opening headers to check.
3798 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3800 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3802 (Context.checkout_tar): Handle variable major version for Linux
3805 2019-03-13 Florian Weimer <fweimer@redhat.com>
3808 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3810 2019-03-13 Zack Weinberg <zackw@panix.com>
3812 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3814 * include/inttypes.h: Adjust to match.
3815 * include/stdint.h: New wrapper.
3817 2019-03-13 Zack Weinberg <zackw@panix.com>
3819 * scripts/check-obsolete-constructs.py: New test script.
3820 * scripts/check-installed-headers.sh: Remove tests for
3821 obsolete typedefs, superseded by check-obsolete-constructs.py.
3822 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3823 as a special test. Update commentary.
3824 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3825 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3827 * posix/sys/types.h (__u_intN_t): Remove.
3828 (u_int8_t): Typedef using __uint8_t.
3829 (u_int16_t): Typedef using __uint16_t.
3830 (u_int32_t): Typedef using __uint32_t.
3831 (u_int64_t): Typedef using __uint64_t.
3833 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3835 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3837 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3838 Ignore types other than AT_HWCAP.
3839 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3840 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3842 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3843 in the case of falling back to generic output mechanism.
3844 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3847 2019-03-12 Florian Weimer <fweimer@redhat.com>
3849 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3851 2019-03-12 Florian Weimer <fweimer@redhat.com>
3854 resolv: Enable full ICMP errors for UDP DNS sockets
3855 * resolv/res_enable_icmp.c: New file.
3856 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3857 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3858 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3861 2019-03-11 Mao Han <han_mao@c-sky.com>
3863 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3864 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3866 2019-03-11 Mao Han <han_mao@c-sky.com>
3868 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3869 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3870 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3872 2019-03-11 Mao Han <han_mao@c-sky.com>
3874 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3876 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3879 2019-03-11 Mao Han <han_mao@c-sky.com>
3881 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3882 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3885 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3888 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3889 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3891 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3892 * localedata/unicode-gen/PropList.txt: Likewise.
3893 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3894 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3895 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3896 * localedata/charmaps/UTF-8: Regenerate.
3897 * localedata/locales/i18n_ctype: Likewise.
3898 * localedata/locales/tr_TR: Likewise.
3899 * localedata/locales/translit_circle: Likewise.
3900 * localedata/locales/translit_cjk_compat: Likewise.
3901 * localedata/locales/translit_combining: Likewise.
3902 * localedata/locales/translit_compat: Likewise.
3903 * localedata/locales/translit_font: Likewise.
3904 * localedata/locales/translit_fraction: Likewise.
3906 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3908 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3909 than after operators.
3910 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3911 (setitimer_locked): Likewise.
3912 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3913 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3914 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3915 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3916 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3917 (PPC_CPU_SUPPORTED): Likewise.
3918 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3919 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3920 (stat_overflow): Likewise.
3921 (statfs_overflow): Likewise.
3922 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3923 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3924 (eq_ttyname_r): Likewise.
3925 (run_chroot_tests): Likewise.
3927 2019-03-07 Florian Weimer <fweimer@redhat.com>
3929 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3932 2019-03-07 Martin Liska <mliska@suse.cz>
3934 * math/Makefile: Change location where math-vector-fortran.h is
3936 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3937 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3938 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3939 * scripts/check-installed-headers.sh: Skip Fortran header files.
3940 * scripts/check-wrapper-headers.py: Likewise.
3942 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3944 * nptl/nptl-init.c (__have_futex_clock_realtime,
3945 __have_futex_clock_realtime): Remove definition.
3946 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3947 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3948 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3949 __ASSUME_FUTEX_CLOCK_REALTIME support.
3950 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3951 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3952 * sysdeps/unix/sysv/linux/kernel-features.h
3953 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3954 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3957 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3959 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3960 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3961 __GI___wcscpy and wcscpy.
3963 2019-03-04 Florian Weimer <fweimer@redhat.com>
3965 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3967 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3970 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3972 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3973 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3975 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3978 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3979 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3981 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3983 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3985 (do_test): Likewise.
3986 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3987 (do_test_call_varg): Likewise.
3988 (do_test_call_rarg): Likewise.
3989 * sysdeps/ieee754/ldbl-opt/Makefile
3990 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3992 ($(objpfx)tst-nldbl-warn.c): New rule.
3993 ($(objpfx)tst-nldbl-error.c): Likewise.
3994 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3997 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4000 * include/bits/error-ldbl.h: New file.
4001 * include/error.h: Include stdarg.h. Declare internal functions
4002 __error_internal and __error_at_line_internal.
4003 * misc/Makefile (headers): Add bits/error-ldbl.h.
4004 * misc/bits/error-ldbl.h: New file.
4005 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4006 avoid the inclusion of bits/error.h.
4007 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4008 and __nldbl_error_at_line.
4009 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4010 (__nldbl_error, __ndlbl_error_at_line): New functions.
4011 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4012 Redirect error and error_at_line.
4013 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4022 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4023 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4024 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4026 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4029 * include/bits/err-ldbl.h: New file.
4030 * include/err.h: Add prototypes for the internal functions:
4031 __vwarnx_internal and __vwarn_internal.
4032 * misc/Makefile (headers): Add bits/err-ldbl.h.
4033 * misc/bits/err-ldbl.h: New file.
4034 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4035 defined, i.e.: when -mlong-double-64 is in use.
4036 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4037 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4038 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4039 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4040 (VA_CALL): New macro.
4041 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4042 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4044 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4045 declare prototypes for the new functions.
4046 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4055 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4056 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4057 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4059 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4061 * sysdeps/ieee754/ldbl-opt/Makefile
4062 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4063 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4064 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
4066 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4069 * argp/Makefile (headers): Add bits/argp-ldbl.h.
4070 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
4071 * argp/bits/argp-ldbl.h: New file.
4072 * include/argp.h: Include stdarg.h. Add prototypes for internal
4073 functions: __argp_error_internal and __argp_failure_internal.
4074 * include/bits/argp-ldbl.h: New file.
4075 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
4076 __nldbl_argp_error and __nldbl_argp_failure.
4077 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
4078 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
4079 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
4080 Redirect argp_error and argp_failure calls.
4081 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4090 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4091 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4092 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4094 2019-03-01 Florian Weimer <fweimer@redhat.com>
4097 * elf/tst-big-note-lib.S: Create a syntactically valid note.
4098 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
4099 code, to avoid creating an ABI tag note.
4100 (modules-names-nobuild): Add tst-big-note-lib.
4102 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
4104 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
4105 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
4107 2019-03-01 Florian Weimer <fweimer@redhat.com>
4110 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4111 (__netlink_assert_response): Add additional missing newlines.
4113 2019-02-28 Joseph Myers <joseph@codesourcery.com>
4115 * sysdeps/powerpc/powerpc32/dl-machine.c
4116 (__elf_machine_fixup_plt): Use space before '('.
4117 (__process_machine_rela): Likewise.
4118 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
4120 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
4122 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
4124 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
4125 (pattern): Likewise.
4127 (check_result): Likewise.
4128 (check_excepts): Likewise.
4129 (check_op): Likewise.
4130 (fail_xr): Likewise.
4131 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
4132 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
4134 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
4137 (__makecontext): Likewise.
4138 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
4141 2019-02-28 Florian Weimer <fweimer@redhat.com>
4144 elf: Add test with a local IFUNC resolver.
4145 * elf/ifuncmain9.c: New file.
4146 * elf/ifuncmain9pic.c: Likewise.
4147 * elf/ifuncmain9picstatic.c: Likewise.
4148 * elf/ifuncmain9pie.c: Likewise.
4149 * elf/ifuncmain9static.c: Likewise.
4150 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
4151 ifuncmain9static, ifuncmain9picstatic.
4152 * elf/Makefile [multi-arch && build-shared] (tests-internal):
4153 Add ifuncmain9, ifuncmain9pic.
4154 * elf/Makefile [multi-arch && build-shared && have-fpie]
4155 (ifunc-pie-tests): Add ifuncmain9pie.
4156 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
4157 (CFLAGS-ifuncmain9picstatic.c): Likewise.
4158 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
4160 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
4162 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
4163 * configure: Regenerated.
4164 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
4166 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
4169 symbol as __wcspcy instead of wcscpy.
4171 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4173 * include/stdio.h (__renameat2): New hidden prototype.
4174 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
4175 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
4176 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
4177 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
4179 2019-02-27 Joseph Myers <joseph@codesourcery.com>
4181 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
4184 * benchtests/bench-strcpy.c (do_test): Use space before '('.
4185 * benchtests/bench-string.h (cmdline_process_function): Likewise.
4186 * benchtests/bench-strlen.c (do_test): Likewise.
4187 (test_main): Likewise.
4188 * catgets/gencat.c (read_old): Likewise.
4189 * elf/cache.c (load_aux_cache): Likewise.
4190 * iconvdata/bug-iconv8.c (do_test): Likewise.
4191 * math/test-tgmath-ret.c (do_test): Likewise.
4192 * nis/nis_call.c (rec_dirsearch): Likewise.
4193 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4194 * nptl/tst-audit-threads.c (do_test): Likewise.
4195 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
4196 * nss/nss_test1.c (init): Likewise.
4197 * nss/test-netdb.c (test_hosts): Likewise.
4198 * posix/execvpe.c (maybe_script_execute): Likewise.
4199 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
4200 * stdio-common/tst-printf.c (do_test): Likewise.
4201 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
4202 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
4203 * stdlib/qsort.c (STACK_SIZE): Likewise.
4204 * stdlib/test-canon.c (do_test): Likewise.
4205 * stdlib/tst-swapcontext1.c (do_test): Likewise.
4206 * string/memcmp.c (OPSIZ): Likewise.
4207 * string/test-strcpy.c (do_test): Likewise.
4208 (do_random_tests): Likewise.
4209 * string/test-strlen.c (do_test): Likewise.
4210 (test_main): Likewise.
4211 * string/test-strrchr.c (do_test): Likewise.
4212 (do_random_tests): Likewise.
4213 * string/tester.c (test_memrchr): Likewise.
4214 (test_memchr): Likewise.
4215 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
4216 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
4217 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
4218 (read_encoded_value_with_base): Likewise.
4219 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
4220 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
4221 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
4222 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4223 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
4224 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
4226 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
4228 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
4229 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
4230 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
4232 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
4234 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
4236 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4238 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
4239 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4240 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4241 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
4242 * time/test_time.c (main): Likewise.
4244 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4246 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
4248 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
4251 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
4254 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4256 * include/wchar.h (__wcscpy): New prototype.
4257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
4258 (__wcscpy): Route internal symbol to generic implementation.
4259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
4260 Add internal __wcscpy alias.
4261 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
4262 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
4263 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
4264 * wcsmbs/wcscpy.c (wcscpy): Add
4265 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
4266 use generic implementation.
4267 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
4269 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
4272 * sysdeps/m68k/wcpcpy.c: Remove file.
4273 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4275 2019-02-26 Joseph Myers <joseph@codesourcery.com>
4277 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
4278 than after operators.
4279 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4280 * sysdeps/mach/hurd/getcwd.c
4281 (__hurd_canonicalize_directory_name_internal): Likewise.
4282 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
4283 (pthread_mutex_consistent): Likewise.
4284 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4286 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4287 (__pthread_mutex_transfer_np): Likewise.
4288 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4289 (__pthread_mutex_unlock): Likewise.
4290 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4291 (mtx_owned_p): Likewise.
4292 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4293 (pthread_mutexattr_getrobust): Likewise.
4294 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4295 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4297 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4298 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4299 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4300 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4301 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4303 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4305 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4307 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4308 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4309 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4310 (____longjmp_chk): Likewise.
4311 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4314 (INTERNAL_SYSCALL): Likewise.
4315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4316 (INTERNAL_SYSCALL): Likewise.
4317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4318 (__get_clockfreq_via_cpuinfo): Likewise.
4320 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4322 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4323 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4324 (WORD_COPY_BWD): Likewise.
4325 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4326 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4328 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4329 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4331 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4333 2019-02-25 Joseph Myers <joseph@codesourcery.com>
4335 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4336 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4337 rather than after operators.
4338 * elf/cache.c (print_cache): Likewise.
4339 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4340 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4341 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4342 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4343 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4344 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4345 (reauth_proc): Likewise.
4346 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4347 (__file_name_split_at): Likewise.
4348 (__directory_name_split_at): Likewise.
4349 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4350 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4351 * iconv/gconv_dl.c (do_print): Likewise.
4352 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4353 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4354 * locale/setlocale.c (new_composite_name): Likewise.
4355 * malloc/memusagestat.c (main): Likewise.
4356 * misc/fstab.c (fstab_convert): Likewise.
4357 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4359 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4360 (getgrent_next_file): Likewise.
4361 (internal_getgrnam_r): Likewise.
4362 (internal_getgrgid_r): Likewise.
4363 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4365 (internal_getgrent_r): Likewise.
4366 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4367 (getpwent_next_nss): Likewise.
4368 (getpwent_next_file): Likewise.
4369 (internal_getpwnam_r): Likewise.
4370 (internal_getpwuid_r): Likewise.
4371 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4373 (getspent_next_nss): Likewise.
4374 (internal_getspnam_r): Likewise.
4375 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4376 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4377 * string/strchr.c (STRCHR): Likewise.
4378 * string/strchrnul.c (STRCHRNUL): Likewise.
4379 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4380 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4381 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4382 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4383 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4385 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4386 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4387 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4388 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4389 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4390 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4391 (open_file): Likewise.
4392 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4393 (pthread_mutexattr_setprotocol): Likewise.
4394 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4395 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4396 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4397 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4398 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4400 (elf_machine_rela): Likewise.
4401 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4402 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4403 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4404 * sysdeps/posix/rename.c (rename): Likewise.
4405 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4406 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4407 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4408 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4409 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4410 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4411 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4413 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4415 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4416 * time/tzfile.c (__tzfile_compute): Likewise.
4418 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4420 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4421 rather than after operators.
4422 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4423 * crypt/md5.c (md5_finish_ctx): Likewise.
4424 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4425 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4426 * elf/cache.c (load_aux_cache): Likewise.
4427 * elf/dl-load.c (open_verify): Likewise.
4428 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4429 * elf/readelflib.c (process_elf_file): Likewise.
4430 * elf/rtld.c (dl_main): Likewise.
4431 * elf/sprof.c (generate_call_graph): Likewise.
4432 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4433 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4434 * hurd/dtable.c (reauth_dtable): Likewise.
4435 * hurd/getdport.c (__getdport): Likewise.
4436 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4437 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4438 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4440 * hurd/hurdioctl.c (fioctl): Likewise.
4441 * hurd/hurdselect.c (_hurd_select): Likewise.
4442 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4443 (STOPSIGS): Likewise.
4444 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4445 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4446 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4447 * hurd/msgportdemux.c (msgport_server): Likewise.
4448 * hurd/setauth.c (_hurd_setauth): Likewise.
4449 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4450 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4451 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4452 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4453 * login/tst-utmp.c (do_check): Likewise.
4454 (simulate_login): Likewise.
4455 * mach/lowlevellock.h (lll_lock): Likewise.
4456 (lll_trylock): Likewise.
4457 * math/test-fenv.c (ALL_EXC): Likewise.
4458 * math/test-fenvinline.c (ALL_EXC): Likewise.
4459 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4460 * nis/nis_call.c (__do_niscall3): Likewise.
4461 * nis/nis_callback.c (cb_prog_1): Likewise.
4462 * nis/nis_defaults.c (searchaccess): Likewise.
4463 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4464 * nis/nis_ismember.c (internal_ismember): Likewise.
4465 * nis/nis_local_names.c (nis_local_principal): Likewise.
4466 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4467 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4469 * nis/ypclnt.c (yp_match): Likewise.
4470 (yp_first): Likewise.
4471 (yp_next): Likewise.
4472 (yp_master): Likewise.
4473 (yp_order): Likewise.
4474 * nscd/hstcache.c (cache_addhst): Likewise.
4475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4476 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4477 (internal_getpwuid_r): Likewise.
4478 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4479 * posix/glob.h (__GLOB_FLAGS): Likewise.
4480 * posix/regcomp.c (peek_token): Likewise.
4481 (peek_token_bracket): Likewise.
4482 (parse_expression): Likewise.
4483 * posix/regexec.c (sift_states_iter_mb): Likewise.
4484 (check_node_accept_bytes): Likewise.
4485 * posix/tst-spawn3.c (do_test): Likewise.
4486 * posix/wordexp-test.c (testit): Likewise.
4487 * posix/wordexp.c (parse_tilde): Likewise.
4488 (exec_comm): Likewise.
4489 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4490 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4491 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4492 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4493 * stdio-common/tst-fileno.c (do_test): Likewise.
4494 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4495 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4496 * stdlib/strtod_l.c (round_and_return): Likewise.
4497 (____STRTOF_INTERNAL): Likewise.
4498 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4499 * string/strcspn.c (STRCSPN): Likewise.
4500 * string/test-memmem.c (simple_memmem): Likewise.
4501 * termios/tcsetattr.c (tcsetattr): Likewise.
4502 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4503 * time/asctime.c (asctime_internal): Likewise.
4504 * time/strptime_l.c (__strptime_internal): Likewise.
4505 * time/sys/time.h (timercmp): Likewise.
4506 * time/tzfile.c (__tzfile_compute): Likewise.
4508 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4511 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4513 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4515 * argp/argp-help.c (__argp_error_internal): New function,
4516 renamed from __argp_error, but that takes a 'mode_flags'
4517 parameter to control the format of long double parameters.
4518 (__argp_error): Converted into a call __argp_error_internal.
4519 (__argp_failure_internal): New function, renamed from
4520 __argp_failure, but that takes a 'mode_flags' parameter.
4521 (__argp_failure): Converted into a call __argp_failure_internal.
4522 * misc/err.c (__vwarnx_internal): New function, renamed from
4523 vwarnx, but that takes a 'mode_flags' parameter.
4524 (vwarnx): Converted into a call to __vwarnx_internal.
4525 (__vwarn_internal): New function, renamed from vwarn, but that
4526 takes a 'mode_flags' parameter.
4527 (vwarn): Converted into a call to __vwarn_internal.
4528 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4529 call to __vfxprintf with 'mode_flags'.
4530 (__error_internal): New function, renamed from error, but that
4531 takes a 'mode_flags' parameter.
4532 (error): Converted into a call to __error_internal.
4533 (__error_at_line_internal): New function, renamed from
4534 error_at_line, but that takes a 'mode_flags' parameter.
4535 (error_at_line): Converted into a call to
4536 __error_at_line_internal.
4537 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4538 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4541 2019-02-20 Martin Liska <mliska@suse.cz>
4543 * math/Makefile: Install math-vector-fortran.h.
4544 * bits/math-vector-fortran.h: New file.
4545 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4547 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4549 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4550 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4552 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4554 * nptl/pthread_mutex_trylock.c: Fix comment.
4556 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4558 * nptl/pthread_tryjoin.c: Fix comment.
4560 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4564 after R_SPARC_H34 case.
4566 2019-02-18 Florian Weimer <fweimer@redhat.com>
4568 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4569 (getanswer): Do not call Dprintf.
4570 (res_gethostbyname2_context): Likewise.
4571 (res_gethostbyaddr_context): Likewise.
4573 2019-02-18 Florian Weimer <fweimer@redhat.com>
4575 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4577 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4579 * libio/stdfiles.c: Update comment.
4580 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4581 set _IO_stdin, _IO_stdout, _IO_stderr.
4582 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4583 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4585 (_IO_deallocate_file): New inline function.
4586 * libio/iolibio.h (_IO_vprintf): Remove definition.
4587 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4588 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4589 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4591 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4592 __builtin_expect. Use _IO_legacy_file.
4594 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4596 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4597 Initialize ctid with a known value and remove update of ctid
4599 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4600 as assumed current value of ctid_ptr.
4602 2019-02-16 Florian Weimer <fweimer@redhat.com>
4604 Check that non-sysdeps headers have wrapper headers.
4605 * scripts/check-wrapper-headers.py: New file.
4606 * Makefile (tests-special): Add check-wrapper-headers.out.
4607 (check-wrapper-headers.out): New target.
4608 * Rules (tests-special): Add check-wrapper-headers.out.
4609 (check-wrapper-headers.out): New target.
4611 2019-02-16 Florian Weimer <fweimer@redhat.com>
4613 Add missing header wrappers under include/.
4614 * include/ar.h: New file.
4615 * include/bits/mqueue2.h: Likewise.
4616 * include/bits/stdio.h: Likewise.
4617 * include/bits/stdio2.h: Likewise.
4618 * include/fstab.h: Likewise.
4619 * include/fts.h: Likewise.
4620 * include/lastlog.h: Likewise.
4621 * include/netinet/icmp6.h: Likewise.
4622 * include/netinet/igmp.h: Likewise.
4623 * include/netinet/ip6.h: Likewise.
4624 * include/re_comp.h: Likewise.
4625 * include/regexp.h: Likewise.
4626 * include/rpcsvc/bootparam.h: Likewise.
4627 * include/rpcsvc/yp_prot.h: Likewise.
4628 * include/sys/random.h: Likewise.
4629 * include/sys/stropts.h: Likewise.
4630 * include/sys/ttychars.h: Likewise.
4631 * include/sys/vfs.h: Likewise.
4632 * include/wait.h: Likewise.
4634 2019-02-16 Florian Weimer <fweimer@redhat.com>
4636 * nptl_db/proc_service.h: Move to ...
4637 * sysdeps/nptl/proc_service.h: ... here.
4638 * nptl_db/thread_db.h: Move to ...
4639 * sysdeps/nptl/thread_db.h: ... here.
4640 * nptl/descr.h: Include <thread_db.h>.
4642 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4644 * io/Makefile (tests): Add tst-lockf.
4645 * io/lockf.c (lockf): Use __fcntl and only define for
4646 !__OFF_T_MATCHES_OFF64_T.
4647 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4648 __OFF_T_MATCHES_OFF64_T case.
4649 * io/tst-lockf.c: New file.
4650 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4651 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4652 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4653 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4654 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4656 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4657 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4658 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4660 2019-02-15 Florian Weimer <fweimer@redhat.com>
4663 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4664 pd->result after the thread descriptor has been freed.
4666 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4668 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4669 from function return type.
4671 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4673 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4675 * scripts/test_printers_common.py: Set TERM to a known harmless
4678 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4680 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4681 (xdr_u_int): Likewise.
4682 (xdr_enum): Likewise.
4683 (xdr_bytes): Reword fall-through comment.
4684 (xdr_string): Likewise.
4686 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4689 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4690 (tests): Add tst-join8 tst-join9.
4691 * nptl/lll_timedwait_tid.c: Remove file.
4692 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4693 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4694 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4695 * nptl/pthread_join_common.c (timedwait_tid): New function.
4696 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4698 * nptl/tst-join5.c (thread_join): New function.
4699 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4701 * nptl/tst-join8.c: New file.
4702 * nptl/tst-join9.c: Likewise.
4703 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4704 lll_futex_timed_wait_cancel): Add generic macros.
4705 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4707 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4708 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4709 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4710 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4712 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4714 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4715 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4716 (lll_futex_timed_wait_cancel): New macro.
4718 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4720 * benchtests/Makefile: Add malloc-simple benchmark.
4721 * benchtests/bench-malloc-simple.c: New benchmark.
4723 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4725 * benchtests/bench-memmove.c (do_one_test): Remove unused
4728 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4732 2019-01-13 Jim Wilson <jimw@sifive.com>
4735 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4736 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4738 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4740 * nptl/Makefile (tests): Add tst-unwind-thread.
4741 (CFLAGS-tst-unwind-thread.c): Define.
4742 * nptl/tst-unwind-thread.c: New file.
4743 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4746 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4748 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4750 * nis/nis_call.c (__do_niscall3): Likewise.
4752 * catgets/gencat.c (normalize_line): Use braces around empty
4754 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4755 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4756 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4757 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4758 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4759 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4760 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4763 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4766 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4768 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4769 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4770 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4771 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4772 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4773 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4774 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4775 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4776 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4777 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4778 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4779 * benchtests/bench-bcopy.c: Delete file.
4780 * benchtests/bench-bzero.c: Likewise.
4781 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4782 (simple_memccpy): Remove.
4783 (generic_memccpy): Add function.
4784 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4785 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4786 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4787 (generic_mempcpy): Add new function.
4788 * benchtests/bench-memset.c (simple_bzero): Remove.
4789 (builtin_bzero): Remove.
4790 (builtin_memset): Remove.
4791 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4792 (generic_rawmemchr): Add new function.
4794 2019-02-12 Florian Weimer <fweimer@redhat.com>
4796 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4798 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4801 * elf/Makefile (tests): Add tst-audit13.
4802 (modules-names): Add tst-audit13mod1.
4803 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4805 * elf/tst-audit13.c: New file.
4806 * elf/tst-audit13mod1.c: Likewise.
4808 2019-02-12 Florian Weimer <fweimer@redhat.com>
4811 * elf/rtld.c (unload_audit_module): New function.
4812 (report_audit_module_load_error): Likewise.
4813 (load_audit_module): Likewise. Extracted from dl_main. Call
4814 _dl_close if the laversion symbol cannot be found. Use early
4815 returns for error handling. Add malloc error check. Check for a
4816 zero return value from la_version. Remove spurious comment about
4817 static TLS initialization. Remove useless casts.
4818 (notify_audit_modules_of_loaded_object): New function. Extracted
4820 (load_audit_module): Likewise.
4821 (dl_main): Call load_audit_modules.
4823 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4825 * elf/dl-exception.c (_dl_exception_create_format): Add
4826 fall-through comments.
4827 * elf/ldconfig.c (parse_conf_include): Likewise.
4828 * elf/rtld.c (print_statistics): Likewise.
4829 * locale/programs/charmap.c (parse_charmap): Likewise.
4830 * misc/mntent_r.c (__getmntent_r): Likewise.
4831 * posix/wordexp.c (parse_arith): Likewise.
4832 (parse_backtick): Likewise.
4833 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4834 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4837 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4839 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4840 Use float instead of double.
4842 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4844 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4846 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4848 * sysdeps/powerpc/bits/mathinline.h: Remove.
4850 2019-02-08 Florian Weimer <fweimer@redhat.com>
4852 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4853 * math/bits/math-finite.h: Move to ...
4854 * bits/math-finite.h: ... here.
4856 2019-02-08 Florian Weimer <fweimer@redhat.com>
4858 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4859 * bits/unistd_ext.h: here.
4861 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4864 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4865 * nss/tst-nss-files-hosts-long.c: New file.
4866 * nss/tst-nss-files-hosts-long.root: New directory.
4867 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4868 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4870 2019-02-08 Florian Weimer <fweimer@redhat.com>
4872 * include/bits/unistd_ext.h: Remove file.
4873 * posix/bits/unistd_ext.h: Move to ...
4874 * sysdeps/generic/bits/unistd_ext.h: ... here.
4876 2019-02-08 Florian Weimer <fweimer@redhat.com>
4878 * include/bits/unistd_ext.h: New file.
4880 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4882 * time/tst-strftime2.c: Use array_length macros instead of magic
4885 2019-02-08 Florian Weimer <fweimer@redhat.com>
4888 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4890 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4891 locking if the new do_locking argument is true.
4892 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4893 __run_fork_handlers.
4895 2019-02-08 Florian Weimer <fweimer@redhat.com>
4898 Linux: Add gettid system call wrapper.
4899 * posix/Makefile (headers): Add bits/unistd_ext.h.
4900 * posix/bits/unistd_ext.h: New file.
4901 * posix/unistd.h: Include it.
4902 * manual/process.texi (Process Identification): Document gettid.
4903 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4904 tst-gettid, tst-gettid-kill.
4905 (tst-gettid): Link with $(shared-thread-library).
4906 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4907 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4908 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4909 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4910 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4911 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4913 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4915 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4916 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4918 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4920 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4922 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4924 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4926 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4928 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4930 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4931 (GLIBC_2.30): Likewise.
4932 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4933 (GLIBC_2.30): Likewise.
4934 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4935 (GLIBC_2.30): Likewise.
4936 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4937 (GLIBC_2.30): Likewise.
4938 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4941 (GLIBC_2.30): Likewise.
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4943 (GLIBC_2.30): Likewise.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4945 (GLIBC_2.30): Likewise.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4947 (GLIBC_2.30): Likewise.
4948 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4950 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4952 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4954 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4955 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4957 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4959 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4961 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4963 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4965 2019-02-08 Florian Weimer <fweimer@redhat.com>
4967 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4968 compatibility symbols.
4970 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4973 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4974 Add compiler barriers and comments.
4976 2019-02-07 Florian Weimer <fweimer@redhat.com>
4978 * include/array_length.h (array_length): Do not use a statement
4979 expression and _Static_assert, so that array_length can be used at
4980 file scope and as a constant expression.
4982 2019-02-07 Florian Weimer <fweimer@redhat.com>
4984 * support/xdlfcn.h (xdlmopen): Declare.
4985 * support/xdlmopen.c: New file.
4986 * support/Makefile (libsupport-routines): Add xdlmopen.
4988 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4990 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4991 before return type, without separate inline.
4992 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4993 * elf/dl-tunables.h (tunable_is_name): Likewise.
4994 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4995 (do_set_top_pad): Likewise.
4996 (do_set_mmap_threshold): Likewise.
4997 (do_set_mmaps_max): Likewise.
4998 (do_set_mallopt_check): Likewise.
4999 (do_set_perturb_byte): Likewise.
5000 (do_set_arena_test): Likewise.
5001 (do_set_arena_max): Likewise.
5002 (do_set_tcache_max): Likewise.
5003 (do_set_tcache_count): Likewise.
5004 (do_set_tcache_unsorted_limit): Likewise.
5005 * nis/nis_subr.c (count_dots): Likewise.
5006 * nptl/allocatestack.c (advise_stack_range): Likewise.
5007 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5009 (reduce_sincos): Likewise.
5010 (do_sincos): Likewise.
5011 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5012 (do_set_elision_enable): Likewise.
5013 (TUNABLE_CALLBACK_FNDECL): Likewise.
5015 2019-02-06 Florian Weimer <fweimer@redhat.com>
5017 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5018 (xdlsym): Use dlerror to detect a NULL symbol.
5020 2019-02-06 Florian Weimer <fweimer@redhat.com>
5022 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5024 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5026 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5028 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5030 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5032 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5033 __wmemcmp and weak alias to wmemcmp.
5035 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5038 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5039 TLS_TCB_AT_TP tls variant.
5040 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5041 Add alignment checks.
5042 * support/Makefile (libsupport-routines): Add xposix_memalign and
5044 * support/support.h: Add xposix_memalign.
5045 * support/xthread.h: Add xpthread_attr_setstack.
5046 * support/xposix_memalign.c: New File.
5047 * support/xpthread_attr_setstack.c: Likewise.
5049 2019-02-05 Florian Weimer <fweimer@redhat.com>
5052 arm: Use "nr" constraint for Systemtap probes, to avoid the
5053 compiler using memory operands for constants, due to the "o"
5054 alternative in the default "nor" constraint.
5055 * include/stap-probe.h [USE_STAP_PROBE]: Include
5056 <stap-probe-machine.h>
5057 * sysdeps/generic/stap-probe-machine.h: New file.
5058 * sysdeps/arm/stap-probe-machine.h: Likewise.
5060 2019-02-04 Joseph Myers <joseph@codesourcery.com>
5062 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5063 with 0, not tcache->entries[tc_idx].
5065 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
5068 2019-02-04 Andreas Schwab <schwab@suse.de>
5072 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
5073 looking up collating elements match against (wide) character
5074 sequence instead of name. Correct alignment adjustment.
5075 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
5076 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
5077 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
5078 (LOCALES): Add cs_CZ.ISO-8859-2.
5079 * posix/tst-fnmatch4.c: New file.
5080 * posix/tst-fnmatch5.c: New file.
5081 * include/wchar.h (__wmemcmp): Declare.
5082 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
5083 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5084 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
5085 * sysdeps/s390/wmemcmp.c: Likewise.
5087 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5091 * NEWS: Updated for CVE-2019-7309.
5092 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
5093 upper 32 bits of RDX register for x32. Use unsigned Jcc
5094 instructions, instead of signed.
5095 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
5096 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
5098 2019-02-04 Florian Weimer <fweimer@redhat.com>
5100 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
5101 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
5102 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
5104 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
5105 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
5106 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
5107 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
5109 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
5111 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
5113 (posix_spawn_file_actions_addopen): Likewise.
5114 (posix_spawn_file_actions_addclose): Likewise.
5115 (posix_spawn_file_actions_adddup2): Likewise.
5116 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
5118 (posix_spawn_file_actions_addfchdir_np): Likewise.
5120 2019-02-04 David Newall <glibc@davidnewall.com>
5122 elf: Implement --preload option for the dynamic linker.
5123 * elf/rtld.c (preloadarg): New variable.
5124 (handle_preload_list): Pass through “where” argument to
5126 (dl_main): Handle "--preload" and add second call to
5127 handle_preload_list.
5128 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
5129 (tst-rtld-preload-OBJS): Set variable.
5130 (tst-rtld-preload.out): New target.
5131 * elf/tst-rtld-preload.sh: New file.
5133 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
5135 * Makefile (testrun.sh): Exit in case of incorrect argument.
5137 2019-02-04 Florian Weimer <fweimer@redhat.com>
5139 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
5142 2019-02-03 Florian Weimer <fweimer@redhat.com>
5144 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
5145 implicit overflow checks.
5147 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
5149 * stdlib/isomac.c: Include <unistd.h>.
5151 2019-02-03 Florian Weimer <fweimer@redhat.com>
5153 * include/time.h (__tzfile_default): Use int, not long int, for
5155 * time/tzfile.c (struct ttinfo): Change type of the offset member
5157 (__tzfile_read): Remove useless cast.
5158 (__tzfile_default): Adjust prototype.
5159 * time/tzset.c (tz_rule): Change type of the offset member to int.
5160 (parse_offset): Change the type of the sign variable to int.
5162 2019-02-03 Florian Weimer <fweimer@redhat.com>
5165 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
5166 * libio/getchar.c (getchar): Likewise.
5167 * libio/getchar_u.c (getchar_unlocked): Likewise.
5168 * libio/getwchar.c (getwchar): Likewise.
5169 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5170 * libio/iogets.c (_IO_gets): Likewise.
5171 * libio/vscanf.c (_IO_vscanf): Likewise.
5172 * libio/vwscanf.c (__vwscanf): Likewise.
5173 * libio/tst-bz24153.c: New file.
5174 * libio/Makefile (tests): Add it.
5176 2019-02-02 Florian Weimer <fweimer@redhat.com>
5179 * manual/resource.texi (Basic Scheduling Functions): Add
5180 portability note. Change process to task throughout the section.
5181 Remove incorrect comment about sched_yield as it affects
5182 tasks/threads, not entire processes.
5183 * sysdeps/unix/sysv/linux/bits/posix_opt.h
5184 (_POSIX_PRIORITY_SCHEDULING): Update comment.
5186 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5188 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
5189 * configure: Regenerated.
5190 * manual/install.texi (Tools for Compilation): Update minimum GCC
5192 * INSTALL: Regenerated.
5194 2019-02-01 Florian Weimer <fweimer@redhat.com>
5196 * support/support_test_compare_string.c
5197 (support_test_compare_string): Use "string" in error message.
5198 * support/tst-test_compare_string.c (do_test): Adjust.
5200 2019-02-01 Florian Weimer <fweimer@redhat.com>
5202 * support/support_format_address_family.c
5203 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
5205 2019-02-01 Florian Weimer <fweimer@redhat.com>
5207 * manual/socket.texi (Internet Address Formats): Clarify the byte
5208 order of struct sockaddr_in, struct sockaddr_in6. Document
5209 sin6_flowinfo and sin6_scope_id.
5211 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
5213 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
5214 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
5215 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
5216 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
5217 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
5218 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
5220 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5222 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
5223 [!MEMCHR](MEMCHR): Set to __memchr.
5224 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5225 Add memchr_generic and memchr_nosimd.
5226 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5227 (__libc_ifunc_impl_list): Add memchr ifuncs.
5228 * sysdeps/aarch64/multiarch/memchr.c: New file.
5229 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
5230 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
5232 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5234 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5236 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5237 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
5238 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
5239 Add IS_EMAG check for ifunc dispatch.
5240 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
5241 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
5243 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5245 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
5246 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5248 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
5251 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
5253 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
5255 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
5257 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
5258 syscall-template file.
5260 2019-01-31 Carlos O'Donell <carlos@redhat.com>
5261 Torvald Riegel <triegel@redhat.com>
5262 Rik Prohaska <prohaska7@gmail.com>
5265 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
5266 tst-rwlock-trywrlock-stall.
5267 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5268 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
5269 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
5270 Set __wrphase_fute to 1 only if we started the write phase.
5271 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
5272 * nptl/tst-rwlock-trywrlock-stall.c: New file.
5273 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
5274 * support/xpthread_rwlock_destroy.c: New file.
5275 * support/xthread.h: Declare xpthread_rwlock_destroy.
5277 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5279 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5282 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5285 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5286 * libio/fileops.c (_IO_new_file_underflow): Likewise
5287 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5288 * libio/putchar.c (putchar): Likewise.
5289 * libio/putchar_u.c (putchar_unlocked): Likewise.
5290 * libio/putwchar.c (putchar): Likewise.
5291 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5292 * libio/tst-bz24051.c: New test.
5293 * libio/Makefile (tests): Add tst-bz24051
5295 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5298 regex: fix read overrun [BZ #24114]
5299 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5300 https://debbugs.gnu.org/34140
5301 * posix/regexec.c (proceed_next_node):
5302 Do not read past end of input buffer.
5304 2019-01-31 Florian Weimer <fweimer@redhat.com>
5307 * nss/nss_files/files-alias.c (get_next_alias): Handle
5308 continuation line without newline at the end.
5309 * nss/tst-nss-files-alias-truncated.c: New file.
5310 * nss/Makefile [$(build-shared)] (tests): Add
5311 tst-nss-files-alias-truncated.
5312 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5313 * support/namespace.h (struct support_chroot_configuration): Add
5315 (struct support_chroot): Add path_aliases member.
5316 * support/support_chroot.c (support_chroot_create): Handle
5318 (support_chroot_free): Free path_aliases.
5320 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5322 * version.h (RELEASE): Set to "development".
5323 (VERSION): Set to "2.29.9000".
5324 * NEWS: Add section for 2.30.
5326 * version.h (RELEASE): Set to "stable".
5327 (VERSION): Set to "2.29".
5328 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5330 * NEWS: Add the list of bugs fixed in 2.29.
5331 * manual/contrib.texi: Update contributors list with some more
5333 * manual/install.texi: Update latest versions of packages
5335 * INSTALL: Regenerated.
5337 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5339 * po/be.po: Update translations.
5340 * po/bg.po: Likewise.
5341 * po/ca.po: Likewise.
5342 * po/cs.po: Likewise.
5343 * po/da.po: Likewise.
5344 * po/de.po: Likewise.
5345 * po/el.po: Likewise.
5346 * po/eo.po: Likewise.
5347 * po/es.po: Likewise.
5348 * po/fi.po: Likewise.
5349 * po/fr.po: Likewise.
5350 * po/gl.po: Likewise.
5351 * po/hr.po: Likewise.
5352 * po/hu.po: Likewise.
5353 * po/ia.po: Likewise.
5354 * po/id.po: Likewise.
5355 * po/it.po: Likewise.
5356 * po/ja.po: Likewise.
5357 * po/ko.po: Likewise.
5358 * po/lt.po: Likewise.
5359 * po/nb.po: Likewise.
5360 * po/nl.po: Likewise.
5361 * po/pl.po: Likewise.
5362 * po/pt_BR.po: Likewise.
5363 * po/ru.po: Likewise.
5364 * po/rw.po: Likewise.
5365 * po/sk.po: Likewise.
5366 * po/sl.po: Likewise.
5367 * po/sv.po: Likewise.
5368 * po/tr.po: Likewise.
5369 * po/uk.po: Likewise.
5370 * po/vi.po: Likewise.
5371 * po/zh_CN.po: Likewise.
5372 * po/zh_TW.po: Likewise.
5374 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5377 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5378 of $f3 register on $y_is_neg path.
5380 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5383 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5384 sigaltstack.ss_flags.
5386 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5389 * manual/time.texi (strftime): Document "%Ey".
5390 * time/strftime_l.c (__strftime_internal): Set the default width
5391 padding with zero of "%Ey" to 2.
5394 * manual/time.texi (strftime): Document "%EC" and "%EY".
5395 * time/Makefile (tests): Add tst-strftime2.
5396 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5397 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5398 override padding for "%Ey".
5399 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5400 "%Ey" in the subformat as if decorated with that flag.
5401 * time/tst-strftime2.c: New file.
5403 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5405 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5409 * elf/Makefile (tests): Add tst-audit13.
5410 (modules-names): Add tst-audit13mod1.
5411 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5413 * elf/rtld.c (dl_main): Handle invalid audit module version.
5414 * elf/tst-audit13.c: New file.
5415 * elf/tst-audit13mod1.c: Likewise.
5417 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5419 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5420 returned by __hurd_at_flags.
5421 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5422 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5423 directly instead of __hurd_file_name_lookup.
5425 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5427 * scripts/build-many-glibcs.py (Context.checkout): Default
5428 binutils version to 2.32 branch.
5430 2019-01-21 Florian Weimer <fweimer@redhat.com>
5434 resolv: Reject trailing characters in host names
5435 * include/arpa/inet.h (__inet_aton_exact): Declare.
5436 (inet_aton): Remove hidden prototype. No longer used internally.
5437 * nscd/gai.c (__inet_aton): Do not define.
5438 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5439 * nss/digits_dots.c (__inet_aton): Likewise.
5440 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5441 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5442 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5443 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5444 (tst-resolv-trailing): Likewise.
5445 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5447 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5448 Make static. Add endp parameter.
5449 (__inet_aton_exact): New function.
5450 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5451 (__inet_addr): Call inet_aton_end.
5452 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5453 not just IPv6. Call __inet_aton_exact.
5454 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5455 (tests): Make const. Add additional test cases with trailing
5457 (do_test): Use array_length.
5458 * resolv/tst-inet_aton_exact.c: New file.
5459 * resolv/tst-resolv-trailing.c: Likewise.
5460 * resolv/tst-resolv-nondecimal.c: Likewise.
5461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5463 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5467 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5468 Clear the upper 32 bits of RSI register.
5469 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5470 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5471 and tst-size_t-wcsnlen.
5472 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5473 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5475 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5479 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5480 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5482 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5483 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5485 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5489 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5490 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5491 * sysdeps/x86_64/strcmp.S: Likewise.
5492 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5493 tst-size_t-strncmp and tst-size_t-wcsncmp.
5494 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5495 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5496 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5498 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5502 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5503 RDX_LP for length. Clear the upper 32 bits of RDX register.
5504 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5505 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5506 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5507 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5509 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5513 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5514 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5515 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5516 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5518 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5523 length. Clear the upper 32 bits of RDX register.
5524 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5525 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5527 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5529 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5531 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5533 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5537 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5538 length. Clear the upper 32 bits of RDX register.
5539 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5540 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5541 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5543 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5544 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5546 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5550 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5551 upper 32 bits of RDX register.
5552 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5553 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5555 * sysdeps/x86_64/x32/test-size_t.h: New file.
5556 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5557 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5559 2019-01-18 Florian Weimer <fweimer@redhat.com>
5562 resolv: Do not send queries for non-host-names in nss_dns.
5563 * resolv/nss_dns/dns-host.c (check_name): New function.
5564 (_nss_dns_gethostbyname2_r): Use it.
5565 (_nss_dns_gethostbyname_r): Likewise.
5566 (_nss_dns_gethostbyname4_r): Likewise.
5568 2019-01-21 Florian Weimer <fweimer@redhat.com>
5570 * resolv/inet_addr.c: Reformat to GNU style.
5571 (__inet_addr, __inet_aton): Update comment.
5573 2019-01-18 Florian Weimer <fweimer@redhat.com>
5575 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5576 ("malloc: Use current (C11-style) atomics for fastbin access").
5577 This commit introduces a substantial performance regression on
5579 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5580 (REMOVE_FB): Define.
5581 (_int_malloc): Use it and reindent.
5582 (_int_free): Use CAS loop with
5583 catomic_compare_and_exchange_val_rel.
5584 (malloc_consolidate): Use atomic_exchange_acq.
5587 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5589 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5591 (LDFLAGS-tst-minsigstksz-2): Likewise.
5592 (LDFLAGS-tst-minsigstksz-3): Likewise.
5593 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5594 (LDFLAGS-tst-minsigstksz-4): Likewise.
5596 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5598 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5601 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5603 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5605 2019-01-16 Zack Weinberg <zackw@panix.com>
5607 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5608 (xget_sigstack_location): New test support functions.
5609 * support/xsigstack.c: New file, implementing them.
5610 * support/tst-xsigstack.c: New test for them.
5611 * support/Makefile: Update.
5613 * signal/tst-minsigstksz-1.c
5614 * signal/tst-minsigstksz-2.c
5615 * signal/tst-minsigstksz-3.c
5616 * signal/tst-minsigstksz-3a.c
5617 * signal/tst-minsigstksz-4.c: New tests.
5618 * signal/Makefile: Run them.
5620 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5622 * po/libc.pot: Regenerate.
5624 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5626 * math/libm-test-fma.inc (fma_test_data): Set
5627 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5629 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5631 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5632 (do_test): Changed __vector __int128_t to __vector unsigned int.
5634 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5637 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5638 stpcpy-avx2 and stpncpy-avx2.
5639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5640 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5641 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5643 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5644 ifunc-strcpy.h}: rename header for a more generic name.
5645 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5646 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5647 AVX unaligned load is fast and vzeroupper is preferred.
5648 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5649 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5650 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5651 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5652 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5653 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5655 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5657 * argp/argp-help.c: Fix typo in comment.
5658 * misc/sys/cdefs.h: Likewise.
5659 * posix/regexec.c (sift_states_iter_mb): Likewise.
5660 * socket/sockatmark.c: Likewise.
5661 * socket/sys/socket.h: Likewise.
5662 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5663 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5664 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5666 * sysdeps/unix/sockatmark.c: Likewise.
5667 * time/strptime_l.c: Likewise.
5669 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5671 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5672 missing space after the cast of "_NL_CURRENT".
5674 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5676 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5677 ifdef to fix read of VSCR.
5678 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5679 tst-ucontext-ppc64-vscr.c to test list.
5680 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5682 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5684 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5687 2019-01-09 Jim Wilson <jimw@sifive.com>
5689 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5691 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5693 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5694 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5695 __memcpy_falkor for ares.
5696 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5698 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5701 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5704 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5705 4_FP_W_TYPEs are used for IEEE quad precision.
5706 * soft-fp/extendhftf2.c: Likewise.
5707 * soft-fp/extendsftf2.c: Likewise.
5708 * soft-fp/extendxftf2.c: Likewise.
5709 * soft-fp/trunctfdf2.c: Likewise.
5710 * soft-fp/trunctfhf2.c: Likewise.
5711 * soft-fp/trunctfsf2.c: Likewise.
5712 * soft-fp/trunctfxf2.c: Likewise.
5713 * sysdeps/alpha/ots_cvttx.c: Likewise.
5714 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5715 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5716 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5717 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5718 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5719 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5720 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5721 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5722 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5723 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5724 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5725 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5726 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5727 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5728 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5729 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5730 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5732 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5735 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5736 code with -fmath-errno.
5737 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5738 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5739 * string/test-strerror-errno.c: New file.
5741 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5744 * localedata/locales/en_US (date_fmt): Add, set to
5745 "%a %d %b %Y %r %Z".
5747 2019-01-07 Florian Weimer <fweimer@redhat.com>
5750 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5751 instead of @var{errno}.
5752 (Parsing of Integers): Likewise.
5753 (Parsing of Floats): Likewise.
5754 * manual/filesys.texi (Working with Directory Trees): Likewise.
5755 (Temporary Files): Likewise.
5756 * manual/job.texi (Terminal Access Functions): Likewise.
5757 * manual/llio.texi (Synchronizing I/O): Likewise.
5758 * manual/math.texi (SVID Random): Likewise.
5759 * manual/message.texi (The catgets Functions): Likewise.
5760 (Translation with gettext): Likewise.
5761 (Locating gettext catalog): Likewise.
5762 (Charset conversion in gettext): Likewise.
5763 * manual/nss.texi (NSS Module Function Internals): Likewise.
5764 * manual/search.texi (Hash Search Function): Likewise.
5765 * manual/setjmp.texi (System V contexts): Likewise.
5766 * manual/time.texi (Sleeping): Likewise.
5767 * manual/users.texi (Lookup User): Likewise.
5768 (Lookup Group): Likewise.
5770 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5772 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5775 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5778 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5779 __builtin_unreachable for default case in switch.
5780 (__ieee754_yn): Likewise.
5781 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5782 (__ieee754_ynl): Likewise.
5783 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5784 (__ieee754_ynl): Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5786 (__ieee754_ynl): Likewise.
5788 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5790 * manual/maint.texi: Use @{ and @}.
5792 2019-01-04 Florian Weimer <fweimer@redhat.com>
5794 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5796 (do_in_chroot_1): Call it.
5798 Improve error reporting in case it is not possible to create a
5799 collision for the PTY name required by the test.
5801 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5803 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5804 lll_wait_tid with timeout.
5805 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5806 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5807 futex_reltimed_wait_cancelable for cancelabla mode.
5808 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5809 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5811 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5812 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5813 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5814 SYSCALL_CANCEL_NCS): New macro.
5815 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5816 (lll_timedwait_tid): Remove macro.
5817 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5819 (lll_timedwait_tid): Likewise.
5820 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5822 (lll_timedwait_tid): Likewise.
5823 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5825 (lll_timedwait_tid): Likewise.
5826 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5827 Use INTERNAL_SYSCALL_CANCEL.
5828 * sysdeps/unix/sysv/linux/futex-internal.h
5829 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5830 instead of __pthread_{enable,disable}_asynccancel.
5831 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5832 (lll_futex_wait_cancel): New macro.
5834 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5835 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5837 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5838 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5840 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5841 in backtrace analysis.
5842 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5844 (tf_send): Likewise.
5846 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5847 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5848 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5849 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5850 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5851 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5852 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5853 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5854 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5855 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5856 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5857 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5859 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5860 tst-cancel-wrappers.sh.
5861 (generated): Remove tst-cancel-wrappers.out.
5862 (tst-cancel-wrappers.out): Remove rule.
5863 * nptl/tst-cancel-wrappers.sh: Remove file.
5865 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5867 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5868 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5871 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5874 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5875 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5876 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5877 close-on-exec reset for adddup2 file action.
5878 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5880 2019-01-03 Zack Weinberg <zackw@panix.com>
5882 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5883 parameter. Only use deprecated scanf when __USE_GNU is defined
5884 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5885 than 201103L, whichever is relevant for the language being compiled.
5887 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5888 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5889 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5890 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5891 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5895 * libio/iovswscanf.c
5900 * stdio-common/fscanf.c
5901 * stdio-common/scanf.c
5902 * stdio-common/vfscanf.c
5903 * stdio-common/vfwscanf.c
5904 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5905 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5906 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5907 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5908 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5909 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5910 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5911 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5912 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5913 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5914 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5915 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5916 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5917 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5918 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5920 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5921 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5922 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5924 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5925 with a preprocessor macro.
5927 * stdio-common/bug21.c, stdio-common/scanf14.c:
5928 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5929 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5930 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5931 to xscanf, xfscanf, xsscanf.
5933 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5934 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5935 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5936 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5938 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5939 override feature selection macros or provide definitions of u_char etc.
5940 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5941 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5942 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5945 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5948 bits/termios-misc.h.
5949 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5950 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5951 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5952 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5953 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5954 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5956 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5957 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5958 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5959 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5960 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5961 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5963 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5964 (sysdep_headers): Add termios-misc.h.
5966 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5967 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5968 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5972 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5973 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5974 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5975 TCSAFLUSH): Move to termios-tcflow.h.
5976 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5977 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5978 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5983 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5984 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5985 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5986 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5987 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5988 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5989 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5990 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5992 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5993 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5994 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5995 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5999 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6000 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6002 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6003 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6005 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6006 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6007 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6008 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6013 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6014 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6016 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6017 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6018 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6019 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6020 __MAX_BAUD): Move to termios-baud.h.
6021 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6022 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6023 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6024 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6025 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6027 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6029 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6030 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6031 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6033 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6034 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6036 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6037 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6039 [USE_MISC] (XTABS): Likewise.
6040 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6041 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6043 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6045 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6047 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6048 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6049 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6050 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6051 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6052 IUTF8): Move to termios-c_iflag.h.
6053 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6054 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6055 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6056 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6058 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6060 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6061 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6062 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6063 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6064 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
6065 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
6066 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
6067 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
6068 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6069 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6070 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6071 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6073 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
6074 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
6075 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
6076 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
6077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6079 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
6081 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
6083 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
6085 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
6087 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
6089 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
6090 _HAVE_C_OSPEED): Define.
6091 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
6092 _HAVE_C_OSPEED): Likewise.
6093 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
6094 _HAVE_C_OSPEED): Likewise.
6095 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
6096 (cfsetospeed): Check for define value instead of existence.
6097 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
6098 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6099 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
6100 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6101 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
6104 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
6106 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6107 (TIOCSER_TEMT): Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
6109 (TEOCSER_TEMT): Likewise.
6111 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
6114 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
6116 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6118 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6120 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6122 * sysdeps/htl/pt-barrierattr-setpshared.c
6123 (pthread_barrierattr_setpshared): Add stub warning.
6124 * sysdeps/htl/pt-condattr-setpshared.c
6125 (pthread_condattr_setpshared): Likewise.
6126 * sysdeps/htl/pt-mutexattr-setpshared.c
6127 (pthread_mutexattr_setpshared): Likewise.
6128 * sysdeps/htl/pt-rwlockattr-setpshared.c
6129 (pthread_rwlockattr_setpshared): Likewise.
6130 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
6131 (pthread_mutexattr_setpshared): Likewise.
6133 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6135 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
6136 constants to match with Linux 4.20.
6138 * sysdeps/mips/mips32/libm-test-ulps: Update.
6139 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6141 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
6144 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
6145 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
6146 than __typeof (...) for the a_ptr variable.
6148 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6150 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
6151 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
6152 * libio/Makefile (tests): Add tst-sprintf-ub and
6154 (CFLAGS-tst-sprintf-ub.c): New variable.
6155 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
6156 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
6157 destination buffer and check for overflows in fortified mode.
6158 * libio/libioP.h (PRINTF_CHK): New macro.
6159 * libio/tst-sprintf-chk-ub.c: New file.
6160 * libio/tst-sprintf-ub.c: Likewise.
6162 2019-01-02 Florian Weimer <fweimer@redhat.com>
6165 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
6168 2019-01-02 Florian Weimer <fweimer@redhat.com>
6170 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
6172 2019-01-01 Joseph Myers <joseph@codesourcery.com>
6174 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
6177 * sysdeps/unix/sysv/linux/netpacket/packet.h
6178 (PACKET_IGNORE_OUTGOING): New macro.
6180 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
6183 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6185 (riscv_flush_icache): New syscall.
6187 * manual/texinfo.tex: Update to version 2018-12-28.17 with
6188 trailing whitespace removed.
6189 * scripts/config.guess: Update to version 2019-01-01.
6190 * scripts/config.sub: Update to version 2019-01-01.
6191 * scripts/move-if-change: Update from gnulib.
6193 * NEWS: Update copyright dates.
6194 * catgets/gencat.c (print_version): Likewise.
6195 * csu/version.c (banner): Likewise.
6196 * debug/catchsegv.sh: Likewise.
6197 * debug/pcprofiledump.c (print_version): Likewise.
6198 * debug/xtrace.sh (do_version): Likewise.
6199 * elf/ldconfig.c (print_version): Likewise.
6200 * elf/ldd.bash.in: Likewise.
6201 * elf/pldd.c (print_version): Likewise.
6202 * elf/sotruss.sh: Likewise.
6203 * elf/sprof.c (print_version): Likewise.
6204 * iconv/iconv_prog.c (print_version): Likewise.
6205 * iconv/iconvconfig.c (print_version): Likewise.
6206 * locale/programs/locale.c (print_version): Likewise.
6207 * locale/programs/localedef.c (print_version): Likewise.
6208 * login/programs/pt_chown.c (print_version): Likewise.
6209 * malloc/memusage.sh (do_version): Likewise.
6210 * malloc/memusagestat.c (print_version): Likewise.
6211 * malloc/mtrace.pl: Likewise.
6212 * manual/libc.texinfo: Likewise.
6213 * nptl/version.c (banner): Likewise.
6214 * nscd/nscd.c (print_version): Likewise.
6215 * nss/getent.c (print_version): Likewise.
6216 * nss/makedb.c (print_version): Likewise.
6217 * posix/getconf.c (main): Likewise.
6218 * scripts/test-installation.pl: Likewise.
6219 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6221 * All files with FSF copyright notices: Update copyright dates
6222 using scripts/update-copyrights.
6223 * locale/programs/charmap-kw.h: Regenerated.
6224 * locale/programs/locfile-kw.h: Likewise.
6226 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6228 * timezone/zdump.c: Update from tzcode 2018i.
6229 * timezone/zic.c: Likewise.
6231 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
6233 regex: improve Gnulib port to AIX
6234 From the glibc point of view, this removes duplicate macro
6235 definitions and is obviously safe.
6236 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
6237 * posix/regex_internal.h:
6238 (__attribute__, __attribute_warn_unused_result__):
6239 Remove; already defined elsewhere.
6241 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
6244 * malloc/malloc.c (_int_realloc): Always call memcpy for the
6245 copying operation. (ncopies had the wrong type, resulting in an
6246 integer wraparound and too few elements being copied.)
6248 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
6251 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
6252 <asm/syscalls.h> exists with __has_include__ before including it.
6254 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6256 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6259 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
6261 * hurd/lookup-retry: Include <unistd.h>.
6262 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
6263 Release it on return. Handle "pid" magical lookup retry.
6265 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6268 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
6269 (t_fmt_ampm): Likewise.
6270 * localedata/locales/aa_ER (t_fmt): Likewise.
6271 (t_fmt_ampm): Likewise.
6272 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
6273 (t_fmt_ampm): Likewise.
6274 * localedata/locales/aa_ET (t_fmt): Likewise.
6275 (t_fmt_ampm): Likewise.
6276 * localedata/locales/am_ET (t_fmt): Likewise.
6277 (t_fmt_ampm): Likewise.
6278 * localedata/locales/byn_ER (t_fmt): Likewise.
6279 (t_fmt_ampm): Likewise.
6280 * localedata/locales/om_ET (t_fmt): Likewise.
6281 (t_fmt_ampm): Likewise.
6282 * localedata/locales/sid_ET (t_fmt): Likewise.
6283 (t_fmt_ampm): Likewise.
6284 * localedata/locales/so_DJ (t_fmt): Likewise.
6285 (t_fmt_ampm): Likewise.
6286 * localedata/locales/so_ET (t_fmt): Likewise.
6287 (t_fmt_ampm): Likewise.
6288 * localedata/locales/so_SO (t_fmt): Likewise.
6289 (t_fmt_ampm): Likewise.
6290 * localedata/locales/ti_ER (t_fmt): Likewise.
6291 (t_fmt_ampm): Likewise.
6292 * localedata/locales/ti_ET (t_fmt): Likewise.
6293 (t_fmt_ampm): Likewise.
6294 * localedata/locales/tig_ER (t_fmt): Likewise.
6295 (t_fmt_ampm): Likewise.
6296 * localedata/locales/wal_ET (t_fmt): Likewise.
6297 (t_fmt_ampm): Likewise.
6299 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6300 * localedata/locales/ar_IN (t_fmt): Likewise.
6301 * localedata/locales/bhb_IN (t_fmt): Likewise.
6302 * localedata/locales/bho_IN (t_fmt): Likewise.
6303 * localedata/locales/bi_VU (t_fmt): Likewise.
6304 * localedata/locales/bn_BD (t_fmt): Likewise.
6305 * localedata/locales/bn_IN (t_fmt): Likewise.
6306 * localedata/locales/brx_IN (t_fmt): Likewise.
6307 * localedata/locales/doi_IN (t_fmt): Likewise.
6308 * localedata/locales/en_HK (t_fmt): Likewise.
6309 (t_fmt_ampm): Likewise.
6310 * localedata/locales/en_IN (t_fmt): Likewise.
6311 * localedata/locales/en_PH (t_fmt): Likewise.
6312 * localedata/locales/gu_IN (t_fmt): Likewise.
6313 * localedata/locales/hi_IN (t_fmt): Likewise.
6314 * localedata/locales/hif_FJ (t_fmt): Likewise.
6315 * localedata/locales/hne_IN (t_fmt): Likewise.
6316 * localedata/locales/kn_IN (t_fmt): Likewise.
6317 * localedata/locales/kok_IN (t_fmt): Likewise.
6318 * localedata/locales/ks_IN (t_fmt): Likewise.
6319 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6320 * localedata/locales/mag_IN (t_fmt): Likewise.
6321 * localedata/locales/mai_IN (t_fmt): Likewise.
6322 * localedata/locales/mjw_IN (t_fmt): Likewise.
6323 * localedata/locales/ml_IN (t_fmt): Likewise.
6324 * localedata/locales/mni_IN (t_fmt): Likewise.
6325 * localedata/locales/mr_IN (t_fmt): Likewise.
6326 * localedata/locales/ms_MY (t_fmt): Likewise.
6327 * localedata/locales/pa_IN (t_fmt): Likewise.
6328 * localedata/locales/raj_IN (t_fmt): Likewise.
6329 * localedata/locales/sa_IN (t_fmt): Likewise.
6330 * localedata/locales/sat_IN (t_fmt): Likewise.
6331 * localedata/locales/sd_IN (t_fmt): Likewise.
6332 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6333 * localedata/locales/tcy_IN (t_fmt): Likewise.
6334 * localedata/locales/the_NP (t_fmt): Likewise.
6335 * localedata/locales/to_TO (t_fmt): Likewise.
6336 * localedata/locales/ur_IN (t_fmt): Likewise.
6338 * localedata/locales/hif_FJ (d_t_fmt): Set to
6339 "%A %d %b %Y %I:%M:%S %p".
6340 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6342 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6343 * localedata/locales/ar_BH (t_fmt): Likewise.
6344 * localedata/locales/ar_DZ (t_fmt): Likewise.
6345 * localedata/locales/ar_EG (t_fmt): Likewise.
6346 * localedata/locales/ar_IQ (t_fmt): Likewise.
6347 * localedata/locales/ar_JO (t_fmt): Likewise.
6348 * localedata/locales/ar_KW (t_fmt): Likewise.
6349 * localedata/locales/ar_LB (t_fmt): Likewise.
6350 * localedata/locales/ar_LY (t_fmt): Likewise.
6351 * localedata/locales/ar_OM (t_fmt): Likewise.
6352 * localedata/locales/ar_QA (t_fmt): Likewise.
6353 * localedata/locales/ar_SD (t_fmt): Likewise.
6354 * localedata/locales/ar_SS (t_fmt): Likewise.
6355 * localedata/locales/ar_SY (t_fmt): Likewise.
6356 * localedata/locales/ar_TN (t_fmt): Likewise.
6357 * localedata/locales/ar_YE (t_fmt): Likewise.
6359 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6360 (t_fmt_ampm): Likewise.
6361 * localedata/locales/gez_ET (t_fmt): Likewise.
6362 (t_fmt_ampm): Likewise.
6364 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6365 (t_fmt_ampm): Likewise.
6366 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6368 * localedata/locales/zh_HK (t_fmt):
6369 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6371 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6372 because this locale does not use the 12-hour clock.
6373 (t_fmt): Set to "%Z %H:%M:%S".
6374 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6376 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6377 because this locale does not use the 12-hour clock.
6378 (t_fmt): Set to "%H:%M:%S %Z".
6379 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6381 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6382 because this locale does not use the 12-hour clock.
6383 (t_fmt): Set to "%T".
6384 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6385 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6387 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6388 because this locale does not use the 12-hour clock.
6389 (t_fmt): Set to "%H:%M:%S %Z".
6390 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6392 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6393 because this locale does not use the 12-hour clock.
6394 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6395 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6397 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6401 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6402 (t_fmt_ampm): Likewise.
6403 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6404 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6405 (d_fmt): Set to "%-d.%-m.%y".
6407 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6409 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6410 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6411 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6413 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6414 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6415 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6417 * support/blob_repeat.c (check_mul_overflow_size_t,
6418 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6420 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6422 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6424 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6426 regex: simplify Gnulib port
6427 This simplifies the code, by removing stuff intended for porting
6428 to Gnulib but no longer needed there.
6429 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6430 uses of libc_hidden_def, weak_alias.
6431 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6432 _Restrict_ except for public-facing headers.
6433 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6434 Remove; already defined elsewhere.
6435 * posix/regex.c, posix/regex_internal.h:
6436 Use __GNUC_PREREQ instead of rolling our own.
6437 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6439 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6441 * benchtests/bench-strlen.c (generic_strlen): New function.
6442 (memchr_strlen): New function.
6444 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6446 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6447 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6448 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6450 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6452 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6454 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6456 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6457 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6458 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6459 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6460 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6461 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6462 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6464 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6467 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6468 PLT reference in libc.so.
6469 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6470 _Q_lltoq and _Q_qtod PLT references in libc.so.
6472 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6474 * benchtests/bench-memchr.c: Cleanup defines.
6475 * benchtests/bench-memcmp.c: Likewise.
6476 * benchtests/bench-memset.c: Likewise.
6477 * benchtests/bench-memset-large.c: Likewise.
6478 * benchtests/bench-memset-walk.c: Likewise.
6479 * benchtests/bench-stpcpy.c: Likewise.
6480 * benchtests/bench-stpncpy.c: Likewise.
6481 * benchtests/bench-strcat.c: Likewise.
6482 * benchtests/bench-strchr.c: Likewise.
6483 * benchtests/bench-strcmp.c: Likewise.
6484 * benchtests/bench-strcpy.c: Likewise.
6485 * benchtests/bench-strcspn.c: Likewise.
6486 * benchtests/bench-string.h: Likewise.
6487 * benchtests/bench-strlen.c: Likewise.
6488 * benchtests/bench-strncat.c: Likewise.
6489 * benchtests/bench-strncmp.c: Likewise.
6490 * benchtests/bench-strncpy.c: Likewise.
6491 * benchtests/bench-strnlen.c: Likewise.
6492 * benchtests/bench-strpbrk.c: Likewise.
6493 * benchtests/bench-strrchr.c: Likewise.
6494 * benchtests/bench-strspn.c: Likewise.
6496 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6498 * stdlib/longlong.h: Update from GCC.
6501 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6502 * configure: Regenerated.
6503 * manual/install.texi (Tools for Compilation): Update minimum GCC
6505 * INSTALL: Regenerated.
6507 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6509 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6511 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6513 * malloc/malloc.c (mremap_chunk): Additional checks.
6515 2018-12-21 Mao Han <han_mao@c-sky.com>
6517 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6518 * scripts/build-many-glibcs.py: Add C-SKY targets.
6519 * sysdeps/csky/Implies: New file.
6520 * sysdeps/csky/Makefile: Likewise.
6521 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6522 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6523 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6524 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6525 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6526 * sysdeps/csky/abiv2/memmove.S: Likewise.
6527 * sysdeps/csky/abiv2/memset.S: Likewise.
6528 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6529 * sysdeps/csky/abiv2/start.S: Likewise.
6530 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6531 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6532 * sysdeps/csky/abiv2/strlen.S: Likewise.
6533 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6534 * sysdeps/csky/abort-instr.h: Likewise.
6535 * sysdeps/csky/atomic-machine.h: Likewise.
6536 * sysdeps/csky/bits/endian.h: Likewise.
6537 * sysdeps/csky/bits/fenv.h: Likewise.
6538 * sysdeps/csky/bits/link.h: Likewise.
6539 * sysdeps/csky/bits/setjmp.h: Likewise.
6540 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6541 * sysdeps/csky/bsd-setjmp.S: Likewise.
6542 * sysdeps/csky/configure: Likewise.
6543 * sysdeps/csky/configure.ac: Likewise.
6544 * sysdeps/csky/dl-machine.h: Likewise.
6545 * sysdeps/csky/dl-procinfo.c: Likewise.
6546 * sysdeps/csky/dl-procinfo.h: Likewise.
6547 * sysdeps/csky/dl-sysdep.h: Likewise.
6548 * sysdeps/csky/dl-tls.h: Likewise.
6549 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6550 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6551 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6552 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6553 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6554 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6555 * sysdeps/csky/fpu/fegetround.c: Likewise.
6556 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6557 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6558 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6559 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6560 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6561 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6562 * sysdeps/csky/fpu/fesetround.c: Likewise.
6563 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6564 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6565 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6566 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6567 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6568 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6569 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6570 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6571 * sysdeps/csky/fpu_control.h: Likewise.
6572 * sysdeps/csky/gccframe.h: Likewise.
6573 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6574 * sysdeps/csky/ldsodefs.h: Likewise.
6575 * sysdeps/csky/libc-tls.c: Likewise.
6576 * sysdeps/csky/linkmap.h: Likewise.
6577 * sysdeps/csky/machine-gmon.h: Likewise.
6578 * sysdeps/csky/memusage.h: Likewise.
6579 * sysdeps/csky/nofpu/Implies: Likewise.
6580 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6581 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6582 * sysdeps/csky/nptl/Makefile: Likewise.
6583 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6584 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6585 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6586 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6587 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6588 * sysdeps/csky/nptl/tls.h: Likewise.
6589 * sysdeps/csky/preconfigure: Likewise.
6590 * sysdeps/csky/sfp-machine.h: Likewise.
6591 * sysdeps/csky/sotruss-lib.c: Likewise.
6592 * sysdeps/csky/stackinfo.h: Likewise.
6593 * sysdeps/csky/sysdep.h: Likewise.
6594 * sysdeps/csky/tininess.h: Likewise.
6595 * sysdeps/csky/tst-audit.h: Likewise.
6596 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6597 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6598 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6599 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6600 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6601 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6602 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6603 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6604 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6605 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6606 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6607 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6608 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6609 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6610 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6611 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6612 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6613 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6614 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6615 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6616 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6617 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6618 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6619 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6620 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6621 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6622 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6623 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6624 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6625 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6626 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6627 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6628 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6629 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6630 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6631 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6632 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6633 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6634 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6635 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6636 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6637 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6638 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6639 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6641 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6643 * include/time.h (__difftime64): Add.
6644 * time/difftime.c (subtract): convert to 64-bit time.
6645 * time/difftime.c (__difftime64): Add.
6646 * time/difftime.c (__difftime): Wrap around __difftime64.
6648 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6650 * manual/examples/add.c: Remove redundant "if not".
6651 * manual/examples/argp-ex1.c: Likewise.
6652 * manual/examples/argp-ex2.c: Likewise.
6653 * manual/examples/argp-ex3.c: Likewise.
6654 * manual/examples/argp-ex4.c: Likewise.
6655 * manual/examples/atexit.c: Likewise.
6656 * manual/examples/db.c: Likewise.
6657 * manual/examples/dir.c: Likewise.
6658 * manual/examples/dir2.c: Likewise.
6659 * manual/examples/execinfo.c: Likewise.
6660 * manual/examples/filecli.c: Likewise.
6661 * manual/examples/filesrv.c: Likewise.
6662 * manual/examples/fmtmsgexpl.c: Likewise.
6663 * manual/examples/genpass.c: Likewise.
6664 * manual/examples/inetcli.c: Likewise.
6665 * manual/examples/inetsrv.c: Likewise.
6666 * manual/examples/isockad.c: Likewise.
6667 * manual/examples/longopt.c: Likewise.
6668 * manual/examples/memopen.c: Likewise.
6669 * manual/examples/memstrm.c: Likewise.
6670 * manual/examples/mkdirent.c: Likewise.
6671 * manual/examples/mkfsock.c: Likewise.
6672 * manual/examples/mkisock.c: Likewise.
6673 * manual/examples/mygetpass.c: Likewise.
6674 * manual/examples/pipe.c: Likewise.
6675 * manual/examples/popen.c: Likewise.
6676 * manual/examples/rprintf.c: Likewise.
6677 * manual/examples/search.c: Likewise.
6678 * manual/examples/select.c: Likewise.
6679 * manual/examples/setjmp.c: Likewise.
6680 * manual/examples/sigh1.c: Likewise.
6681 * manual/examples/sigusr.c: Likewise.
6682 * manual/examples/stpcpy.c: Likewise.
6683 * manual/examples/strdupa.c: Likewise.
6684 * manual/examples/strftim.c: Likewise.
6685 * manual/examples/subopt.c: Likewise.
6686 * manual/examples/swapcontext.c: Likewise.
6687 * manual/examples/termios.c: Likewise.
6688 * manual/examples/testopt.c: Likewise.
6689 * manual/examples/testpass.c: Likewise.
6690 * manual/examples/timeval_subtract.c: Likewise.
6692 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6694 * sysdeps/x86/fpu/math_private.h: New file.
6695 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6697 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6702 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6704 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6705 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6706 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6707 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6709 (_dl_show_auxv): Give a special treatment to
6710 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6711 and AT_L3_CACHEGEOMETRY.
6712 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6713 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6714 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6715 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6717 2018-12-19 Andreas Schwab <schwab@suse.de>
6719 * nscd/connections.c (check_use): Don't abort on invalid len.
6721 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6723 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6724 values in the 64bit value cases.
6726 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6732 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6738 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6741 (__gmtime64_r): Add.
6743 (__gmtime64_r): Add.
6744 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6750 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6753 (__localtime64_r): Add.
6755 (__localtime64_r): Add.
6756 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6758 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6760 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6761 kernel_sigction definition.
6763 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6765 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6767 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6768 __syscall_rt_sigaction.
6769 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6770 (kernel_sigaction): Use Linux generic defintion.
6772 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6773 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6774 (__syscall_rt_sigaction): Remove implementation.
6775 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6777 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6778 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6779 INTERNAL_SYSCALL): Remove definitions.
6780 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6781 action and signal set size.
6782 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6783 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6785 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6786 James Clarke <jrtc27@jrtc27.com>
6789 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6790 Define if SA_RESTORER is defined.
6791 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6792 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6794 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6795 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6797 (HAS_SA_RESTORER): Define.
6798 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6799 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6800 (HAS_SA_RESTORER): Define.
6801 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6802 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6803 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6804 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6805 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6807 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6809 * sysdeps/unix/sysv/linux/kernel-features.h
6810 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6811 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6812 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6813 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6814 (__ASSUME_ST_INO_64_BIT): Likewise.
6815 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6816 <kernel-features.h>.
6817 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6818 Remove conditional code.
6819 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6820 <kernel-features.h>.
6821 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6822 Remove conditional code.
6823 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6824 <kernel-features.h>.
6825 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6826 Remove conditional code.
6827 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6828 <kernel-features.h>.
6829 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6830 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6832 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6834 * sysdeps/s390/multiarch/ifunc-resolve.h
6835 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6836 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6837 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6838 Delete macro definition.
6839 (s390_libc_ifunc_init): Rename to
6840 s390_libc_ifunc_expr_stfle_init.
6841 * sysdeps/s390/bzero: Use
6842 s390_libc_ifunc_expr_stfle_init instead of
6843 s390_libc_ifunc_init.
6844 * sysdeps/s390/memcmp.c: Likewise.
6845 * sysdeps/s390/memcpy.c: Likewise.
6846 * sysdeps/s390/mempcpy.c: Likewise.
6847 * sysdeps/s390/memset.c: Likewise.
6849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6851 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6852 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6854 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6856 * sysdeps/s390/multiarch/Makefile
6857 (sysdep_routines): Remove wmemcmp variants.
6858 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6859 * sysdeps/s390/multiarch/ifunc-impl-list.c
6860 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6861 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6862 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6863 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6864 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6865 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6866 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6867 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6869 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6871 * sysdeps/s390/multiarch/Makefile
6872 (sysdep_routines): Remove wmemset variants.
6873 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6874 * sysdeps/s390/multiarch/ifunc-impl-list.c
6875 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6876 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6877 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6878 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6879 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6880 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6881 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6882 * sysdeps/s390/ifunc-wmemset.h: New file.
6884 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6886 * sysdeps/s390/multiarch/Makefile
6887 (sysdep_routines): Remove wmemchr variants.
6888 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6889 * sysdeps/s390/multiarch/ifunc-impl-list.c
6890 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6891 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6892 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6893 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6894 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6895 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6896 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6897 * sysdeps/s390/ifunc-wmemchr.h: New file.
6899 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6901 * sysdeps/s390/multiarch/Makefile
6902 (sysdep_routines): Remove wcscspn variants.
6903 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6904 * sysdeps/s390/multiarch/ifunc-impl-list.c
6905 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6906 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6907 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6908 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6909 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6910 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6911 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6912 * sysdeps/s390/ifunc-wcscspn.h: New file.
6914 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6916 * sysdeps/s390/multiarch/Makefile
6917 (sysdep_routines): Remove wcspbrk variants.
6918 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6919 * sysdeps/s390/multiarch/ifunc-impl-list.c
6920 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6921 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6922 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6923 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6924 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6925 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6926 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6927 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6929 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6931 * sysdeps/s390/multiarch/Makefile
6932 (sysdep_routines): Remove wcsspn variants.
6933 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6934 * sysdeps/s390/multiarch/ifunc-impl-list.c
6935 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6936 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6937 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6938 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6939 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6940 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6941 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6942 * sysdeps/s390/ifunc-wcsspn.h: New file.
6944 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6946 * sysdeps/s390/multiarch/Makefile
6947 (sysdep_routines): Remove wcsrchr variants.
6948 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6949 * sysdeps/s390/multiarch/ifunc-impl-list.c
6950 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6951 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6952 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6953 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6954 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6955 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6956 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6957 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6961 * sysdeps/s390/multiarch/Makefile
6962 (sysdep_routines): Remove wcschrnul variants.
6963 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6964 * sysdeps/s390/multiarch/ifunc-impl-list.c
6965 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6966 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6967 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6968 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6969 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6970 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6971 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6972 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6976 * sysdeps/s390/multiarch/Makefile
6977 (sysdep_routines): Remove wcschr variants.
6978 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6979 * sysdeps/s390/multiarch/ifunc-impl-list.c
6980 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6981 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6982 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6983 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6984 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6985 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6986 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6987 * sysdeps/s390/ifunc-wcschr.h: New file.
6989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6991 * sysdeps/s390/multiarch/Makefile
6992 (sysdep_routines): Remove wcsncmp variants.
6993 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6994 * sysdeps/s390/multiarch/ifunc-impl-list.c
6995 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6996 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6997 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6998 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6999 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7000 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7001 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7002 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7006 * sysdeps/s390/multiarch/Makefile
7007 (sysdep_routines): Remove wcscmp variants.
7008 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7009 * sysdeps/s390/multiarch/ifunc-impl-list.c
7010 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7011 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7012 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7013 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7014 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7015 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7016 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7017 * sysdeps/s390/ifunc-wcscmp.h: New file.
7019 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7021 * sysdeps/s390/multiarch/Makefile
7022 (sysdep_routines): Remove wcsncat variants.
7023 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7024 * sysdeps/s390/multiarch/ifunc-impl-list.c
7025 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7026 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7027 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7028 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7029 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7030 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7031 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7032 * sysdeps/s390/ifunc-wcsncat.h: New file.
7034 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7036 * sysdeps/s390/multiarch/Makefile
7037 (sysdep_routines): Remove wcscat variants.
7038 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7039 * sysdeps/s390/multiarch/ifunc-impl-list.c
7040 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7041 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7042 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7043 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7044 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7045 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7046 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7047 * sysdeps/s390/ifunc-wcscat.h: New file.
7049 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7051 * sysdeps/s390/multiarch/Makefile
7052 (sysdep_routines): Remove wcpncpy variants.
7053 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7054 * sysdeps/s390/multiarch/ifunc-impl-list.c
7055 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7056 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7057 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7058 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7059 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7060 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7061 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7062 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7064 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7066 * sysdeps/s390/multiarch/Makefile
7067 (sysdep_routines): Remove wcsncpy variants.
7068 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
7069 * sysdeps/s390/multiarch/ifunc-impl-list.c
7070 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
7071 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
7072 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
7073 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
7074 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
7075 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
7076 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
7077 * sysdeps/s390/ifunc-wcsncpy.h: New file.
7079 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7081 * sysdeps/s390/multiarch/Makefile
7082 (sysdep_routines): Remove wcpcpy variants.
7083 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
7084 * sysdeps/s390/multiarch/ifunc-impl-list.c
7085 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
7086 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
7087 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
7088 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
7089 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
7090 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
7091 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
7092 * sysdeps/s390/ifunc-wcpcpy.h: New file.
7094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7096 * sysdeps/s390/multiarch/Makefile
7097 (sysdep_routines): Remove wcscpy variants.
7098 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
7099 * sysdeps/s390/multiarch/ifunc-impl-list.c
7100 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
7101 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
7102 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
7103 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
7104 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
7105 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
7106 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
7107 * sysdeps/s390/ifunc-wcscpy.h: New file.
7109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7111 * sysdeps/s390/multiarch/Makefile
7112 (sysdep_routines): Remove wcsnlen variants.
7113 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
7114 * sysdeps/s390/multiarch/ifunc-impl-list.c
7115 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
7116 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
7117 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
7118 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
7119 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
7120 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
7121 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
7122 * sysdeps/s390/ifunc-wcsnlen.h: New file.
7124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7126 * sysdeps/s390/multiarch/Makefile
7127 (sysdep_routines): Remove wcslen variants.
7128 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
7129 * sysdeps/s390/multiarch/ifunc-impl-list.c
7130 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
7131 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
7132 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
7133 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
7134 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
7135 * sysdeps/s390/multiarch/wcslen.c: Move to ...
7136 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
7137 * sysdeps/s390/ifunc-wcslen.h: New file.
7139 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7141 * sysdeps/s390/multiarch/Makefile
7142 (sysdep_routines): Remove memrchr variants.
7143 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
7144 * sysdeps/s390/multiarch/ifunc-impl-list.c
7145 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
7146 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
7147 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
7148 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
7149 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
7150 * sysdeps/s390/multiarch/memrchr.c: Move to ...
7151 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
7152 * sysdeps/s390/ifunc-memrchr.h: New file.
7154 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7156 * sysdeps/s390/multiarch/Makefile
7157 (sysdep_routines): Remove memccpy variants.
7158 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
7159 * sysdeps/s390/multiarch/ifunc-impl-list.c
7160 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
7161 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
7162 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
7163 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
7164 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
7165 * sysdeps/s390/multiarch/memccpy.c: Move to ...
7166 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
7167 * sysdeps/s390/ifunc-memccpy.h: New file.
7169 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7171 * sysdeps/s390/multiarch/Makefile
7172 (sysdep_routines): Remove rawmemchr variants.
7173 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
7174 * sysdeps/s390/multiarch/ifunc-impl-list.c
7175 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
7176 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
7177 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
7178 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
7179 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
7180 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
7181 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
7182 * sysdeps/s390/ifunc-rawmemchr.h: New file.
7184 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7186 * sysdeps/s390/multiarch/Makefile
7187 (sysdep_routines): Remove memchr variants.
7188 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
7189 * sysdeps/s390/multiarch/ifunc-impl-list.c
7190 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
7191 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
7192 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
7193 * sysdeps/s390/multiarch/memchr.c: Move to ...
7194 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
7195 * sysdeps/s390/ifunc-memchr.h: New file.
7196 * sysdeps/s390/s390-64/memchr.S: Move to ...
7197 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
7198 for 31/64bit and ifunc handling.
7199 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
7200 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7201 * sysdeps/s390/s390-32/memchr.S: Likewise.
7203 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7205 * sysdeps/s390/multiarch/Makefile
7206 (sysdep_routines): Remove strcspn variants.
7207 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
7208 * sysdeps/s390/multiarch/ifunc-impl-list.c
7209 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
7210 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
7211 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
7212 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
7213 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
7214 * sysdeps/s390/multiarch/strcspn.c: Move to ...
7215 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
7216 * sysdeps/s390/ifunc-strcspn.h: New file.
7218 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7220 * sysdeps/s390/multiarch/Makefile
7221 (sysdep_routines): Remove strpbrk variants.
7222 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
7223 * sysdeps/s390/multiarch/ifunc-impl-list.c
7224 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
7225 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
7226 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
7227 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
7228 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
7229 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
7230 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
7231 * sysdeps/s390/ifunc-strpbrk.h: New file.
7233 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7235 * sysdeps/s390/multiarch/Makefile
7236 (sysdep_routines): Remove strspn variants.
7237 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
7238 * sysdeps/s390/multiarch/ifunc-impl-list.c
7239 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
7240 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
7241 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
7242 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
7243 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
7244 * sysdeps/s390/multiarch/strspn.c: Move to ...
7245 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
7246 * sysdeps/s390/ifunc-strspn.h: New file.
7248 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7250 * sysdeps/s390/multiarch/Makefile
7251 (sysdep_routines): Remove strrchr variants.
7252 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
7253 * sysdeps/s390/multiarch/ifunc-impl-list.c
7254 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
7255 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
7256 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
7257 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
7258 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
7259 * sysdeps/s390/multiarch/strrchr.c: Move to ...
7260 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
7261 * sysdeps/s390/ifunc-strrchr.h: New file.
7263 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7265 * sysdeps/s390/multiarch/Makefile
7266 (sysdep_routines): Remove strchrnul variants.
7267 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
7268 * sysdeps/s390/multiarch/ifunc-impl-list.c
7269 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
7270 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
7271 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
7272 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
7273 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
7274 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
7275 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
7276 * sysdeps/s390/ifunc-strchrnul.h: New file.
7278 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7280 * sysdeps/s390/multiarch/Makefile
7281 (sysdep_routines): Remove strchr variants.
7282 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
7283 * sysdeps/s390/multiarch/ifunc-impl-list.c
7284 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7285 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7286 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7287 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7288 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7289 * sysdeps/s390/multiarch/strchr.c: Move to ...
7290 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7291 * sysdeps/s390/ifunc-strchr.h: New file.
7293 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7295 * sysdeps/s390/multiarch/Makefile
7296 (sysdep_routines): Remove strncmp variants.
7297 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7298 * sysdeps/s390/multiarch/ifunc-impl-list.c
7299 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7300 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7301 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7302 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7303 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7304 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7305 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7306 * sysdeps/s390/ifunc-strncmp.h: New file.
7308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7310 * sysdeps/s390/multiarch/Makefile
7311 (sysdep_routines): Remove strcmp variants.
7312 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7313 * sysdeps/s390/multiarch/ifunc-impl-list.c
7314 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7315 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7316 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7317 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7318 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7319 * sysdeps/s390/ifunc-strcmp.h: New file.
7320 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7321 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7322 for 31/64bit and ifunc handling.
7323 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7324 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7325 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7327 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7329 * sysdeps/s390/multiarch/Makefile
7330 (sysdep_routines): Remove strncat variants.
7331 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7332 * sysdeps/s390/multiarch/ifunc-impl-list.c
7333 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7334 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7335 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7336 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7337 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7338 * sysdeps/s390/multiarch/strncat.c: Move to ...
7339 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7340 * sysdeps/s390/ifunc-strncat.h: New file.
7342 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7344 * sysdeps/s390/multiarch/Makefile
7345 (sysdep_routines): Remove strcat variants.
7346 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7347 * sysdeps/s390/multiarch/ifunc-impl-list.c
7348 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7349 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7350 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7351 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7352 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7353 * sysdeps/s390/multiarch/strcat.c: Move to ...
7354 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7355 * sysdeps/s390/ifunc-strcat.h: New file.
7357 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7359 * sysdeps/s390/multiarch/Makefile
7360 (sysdep_routines): Remove stpncpy variants.
7361 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7362 * sysdeps/s390/multiarch/ifunc-impl-list.c
7363 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7364 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7365 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7366 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7367 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7368 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7369 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7370 * sysdeps/s390/ifunc-stpncpy.h: New file.
7372 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7374 * sysdeps/s390/multiarch/Makefile
7375 (sysdep_routines): Remove strncpy variants.
7376 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7377 * sysdeps/s390/multiarch/ifunc-impl-list.c
7378 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7379 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7380 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7381 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7382 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7383 * sysdeps/s390/ifunc-strncpy.h: New file.
7384 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7385 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7386 and adjust ifunc handling.
7387 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7388 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7389 and adjust ifunc handling.
7390 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7391 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7393 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7395 * sysdeps/s390/multiarch/Makefile
7396 (sysdep_routines): Remove stpcpy variants.
7397 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7398 * sysdeps/s390/multiarch/ifunc-impl-list.c
7399 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7400 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7401 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7402 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7403 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7404 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7405 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7406 * sysdeps/s390/ifunc-stpcpy.h: New file.
7408 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7410 * sysdeps/s390/multiarch/Makefile
7411 (sysdep_routines): Remove strcpy variants.
7412 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7413 * sysdeps/s390/multiarch/ifunc-impl-list.c
7414 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7415 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7416 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7417 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7418 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7419 * sysdeps/s390/ifunc-strcpy.h: New file.
7420 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7421 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7422 for 31/64bit and ifunc handling.
7423 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7424 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7425 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7427 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7429 * sysdeps/s390/multiarch/Makefile
7430 (sysdep_routines): Remove strnlen variants.
7431 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7432 * sysdeps/s390/multiarch/ifunc-impl-list.c
7433 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7434 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7435 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7436 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7437 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7438 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7439 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7440 * sysdeps/s390/ifunc-strnlen.h: New file.
7442 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7444 * sysdeps/s390/multiarch/Makefile
7445 (sysdep_routines): Remove strlen variants.
7446 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7447 * sysdeps/s390/multiarch/ifunc-impl-list.c
7448 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7449 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7450 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7451 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7452 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7453 * sysdeps/s390/multiarch/strlen.c: Move to ...
7454 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7455 * sysdeps/s390/ifunc-strlen.h: New file.
7457 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7459 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7460 * sysdeps/s390/multiarch/ifunc-impl-list.c
7461 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7462 * sysdeps/s390/ifunc-memmem.h: New file.
7463 * sysdeps/s390/memmem.c: Likewise.
7464 * sysdeps/s390/memmem-c.c: Likewise.
7465 * sysdeps/s390/memmem-vx.c: Likewise.
7467 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7469 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7470 * sysdeps/s390/multiarch/ifunc-impl-list.c
7471 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7472 * sysdeps/s390/ifunc-strstr.h: New file.
7473 * sysdeps/s390/strstr.c: Likewise.
7474 * sysdeps/s390/strstr-c.c: Likewise.
7475 * sysdeps/s390/strstr-vx.c: Likewise.
7477 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7479 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7480 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7481 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7482 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7484 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7485 * sysdeps/s390/memmove-c.c: New file.
7486 * sysdeps/s390/memmove.c: Likewise.
7487 * sysdeps/s390/multiarch/ifunc-impl-list.c
7488 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7490 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7492 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7493 * sysdeps/s390/configure.ac: Add check for z13 support.
7494 * sysdeps/s390/configure: Regenerated.
7496 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7498 * sysdeps/s390/memcopy.h: New file.
7500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7502 * sysdeps/s390/s390-32/bcopy.S: Remove.
7503 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7505 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7507 * sysdeps/s390/ifunc-memcpy.h: New File.
7508 * sysdeps/s390/memcpy.S: Move to ...
7509 * sysdeps/s390/memcpy-z900.S ... here.
7510 Move implementations from memcpy-s390x.s to here.
7511 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7512 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7513 Remove memcpy/mempcpy variants.
7514 * sysdeps/s390/Makefile (sysdep_routines):
7515 Add memcpy/mempcpy variants.
7516 * sysdeps/s390/multiarch/ifunc-impl-list.c
7517 (__libc_ifunc_impl_list): Adjust ifunc variants for
7519 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7521 * sysdeps/s390/memcpy.c: ... here.
7522 Adjust ifunc variants for memcpy.
7523 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7524 * sysdeps/s390/mempcpy.c: ... here.
7525 Adjust ifunc variants for mempcpy.
7526 * sysdeps/s390/mempcpy.S: Delete file.
7528 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7530 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7531 * sysdeps/s390/memcpy.S: ... here.
7532 Adjust to be usable for 31/64bit.
7533 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7534 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7535 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7536 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7537 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7538 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7539 Adjust to be usable for 31/64bit.
7540 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7541 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7542 * sysdeps/s390/multiarch/memcpy.c: ... here.
7543 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7547 * sysdeps/s390/ifunc-memcmp.h: New File.
7548 * sysdeps/s390/memcmp.S: Move to ...
7549 * sysdeps/s390/memcmp-z900.S ... here.
7550 Move implementations from memcmp-s390x.s to here.
7551 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7552 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7553 Remove memcmp variants.
7554 * sysdeps/s390/Makefile (sysdep_routines):
7555 Add memcmp variants.
7556 * sysdeps/s390/multiarch/ifunc-impl-list.c
7557 (__libc_ifunc_impl_list): Adjust ifunc variants for
7559 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7561 * sysdeps/s390/memcmp.c: ... here.
7562 Adjust ifunc variants for memcmp.
7564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7566 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7567 * sysdeps/s390/memcmp.S: ... here.
7568 Adjust to be usable for 31/64bit.
7569 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7570 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7571 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7573 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7574 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7575 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7576 Adjust to be usable for 31/64bit.
7577 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7578 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7579 * sysdeps/s390/multiarch/memcmp.c: ... here.
7580 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7582 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7584 * sysdeps/s390/s390-32/bzero.S: Delete file.
7585 * sysdeps/s390/s390-64/bzero.S: Likewise.
7586 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7587 * sysdeps/s390/bzero.c: New file.
7588 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7589 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7590 * sysdeps/s390/multiarch/ifunc-impl-list.c
7591 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7593 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7595 * sysdeps/s390/ifunc-memset.h: New File.
7596 * sysdeps/s390/memset.S: Move to ...
7597 * sysdeps/s390/memset-z900.S ... here.
7598 Move implementations from memset-s390x.s to here.
7599 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7600 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7601 Remove memset variants.
7602 * sysdeps/s390/Makefile (sysdep_routines):
7603 Add memset variants.
7604 * sysdeps/s390/multiarch/ifunc-impl-list.c
7605 (__libc_ifunc_impl_list): Adjust ifunc variants for
7607 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7609 * sysdeps/s390/memset.c: ... here.
7610 Adjust ifunc variants for memset.
7612 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7614 * sysdeps/s390/s390-64/memset.S: Move to ...
7615 * sysdeps/s390/memset.S: ... here.
7616 Adjust to be usable for 31/64bit.
7617 * sysdeps/s390/s390-32/memset.S: Delete File.
7618 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7619 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7621 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7622 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7623 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7624 Adjust to be usable for 31/64bit.
7625 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7626 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7627 * sysdeps/s390/multiarch/memset.c: ... here.
7628 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7630 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7632 * sysdeps/s390/multiarch/ifunc-resolve.h
7633 (s390_libc_ifunc_init, s390_libc_ifunc,
7634 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7636 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7638 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7639 * sysdeps/s390/configure.ac: Add check for z10 support.
7640 * sysdeps/s390/configure: Regenerated.
7642 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7644 * sysdeps/i386/atomic-machine.h: Merged with ...
7645 * sysdeps/x86_64/atomic-machine.h: To ...
7646 * sysdeps/x86/atomic-machine.h: This. New file.
7648 2018-12-18 Florian Weimer <fweimer@redhat.com>
7650 Rewrite locale/gen-translit.pl in Python.
7651 * locale/Makefile (generated): Add C-translit.h.
7652 (before-compile): Add $(objpfx)C-translit.h.
7653 (C-translit.h): Move to $(objpfx). Create target directory.
7654 Build using Python script.
7655 * locale/gen-translit.py: New file.
7656 * locale/gen-translit.pl: Remove file.
7657 * locale/C-translit.h.in: Change comment character to '#' for
7658 easier parsing without a C preprocessor.
7659 * locale/C-translit.h: Remove generated file.
7660 * manual/install.texi (Tools for Compilation): Do not mention
7662 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7663 Remove locale/C-translit.h.
7664 * scripts/update-copyrights: Likewise.
7665 * INSTALL: Regenerate.
7667 2018-12-18 Florian Weimer <fweimer@redhat.com>
7670 * localedata/locales/bi_VU: Remove executable bit from file.
7672 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7675 (__localtime64): Add.
7676 * manual/maint.texi: Document Y2038 symbol handling.
7678 (__localtime64): Add.
7679 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7681 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7683 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7686 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7687 to allow extra macros from first or second sources.
7688 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7689 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7690 (tests-special): Add $(objpfx)tst-mman-consts.out.
7691 ($(objpfx)tst-mman-consts.out): New makefile target.
7693 2018-12-17 Mao Han <han_mao@c-sky.com>
7695 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7696 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7697 without stat64 system call support.
7698 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7699 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7700 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7701 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7702 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7703 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7704 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7705 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7706 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7707 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7708 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7710 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7712 regex: fix storage-exhaustion error
7714 * posix/regexec.c (get_subexp):
7715 Do not continue if storage is exhausted.
7717 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7719 regex: fix heap-use-after-free error
7721 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7722 https://debbugs.gnu.org/32592
7723 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7724 call extend_buffers which reallocates the re_string_t internal buffer.
7725 Local variable 'buf' was not updated in such case, resulting in
7727 * posix/regexec.c (get_subexp): Update 'buf' after call to
7730 2018-12-15 Florian Weimer <fweimer@redhat.com>
7732 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7733 (minimum_stride_size): Use it.
7734 (support_blob_repeat_allocate): Likewise.
7736 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7738 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7743 2018-12-14 Florian Weimer <fweimer@redhat.com>
7745 * manual/process.texi (Process Creation Concepts): Remove
7746 documentation of process (ID) lifetime. List more process
7747 creation functions. Reference Process Identification section.
7748 (Process Identification): Add information about process ID
7749 lifetime. Describe Linux thread/task IDs.
7750 * manual/signal.texi (Signaling Another Process): Mention that the
7751 signal is always sent to the process.
7753 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7755 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7756 and tst-ldbl-efgcvt.
7757 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7758 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7759 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7760 (fcvt_tests, output_error, output_r_error, do_test): Use the
7761 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7762 select the type of floating-point variables and arguments; to
7763 produce extra tests for double and conversion specifiers for
7764 printf; and to set the names of called functions.
7765 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7766 in tst-efgcvt-template.c.
7767 * misc/tst-ldbl-efgcvt.c: Likewise.
7769 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7771 * nss/Makefile (tst-nss-test3.out): New rule.
7773 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7775 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7778 2018-12-13 fanjinke <fanjinke@hygon.cn>
7780 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7783 2018-12-13 Andreas Schwab <schwab@suse.de>
7786 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7787 (__pthread_rwlock_rdlock_full): Update expected value for
7788 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7789 * nptl/tst-rwlock-pwn.c: New file.
7790 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7792 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7794 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7797 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7799 * benchtests/scripts/compare_bench.py (do_compare): write to
7800 stderr in casestat is not present.
7801 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7802 stderr in case timings field is not present. Also string showing
7803 the output filename goes into the stderr.
7805 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7807 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7808 and ZeroDivisorError exceptions.
7809 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7810 argument to loop through user provided statistics.
7811 * benchtests/scripts/compare_bench.py (main): Include the --stats
7814 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7816 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7819 2018-12-12 Florian Weimer <fweimer@redhat.com>
7821 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7822 clause to copyright header.
7824 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7827 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7828 registers saved in the stack frame.
7829 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7830 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7832 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7834 * include/bits/monetary-ldbl.h: New file.
7835 * include/bits/printf-ldbl.h: Likewise.
7836 * include/bits/stdio-ldbl.h: Likewise.
7837 * include/bits/stdlib-ldbl.h: Likewise.
7838 * include/bits/syslog-ldbl.h: Likewise.
7839 * include/bits/wchar-ldbl.h: Likewise.
7841 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7843 * libio/libio.h: Remove redirection for _IO_vfprintf.
7845 2018-12-11 Andreas Schwab <schwab@suse.de>
7847 * Makerules: Remove all references to abilist-pattern.
7848 (update-all-abi): Simplify find expression.
7850 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7853 * math/auto-libm-test-in: Add new test case.
7854 * math/auto-libm-test-out-pow: Regenerated.
7855 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7857 2018-12-10 DJ Delorie <dj@redhat.com>
7860 * support/test-container.c: Move postclean step to before we
7863 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7865 * scripts/gen-as-const.py (main): Handle --python option.
7866 * scripts/gen-py-const.awk: Remove.
7867 * Makerules (py-const-script): Use gen-as-const.py.
7868 ($(py-const)): Likewise.
7869 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7870 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7871 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7872 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7873 ~PTHREAD_MUTEX_NO_ELISION_NP.
7874 * manual/README.pretty-printers: Update reference to
7877 * scripts/glibcextract.py: New file.
7878 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7879 or tempfile. Import glibcexctract.
7880 (compute_c_consts): Remove. Moved to glibcextract.py.
7881 (gen_test): Update reference to compute_c_consts.
7883 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7884 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7885 * sysdeps/unix/sysv/linux/Makefile
7886 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7887 Redirect stderr as well as stdout.
7889 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7892 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7893 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7894 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7895 ALWAYS_USE_VSYSCALL.
7896 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7897 ALWAYS_USE_VSYSCALL.
7898 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7899 ALWAYS_USE_VSYSCALL.
7901 2018-12-10 Florian Weimer <fweimer@redhat.com>
7904 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7905 offset instead of count for clarity. Fix typo in comment.
7906 (__old_getdents64): Keep track of previous offset. Use it to call
7908 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7909 that d_off is never zero.
7911 2018-12-10 Andreas Schwab <schwab@suse.de>
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7914 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7916 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7917 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7919 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7921 * timezone/private.h: Update from tzcode 2018g.
7922 * timezone/tzfile.h: Likewise.
7923 * timezone/tzselect.ksh: Likewise.
7924 * timezone/zdump.c: Likewise.
7925 * timezone/zic.c: Likewise.
7927 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7930 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7931 (do_test): Adjust buffer size and fix format.
7933 2018-12-07 DJ Delorie <dj@redhat.com>
7936 * malloc/tst-tcfree3.c: New.
7937 * malloc/Makefile: Add it.
7939 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7941 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7943 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7945 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7946 used as a mask for the mode argument of __vfscanf_internal and
7947 __vfwscanf_internal.
7948 * stdio-common/vfscanf-internal.c
7949 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7950 (__strtof128_internal): Define to __wcstof128_internal.
7951 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7952 __strtof128_internal or __wcstof128_internal when the format of
7953 long double is the same as _Float128.
7955 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7957 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7958 * posix/confstr.c (confstr): Rename to __confstr.
7959 (__confstr): Add hidden def.
7960 (confstr): Add weak alias for __confstr.
7961 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7964 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7966 * NEWS: Mention getcpu.
7967 * include/sched.h (__getcpu): New libc_hidden_proto.
7968 * manual/resource.texi: Document getcpu.
7969 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7970 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7971 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7972 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7973 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7974 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7975 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7976 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7977 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7978 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7979 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7980 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7981 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7983 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7984 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7985 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7994 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7995 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7996 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7997 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7998 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7999 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8000 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8001 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8002 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8003 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8004 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8007 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8009 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8011 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8013 2018-12-07 Florian Weimer <fweimer@redhat.com>
8016 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8017 * posix/Versions (GLIBC_2.29): Export
8018 posix_spawn_file_actions_addfchdir_np.
8019 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8020 * posix/spawn_faction_destroy.c
8021 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8022 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8023 and the field action.fchdir_action.
8024 * posix/tst-spawn-chdir.c (add_chdir): New function.
8025 (do_test): Add do_fchdir loop. Call add_chdir.
8026 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8027 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8028 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8029 posix_spawn_file_actions_addfchdir_np.
8030 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8032 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8034 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8035 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8037 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8039 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8041 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8043 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8045 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8047 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8048 (GLIBC_2.29): Likewise.
8049 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8050 (GLIBC_2.29): Likewise.
8051 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8052 (GLIBC_2.29): Likewise.
8053 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8054 (GLIBC_2.29): Likewise.
8055 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8058 (GLIBC_2.29): Likewise.
8059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8060 (GLIBC_2.29): Likewise.
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8062 (GLIBC_2.29): Likewise.
8063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8064 (GLIBC_2.29): Likewise.
8065 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8067 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8069 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8071 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8072 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8074 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8076 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8078 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8081 2018-12-06 Joseph Myers <joseph@codesourcery.com>
8083 * manual/texinfo.tex: Update to version 2018-09-21.20 with
8084 trailing whitespace removed.
8085 * scripts/config.guess: Update to version 2018-11-28.
8086 * scripts/config.sub: Update to version 2018-11-28.
8087 * scripts/install-sh: Update to version 2018-03-11.20.
8088 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
8089 * scripts/move-if-change: Update to version 2018-03-07 03:47.
8091 2018-12-07 Florian Weimer <fweimer@redhat.com>
8095 * inet/tst-if_index-long.c: New file.
8096 * inet/Makefile (tests): Add tst-if_index-long.
8098 2018-12-07 Florian Weimer <fweimer@redhat.com>
8100 * support/check.h (support_record_failure_is_failed): Declare.
8101 * support/descriptors.h: New file.
8102 * support/support_descriptors.c: Likewise.
8103 * support/tst-support_descriptors.c: Likewise.
8104 * support/support_record_failure.c
8105 (support_record_failure_is_failed): New function.
8106 * support/Makefile (libsupport-routines): Add support_descriptors.
8107 (tests): Add tst-support_descriptors.
8109 2018-12-05 Zack Weinberg <zackw@panix.com>
8110 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8112 * stdio-common/vfprintf-internal.c
8113 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
8114 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
8115 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
8116 and __no_long_double.
8117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
8118 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
8119 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
8120 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
8121 and __nldbl_*syslog* functions.
8122 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
8123 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
8124 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
8125 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
8126 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
8127 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
8128 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
8129 (__nldbl_vwprintf, __nldbl_wprintf):
8130 Directly call the appropriate __v*printf_internal routine, passing
8131 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
8133 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
8134 (__nldbl___printf_chk, __nldbl___snprintf_chk)
8135 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
8136 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
8137 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
8138 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8139 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
8140 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
8141 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
8142 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
8143 Likewise, and also pass PRINTF_FORTIFY when appropriate.
8144 (__nldbl_syslog, __nldbl_vsyslog):
8145 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
8146 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8148 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8151 2018-12-05 Zack Weinberg <zackw@panix.com>
8152 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8155 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
8156 Moved here from debug/vsprintf_chk.c.
8157 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
8158 and completion logic for the strfile to match exactly what
8159 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
8160 _IO_str_init_static_internal instead of maxlen-1.
8161 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8162 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
8163 __vsprintf_internal.
8165 * debug/vsprintf_chk.c (__vsprintf_chk)
8166 * debug/sprintf_chk.c (__sprintf_chk):
8167 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
8168 'flags' argument is positive, and slen as maxlen. No need to lock
8169 the FILE and/or construct a temporary FILE. Minimize and normalize
8170 header inclusions and variable names. Do not libc_hidden_def anything.
8172 * debug/asprintf_chk.c (__asprintf_chk)
8173 * debug/dprintf_chk.c (__dprintf_chk)
8174 * debug/fprintf_chk.c (__fprintf_chk)
8175 * debug/fwprintf_chk.c (__fwprintf_chk)
8176 * debug/printf_chk.c (__printf_chk)
8177 * debug/snprintf_chk.c (__snprintf_chk)
8178 * debug/swprintf_chk.c (__swprintf_chk)
8179 * debug/vasprintf_chk.c (__vasprintf_chk)
8180 * debug/vdprintf_chk.c (__vdprintf_chk)
8181 * debug/vfprintf_chk.c (__vfprintf_chk)
8182 * debug/vfwprintf_chk.c (__vfwprintf_chk)
8183 * debug/vprintf_chk.c (__vprintf_chk)
8184 * debug/vsnprintf_chk.c (__vsnprintf_chk)
8185 * debug/vswprintf_chk.c (__vswprintf_chk)
8186 * debug/vwprintf_chk.c (__vwprintf_chk)
8187 * debug/wprintf_chk.c (__wprintf_chk):
8188 Directly call the corresponding vxxprintf_internal function, passing
8189 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
8190 the FILE and/or construct a temporary FILE. Minimize and normalize
8191 header inclusions and variable names. Do not libc_hidden_def anything.
8193 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
8194 __obstack_vprintf_internal.
8195 (__obstack_vprintf_chk): Convert into a wrapper that calls
8196 __obstack_vprintf_internal (these two functions already had the
8197 same code) and move to new file...
8198 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
8200 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
8201 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
8202 * debug/Makefile (routines): Add vobprintf_chk.
8204 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8205 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8206 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
8207 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8208 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
8209 (__nldbl___obstack_vfprintf_chk):
8210 Directly call the corresponding vxxprintf_internal function,
8211 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
8212 duplicate comparison of slen with 0 or maxlen from the corresponding
8213 non-__nldbl function.
8215 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
8216 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
8217 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
8218 Remove libc_hidden_proto.
8220 * stdio-common/vfprintf-internal.c
8221 (__vfprintf_internal, __vfwprintf_internal):
8222 Do not check _IO_FLAGS2_FORTIFY.
8223 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
8224 * libio/libioP.h: Update prototype of __vsprintf_internal and add
8225 a comment explaining why it has the maxlen argument.
8226 (_IO_acquire_lock_clear_flags2_fct): Remove.
8227 (_IO_acquire_lock_clear_flags2): Remove.
8228 (_IO_release_lock): Remove conditional statement which will
8230 (_IO_acquire_lock): Remove variable which is now unused.
8231 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8232 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8234 * stdio-common/Makefile (tests): Add tst-bz11319 and
8235 tst-bz11319-fortify2.
8236 (CFLAGS-tst-bz11319-fortify2.c): New macro.
8237 * stdio-common/tst-bz11319-fortify2.c: New file.
8238 * stdio-common/tst-bz11319.c: Likewise.
8240 2018-12-05 Zack Weinberg <zackw@panix.com>
8241 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8243 * misc/syslog.c: Include libioP.h, not iolibio.h.
8244 (__vsyslog_internal): New function with the former body of
8245 __vsyslog_chk; takes mode_flags argument same as
8246 __v*printf_internal. Call __vfprintf_internal directly.
8248 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
8249 Remove libc_hidden_def.
8250 (__syslog, __syslog_chk): Use __vsyslog_internal.
8251 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
8253 * include/sys/syslog.h: Add multiple inclusion guard.
8254 Add prototype for __vsyslog_internal.
8255 Remove declaration and libc_hidden_proto for __vsyslog_chk.
8257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
8258 Use __vsyslog_internal.
8260 2018-12-05 Zack Weinberg <zackw@panix.com>
8261 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8263 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
8264 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
8265 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
8267 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
8268 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
8270 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
8271 Include wctype.h here if COMPILE_WPRINTF is defined.
8272 Define __vfprintf_internal or __vfwprintf_internal, depending
8274 Temporarily, on entry to this function, update mode_flags
8275 according to the environmental settings corresponding to
8276 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
8277 Throughout, check mode_flags instead of __ldbl_is_dbl and
8278 _IO_FLAGS2_FORTIFY on the destination FILE.
8279 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
8280 Include vfprintf-internal.c. Don't include wctype.h.
8281 * stdio-common/vfprintf.c: New file. Just define __vfprintf
8282 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
8284 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8285 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8287 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8289 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8290 and add mode_flags argument; use __vfprintf_internal.
8291 (__vdprintf): New function. Alias vdprintf to this.
8292 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8293 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8294 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8295 (__obstack_printf): Use __obstack_printf_internal.
8296 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8297 public aliases __vsnprintf and vsnprintf.
8298 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8300 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8301 public aliases _IO_vsprintf and vsprintf.
8302 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8303 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8304 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8305 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8306 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8308 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8309 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8310 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8311 * stdio-common/printf.c: Use __vfprintf_internal.
8313 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8314 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8315 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8317 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8318 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8319 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8320 __vfwprintf_internal.
8322 * libio/libio.h: Remove libc_hidden_proto and declaration for
8324 Remove declaration of _IO_vfwprintf.
8325 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8327 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8329 * include/stdio.h: Add prototype for __vasprintf.
8330 (__vsnprintf): Remove declaration, because there are no more
8332 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8333 declaration, because there are no more internal calls.
8335 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8336 __vsnprintf_internal, instead of _IO_vsnprintf.
8337 * argp/argp-help.c (__argp_error, __argp_failure): Use
8338 __vasprintf_internal, instead of _IO_vasprintf.
8339 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8340 redefine, because there are no more internal calls.
8342 2018-12-05 Zack Weinberg <zackw@panix.com>
8343 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8345 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8346 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8347 Include libio/strfile.h instead of libioP.h.
8348 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8349 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8350 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8351 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8352 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8353 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8354 necessary. Do not set __no_long_double. Normalize variable names.
8355 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8356 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8357 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8358 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8359 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8360 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8361 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8362 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8363 Do not set __no_long_double. Normalize variable names.
8365 2018-12-05 Zack Weinberg <zackw@panix.com>
8366 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8368 * stdio-common/isoc99_scanf.c
8369 * stdio-common/isoc99_fscanf.c
8370 * stdio-common/isoc99_sscanf.c
8371 * stdio-common/isoc99_vscanf.c
8372 * stdio-common/isoc99_vfscanf.c
8373 * stdio-common/isoc99_vsscanf.c
8374 * wcsmbs/isoc99_wscanf.c
8375 * wcsmbs/isoc99_fwscanf.c
8376 * wcsmbs/isoc99_swscanf.c
8377 * wcsmbs/isoc99_vwscanf.c
8378 * wcsmbs/isoc99_vfwscanf.c
8379 * wcsmbs/isoc99_vswscanf.c:
8380 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8381 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8382 No need to lock and unlock the FILE passed to that function.
8384 * stdio-common/vfscanf-internal.c
8385 (__vfscanf_internal, __vfwscanf_internal):
8386 Don't look at _IO_FLAGS2_SCANF_STD.
8387 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8388 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8389 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8391 2018-12-05 Zack Weinberg <zackw@panix.com>
8392 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8394 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8395 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8396 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8397 * libio/strfile.h: Add multiple inclusion guard.
8398 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8400 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8401 consistency with the other version of this file.
8402 (ldbl_compat_symbol): New macro.
8403 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8406 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8407 Define __vfscanf_internal or __vfwscanf_internal, depending on
8408 COMPILE_WSCANF; don't define any other public symbols.
8409 Remove errval and code to set errp.
8410 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8411 as the mode_flags argument.
8412 (encode_error, conv_error, input_error): Don't set errval.
8413 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8414 Include vfscanf-internal.c.
8415 * stdio-common/vfscanf.c: New file defining the public entry
8416 point vfscanf, which calls __vfscanf_internal.
8417 * stdio-common/vfwscanf.c: New file defining the public entry
8418 point vfwscanf, which calls __vfwscanf_internal.
8420 * stdio-common/iovfscanf.c: New file.
8421 * stdio-common/iovfwscanf.c: Likewise.
8423 * stdio-common/Makefile (routines): Add vfscanf-internal,
8424 vfwscanf-internal, iovfscanf, iovfwscanf.
8425 * stdio-common/Versions: Mention GLIBC_2.29, so that
8426 it can be used in SHLIB_COMPAT expressions.
8427 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8428 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8429 Call __vfscanf_internal, instead of _IO_vfscanf.
8430 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8432 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8435 * libio/iovsscanf.c: Clean up includes, when possible. Use
8436 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8437 __vfscanf_internal or __vfwscanf_internal directly.
8438 * libio/iovswscanf.c: Likewise.
8439 * libio/swscanf.c: Likewise.
8440 * libio/vscanf.c: Likewise.
8441 * libio/vwscanf.c: Likewise.
8442 * libio/wscanf.c: Likewise.
8443 * stdio-common/isoc99_fscanf.c: Likewise.
8444 * stdio-common/isoc99_scanf.c: Likewise.
8445 * stdio-common/isoc99_sscanf.c: Likewise.
8446 * stdio-common/isoc99_vfscanf.c: Likewise.
8447 * stdio-common/isoc99_vscanf.c: Likewise.
8448 * stdio-common/isoc99_vsscanf.c: Likewise.
8449 * stdio-common/scanf.c: Likewise.
8450 * stdio-common/sscanf.c: Likewise.
8451 * wcsmbs/isoc99_fwscanf.c: Likewise.
8452 * wcsmbs/isoc99_swscanf.c: Likewise.
8453 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8454 * wcsmbs/isoc99_vswscanf.c: Likewise.
8455 * wcsmbs/isoc99_vwscanf.c: Likewise.
8456 * wcsmbs/isoc99_wscanf.c: Likewise.
8458 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8461 (__tz_compute): Replace time_t with __time64_t.
8462 (__tz_convert): Replace time_t* with __time64_t.
8463 (__offtime): Replace time_t* with __time64_t.
8465 (__gmtime_r): Adjust call to __tz_convert.
8468 (__localtime_r): Likewise.
8469 (localtime): Likewise.
8470 * time/offtime.c: Replace time_t with __time64_t.
8471 * time/tzset.c: Likewise.
8473 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8475 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8476 dynamic linker unless [$(run-built-tests) = yes].
8478 2018-12-03 DJ Delorie <dj@delorie.com>
8480 * support/test-container.c (check_for_unshare_hints): New.
8481 (main): Call it if unshare fails. Add support for "su" scriptlet
8484 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8486 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8487 'START' to indicate that start text should be output.
8488 (gen_test): Likewise.
8489 (main): Generate 'START' for first symbol or '--' line, or at end
8490 of input if not previously generated.
8492 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8495 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8496 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8497 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8498 ALWAYS_USE_VSYSCALL.
8500 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8503 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8506 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8509 * locale/programs/localedef.c: Declare boolean hard_links default true.
8510 (options): Add --no-hard-links option.
8511 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8512 * locale/programs/localedef.h: Declare prototype for hard_links.
8513 * locale/programs/locfile.c (write_locale_data): Don't use hard
8514 links if hard_links is false.
8516 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8518 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8520 (__cache_sysconf): Likewise.
8521 (init_cacheinfo): Likewise.
8522 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8523 populate COMMON_CPUID_INDEX_80000007 and
8524 COMMON_CPUID_INDEX_80000008.
8525 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8526 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8527 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8528 (init_cpu_features): Use _Static_assert on
8529 index_arch_Fast_Unaligned_Load.
8530 __get_cpuid_registers and __get_arch_feature. Updated for
8531 cpu_features_basic. Set stepping in cpu_features.
8532 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8533 (FEATURE_INDEX_2): New.
8534 (FEATURE_INDEX_MAX): Changed to enum.
8535 (COMMON_CPUID_INDEX_D_ECX_1): New.
8536 (COMMON_CPUID_INDEX_80000007): Likewise.
8537 (COMMON_CPUID_INDEX_80000008): Likewise.
8538 (cpuid_registers): Likewise.
8539 (cpu_features_basic): Likewise.
8540 (CPU_FEATURE_USABLE): Likewise.
8541 (bit_arch_XXX_Usable): Likewise.
8542 (cpu_features): Use cpuid_registers and cpu_features_basic.
8543 (bit_arch_XXX): Reweritten.
8544 (bit_cpu_XXX): Likewise.
8545 (index_cpu_XXX): Likewise.
8546 (reg_XXX): Likewise.
8547 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8549 (CHECK_CPU_FEATURE): New.
8550 (CHECK_CPU_FEATURE_USABLE): Likewise.
8551 (cpu_kinds): Likewise.
8552 (do_test): Print vendor, family, model and stepping. Check
8553 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8554 (TEST_FUNCTION): Removed.
8555 Include <support/test-driver.c> instead of
8556 "../../test-skeleton.c".
8557 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8558 Check POPCNT instead of POPCOUNT.
8559 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8561 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8563 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8564 there is no element in `consts'.
8566 2018-12-01 Florian Weimer <fweimer@redhat.com>
8568 * support/support_capture_subprocess.c
8569 (support_capture_subprocess): Check that pipe descriptors have
8570 expected values. Close original pipe descriptors in subprocess.
8572 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8575 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8576 attr with __pthread_default_barrierattr.
8577 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8578 attr with __pthread_default_condattr.
8579 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8580 attr with __pthread_default_mutexattr.
8581 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8582 attr with __pthread_default_rwlockattr.
8584 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8586 * manual/tunables.texi (POSIX Thread Tunables): New node.
8587 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8588 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8589 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8590 __pthread_tunables_init.
8591 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8592 (max_adaptive_count): Define.
8593 * nptl/pthread_mutex_conf.c: New file.
8594 * nptl/pthread_mutex_conf.h: New file.
8595 * sysdeps/generic/adaptive_spin_count.h: New file.
8596 * sysdeps/nptl/dl-tunables.list: New file.
8597 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8598 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8599 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8602 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8605 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8606 * stdlib/on_exit.c (__on_exit): Likewise.
8607 * stdlib/Makefile (tests): Add tst-bz20544.
8608 * stdlib/tst-bz20544.c: New test.
8610 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8613 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8614 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8617 2018-11-30 Florian Weimer <fweimer@redhat.com>
8619 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8620 Extend error logging.
8621 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8624 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8626 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8627 __sigismember instead of sigismember.
8628 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8629 cancel_handler): New definitions.
8630 (do_system): Use posix_spawn instead of fork and execl and remove
8632 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8633 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8634 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8635 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8636 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8637 * sysdeps/unix/sysv/linux/system.c: Likewise.
8641 * NEWS: Add new semantic for atfork with popen and system.
8642 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8645 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8648 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8649 modification order when accessing reloc_result->addr.
8650 * include/link.h (reloc_result): Add field init.
8651 * nptl/Makefile (tests): Add tst-audit-threads.
8652 (modules-names): Add tst-audit-threads-mod1 and
8653 tst-audit-threads-mod2.
8654 Add rules to build tst-audit-threads.
8655 * nptl/tst-audit-threads-mod1.c: New file.
8656 * nptl/tst-audit-threads-mod2.c: Likewise.
8657 * nptl/tst-audit-threads.c: Likewise.
8658 * nptl/tst-audit-threads.h: Likewise.
8660 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8662 * scripts/gen-as-const.py: New file.
8663 * scripts/gen-as-const.awk: Remove.
8664 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8666 ($(objpfx)test-as-const-%.c): Likewise.
8668 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8670 * elf/dl-exception.c: Include <_itoa.h>.
8672 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8674 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8675 returned by __f_setlk.
8677 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8678 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8680 * elf/Makefile (tests-internal): Add tst-create_format1.
8681 * elf/dl-exception.c (_dl_exception_create_format): Support
8683 * elf/tst-create_format1.c: New file.
8685 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8687 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8688 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8690 * argp/argp-help.c (__argp_failure): Likewise.
8692 2018-11-29 Mao Han <han_mao@c-sky.com>
8694 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8695 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8696 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8697 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8698 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8699 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8700 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8701 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8702 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8703 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8704 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8705 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8706 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8707 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8708 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8709 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8710 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8711 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8712 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8713 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8714 (R_CKCORE_TLS_TPOFF32): New defines.
8716 2018-11-29 Florian Weimer <fweimer@redhat.com>
8718 * posix/Makefile (before-compile): Remove testcases.h and
8720 (generated): Add testcases.h and ptestcases.h.
8721 (testcases.h, ptestcases.h): Move to $(objpfx).
8722 (runtests.o): Add dependency on testcases.h.
8723 (runptests.o): Add dependency on ptestcases.h.
8724 * posix/testcases.h, posix/ptestcases.h: Remove files.
8725 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8726 not touch posix/testcases.h and posix/ptestcases.h.
8728 2018-11-28 Florian Weimer <fweimer@redhat.com>
8730 support: Add signal support to support_capture_subprocess_check.
8731 * support/capture_subprocess.h (support_capture_subprocess_check):
8732 Adjust comment and rename parameter.
8733 * support/support_capture_subprocess_check.c
8734 (print_actual_status): New function.
8735 (support_capture_subprocess_check): Support negative
8736 status_or_signal. Call print_actual_status.
8737 * support/tst-support_capture_subprocess.c (do_test): Call
8738 support_capture_subprocess_check.
8739 * libio/tst-vtables-common.c (termination_status)
8740 (init_termination_status): Remove.
8741 (check_for_termination): Adjust support_capture_subprocess_check
8743 (do_test): Remove call to init_termination_status.
8745 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8747 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8748 source directory instead of a copy.
8749 (CommandList.create_copy_dir): Remove.
8751 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8753 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8755 2018-11-28 Florian Weimer <fweimer@redhat.com>
8757 * support/support.h (support_quote_string): Do not use str
8760 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8762 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8763 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8765 2018-11-27 Florian Weimer <fweimer@redhat.com>
8767 * support/support.h (support_quote_string): Declare.
8768 * support/support_quote_string.c: New file.
8769 * support/tst-support_quote_string.c: Likewise.
8770 * support/Makefile (libsupport-routines): Add
8771 support_quote_string.
8772 (tests): Add tst-support_quote_string.
8774 2018-11-27 Florian Weimer <fweimer@redhat.com>
8778 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8779 descriptor leak in case of ENODEV error.
8781 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8784 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8785 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8788 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8790 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8791 Error for unknown lines.
8793 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8795 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8796 Touch additional files.
8798 2018-11-26 Florian Weimer <fweimer@redhat.com>
8801 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8804 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8807 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8808 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8809 SHARED. Include sysdep.h.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8811 ALWAYS_USE_VSYSCALL.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8813 ALWAYS_USE_VSYSCALL.
8815 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8818 * nptl/Makefile (tests-static): Add tst-cond11-static.
8820 * nptl/tst-cond11-static.c: New File.
8821 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8822 tst-affinity-static.
8824 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8826 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8827 (USE_VSYSCALL): Likewise.
8828 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8829 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8831 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8836 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8839 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8840 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8843 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8845 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8846 (tst-cet-legacy-1a-ARGS): New.
8847 ($(objpfx)tst-cet-legacy-1a): New target.
8848 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8850 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8852 * conform/conformtest.py (CompileSubTest.__init__): Set
8853 self.run_early to False.
8854 (ExecuteSubTest.__init__): Likewise.
8855 (HeaderTests.run): Try running all non-optional, non-XFAILed
8856 compilation tests in a single execution of the compiler.
8858 * conform/conformtest.py (CompileSubTest): New class.
8859 (ExecuteSubTest): Likewise.
8860 (ElementTest.run): Rename to gen_subtests. Append tests to
8861 self.subtests instead of running them.
8862 (ConstantTest.run): Likewise.
8863 (SymbolTest.run): Likewise.
8864 (TypeTest.run): Likewise.
8865 (TagTest.run): Likewise.
8866 (FunctionTest.run): Likewise.
8867 (VariableTest.run): Likewise.
8868 (MacroFunctionTest.run): Likewise.
8869 (MacroStrTest.run): Likewise.
8870 (HeaderTests.handle_test_line): Generate subtests for tests.
8871 (HeaderTests.run): Run subtests for tests.
8873 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8875 * math/Versions (GLIBC_2.29): Add pow.
8876 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8878 * math/w_pow.c: New file.
8879 * sysdeps/i386/fpu/w_pow.c: New file.
8880 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8882 and add necessary aliases.
8883 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8884 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8885 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8886 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8887 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8888 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8889 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8890 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8891 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8892 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8893 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8894 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8895 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8896 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8897 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8902 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8903 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8904 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8905 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8906 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8907 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8908 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8909 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8911 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8912 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8913 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8915 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8917 * math/Versions (GLIBC_2.29): Add log2.
8918 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8920 * math/w_log2.c: New file.
8921 * sysdeps/i386/fpu/w_log2.c: New file.
8922 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8923 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8924 and add necessary aliases.
8925 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8926 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8927 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8928 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8929 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8930 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8931 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8932 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8933 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8934 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8935 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8936 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8937 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8938 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8939 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8944 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8945 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8946 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8947 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8948 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8949 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8950 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8952 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8954 * math/Versions (GLIBC_2.29): Add log.
8955 * math/w_log_compat.c (__log_compat): Change to versioned compat
8957 * math/w_log.c: New file.
8958 * sysdeps/i386/fpu/w_log.c: New file.
8959 * sysdeps/ia64/fpu/e_log.S: Update.
8960 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8961 and add necessary aliases.
8962 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8963 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8964 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8965 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8966 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8967 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8968 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8969 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8970 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8971 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8973 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8974 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8975 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8976 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8981 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8982 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8983 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8984 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8986 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8988 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8990 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8991 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8992 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8993 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8995 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8997 * math/Versions (GLIBC_2.29): Add exp and exp2.
8998 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8999 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9000 * math/w_exp_compat.c (__exp_compat): Likewise.
9001 * math/w_exp.c: New file.
9002 * math/w_exp2.c: New file.
9003 * sysdeps/i386/fpu/w_exp.c: New file.
9004 * sysdeps/i386/fpu/w_exp2.c: New file.
9005 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9006 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9007 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9008 and add necessary aliases.
9009 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9010 and add necessary aliases.
9011 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9012 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9013 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9014 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9015 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9016 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9017 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9018 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9019 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9020 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9021 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9022 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9023 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9024 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9025 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9026 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9027 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9032 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9033 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9034 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9035 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9036 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9037 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9038 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9039 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9040 (__ieee754_exp): Rename to __exp.
9041 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9042 (__ieee754_exp): Rename to __exp.
9043 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9044 (__ieee754_exp): Rename to __exp.
9045 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9047 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9049 2018-11-20 DJ Delorie <dj@redhat.com>
9051 * malloc/malloc.c (tcache_entry): Add key field.
9052 (tcache_put): Set it.
9053 (tcache_get): Likewise.
9054 (_int_free): Check for double free in tcache.
9055 * malloc/tst-tcfree1.c: New.
9056 * malloc/tst-tcfree2.c: New.
9057 * malloc/Makefile: Run the new tests.
9058 * manual/probes.texi: Document memory_tcache_double_free probe.
9060 * dlfcn/dlerror.c (check_free): Prevent double frees.
9062 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9064 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
9066 2018-11-20 Joseph Myers <joseph@codesourcery.com>
9068 * conform/conformtest.py (ElementTest.run): Use unique identifiers
9069 in tests. Use names for format arguments.
9070 (ConstantTest.run): Likewise.
9071 (SymbolTest.run): Likewise.
9072 (TypeTest.run): Likewise.
9073 (TagTest.run): Likewise.
9074 (FunctionTest.run): Likewise.
9075 (VariableTest.run): Likewise.
9076 (MacroFunctionTest.run): Likewise.
9077 (MacroStrTest.run): Likewise.
9078 (HeaderTests.__init__): Set self.num_tests.
9079 (HeaderTests.handle_test_line): Set test.num. Increment
9082 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9084 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
9085 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
9088 2018-11-19 Mao Han <han_mao@c-sky.com>
9090 * scripts/config.guess: Update to version 2018-08-29.
9091 * scripts/config.sub: Update to version 2018-08-29.
9093 2018-11-19 Florian Weimer <fweimer@redhat.com>
9095 support: Print timestamps in timeout handler.
9096 * support/support_test_main.c (print_timestamp): New function.
9097 (signal_handler): Use it to print the termination time and the
9098 time of the last write to standard output.
9100 2018-11-16 Zack Weinberg <zackw@panix.com>
9101 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9103 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
9104 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
9106 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
9107 and add flags argument. Check flags instead of __ldbl_is_dbl when
9108 deciding whether to set is_long_double.
9109 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
9110 passing zero for flags argument.
9111 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
9113 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9114 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
9115 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
9116 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
9117 variable names. Remove libc_hidden_def/libc_hidden_proto from
9118 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
9119 longer called from within the library.
9120 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
9121 for __nldbl___vstrfmon_l, declare it explicitly.
9123 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
9125 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9127 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
9129 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
9130 F_SETLK64, F_SETLKW64, respectively.
9131 * sysdeps/mach/hurd/f_setlk.c: New file.
9132 * sysdeps/mach/hurd/f_setlk.h: New file.
9133 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
9135 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
9136 (__libc_fcntl): Move non-flock operations to...
9137 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
9138 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
9140 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
9142 mktime: DEBUG_MKTIME cleanup
9143 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
9144 And it’s no longer needed now that glibc and Gnulib both have
9145 their own testing mechanisms for mktime.
9146 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
9148 mktime: fix non-EOVERFLOW errno handling
9150 mktime was not properly reporting failures when the underlying
9151 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
9152 them like EOVERFLOW failures, and set errno to EOVERFLOW.
9153 The problem could happen on non-glibc platforms, with Gnulib.
9154 * time/mktime.c (guess_time_tm): Remove, replacing with ...
9155 (tm_diff): ... this simpler function, which does not change errno.
9156 All callers changed to deal with errno themselves.
9157 (ranged_convert, __mktime_internal): Return failure immediately if
9158 the underlying function reports any failure other than EOVERFLOW.
9159 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
9162 mktime: fix bug with Y2038 DST transition
9164 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
9165 mishandle a DST transition that jumps over the Y2038 boundary.
9166 No such DST transitions are known so this is only a theoretical
9167 bug, but we might as well do things right.
9169 mktime: make more room for overflow
9171 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
9172 This is so that we can add tm_diff results to a previous guess,
9173 which will be useful in a later patch.
9175 mktime: simplify offset guess
9177 * time/mktime.c (__mktime_internal): Omit excess precision.
9179 mktime: new test for mktime failure
9181 Based on a test suggested by Albert Aribaud in:
9182 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
9183 * time/Makefile (tests): Add bug-mktime4.
9184 * time/bug-mktime4.c: New file.
9186 mktime: fix EOVERFLOW bug
9188 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
9189 Include libc-config.h, not config.h, for __set_errno.
9190 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
9192 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9194 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
9195 __attribute_copy__ to copy attributes from name. Drop static qualifier
9196 to avoid warnings about leaf attribute not having effect on static
9199 2018-11-13 Florian Weimer <fweimer@redhat.com>
9201 * malloc/malloc.c (fastbin_push_entry): New function.
9202 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
9203 (REMOVE_FB): Remove macro.
9204 (_int_malloc): Use fastbin_pop_entry and reindent.
9205 (_int_free): Use fastbin_push_entry.
9206 (malloc_consolidate): Use atomic_exchange_acquire.
9208 2018-11-13 Joseph Myers <joseph@codesourcery.com>
9210 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
9211 alias attribute, not with strong_alias.
9213 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
9214 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
9215 with additional parameter thread.
9216 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
9217 in terms of __hidden_ver2.
9218 (hidden_tls_def): New macro.
9219 (libc_hidden_tls_def): Likewise.
9220 (rtld_hidden_tls_def): Likewise.
9221 (libm_hidden_tls_def): Likewise.
9222 (libmvec_hidden_tls_def): Likewise.
9223 (libresolv_hidden_tls_def): Likewise.
9224 (librt_hidden_tls_def): Likewise.
9225 (libdl_hidden_tls_def): Likewise.
9226 (libnss_files_hidden_tls_def): Likewise.
9227 (libnsl_hidden_tls_def): Likewise.
9228 (libnss_nisplus_hidden_tls_def): Likewise.
9229 (libutil_hidden_tls_def): Likewise.
9230 (libutil_hidden_tls_def): Likweise.
9231 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
9232 libc_hidden_tls_def.
9233 (__sim_disabled_exceptions_thread): Likewise.
9234 (__sim_round_mode_thread): Likewise.
9236 * sysdeps/sparc/sparc-ifunc.h [SHARED]
9237 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
9238 copy attributes from name.
9240 2018-11-12 Joseph Myers <joseph@codesourcery.com>
9242 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
9243 Use __attribute_copy__ to copy attributes from name.
9245 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
9246 with __hidden_ver1 call.
9247 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
9248 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
9249 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
9250 (__cosf): Do not declare here.
9251 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
9252 (__sincosf): Do not declare here.
9253 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
9254 (__sinf): Do not declare here.
9256 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
9257 (__BIG_ENDIAN): Likewise.
9258 (__BYTE_ORDER): Likewise.
9259 (strong_alias): Likewise.
9260 (_strong_alias): Likewise.
9262 2018-11-12 Florian Weimer <fweimer@redhat.com>
9264 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
9265 function. Move after the definition of in_smallbin_range. Do not
9266 use __builtin_expect for paths that lead to a noreturn function.
9267 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
9268 because it is unclear whether this is in fact an unlikely
9270 (_int_malloc, _int_free): Adjust.
9271 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
9273 * malloc/arena.c (heap_trim): Likewise.
9275 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9277 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
9278 it, free it if needed.
9279 (reauthenticate): Test and use ccwdir.
9280 (child_init_port): In non-resetids case, test and use ccwdir.
9281 (child_chdir): New nested function to set ccwdir.
9282 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
9283 * hurd/hurd/port.h (_hurd_port_move): New function.
9284 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9285 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
9286 * hurd/Versions (_hurd_port_move): Export function.
9287 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9289 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9290 of dtablesize for allocating dtable_cloexec.
9292 2018-11-09 Martin Sebor <msebor@redhat.com>
9294 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9295 it's already defined.
9296 (_strong_alias): Use __attribute_copy__.
9297 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9298 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9299 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9300 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9301 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9302 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9303 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9304 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9305 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9306 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9307 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9308 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9309 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9310 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9311 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9312 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9313 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9314 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9315 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9317 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9319 * misc/tst-efgcvt.c: Include support/check.h and
9320 support/test-driver.c. Do not include test-skeleton.c.
9321 (error_count): Remove.
9322 (output_error): Replace increments to error_count with calls to
9323 support_record_failure.
9324 (output_r_error): Likewise.
9325 (special): Likewise.
9326 (do_test): Unconditionally return zero.
9327 (TEST_FUNCTION): Remove.
9329 2018-11-09 Joseph Myers <joseph@codesourcery.com>
9331 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9333 ($(linknamespace-header-tests)): Likewise.
9335 * conform/conformtest.py: New file.
9336 * conform/conformtest.pl: Remove.
9337 * conform/GlibcConform.pm: Likewise.
9338 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9339 (KEYWORDS_C99): Likewise.
9340 (KEYWORDS): Likewise.
9341 * conform/Makefile ($(conformtest-header-tests)): Use
9342 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9343 option. Use --header instead of --headers.
9344 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9346 * conform/data/spawn.h-data: Likewise.
9347 * conform/data/fcntl.h-data (openat): Add space after function
9349 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9350 (wcscasecmp_l): Likewise.
9351 * conform/data/termios.h-data (c_cc): Add space after element
9354 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9356 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9357 instead of manually comparing and reporting mismatching strings.
9358 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9359 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9361 2018-11-08 Joseph Myers <joseph@codesourcery.com>
9363 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9364 __ASSUME_SOCKETCALL.
9365 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9366 (__ASSUME_SOCKETCALL): Remove.
9367 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9368 (__ASSUME_SOCKETCALL): Likewise.
9369 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9370 (__ASSUME_SOCKETCALL): Likewise.
9371 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9372 (__ASSUME_SOCKETCALL): Likewise.
9373 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9374 (__ASSUME_SOCKETCALL): Likewise.
9375 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9376 (__ASSUME_SOCKETCALL): Likewise.
9377 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9378 (__ASSUME_SOCKETCALL): Likewise.
9380 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9383 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9384 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9385 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9386 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9387 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9390 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9393 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9395 2018-11-07 Joseph Myers <joseph@codesourcery.com>
9398 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9399 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9401 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9403 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9405 * support/support_test_compare_string.c
9406 (support_test_compare_string): Fix printf format.
9408 2018-11-07 Florian Weimer <fweimer@redhat.com>
9410 Implement TEST_COMPARE_STRING.
9411 * support/check.h (TEST_COMPARE_STRING): Define.
9412 (support_test_compare_string): Declare.
9413 * support/Makefile (libsupport-routines): Add
9414 support_test_compare_string.
9415 (tests): Add tst-test_compare_string.
9416 * support/support_test_compare_string.c: New file.
9417 * support/tst-test_compare_string.c: Likewise.
9419 2018-11-07 Andreas Schwab <schwab@suse.de>
9422 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9423 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9426 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9429 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9430 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9431 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9432 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9435 2018-11-06 Florian Weimer <fweimer@redhat.com>
9438 * posix/Makefile (routines): Add spawn_faction_addchdir.
9439 (tests): Add tst-spawn-chdir.
9440 * posix/Versions (GLIBC_2.29): Add
9441 posix_spawn_file_actions_addchdir_np.
9442 * posix/spawn_faction_addchdir.c: New file.
9443 * posix/spawn_faction_destroy.c
9444 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9445 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9446 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9448 * posix/tst-spawn-chdir.c: New file.
9449 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9450 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9451 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9452 posix_spawn_file_actions_addchdir_np.
9453 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9455 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9457 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9458 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9460 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9462 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9464 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9466 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9468 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9470 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9471 (GLIBC_2.29): Likewise.
9472 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9473 (GLIBC_2.29): Likewise.
9474 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9475 (GLIBC_2.29): Likewise.
9476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9477 (GLIBC_2.29): Likewise.
9478 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9481 (GLIBC_2.29): Likewise.
9482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9483 (GLIBC_2.29): Likewise.
9484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9485 (GLIBC_2.29): Likewise.
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9487 (GLIBC_2.29): Likewise.
9488 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9490 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9492 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9494 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9497 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9499 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9501 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9504 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9506 * misc/Makefile (tests): Add tst-ldbl-error.
9507 * misc/tst-ldbl-error.c: New file.
9509 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9511 * misc/Makefile (tests): Add tst-ldbl-warn.
9512 * misc/tst-ldbl-warn.c: New file.
9514 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9516 * argp/Makefile (tests): Add tst-ldbl-argp.
9517 * argp/tst-ldbl-argp.c: New file.
9519 2018-11-05 Arjun Shankar <arjun@redhat.com>
9521 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9522 __gconv_path_elem and call __gconv_get_path unconditionally.
9524 2018-11-05 Andreas Schwab <schwab@suse.de>
9527 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9528 creating the first helper thread failed.
9530 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9532 * sysdeps/mach/hurd/msync.c: New file.
9534 2018-11-02 Florian Weimer <fweimer@redhat.com>
9536 * support/shell-container.c (copy_func): Call
9537 support_copy_file_range instead of copy_file_range to support
9538 cross-device copies.
9540 2018-11-02 Florian Weimer <fweimer@redhat.com>
9542 * support/test-container.c: Include <libc-pointer-arith.h> for
9545 2018-11-01 Zong Li <zong@andestech.com>
9547 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9548 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9549 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9550 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9552 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9553 variable to avoid overlap arguments.
9555 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9557 * posix/bug-regex22.c (main): Use puts with distinct error
9558 messages for unexpected success of re_compile_pattern, not printf
9559 with NULL argument to %s.
9561 * stdio-common/bug22.c: Include <libc-diag.h>.
9562 (do_test): Disable -Wformat-overflow= warnings around fprintf
9563 calls outputting more than INT_MAX characters.
9564 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9565 around printf call with NULL %s argument.
9568 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9569 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9571 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9572 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9573 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9574 (__ASSUME_SENDTO_SYSCALL): Likewise.
9575 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9576 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9578 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9579 (__ASSUME_CONNECT_SYSCALL): Likewise.
9580 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9581 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9582 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9584 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9586 [__LINUX_KERNEL_VERSION >= 0x040400]
9587 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9588 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9591 (setsockopt): Likewise.
9593 2018-11-01 Fredrik Noring <noring@nocrew.org>
9595 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9596 with the ISA override.
9598 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9600 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9603 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9605 * manual/errno.texi (EIEIO): Document how translators should
9606 translate the error message.
9607 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9608 printing trailing whitespaces refused by git.
9609 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9610 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9611 * hurd/Makefile (user-interfaces): Add pci.
9613 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9615 * conform/linknamespace.py: New file.
9616 * conform/linknamespace.pl: Remove file.
9617 * conform/Makefile ($(linknamespace-header-tests)): Use
9618 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9621 2018-10-30 Florian Weimer <fweimer@redhat.com>
9623 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9626 2018-10-30 Florian Weimer <fweimer@redhat.com>
9628 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9630 2018-10-30 Florian Weimer <fweimer@redhat.com>
9632 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9633 support_blob_repeat.
9635 2018-10-30 Florian Weimer <fweimer@redhat.com>
9637 Avoid spurious test failures in stdlib/test-bz22786.
9638 * support/Makefile (libsupport-routines): Add blob_repeat.
9639 (tests): Add tst-support_blob_repeat.
9640 * support/blob_repeat.h: New file.
9641 * support/blob_repeat.c: Likewise.
9642 * support/tst-support_blob_repeat.c: Likewise.
9643 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9644 support_blob_repeat_allocate.
9646 2018-10-30 Andreas Schwab <schwab@suse.de>
9649 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9650 Don't use tail call.
9651 * elf/tst-unwind-main.c: New file.
9652 * elf/Makefile (tests): Add tst-unwind-main.
9653 (CFLAGS-tst-unwind-main.c): Define.
9655 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9658 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9660 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9662 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9664 * conform/glibcconform.py: Do not import shutil.
9665 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9668 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9669 critic_missing for versions before 3.4.
9670 * configure: Regenerated.
9671 * manual/install.texi (Tools for Compilation): Document
9672 requirement for Python to build glibc.
9673 * INSTALL: Regenerated.
9674 * Rules [PYTHON]: Make code unconditional.
9675 * benchtests/Makefile [PYTHON]: Likewise.
9676 * conform/Makefile [PYTHON]: Likewise.
9677 * manual/Makefile [PYTHON]: Likewise.
9678 * math/Makefile [PYTHON]: Likewise.
9680 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9682 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9683 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9684 answer to interrupt_operation, return EIEIO instead of EINTR.
9685 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9686 _hurd_intr_rpc_msg_about_to global point to start of controlled
9687 assembly snippet. Make it check canceled flag.
9688 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9689 the _hurd_intr_rpc_msg_about_to point.
9690 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9691 issue, remove cancel flag check.
9693 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9695 * scripts/build-many-glibcs.py: Remove compatibility for missing
9696 os.cpu_count and re.fullmatch.
9698 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9701 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9702 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9703 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9705 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9707 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9710 2018-10-25 Florian Weimer <fweimer@redhat.com>
9714 XFAIL siginfo_t si_band conform test on sparc64.
9715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9716 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9717 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9718 (conformtest-xfail-conds): Add sparc64-linux.
9719 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9721 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9723 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9725 * elf/elf.h (NT_MIPS_DSP): New macro.
9726 (NT_MIPS_FP_MODE): Likewise.
9728 2018-10-25 Zong Li <zong@andestech.com>
9730 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9731 name by adding the file extension (.so).
9733 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9735 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9736 (test-xfail-ISO11/threads.h/linknamespace,
9737 test-xfail-ISO11/threads.h/conform): Add.
9739 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9741 * math/gen-libm-test.py: Import os.
9742 (ALL_FLOATS_MANUAL): New constant.
9743 (ALL_FLOATS_SUFFIX): Likewise.
9744 (Ulps.all_functions): New function.
9745 (real_all_ulps): Likewise.
9746 (generate_err_table_sub): Likewise.
9747 (generate_err_table): Likewise.
9748 (main): Handle -s and -m options.
9749 * manual/libm-err-tab.pl: Remove.
9750 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9751 instead of libm-err-tab.pl.
9752 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9754 * manual/install.texi (Tools for Compilation): Document
9755 requirement for Python to build manual.
9756 * INSTALL: Regenerated.
9758 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9760 * bits/time64.h: New file.
9761 * include/time.h: Replace internal_time_t with __time64_t.
9762 * posix/bits/types (__time64_t): Add.
9763 * stdlib/Makefile: Add bits/time64.h to includes.
9764 * time/tzfile.c: Replace internal_time_t with __time64_t.
9766 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9768 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9769 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9770 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9771 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9772 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9774 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9775 * posix/spawn_faction_addclose.c
9776 (__posix_spawn_file_actions_addclose): Add hidden definition.
9777 * posix/spawn_faction_adddup2.c
9778 (__posix_spawn_file_actions_adddup2): Likewise.
9779 * posix/spawn_faction_destroy.c
9780 (__posix_spawn_file_actions_destroy): Likewise.
9781 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9783 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9784 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9785 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9787 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9788 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9791 2018-10-24 Andreas Schwab <schwab@suse.de>
9794 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9796 * elf/cache.c (print_cache): Likewise.
9798 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9800 * bits/timesize.h: New file.
9801 * stdlib/Makefile (headers): Add bits/timesize.h.
9802 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9803 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9804 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9805 (__SEM_PAD_AFTER_TIME): Likewise.
9806 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9807 (__SHM_PAD_AFTER_TIME): Likewise.
9808 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9809 (__MSQ_PAD_BEFORE_TIME): Likewise.
9810 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9811 (__SEM_PAD_BEFORE_TIME): Likewise.
9812 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9813 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9814 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9815 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9816 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9817 (__MSQ_PAD_BEFORE_TIME): Likewise.
9818 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9819 (__SEM_PAD_BEFORE_TIME): Likewise.
9820 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9821 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9822 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9823 (__MSQ_PAD_BEFORE_TIME): Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9825 (__SEM_PAD_BEFORE_TIME): Likewise.
9826 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9827 (__SHM_PAD_BEFORE_TIME): Likewise.
9828 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9829 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9830 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9832 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9834 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9835 USE_RDTSCP is defined.
9836 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9837 USE_RDTSCP is defined.
9839 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9841 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9845 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9846 independently of other flags.
9848 2018-10-23 Florian Weimer <fweimer@redhat.com>
9850 * time/tst-mktime2.c (N_STRINGS): Remove.
9851 (set_timezone): New function.
9852 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9853 (mktime_test1): Report localtime failure and check errno value.
9855 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9856 (do_test): Remove alarm call. Use set_timezone and array_length.
9858 2018-10-23 Andreas Schwab <schwab@suse.de>
9860 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9861 (__start_context): Use END instead of PSEUDO_END.
9863 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9865 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9868 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9872 * wcsmbs/c32rtomb.c: New file.
9873 * wcsmbs/mbrtoc32.c: Likewise.
9874 * wcsmbs/tst-c32-state.c: Likewise.
9875 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9876 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9877 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9878 (tests): Add tst-c32-state.
9879 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9882 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9884 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9885 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9887 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9890 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9891 pair and return 0 in that case, and use saved character to
9892 interpret following character.
9893 * wcsmbs/tst-c16-surrogate.c: New file.
9894 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9895 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9896 Depend on $(gen-locales)
9898 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9901 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9902 (struct siginfo_t): Use correct type for si_band.
9904 2018-10-19 Florian Weimer <fweimer@redhat.com>
9907 * resource/bits/types/struct_rusage.h (struct rusage): Update
9908 comment on struct. Remove extraneous field comment.
9910 2018-10-18 David S. Miller <davem@davemloft.net>
9912 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9913 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9914 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9915 sysdep_routines in subdir elf.
9916 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9917 version for __vdso_clock_gettime.
9918 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9920 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9921 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9923 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9925 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9927 * sysdeps/i386/init-arch.h: Removed.
9928 * sysdeps/i386/i586/init-arch.h: Likewise.
9929 * sysdeps/i386/i686/init-arch.h: Likewise.
9930 * sysdeps/i386/i686/hp-timing.h: Likewise.
9931 * sysdeps/x86_64/hp-timing.h: Likewise.
9932 * sysdeps/i386/isa.h: New file.
9933 * sysdeps/i386/i586/isa.h: Likewise.
9934 * sysdeps/i386/i686/isa.h: Likewise.
9935 * sysdeps/x86_64/isa.h: Likewise.
9936 * sysdeps/x86/hp-timing.h: New file.
9937 * sysdeps/x86/init-arch.h: Include <isa.h>.
9939 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9941 * math/libm-test-pow.inc (pow_test_data): Do not allow
9942 divide-by-zero exception for pow(+/- 0, -Inf).
9944 2018-10-17 Zack Weinberg <zackw@panix.com>
9946 * manual/job.texi (Job Control is Optional): Remove node, as
9947 job control has not been optional in quite some time.
9948 (Job Control): Mention briefly that systems older than
9949 POSIX.1-2001 might not support job control.
9950 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9951 defined on systems conforming to POSIX.1-2001.
9953 2018-10-17 Arjun Shankar <arjun@redhat.com>
9956 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9958 * (__gconv_read_conf): Mark function static.
9959 * (once): New static variable.
9960 * (__gconv_load_conf): New function.
9961 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9962 * iconv/gconv_db.c (once): Remove static variable.
9963 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9965 * (__gconv_find_transform): Likewise.
9966 * iconv/tst-iconv-mt.c: New test.
9967 * iconv/Makefile: Add tst-iconv_mt.
9969 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9973 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9974 (shmatt_t): Define as __syscall_ulong_t.
9975 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9976 and [__SHM_PAD_AFTER_TIME].
9977 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9978 Define shm_segsz and associated padding based on
9979 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9980 Use __syscall_ulong_t instead of unsigned long int.
9981 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9983 [__USE_MISC] (struct shm_info): Likewise.
9984 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9985 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9986 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9987 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9988 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9989 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9990 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9991 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9992 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9994 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9998 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9999 (SHMLBA): Remove macro.
10000 (__getpagesize): Remove function declaration.
10001 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10003 (SHMLBA): Remove macro.
10004 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10006 (SHMLBA): Remove macro.
10007 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10009 (SHMLBA): Remove macro.
10010 (__getpagesize): Remove function declaration.
10011 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10013 (SHMLBA): Remove macro.
10014 (__getshmlba): Remove function declaration.
10015 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10016 (SHMLBA): Remove macro.
10017 (__getpagesize): Remove function declaration.
10018 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10019 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10020 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10021 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10022 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10023 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10024 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10025 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10026 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10027 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10029 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
10032 * nptl/tst-mutex10.c: New File.
10033 * nptl/Makefile (tests): Add tst-mutex10.
10034 (tst-mutex10-ENV): New variable.
10035 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10036 Ensure that elision path is used if elision is available.
10037 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10039 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10041 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10042 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10043 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10044 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10046 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10047 (__pthread_mutex_cond_lock_adjust): Likewise.
10048 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10050 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10051 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10052 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10053 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10055 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10056 Use atomic_load_relaxed and atomic_store_relaxed.
10057 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10058 Use atomic_store_relaxed.
10060 2018-10-17 Andreas Schwab <schwab@suse.de>
10062 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10063 * crypt/badsalttest.c (TIMEOUT): Likewise.
10064 * crypt/sha256c-test.c (TIMEOUT): Likewise.
10065 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
10066 * io/test-lfs.c (TIMEOUT): Likewise.
10067 * libio/tst-atime.c (TIMEOUT): Likewise.
10068 * localedata/tst-leaks.c (TIMEOUT): Likewise.
10069 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
10070 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
10071 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
10072 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
10073 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
10074 * nptl/tst-cond11.c (TIMEOUT): Likewise.
10075 * nptl/tst-cond14.c (TIMEOUT): Likewise.
10076 * nptl/tst-cond15.c (TIMEOUT): Likewise.
10077 * nptl/tst-cond24.c (TIMEOUT): Likewise.
10078 * nptl/tst-cond25.c (TIMEOUT): Likewise.
10079 * nptl/tst-kill2.c (TIMEOUT): Likewise.
10080 * nptl/tst-kill3.c (TIMEOUT): Likewise.
10081 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
10082 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
10083 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
10084 * nptl/tst-once2.c (TIMEOUT): Likewise.
10085 * nptl/tst-once3.c (TIMEOUT): Likewise.
10086 * nptl/tst-once4.c (TIMEOUT): Likewise.
10087 * nptl/tst-robust8.c (TIMEOUT): Likewise.
10088 * nptl/tst-robust9.c (TIMEOUT): Likewise.
10089 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
10090 * nptl/tst-sem14.c (TIMEOUT): Likewise.
10091 * nptl/tst-sem6.c (TIMEOUT): Likewise.
10092 * nptl/tst-signal3.c (TIMEOUT): Likewise.
10093 * nptl/tst-spin4.c (TIMEOUT): Likewise.
10094 * nptl/tst-tls3.c (TIMEOUT): Likewise.
10095 * nptl/tst-tls4.c (TIMEOUT): Likewise.
10096 * posix/tst-chmod.c (TIMEOUT): Likewise.
10097 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
10098 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
10099 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
10100 * posix/tst-regex2.c (TIMEOUT): Likewise.
10101 * posix/tst-waitid.c (TIMEOUT): Likewise.
10102 * rt/tst-aio.c (TIMEOUT): Likewise.
10103 * rt/tst-aio10.c (TIMEOUT): Likewise.
10104 * rt/tst-aio4.c (TIMEOUT): Likewise.
10105 * rt/tst-aio5.c (TIMEOUT): Likewise.
10106 * rt/tst-aio6.c (TIMEOUT): Likewise.
10107 * rt/tst-aio64.c (TIMEOUT): Likewise.
10108 * rt/tst-aio7.c (TIMEOUT): Likewise.
10109 * rt/tst-aio9.c (TIMEOUT): Likewise.
10110 * rt/tst-clock.c (TIMEOUT): Likewise.
10111 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
10112 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
10113 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
10114 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
10115 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
10116 * rt/tst-timer4.c (TIMEOUT): Likewise.
10117 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
10118 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
10119 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
10120 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
10121 * time/tst-ftime.c (TIMEOUT): Likewise.
10122 * timezone/tst-tzset.c (TIMEOUT): Likewise.
10124 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
10126 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
10127 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
10130 2018-10-15 Joseph Myers <joseph@codesourcery.com>
10132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10134 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
10135 instead of <bits/wordsize.h>.
10136 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
10137 and [__SEM_PAD_AFTER_TIME].
10138 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
10139 __syscall_ulong_t instead of unsigned long int.
10140 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
10141 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
10142 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
10143 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
10144 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
10145 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
10146 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
10147 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
10148 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10149 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10150 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10152 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
10154 regex: simplify by using intprops.h
10156 * posix/regex_internal.h [_LIBC]: Include intprops.h.
10157 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
10158 intprops.h defines them.
10160 regex: __builtin_expect → __glibc_unlikely
10162 This refactoring was prompted by a problem when the regex code is
10163 used as part of Gnulib and when the builder’s compiler does not grok
10164 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
10165 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
10166 Although this refactoring does not fix the problem directly,
10167 we might as well have Gawk use the now-preferred glibc style for when
10168 __builtin_expect is unavailable.
10169 * posix/regex_internal.h (BE): Remove.
10170 All uses replaced by __glibc_unlikely or __glibc_likely.
10172 2018-10-11 Joseph Myers <joseph@codesourcery.com>
10174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10176 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
10177 instead of <bits/wordsize.h>.
10178 (msgqnum_t): Define as __syscall_ulong_t.
10179 (msglen_t): Likewise.
10180 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
10181 and [__MSQ_PAD_AFTER_TIME].
10182 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
10183 __syscall_ulong_t instead of unsigned long int.
10184 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
10185 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
10186 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
10187 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
10189 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
10190 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
10191 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
10192 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10193 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10194 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10196 2018-10-10 Joseph Myers <joseph@codesourcery.com>
10198 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
10199 (struct shmid_ds): Condition padding after time fields on
10200 [__WORDSIZE == 32].
10201 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
10202 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
10203 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10205 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
10206 (struct semid_ds): Condition padding after time fields on
10207 [__WORDSIZE == 32].
10208 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
10209 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
10210 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
10211 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10213 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
10214 (struct msqid_ds): Condition padding after time fields on
10215 [__WORDSIZE == 32].
10216 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
10217 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
10218 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
10219 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10221 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10223 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
10225 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10227 * libio/tst-readline.c (TIMEOUT): Define.
10229 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
10231 mktime fix for Gnulib + coreutils
10233 This fix affects only Gnulib. Problem discovered when
10234 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
10236 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
10237 Do not define since it is not used. Defining an unused static
10238 function prompts a warning from GCC when Coreutils is configured
10239 with --enable-gcc-warnings.
10241 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10243 * benchtests/scripts/compare_bench.py (main): set float type on
10244 threshold argument.
10246 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
10249 * localedata/locales/kl_GL (mon): Update, the relative case.
10250 (alt_mon): Add, fill with month names in the nominative case.
10251 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
10252 (d_fmt): Set to "%b %d %Y".
10254 2018-10-04 Joseph Myers <joseph@codesourcery.com>
10256 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
10257 <bits/mman-linux.h>.
10258 (PROT_READ): Don't define here.
10259 (PROT_WRITE): Likewise.
10260 (PROT_EXEC): Likewise.
10261 (PROT_NONE): Likewise.
10262 (PROT_GROWSDOWN): Likewise.
10263 (PROT_GROWSUP): Likewise.
10264 (MAP_SHARED): Likewise.
10265 (MAP_PRIVATE): Likewise.
10266 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
10267 [__USE_MISC] (MAP_FILE): Likewise.
10268 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
10269 [__USE_MISC] (MAP_ANON): Likewise.
10270 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
10271 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
10272 (MCL_CURRENT): Likewise.
10273 (MCL_FUTURE): Likewise.
10274 (MCL_ONFAULT): Likewise.
10275 [__USE_MISC] (MADV_NORMAL): Likewise.
10276 [__USE_MISC] (MADV_RANDOM): Likewise.
10277 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
10278 [__USE_MISC] (MADV_WILLNEED): Likewise.
10279 [__USE_MISC] (MADV_DONTNEED): Likewise.
10280 [__USE_MISC] (MADV_FREE): Likewise.
10281 [__USE_MISC] (MADV_REMOVE): Likewise.
10282 [__USE_MISC] (MADV_DONTFORK): Likewise.
10283 [__USE_MISC] (MADV_DOFORK): Likewise.
10284 [__USE_MISC] (MADV_HWPOISON): Likewise.
10285 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10286 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10287 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10288 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10289 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10290 (__MAP_ANONYMOUS): New macro.
10291 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10292 <bits/mman-linux.h> inclusion.
10293 (MAP_FIXED): Likewise.
10294 (MS_SYNC): Likewise.
10295 (MS_ASYNC): Likewise.
10296 (MS_INVALIDATE): Likewise.
10297 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10298 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10299 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10300 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10301 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10302 [__USE_MISC] (MADV_DODUMP): Likewise.
10303 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10304 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10307 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10309 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10310 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10311 Add test-nldbl-redirect.
10312 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10313 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10314 $(objpfx)libnldbl_nonshared.a.
10316 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
10318 * support/support.h (support_objdir_elf_ldso): New variable.
10319 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10320 * support/Makefile (CFLAGS-support_paths.c): Add definition
10321 for OBJDIR_ELF_LDSO_PATH.
10322 * support/test-container.c (main): Search for the ld.so
10323 which is also used by the testsuite.
10325 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10328 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10329 should be "sap" rather than "sab".
10330 (day): Fix spelling of Sunday, should be "sapaat" rather than
10333 2018-10-02 Joseph Myers <joseph@codesourcery.com>
10335 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10337 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10340 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10341 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10342 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10344 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10346 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10348 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10350 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10352 (CFLAGS-elision-unlock.c): Likewise.
10353 (CFLAGS-elision-timed.c): Likewise.
10354 (CFLAGS-elision-trylock.c): Likewise.
10355 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10357 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10360 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10361 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10362 new fd_to_filename interface.
10363 * libio/freopen64.c (freopen64): Likewise.
10364 * libio/tst-memstream.h: New file.
10365 * libio/tst-memstream4.c: Likewise.
10366 * libio/tst-wmemstream4.c: Likewise.
10367 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10368 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10369 and remove internal dynamic allocation.
10371 2018-10-01 Joseph Myers <joseph@codesourcery.com>
10373 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10374 (MREMAP_MAYMOVE): Do not define here.
10375 [__USE_GNU] (MREMAP_FIXED): Likewise.
10376 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10377 (MREMAP_MAYMOVE): Define here instead.
10378 [__USE_GNU] (MREMAP_FIXED): Likewise.
10379 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10380 (MREMAP_MAYMOVE): Remove.
10381 [__USE_GNU] (MREMAP_FIXED): Likewise.
10383 2018-09-28 Joseph Myers <joseph@codesourcery.com>
10385 * math/fromfp.h: Do not include <math_private.h>.
10386 * math/s_cacosh_template.c: Likewise.
10387 * math/s_casin_template.c: Likewise.
10388 * math/s_casinh_template.c: Likewise.
10389 * math/s_ccos_template.c: Likewise.
10390 * math/s_cproj_template.c: Likewise.
10391 * math/s_fdim_template.c: Likewise.
10392 * math/s_fmaxmag_template.c: Likewise.
10393 * math/s_fminmag_template.c: Likewise.
10394 * math/s_iseqsig_template.c: Likewise.
10395 * math/s_ldexp_template.c: Likewise.
10396 * math/s_nextdown_template.c: Likewise.
10397 * math/w_log1p_template.c: Likewise.
10398 * math/w_scalbln_template.c: Likewise.
10399 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10400 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10401 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10402 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10403 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10404 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10405 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10406 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10407 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10408 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10409 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10410 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10411 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10412 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10413 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10414 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10415 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10420 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10421 * sysdeps/ieee754/k_standardf.c: Likewise.
10422 * sysdeps/ieee754/k_standardl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10425 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10431 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10432 * sysdeps/ieee754/s_signgam.c: Likewise.
10433 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10434 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10435 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10436 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10437 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10438 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10439 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10440 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10441 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10442 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10443 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10444 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10445 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10446 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10447 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10448 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10449 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10450 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10451 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10452 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10453 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10454 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10455 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10456 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10457 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10458 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10459 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10460 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10461 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10462 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10463 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10464 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10465 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10466 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10467 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10468 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10469 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10471 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10473 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10476 * sysdeps/i386/dl-cet.c: Removed.
10477 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10479 (_dl_runtime_profile_shstk): Likewise.
10480 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10481 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10483 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10486 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10487 do_test_with_invalid_iov): New tests.
10488 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10489 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10490 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10492 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10493 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10494 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10496 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10498 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10499 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10500 (MATH_REDIRECT_BINARY_ARGS): New macro.
10501 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10502 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10503 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10505 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10507 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10508 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10518 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10519 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10524 * sysdeps/generic/math_private_calls.h
10525 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10526 Do not declare and define as an inline function.
10527 * math/divtc3.c (__divtc3): Use copysign functions instead of
10528 __copysign variants.
10529 * math/multc3.c (__multc3): Likewise.
10530 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10531 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10532 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10533 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10535 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10536 (__ieee754_yn): Likewise.
10537 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10538 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10539 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10540 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10541 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10543 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10544 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10550 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10551 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10553 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10554 (__ieee754_ynf): Likewise.
10555 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10556 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10557 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10558 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10561 (__ieee754_ynl): Likewise.
10562 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10563 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10567 (__ieee754_ynl): Likewise.
10568 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10571 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10573 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10575 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10576 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10577 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10578 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10579 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10581 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10582 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10583 using MATH_REDIRECT.
10584 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10586 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10587 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10589 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10590 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10597 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10598 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10599 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10600 (round): Redirect to __round.
10601 (__roundl): Call round instead of __round.
10602 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10604 [_ARCH_PWR5X] (__roundf): Likewise.
10605 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10606 functions instead of __round variants.
10607 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10608 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10610 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10612 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10614 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10617 (__ieee754_expl): Call roundl instead of __roundl.
10619 2018-09-27 Andreas Schwab <schwab@suse.de>
10622 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10623 (do_test): Make st1 static.
10625 2018-09-26 Andreas Schwab <schwab@suse.de>
10628 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10629 * elf/Makefile (tests): Add tst-unwind-ctor.
10630 (modules-names): Add tst-unwind-ctor-lib.
10631 ($(objpfx)tst-unwind-ctor): Depend on
10632 $(objpfx)tst-unwind-ctor-lib.so.
10634 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10636 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10637 file. Most contents moved from ....
10638 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10639 and include <bits/mman-map-flags-generic.h>.
10640 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10641 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10642 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10643 <bits/mman-map-flags-generic.h>.
10644 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10645 macros defined in <bits/mman-map-flags-generic.h>.
10646 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10647 <bits/mman-map-flags-generic.h>.
10648 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10649 defined in <bits/mman-map-flags-generic.h>.
10651 2018-09-26 Andreas Schwab <schwab@suse.de>
10653 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10656 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10657 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10658 Fangrui Song <maskray@google.com>
10661 * config.make.in (have-textrel_ifunc): New define.
10662 * configure.ac: Add check if linker supports textrel relocation with
10664 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10666 (CFLAGS-tst-ifunc-textrel.c): New rule.
10667 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10668 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10669 * elf/tst-ifunc-textrel.c: New file.
10671 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10673 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10674 <bits/procfs-prregset.h>.
10675 (prgregset_t): Define using __prgregset_t.
10676 (prfpregset_t): Define using __prfpregset_t.
10677 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10678 (sysdep_headers): Add bits/procfs-prregset.h.
10679 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10680 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10681 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10682 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10684 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10685 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10686 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10688 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10689 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10690 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10691 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10692 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10693 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10694 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10695 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10696 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10697 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10698 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10699 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10700 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10702 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10703 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10704 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10705 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10706 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10707 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10708 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10709 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10711 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10713 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10714 AArch64 version. Include <bits/procfs.h>.
10715 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10716 (sysdep_headers): Add bits/procfs.h.
10717 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10718 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10719 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10720 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10721 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10722 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10723 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10725 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10726 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10727 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10728 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10729 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10730 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10731 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10732 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10733 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10735 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10737 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10740 2018-09-25 Arjun Shankar <arjun@redhat.com>
10742 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10743 (__gconv_max_path_elem_len): Likewise.
10744 (__gconv_nmodules): Likewise.
10745 (__gconv_get_path): Likewise.
10746 (path_elem): Move to ...
10747 * iconv/gconv_conf.c: ... here.
10748 (__gconv_get_path): Mark function static.
10749 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10750 * iconv/gconv_open.c: ... here.
10752 2018-09-24 Andreas Schwab <schwab@suse.de>
10754 * scripts/haveversions.awk: New file.
10755 * Makerules ($(common-objpfx)Versions.def)
10756 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10757 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10759 * Makeconfig ($(common-objpfx)Versions.def)
10760 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10761 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10763 ($(common-objpfx)Versions.mk): New rule. Include it.
10764 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10765 Emit error if build-obsolete-nsl = yes.
10766 * manual/install.texi (Configuring and compiling): Describe
10767 --enable-obsolete-nsl as unavaiable after version 2.28.
10768 * INSTALL: Regenerate.
10770 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10772 * NEWS: Add note about new TLE support on powerpc64le.
10773 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10774 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10776 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10777 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10778 * sysdeps/powerpc/powerpc32/sysdep.h,
10779 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10780 ABORT_TRANSACTION): Remove macros.
10781 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10782 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10783 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10785 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10786 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10788 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10790 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10793 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10794 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10795 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10796 which is the same as in it_IT.
10797 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10798 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10800 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10802 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10803 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10804 using MATH_REDIRECT.
10805 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10807 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10809 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10811 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10812 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10817 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10818 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10819 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10820 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10821 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10822 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10823 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10824 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10825 (ceil): Redirect to __ceil.
10826 (floor): Redirect to __floor.
10827 (trunc): Redirect to __trunc.
10828 (__truncl): Call trunc instead of __trunc.
10829 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10831 [_ARCH_PWR5X] (__truncf): Likewise.
10832 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10833 trunc functions instead of __trunc variants.
10834 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10836 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10838 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10840 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10843 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10844 [__i586__ || __pentium__].
10845 [__i486__]: Handle explicitly.
10846 (HAS_CPUID): Define to 1 if above macros are undefined.
10847 (HAS_I586): Likewise.
10848 (HAS_I686): Likewise.
10850 2018-09-20 Florian Weimer <fweimer@redhat.com>
10852 * misc/tst-gethostid.c: New file.
10853 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10854 (tst-gethostid): Link with -ldl.
10856 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10858 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10859 value from gethostbyname_r.
10861 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10863 * stdlib/tst-setcontext9.c (f1): Rename to...
10865 (f1b): New function implementing lower half of f1 in alternate stack.
10867 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10869 Fix mktime localtime offset confusion
10871 * include/time.h (__mktime_internal): The localtime offset is now
10872 of type long int instead of time_t. This is the longstanding type
10873 in glibc, and it is more than enough to represent difference
10874 between localtime and gmtime even if it is 32 bits and time_t is
10875 64. Changing it now will let us avoid an unnecessary change when
10876 time_t is widened to 64 bits on 32-bit platforms.
10877 * time/mktime-internal.h (mktime_offset_t): Now long int.
10879 Merge mktime, timegm from upstream Gnulib
10880 [BZ #23603][BZ #16346]
10881 This fixes some obscure problems with integer overflow.
10882 Although it looks scary, it is almost all a byte-for-byte copy
10883 from Gnulib, and the Gnulib code has been tested reasonably well.
10884 * include/intprops.h: New file, copied from Gnulib.
10885 * include/verify.h, time/mktime-internal.h:
10886 New tiny files, simplified from Gnulib.
10887 * time/mktime.c: Copy from Gnulib. This has the following changes:
10888 Do not include config.h if DEBUG_MKTIME is nonzero.
10889 Include stdbool.h, intprops.h, verify.h.
10890 Include string.h only if needed.
10891 Include stdlib.h on MS-Windows.
10892 Include mktime-internal.h.
10893 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10894 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10895 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10896 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10897 simplify later conditionals; default the others to zero. Use
10898 these conditionals to express only the code needed on the current
10899 platform. In uses of these conditionals, explicitly spell out how
10900 _LIBC affects things, so it’s easier to review from a glibc
10902 (WRAPV): Remove; no longer needed now that we have
10903 systematic overflow checking.
10904 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10905 compartmentalize tzset issues. Move system-dependent tzsettish
10906 code here from mktime.
10907 (verify): Remove; now done by verify.h. All uses changed.
10908 (long_int): Use a more-conservative definition, to avoid
10910 (SHR): Remove, replacing with ...
10911 (shr): New function, which means we needn’t worry about side
10912 effects in args, and conversion analysis is simpler.
10913 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10914 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10915 (time_t_avg, time_t_add_ok): Remove.
10916 (mktime_min, mktime_max): New constants.
10917 (leapyear, isdst_differ): Use bool for booleans.
10918 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10919 Use long_int, not time_t, for mktime differences.
10920 (long_int_avg): New function, replacing time_t_avg.
10921 INT_ADD_WRAPV replaces time_t_add_ok.
10922 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10924 (convert_time): New function.
10925 (ranged_convert): Use it.
10926 (__mktime_internal): Last arg now points to mktime_offset_t, not
10927 time_t. All uses changed. This is a no-op on glibc, where
10928 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10929 offset guess. Directly check for integer overflow instead of
10930 using a heuristic that works only 99.9...% of the time.
10931 Access *OFFSET only once, to avoid an unlikely race if the
10932 compiler delays a load and if this cascades into a signed integer
10934 (mktime): Move tzsettish code to my_tzset, and move
10935 localtime_offset to within mktime so that it doesn’t
10936 need a separate ifdef.
10937 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10938 instead of localtime.
10939 * time/timegm.c: Copy from Gnulib. This has the following changes:
10940 Include mktime-internal.h.
10941 [!_LIBC]: Include config.h and time.h. Do not include
10942 timegm.h or time_r.h. Make __mktime_internal a macro,
10943 and include mktime-internal.h to get its declaration.
10944 (timegm): Temporary is now mktime_offset_t, not time_t.
10945 This affects only Gnulib.
10947 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10950 * string/test-strstr.c (pr23637): New function.
10951 (test_main): Add tests with longer needles.
10952 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10953 * string/strstr.c (AVAILABLE): Likewise.
10955 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10957 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10959 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10961 * NEWS: Mention pow improvements.
10962 * math/Makefile (type-double-routines): Add e_pow_log_data.
10963 * sysdeps/generic/math_private.h (__exp1): Remove.
10964 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10965 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10966 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10968 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10969 (exp_inline): Remove.
10970 (__ieee754_exp): Only single double input is handled.
10971 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10972 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10973 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10974 (__pow_log_data): Define.
10975 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10976 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10977 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10978 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10980 (CFLAGS-e_pow-fma4.c): Likewise.
10982 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10984 Simplify tzfile fstat failure code
10986 * time/tzfile.c (__tzfile_read): Simplify slightly.
10988 Fix tzfile low-memory assertion failure
10990 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10991 when registering time zone abbreviations.
10993 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10995 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10996 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10997 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10998 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10999 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11000 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11001 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11002 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11007 (__ceill): Call ceil instead of __ceil.
11008 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11010 (__floorl): Call floor instead of __floor.
11012 2018-09-17 Joseph Myers <joseph@codesourcery.com>
11014 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11015 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11016 using MATH_REDIRECT.
11017 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11019 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11022 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11023 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11024 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11026 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11031 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11032 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11035 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11036 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11037 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11039 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11040 functions instead of __ceil variants.
11041 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11042 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11044 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11046 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11047 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11049 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11050 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11053 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11055 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11056 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11057 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11058 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11059 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11060 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11061 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11062 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11063 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11064 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
11065 (ILL_BADIADDR): Remove constant.
11066 (TRAP_BRANCH): Likewise.
11067 (TRAP_HWBKPT): Likewise.
11069 2018-09-14 Joseph Myers <joseph@codesourcery.com>
11072 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
11073 Remove [_MIPS_SIM = _ABIN32] conditional case.
11074 (struct elf_prpsinfo): Likewise.
11077 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
11078 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
11079 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
11081 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
11082 elf_prpsinfo): Likewise.
11083 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
11084 elf_prpsinfo): Likewise.
11085 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
11088 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11089 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
11090 using MATH_REDIRECT.
11091 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
11093 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
11094 * sysdeps/alpha/fpu/s_rint.c: Likewise.
11095 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
11096 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11097 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11099 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
11100 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11103 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
11104 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
11105 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
11106 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
11107 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
11108 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11109 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11110 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
11111 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
11113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
11114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
11115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
11116 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
11117 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
11118 * sysdeps/x86_64/fpu/math_private.h: Remove file.
11119 * math/e_scalb.c (invalid_fn): Use rint functions instead of
11121 * math/e_scalbf.c (invalid_fn): Likewise.
11122 * math/e_scalbl.c (invalid_fn): Likewise.
11123 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11125 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11127 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11128 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
11129 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11131 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11133 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11135 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
11136 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
11138 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11139 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
11141 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11142 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
11143 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11144 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
11145 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11146 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
11147 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11148 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
11149 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11150 && !NO_MATH_REDIRECT] (floor): Likewise.
11151 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
11153 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11156 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
11157 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11160 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
11161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
11162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
11163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
11164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
11165 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11166 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11169 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
11170 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
11171 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
11173 [_ARCH_PWR5X] (__floorf): Likewise.
11174 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
11176 [__SSE4_1__] (__floorf): Likewise.
11177 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
11178 instead of __floor variants.
11179 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
11180 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
11181 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
11182 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
11183 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
11184 * math/w_tgamma_compat.c (__tgamma): Likewise.
11185 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
11186 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
11187 * math/w_tgammal_compat.c (__tgammal): Likewise.
11188 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
11189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11191 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11192 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
11193 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11194 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11196 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11197 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
11199 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
11202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
11205 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11207 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
11208 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
11209 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11210 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11212 2018-09-12 Joseph Myers <joseph@codesourcery.com>
11214 * elf/Makefile (modules-names-tests): New variable.
11216 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11218 * NEWS: Mention log2 improvements.
11219 * math/Makefile (type-double-routines): Add e_log2_data.
11220 * sysdeps/i386/fpu/e_log2_data.c: New file.
11221 * sysdeps/ia64/fpu/e_log2_data.c: New file.
11222 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
11223 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
11224 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
11225 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
11226 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
11228 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11230 * NEWS: Mention log improvement.
11231 * math/Makefile (type-double-routines): Add e_log_data.
11232 * sysdeps/i386/fpu/e_log_data.c: New file.
11233 * sysdeps/ia64/fpu/e_log_data.c: New file.
11234 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
11235 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
11236 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
11237 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
11238 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
11239 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
11241 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
11242 Xuepeng Guo <xuepeng.guo@intel.com>
11245 * sysdeps/i386/start.S: Include <sysdep.h>
11246 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
11247 enabled. Add cfi_undefined (eip).
11249 2018-09-11 Joseph Myers <joseph@codesourcery.com>
11251 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
11253 (EXTRACT_WORDS64): Likewise.
11254 (INSERT_WORDS64): Likewise.
11255 (GET_FLOAT_WORD): Likewise.
11256 (SET_FLOAT_WORD): Likewise.
11258 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
11260 (Config.build_gcc): Use --disable-libsanitizer for first GCC
11261 build, but not for second build if --full-gcc. Use
11262 --enable-languages=all for second build if --full-gcc.
11263 (get_parser): Add --full-gcc option.
11264 (main): Update call to Context.
11266 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
11269 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
11270 Single Quotation Mark).
11271 (thousands_sep): Likewise.
11272 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
11273 * localedata/locales/it_IT (thousands_sep): Use ".".
11274 (grouping): Use "3;3".
11276 2018-09-10 Joseph Myers <joseph@codesourcery.com>
11278 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11279 x86_64 and i686 configs using --enable-obsolete-rpc
11280 --enable-obsolete-nsl.
11282 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11284 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11286 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11288 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11289 Increment size of new_argv by one.
11291 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11294 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11295 * localedata/locales/ar_IN (d_fmt): Likewise.
11296 * localedata/locales/bhb_IN (d_fmt): Likewise.
11297 * localedata/locales/bho_IN (d_fmt): Likewise.
11298 * localedata/locales/bn_BD (d_fmt): Likewise.
11299 * localedata/locales/bn_IN (d_fmt): Likewise.
11300 * localedata/locales/doi_IN (d_fmt): Likewise.
11301 * localedata/locales/gu_IN (d_fmt): Likewise.
11302 * localedata/locales/hi_IN (d_fmt): Likewise.
11303 * localedata/locales/hne_IN (d_fmt): Likewise.
11304 * localedata/locales/kn_IN (d_fmt): Likewise.
11305 * localedata/locales/mag_IN (d_fmt): Likewise.
11306 * localedata/locales/mai_IN (d_fmt): Likewise.
11307 * localedata/locales/mjw_IN (d_fmt): Likewise.
11308 * localedata/locales/ml_IN (d_fmt): Likewise.
11309 * localedata/locales/mni_IN (d_fmt): Likewise.
11310 * localedata/locales/mr_IN (d_fmt): Likewise.
11311 * localedata/locales/pa_IN (d_fmt): Likewise.
11312 * localedata/locales/raj_IN (d_fmt): Likewise.
11313 * localedata/locales/sat_IN (d_fmt): Likewise.
11314 * localedata/locales/sd_IN (d_fmt): Likewise.
11315 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11316 * localedata/locales/ta_IN (d_fmt): Likewise.
11317 * localedata/locales/ta_LK (d_fmt): Likewise.
11318 * localedata/locales/tcy_IN (d_fmt): Likewise.
11319 * localedata/locales/ur_IN (d_fmt): Likewise.
11321 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11322 * localedata/locales/ks_IN (d_fmt): Likewise.
11323 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11325 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11326 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11327 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11328 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11330 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11332 * NEWS: Mention exp and exp2 improvements.
11333 * math/Makefile (libm-support): Remove t_exp.
11334 (type-double-routines): Add math_err and e_exp_data.
11335 * sysdeps/aarch64/libm-test-ulps: Update.
11336 * sysdeps/arm/libm-test-ulps: Update.
11337 * sysdeps/i386/fpu/e_exp_data.c: New file.
11338 * sysdeps/i386/fpu/math_err.c: New file.
11339 * sysdeps/i386/fpu/t_exp.c: Remove.
11340 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11341 * sysdeps/ia64/fpu/math_err.c: New file.
11342 * sysdeps/ia64/fpu/t_exp.c: Remove.
11343 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11344 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11345 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11347 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11348 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11349 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11350 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11351 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11352 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11353 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11354 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11355 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11356 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11360 2018-09-05 Joseph Myers <joseph@codesourcery.com>
11362 * sysdeps/alpha/fpu/math_private.h: Remove.
11364 * sysdeps/generic/math_private.h
11365 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11366 Move this inline function ....
11367 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11368 * include/math.h [!_ISOMAC]: To here....
11370 2018-09-04 Joseph Myers <joseph@codesourcery.com>
11372 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11374 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11375 * include/fenv.h [!_ISOMAC]: ... to here.
11376 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11377 (feraiseexcept): Likewise.
11378 * math/fromfp.h: Do not include <fenv_private.h>.
11379 * math/s_cexp_template.c: Likewise.
11380 * math/s_csin_template.c: Likewise.
11381 * math/s_csinh_template.c: Likewise.
11382 * math/s_ctan_template.c: Likewise.
11383 * math/s_ctanh_template.c: Likewise.
11384 * math/s_iseqsig_template.c: Likewise.
11385 * math/w_acos_compat.c: Likewise.
11386 * math/w_acosf_compat.c: Likewise.
11387 * math/w_acosl_compat.c: Likewise.
11388 * math/w_asin_compat.c: Likewise.
11389 * math/w_asinf_compat.c: Likewise.
11390 * math/w_asinl_compat.c: Likewise.
11391 * math/w_j0_compat.c: Likewise.
11392 * math/w_j0f_compat.c: Likewise.
11393 * math/w_j0l_compat.c: Likewise.
11394 * math/w_j1_compat.c: Likewise.
11395 * math/w_j1f_compat.c: Likewise.
11396 * math/w_j1l_compat.c: Likewise.
11397 * math/w_jn_compat.c: Likewise.
11398 * math/w_jnf_compat.c: Likewise.
11399 * math/w_log10_compat.c: Likewise.
11400 * math/w_log10f_compat.c: Likewise.
11401 * math/w_log10l_compat.c: Likewise.
11402 * math/w_log2_compat.c: Likewise.
11403 * math/w_log2f_compat.c: Likewise.
11404 * math/w_log2l_compat.c: Likewise.
11405 * math/w_log_compat.c: Likewise.
11406 * math/w_logf_compat.c: Likewise.
11407 * math/w_logl_compat.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11413 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11414 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11415 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11416 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11417 * sysdeps/ieee754/k_standardl.c: Likewise.
11418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11419 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11420 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11421 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11422 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11423 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11424 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11425 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11426 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11427 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11428 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11429 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11430 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11431 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11432 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11434 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11435 * math/w_ilogb_template.c: Include <fenv.h> instead of
11437 * math/w_llogb_template.c: Likewise.
11438 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11439 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11441 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11443 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11444 * math/fromfp.h: Include <fenv_private.h>.
11445 * math/math-narrow.h: Likewise.
11446 * math/s_cexp_template.c: Likewise.
11447 * math/s_csin_template.c: Likewise.
11448 * math/s_csinh_template.c: Likewise.
11449 * math/s_ctan_template.c: Likewise.
11450 * math/s_ctanh_template.c: Likewise.
11451 * math/s_iseqsig_template.c: Likewise.
11452 * math/w_acos_compat.c: Likewise.
11453 * math/w_acosf_compat.c: Likewise.
11454 * math/w_acosl_compat.c: Likewise.
11455 * math/w_asin_compat.c: Likewise.
11456 * math/w_asinf_compat.c: Likewise.
11457 * math/w_asinl_compat.c: Likewise.
11458 * math/w_ilogb_template.c: Likewise.
11459 * math/w_j0_compat.c: Likewise.
11460 * math/w_j0f_compat.c: Likewise.
11461 * math/w_j0l_compat.c: Likewise.
11462 * math/w_j1_compat.c: Likewise.
11463 * math/w_j1f_compat.c: Likewise.
11464 * math/w_j1l_compat.c: Likewise.
11465 * math/w_jn_compat.c: Likewise.
11466 * math/w_jnf_compat.c: Likewise.
11467 * math/w_llogb_template.c: Likewise.
11468 * math/w_log10_compat.c: Likewise.
11469 * math/w_log10f_compat.c: Likewise.
11470 * math/w_log10l_compat.c: Likewise.
11471 * math/w_log2_compat.c: Likewise.
11472 * math/w_log2f_compat.c: Likewise.
11473 * math/w_log2l_compat.c: Likewise.
11474 * math/w_log_compat.c: Likewise.
11475 * math/w_logf_compat.c: Likewise.
11476 * math/w_logl_compat.c: Likewise.
11477 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11478 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11479 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11480 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11490 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11491 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11493 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11502 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11503 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11504 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11505 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11506 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11507 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11508 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11509 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11510 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11511 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11512 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11513 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11514 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11515 * sysdeps/ieee754/k_standardl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11541 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11542 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11546 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11547 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11552 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11553 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11554 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11555 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11556 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11557 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11558 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11559 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11560 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11561 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11562 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11563 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11564 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11565 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11566 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11567 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11568 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11569 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11570 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11571 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11572 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11573 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11574 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11575 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11576 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11577 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11578 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11579 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11580 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11581 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11582 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11583 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11584 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11585 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11586 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11588 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11591 * include/stdio.h (__libc_fatal): Mention newline in comment.
11592 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11593 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11595 * nss/nsswitch.c (__nss_next2): Likewise.
11596 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11597 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11598 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11599 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11600 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11601 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11602 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11603 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11604 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11605 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11606 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11607 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11608 (__netlink_assert_response): Likewise.
11610 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11612 * conform/glibcconform.py: New file.
11613 * conform/list-header-symbols.py: Likewise.
11614 * conform/list-header-symbols.pl: Remove.
11615 * conform/Makefile (tests-special): Only add linknamespace tests
11617 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11619 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11622 * support/Makefile (libsupport-routines): Add
11623 support_copy_file_range and xcopy_file_range.
11624 * support/support.h: Include <sys/types.h>.
11625 (support_copy_file_range): New prototype.
11626 * support/support_copy_file_range.c: New file. Copied and
11627 modified from io/copy_file_range-compat.c.
11628 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11629 instead of copy_file_range.
11630 * support/xcopy_file_range.c: New file.
11631 * support/xunistd.h (xcopy_file_range): New prototype.
11633 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11635 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11636 xpthread_create and xpthread_join.
11638 2018-08-30 Florian Weimer <fweimer@redhat.com>
11640 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11642 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11644 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11647 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11649 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11650 and minus_oflow as non-finite.
11652 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11654 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11655 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11656 moved to fenv_private.h except for ...
11657 (TOINT_INTRINSICS): Kept in math_private.h.
11658 (roundtoint): Likewise.
11659 (converttoint): Likewise.
11660 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11661 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11662 * sysdeps/arm/math_private.h: Remove.
11663 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11665 * sysdeps/generic/math_private.h: ... this file. Include
11666 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11667 Include <fenv_private.h>. Remove functions and macros moved to
11669 * sysdeps/i386/fpu/math_private.h: Remove.
11670 * sysdeps/mips/math_private.h: Move to ....
11671 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11672 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11673 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11674 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11675 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11676 * sysdeps/powerpc/fpu/math_private.h: Do not include
11678 * sysdeps/riscv/rvf/math_private.h: Move to ....
11679 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11680 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11682 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11683 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11684 * sysdeps/sparc/fpu/math_private.h: Remove.
11685 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11686 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11687 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11689 * sysdeps/x86_64/fpu/math_private.h: Do not include
11690 <sysdeps/i386/fpu/fenv_private.h>.
11692 2018-08-28 Florian Weimer <fweimer@redhat.com>
11695 * posix/tst-regcomp-truncated.c: New file.
11696 * posix/Makefile (tests): Add it.
11697 (tst-regcomp-truncated.out): Depend on generated locales.
11699 2018-08-28 Florian Weimer <fweimer@redhat.com>
11701 * support/test-container.c (main): Treat unshare failure with
11702 EPERM as an unsupported test.
11704 2018-08-28 Florian Weimer <fweimer@redhat.com>
11707 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11708 * nscd/netgroupcache.c
11709 (addgetnetgrentX): Add tofreep parameter. Do not free
11710 heap-allocated buffer.
11711 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11712 (addgetnetgrentX_ignore): New function.
11713 (addgetnetgrent): Call it.
11714 (readdgetnetgrent): Likewise.
11716 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11718 * string/memmem.c: Use memcmp for first match.
11720 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11723 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11725 2018-08-27 DJ Delorie <dj@redhat.com>
11727 * support/Makefile (others): Don't list programs explicitly as a
11728 dependency of "others".
11730 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11732 * sysdeps/generic/math-tests-trap-force.h: New file.
11733 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11734 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11735 * sysdeps/powerpc/math-tests.h: Remove file.
11736 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11738 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11739 Torvald Riegel <triegel@redhat.com>
11742 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11743 Update r to include the set wake-request flag if waiters are
11744 remaining after spinning.
11746 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11748 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11750 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11753 regex: fix uninitialized memory access
11754 I introduced this bug into gnulib in commit
11755 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11756 eventually it was merged into glibc. The bug was found by
11757 project-repo <bugs@feusi.co> and reported here:
11758 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11759 Diagnosis and draft fix reported by Assaf Gordon here:
11760 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11761 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11762 * posix/regex_internal.c (build_wcs_upper_buffer):
11763 Fix bug when mbrtowc returns 0.
11765 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11767 * po/be.po: Update translation.
11769 2018-08-24 DJ Delorie <dj@delorie.com>
11771 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11774 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11777 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11778 create temporary files in source tree.
11780 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11782 * sysdeps/generic/math-tests-trap.h: New file.
11783 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11784 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11785 * sysdeps/aarch64/math-tests.h: Remove file.
11786 * sysdeps/arm/math-tests.h: Likewise.
11787 * sysdeps/riscv/math-tests.h: Likewise.
11788 * sysdeps/aarch64/math-tests-trap.h: New file.
11789 * sysdeps/arm/math-tests-trap.h: Likewise.
11790 * sysdeps/riscv/math-tests-trap.h: Likewise.
11792 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11794 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11795 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11796 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11797 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11798 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11799 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11801 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11803 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11804 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11805 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11806 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11807 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11808 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11809 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11810 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11811 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11813 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11815 * sysdeps/generic/math-tests-exceptions.h: New file.
11816 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11817 (EXCEPTION_TESTS_float): Do not define here.
11818 (EXCEPTION_TESTS_double): Likewise.
11819 (EXCEPTION_TESTS_long_double): Likewise.
11820 (EXCEPTION_TESTS_float128): Likewise.
11821 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11823 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11824 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11825 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11826 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11827 * sysdeps/mips/math-tests.h: Likewise.
11828 * sysdeps/nios2/math-tests.h: Likewise.
11829 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11830 (EXCEPTION_TESTS_float): Do not define here.
11831 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11832 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11833 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11835 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11837 * NEWS: Move optimized sinf entry to 2.29.
11839 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11841 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11843 2018-08-22 DJ Delorie <dj@redhat.com>
11845 * Makefile (testroot.pristine): New rules to initialize the
11846 test-in-container "testroot".
11847 * Makerules (all-testsuite): Add tests-container.
11848 * Rules (tests-expected): Add tests-container.
11849 (binaries-all-tests): Likewise.
11850 (tests-container): New, run these tests in the testroot container.
11851 * support/Makefile (others): Add *-container, support_paths.c,
11852 xmkdirp, and links-dso-program.
11853 * support/links-dso-program-c.c: New.
11854 * support/links-dso-program.cc: New.
11855 * support/test-container.c: New.
11856 * support/shell-container.c: New.
11857 * support/echo-container.c: New.
11858 * support/true-container.c: New.
11859 * support/xmkdirp.c: New.
11860 * support/xsymlink.c: New.
11861 * support/support_paths.c: New.
11862 * support/support.h: Add support paths prototypes.
11863 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11865 * nss/tst-nss-test3.c: Convert to test-in-container.
11866 * nss/tst-nss-test3.root/: New.
11868 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11870 regex: port Gnulib code to z/OS POSIX environment
11871 Problem reported by Arnold Robbins in:
11872 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11873 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11876 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11878 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11879 (ROUNDING_TESTS_double): Remove.
11880 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11881 (ROUNDING_TESTS_double): Remove.
11882 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11883 (ROUNDING_TESTS_double): Remove.
11884 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11885 (ROUNDING_TESTS_float): Remove.
11886 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11887 (ROUNDING_TESTS_float): Remove.
11888 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11889 (ROUNDING_TESTS_float): Remove.
11890 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11891 !TEST_MATHVEC here.
11892 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11893 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11895 * sysdeps/generic/math-tests-rounding.h: New file.
11896 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11897 (ROUNDING_TESTS_float): Do not define here.
11898 (ROUNDING_TESTS_double): Likewise.
11899 (ROUNDING_TESTS_long_double): Likewise.
11900 (ROUNDING_TESTS_float128): Likewise.
11901 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11902 (ROUNDING_TESTS_double): Undefine before defining.
11903 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11904 (ROUNDING_TESTS_double): Undefine before defining.
11905 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11906 (ROUNDING_TESTS_double): Undefine before defining.
11907 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11908 (ROUNDING_TESTS_float): Undefine before defining.
11909 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11910 (ROUNDING_TESTS_float): Undefine before defining.
11911 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11912 (ROUNDING_TESTS_float): Undefine before defining.
11913 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11914 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11916 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11917 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11918 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11919 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11920 (ROUNDING_TESTS_float): Do not define here.
11921 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11922 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11923 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11924 (ROUNDING_TESTS_float): Likewise.
11925 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11926 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11927 * sysdeps/mips/math-tests.h [__mips_soft_float]
11928 (ROUNDING_TESTS_float): Likewise.
11929 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11930 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11931 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11932 (ROUNDING_TESTS_double): Likewise.
11933 (ROUNDING_TESTS_long_double): Likewise.
11935 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11937 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11938 (PF_XDP): New macro.
11939 (AF_XDP): New macro.
11940 (SOL_XDP): New macro.
11942 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11944 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11945 (TCP_INQ): Likewise.
11946 (TCP_CM_INQ): Likewise.
11947 (TCP_REPAIR_ON): Likewise.
11948 (TCP_REPAIR_OFF): Likewise.
11949 (TCP_REPAIR_OFF_NO_WP): Likewise.
11950 (struct tcp_zerocopy_receive): New type.
11952 2018-08-21 Florian Weimer <fweimer@redhat.com>
11954 * support/support.h (support_descriptor_supports_holes): Declare.
11955 * support/Makefile (libsupport-routines): Add
11956 support_descriptor_supports_holes.
11957 * support/support_descriptor_supports_holes.c: New file.
11958 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11959 and stop testing if holes are not supported.
11960 * io/test-lfs.c (do_prepare): Likewise.
11961 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11963 * timezone/tst-tzset.c (create_tz_file): Likewise.
11964 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11966 (do_prepare): Set it.
11967 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11969 2018-08-21 Florian Weimer <fweimer@redhat.com>
11972 * Makeconfig (+cflags): Do not sort (and deduplicate).
11974 2018-08-21 Florian Weimer <fweimer@redhat.com>
11976 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11977 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11979 2018-08-20 Florian Weimer <fweimer@redhat.com>
11981 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11982 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11984 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11986 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11987 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11988 and ssi_arch members.
11990 * elf/elf.c (NT_VMCOREDD): New macro.
11991 (AT_MINSIGSTKSZ): Likewise.
11993 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11996 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11997 s_cosf-ppc64 and s_cosf-power8.
11998 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11999 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12000 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12001 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12008 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12009 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12011 2018-08-17 Florian Weimer <fweimer@redhat.com>
12013 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12015 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12017 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12019 2018-08-16 Florian Weimer <fweimer@redhat.com>
12021 * configure.ac: Add --with-nonshared-cflags option.
12022 * config.make.in (extra-nonshared-cflags): Set variable.
12023 * Makeconfig (CFLAGS-.oS): Use it.
12024 * manual/install.texi (Configuring and compiling): Document
12025 --with-nonshared-cflags.
12026 * configure: Regenerate.
12027 * INSTALL: Likewise.
12029 2018-08-16 Florian Weimer <fweimer@redhat.com>
12031 * Makeconfig (ASFLAGS): Always append required assembler flags.
12033 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
12035 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12036 (malloc_consolidate): Likewise.
12038 2018-08-16 Pochang Chen <johnchen902@gmail.com>
12040 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12042 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12044 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12047 * benchtests/bench-strlen.c: Print performance numbers in json.
12049 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12051 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12052 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12053 only for little endian.
12054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12055 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12056 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12057 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12058 Add check for little endian.
12059 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12060 (__strcmp_power9): Add check for little endian.
12061 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12062 Add check for little endian.
12063 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12064 (__strncmp_power9): Add check for little endian.
12065 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
12066 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
12067 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
12068 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
12069 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
12071 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12073 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
12074 [!STRLEN](STRLEN): Set to __strlen.
12075 * sysdeps/aarch64/multiarch/strlen.c: New file.
12076 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
12077 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
12078 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12079 (__libc_ifunc_impl_list): Add strlen.
12080 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12081 strlen_generic and strlen_asimd.
12083 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
12086 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
12087 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12089 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12091 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
12093 2018-08-14 Florian Weimer <fweimer@redhat.com>
12096 * include/stdio.h (__vfxprintf): Declare.
12097 * stdio-common/fxprintf.c (__vfxprintf): New function.
12098 (__fxprintf): Call it.
12099 * misc/err.c (convert_and_print): Remove function.
12100 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
12101 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
12102 * misc/Makefile (tests): Add tst-warn-wide.
12103 * misc/tst-warn-wide.c: New file.
12105 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
12106 Szabolcs Nagy <szabolcs.nagy@arm.com>
12108 * NEWS: Mention sinf, cosf, sincosf.
12109 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
12110 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
12111 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
12112 constants rather than including generic sincosf.h.
12113 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
12114 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
12115 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
12116 (reduced_cos): Remove.
12117 (sinf_poly): New function.
12118 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
12120 2018-08-14 Florian Weimer <fweimer@redhat.com>
12124 * nss/nss_files/files-alias.c (get_next_alias): During :include:
12125 processing, bail out if no room, and close the stream before
12127 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
12128 (tst-nss-files-alias-leak): Link with libdl.
12129 (tst-nss-files-alias-leak.out): Depend on nss_files.
12131 * nss/tst-nss-files-alias-leak.c: New file.
12133 2018-08-14 Florian Weimer <fweimer@redhat.com>
12135 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
12136 server_user, stat_user.
12138 2018-08-13 Joseph Myers <joseph@codesourcery.com>
12140 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12142 (io_pgetevents): New syscall.
12145 * manual/install.texi (Configuring and compiling): Do not list
12146 tools used for testing pretty printers here.
12147 (Tools for Compilation): List Python, PExpect and GDB here.
12148 Update descriptions of uses of Perl and Python.
12149 * INSTALL: Regenerate.
12151 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12154 2018-08-13 Florian Weimer <fweimer@redhat.com>
12156 * misc/error.c (error): Add missing va_end call.
12157 (error_at_line): Likewise.
12159 2018-08-13 Florian Weimer <fweimer@redhat.com>
12161 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
12163 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12165 * benchtests/scripts/benchout.schema.json (properties): Add
12168 * benchtests/bench-skeleton.c (main): Add duration and
12169 iterations attributes.
12171 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
12173 regex: Gnulib unibyte RRI uses bytes not chars
12174 Adjust the non-glibc code to agree with what Gawk needs for
12175 rational range interpretation (RRI) for regular expression ranges.
12176 In unibyte locales, Gawk wants ranges to use the underlying byte
12177 rather than the character code point. This change does not affect
12179 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
12180 In unibyte locales, use the byte value rather than
12181 running it through btowc.
12183 2018-08-10 Joseph Myers <joseph@codesourcery.com>
12185 * sysdeps/generic/math-tests-snan.h: New file.
12186 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
12187 (SNAN_TESTS_float): Do not define here.
12188 (SNAN_TESTS_double): Likewise.
12189 (SNAN_TESTS_long_double): Likewise.
12190 (SNAN_TESTS_float128): Likewise.
12191 * sysdeps/i386/fpu/math-tests-snan.h: New file.
12192 * sysdeps/i386/fpu/math-tests.h: Remove file.
12193 * sysdeps/ia64/math-tests-snan.h: New file.
12194 * sysdeps/ia64/math-tests.h: Remove file.
12195 * sysdeps/x86/math-tests.h: Likewise.
12196 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
12198 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12199 Szabolcs Nagy <szabolcs.nagy@arm.com>
12201 * math/Makefile: Add s_sincosf_data.c.
12202 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
12203 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
12204 (sincosf_poly): Likewise.
12205 (reduce_small): Likewise.
12206 (reduce_large): Likewise.
12207 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
12208 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
12209 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
12210 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
12212 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12213 Szabolcs Nagy <szabolcs.nagy@arm.com>
12215 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
12216 (converttoint): Use lround.
12217 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
12218 document the semantics when TOINT_INTRINSICS is set.
12219 (converttoint): Likewise.
12220 (TOINT_RINT): Remove.
12221 (TOINT_SHIFT): Remove.
12222 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
12225 2018-08-10 Florian Weimer <fweimer@redhat.com>
12228 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
12230 (__old_getdents64): Use getdents64. Convert entries without
12232 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
12233 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
12234 tst-readdir64-compat.
12236 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12238 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
12241 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12243 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
12244 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
12245 code to s390x-mcount.h and #include it.
12246 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
12247 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12250 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12252 * stdlib/Versions: Remove __fentry__.
12253 * sysdeps/i386/Versions: Add __fentry__.
12254 * sysdeps/x86_64/Versions: Add __fentry__.
12256 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12258 * sysdeps/s390/Makefile: Register the new tests.
12259 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
12260 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
12261 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
12262 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
12263 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
12264 * sysdeps/s390/tst-dl-runtime.c: New file.
12266 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12268 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12271 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12273 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12276 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12278 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12281 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12283 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12286 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12288 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12289 Use symbolic offsets for stack variables.
12291 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12293 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12294 Use symbolic offsets for stack variables.
12296 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12298 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12299 Use symbolic offsets for stack variables.
12301 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12303 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12304 Use symbolic offsets for stack variables.
12306 2018-08-09 Joseph Myers <joseph@codesourcery.com>
12308 * math/gen-libm-test.py: New file.
12309 * math/gen-libm-test.pl: Remove.
12310 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12311 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12313 ($(libm-test-c-noauto-obj)): Likewise.
12314 ($(libm-test-c-auto-obj)): Likewise.
12315 ($(libm-test-c-narrow-obj)): Likewise.
12316 (regen-ulps): Likewise.
12317 * math/README.libm-test: Update references to gen-libm-test.pl.
12318 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12319 referencing gen-libm-test.pl.
12320 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12321 * math/libm-test-support.c: Likewise.
12322 * math/libm-test-support.h: Likewise.
12323 * sysdeps/generic/libm-test-ulps: Likewise.
12325 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12327 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12330 2018-08-08 Joseph Myers <joseph@codesourcery.com>
12332 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12333 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12335 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12337 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12339 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12340 __pthread_setspecific): Add hidden proto.
12341 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12342 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
12344 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12346 * benchtests/bench-string.h (buf1_size, buf2_size): New
12348 (init_sizes): New function.
12349 (test_init): Use it.
12350 (alloc_buf, exit_error): New functions.
12351 (alloc_bufs): Use ALLOC_BUF.
12352 (realloc_bufs): Remove.
12353 * benchtests/bench-memcmp.c (do_test): Adjust.
12354 * benchtests/bench-memset-large.c (do_test): Likewise.
12355 * benchtests/bench-memset-walk.c (do_test): Likewise.
12356 * benchtests/bench-memset.c (do_test): Likewise.
12357 * benchtests/bench-strncmp.c (do_test): Likewise.
12359 2018-08-06 Andreas Schwab <schwab@suse.de>
12361 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12362 of CONST_THREAD_AREA.
12364 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12366 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12367 (STATE_SAVE_MASK): Likewise.
12368 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12369 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12370 (STATE_SAVE_MASK): Likewise.
12371 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12372 instead of <cpu-features.h>.
12374 2018-08-03 DJ Delorie <dj@redhat.com>
12376 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
12377 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
12379 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12381 2018-08-03 Joseph Myers <joseph@codesourcery.com>
12383 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12384 after TEST_* calls.
12385 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12386 * math/libm-test-logb.inc (logb_test_data): Likewise.
12388 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12390 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12391 * string/strstr.c (AVAILABLE): Likewise.
12393 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12395 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12397 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12398 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12399 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12401 2018-08-03 Carlos O'Donell <carlos@redhat.com>
12403 * po/be.po: Update translation.
12405 * po/be.po: Update translation.
12407 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12409 * sysdeps/x86/cpu-features-offsets.sym
12410 (rtld_global_ro_offsetof): Removed.
12411 (CPU_FEATURES_SIZE): Likewise.
12412 (CPUID_OFFSET): Likewise.
12413 (CPUID_SIZE): Likewise.
12414 (CPUID_EAX_OFFSET): Likewise.
12415 (CPUID_EBX_OFFSET): Likewise.
12416 (CPUID_ECX_OFFSET): Likewise.
12417 (CPUID_EDX_OFFSET): Likewise.
12418 (FAMILY_OFFSET): Likewise.
12419 (MODEL_OFFSET): Likewise.
12420 (FEATURE_OFFSET): Likewise.
12421 (FEATURE_SIZ): Likewise.
12422 (COMMON_CPUID_INDEX_1): Likewise.
12423 (COMMON_CPUID_INDEX_7): Likewise.
12424 (FEATURE_INDEX_1): Likewise.
12425 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12427 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12429 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12430 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12431 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12432 (install-locales): Depend on install-locale-archive.
12433 (install-locale-archive): Define.
12434 (install-locale-files): Define.
12435 (build-one-locale): Define macro.
12436 * manual/install.texi (Running make install): Document.
12437 * manual/INSTALL: Regenerate.
12439 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12441 * benchtests/scripts/compare_strings.py: Import traceback.
12442 (parse_file): Pretty-print error.
12444 * NEWS: Mention the change.
12445 * elf/dl-tunables.list: Rename tune namespace to cpu.
12446 * sysdeps/powerpc/dl-tunables.list: Likewise.
12447 * sysdeps/x86/dl-tunables.list: Likewise.
12448 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12450 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12451 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12452 * manual/README.tunables: Likewise.
12453 * manual/tunables.texi: Likewise.
12454 * sysdeps/powerpc/cpu-features.c: Likewise.
12455 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12456 (init_cpu_features): Likewise.
12457 * sysdeps/x86/cpu-features.c: Likewise.
12458 * sysdeps/x86/cpu-features.h: Likewise.
12459 * sysdeps/x86/cpu-tunables.c: Likewise.
12460 * sysdeps/x86_64/Makefile: Likewise.
12461 * sysdeps/x86/dl-cet.c: Likewise.
12463 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12466 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12467 [__mips_hard_float].
12468 (FE_UNDERFLOW): Likewise.
12469 (FE_OVERFLOW): Likewise.
12470 (FE_DIVBYZERO): Likewise.
12471 (FE_INVALID): Likewise.
12472 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12473 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12474 (FE_UPWARD): Likewise.
12475 (FE_DOWNWARD): Likewise.
12476 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12477 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12478 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12479 [__mips_hard_float].
12480 (FP_ROUNDMODE): Likewise.
12481 (FP_RND_NEAREST): Likewise.
12482 (FP_RND_ZERO): Likewise.
12483 (FP_RND_PINF): Likewise.
12484 (FP_RND_MINF): Likewise.
12485 (FP_EX_INVALID): Likewise.
12486 (FP_EX_OVERFLOW): Likewise.
12487 (FP_EX_UNDERFLOW): Likewise.
12488 (FP_EX_DIVZERO): Likewise.
12489 (FP_EX_INEXACT): Likewise.
12490 (FP_INIT_ROUNDMODE): Likewise.
12491 * sysdeps/mips/nofpu/fesetenv.c: New file.
12492 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12494 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12496 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12497 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12498 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12499 conditional on [FE_UPWARD].
12501 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12503 regex: fix memory leak in Gnulib
12504 Problem and fix reported by Assaf Gordon in:
12505 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12506 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12507 range_ends members too, as they are defined in 'struct
12508 re_charset_t' even if not _LIBC. This affects only Gnulib.
12510 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12512 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12514 (get_common_indices): This.
12515 (init_cpu_features): Updated.
12517 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12519 * sysdeps/generic/math-tests-snan-payload.h: New file.
12520 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12521 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12522 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12523 * sysdeps/generic/math-tests.h: Include
12524 <math-tests-snan-payload.h>.
12525 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12526 * sysdeps/hppa/math-tests.h: Remove file.
12527 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12528 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12529 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12532 * sysdeps/generic/math-tests-snan-cast.h: New file.
12533 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12534 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12535 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12536 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12538 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12540 * version.h (RELEASE): Set to "development".
12541 (VERSION): Set to "2.28.9000".
12542 * NEWS (2.29): New section.
12544 * version.h (RELEASE): Set to "stable".
12545 (VERSION): Set to "2.28".
12546 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12547 * NEWS: Add the list of bugs fixed in 2.28.
12549 * po/ca.po: Update to latest version.
12550 * po/cs.po: Likewise
12551 * po/da.po: Likewise
12552 * po/el.po: Likewise
12553 * po/eo.po: Likewise
12554 * po/es.po: Likewise
12555 * po/fi.po: Likewise
12556 * po/fr.po: Likewise
12557 * po/gl.po: Likewise
12558 * po/hu.po: Likewise
12559 * po/ia.po: Likewise
12560 * po/id.po: Likewise
12561 * po/it.po: Likewise
12562 * po/ja.po: Likewise
12563 * po/ko.po: Likewise
12564 * po/lt.po: Likewise
12565 * po/nb.po: Likewise
12566 * po/nl.po: Likewise
12567 * po/pt_BR.po: Likewise
12568 * po/ru.po: Likewise
12569 * po/rw.po: Likewise
12570 * po/sk.po: Likewise
12571 * po/sl.po: Likewise
12572 * po/tr.po: Likewise
12573 * po/zh_CN.po: Likewise
12574 * po/zh_TW.po: Likewise
12576 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12578 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12580 (init): ... before initializing libpthread.
12582 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12583 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12584 (__mach_setup_tls): ... new function.
12585 (mach_setup_tls): New alias.
12586 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12587 __mach_setup_thread.
12588 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12589 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12590 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12591 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12593 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12595 * manual/install.texi: Update versions.
12596 * INSTALL: Regenerate.
12598 * manual/contrib.texi (Contributors): Update contributions.
12600 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12602 * po/be.po: Update translations.
12604 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12606 * sysdeps/sh/libm-test-ulps: Update.
12608 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12610 * po/bg.po: Update translations.
12611 * po/de.po: Likewise.
12612 * po/hr.po: Likewise.
12613 * po/pt_BR.po: Likewise.
12614 * po/sv.po: Likewise.
12615 * po/vi.po: Likewise.
12617 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12620 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12621 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12622 (CFLAGS-tst-cet-property-1.o): New.
12623 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12624 ($(objpfx)tst-cet-property-2): Likewise.
12625 ($(objpfx)tst-cet-property-2.out): Likewise.
12626 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12627 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12628 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12629 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12630 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12632 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12635 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12637 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12639 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12640 __sbrk): Do not set attribute_hidden.
12641 * sysdeps/mach/hurd/not-errno.h: New file.
12642 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12643 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12645 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12647 * po/uk.po: Update translations.
12648 * po/cs.po: Likewise.
12649 * po/pl.po: Likewise.
12651 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12653 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12654 parse beyond the note end.
12656 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12658 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12659 kernel does not support OFD locks.
12660 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12662 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12664 * sysdeps/mach/hurd/Versions (libc): Make __access and
12665 __access_noerrno external so they can override the ld symbols.
12666 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12667 __writev, __open64, __access_noerrno extern so they can be overrided.
12668 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12669 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12671 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12673 * po/libc.pot: Regenerate.
12675 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12677 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12679 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12682 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12684 (init_cpu_features): Call get_extended_indices for both Intel
12686 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12687 Remove "for AMD" comment.
12689 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12692 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12693 COMMON_CPUID_INDEX_80000001.
12695 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12697 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12698 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12700 2018-07-26 Florian Weimer <fweimer@redhat.com>
12702 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12703 aliases for symbols not in the implementation namespace.
12705 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12708 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12709 lowercase in LATIN script.
12710 * localedata/Makefile (test-input): Add en_US.UTF-8.
12711 * localedata/en_US.UTF-8.in: New file.
12712 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12713 and restore old tests.
12714 * posix/tst-regexloc.c (do_test): Add back range expression test.
12716 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12718 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12720 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12722 * nptl/threads.h: Move to ...
12723 * sysdeps/nptl/threads.h: ... here.
12724 * sysdeps/hurd/stdc-predef.h: New file.
12726 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12728 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12729 tst-cet-setcontext-1 if CET is enabled.
12730 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12731 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12733 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12735 * include/threads.h: Move to ...
12736 * sysdeps/nptl/threads.h: ... here.
12737 * sysdeps/htl/threads.h: New file.
12738 * conform/Makefile (linknamespace-libs-ISO11): Use
12739 static-thread-library instead of linking libpthread.
12740 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12742 2018-07-25 Florian Weimer <fweimer@redhat.com>
12744 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12745 nanoseconds into seconds.
12746 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12747 (do_test): Likewise.
12748 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12749 (do_test): Likewise. Avoid nanosecond overflow and spurious
12750 timeouts due to system load.
12751 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12752 (child_wait): Increment it.
12753 (do_test): Wait as long as necessary until all expected threads
12756 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12757 H.J. Lu <hongjiu.lu@intel.com>
12759 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12761 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12762 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12763 (__push___start_context): New.
12764 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12766 (__getcontext): Record the current shadow stack base. Save the
12767 caller's shadow stack pointer and base.
12768 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12769 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12770 (__push___start_context): New prototype.
12771 (__makecontext): Call __push___start_context to allocate a new
12772 shadow stack, push __start_context onto the new stack as well
12773 as the new shadow stack.
12774 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12776 (__setcontext): Restore the target shadow stack.
12777 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12779 (__swapcontext): Record the current shadow stack base. Save
12780 the caller's shadow stack pointer and base. Restore the target
12782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12783 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12784 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12786 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12788 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12789 tst-setcontext8 and tst-setcontext9.
12790 * stdlib/tst-setcontext6.c: New file.
12791 * stdlib/tst-setcontext7.c: Likewise.
12792 * stdlib/tst-setcontext8.c: Likewise.
12793 * stdlib/tst-setcontext9.c: Likewise.
12795 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12797 * stdlib/Makefile ((tests): Add tst-setcontext5.
12798 * stdlib/tst-setcontext5.c: New file.
12800 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12802 * stdlib/Makefile (tests): Add tst-setcontext4.
12803 * stdlib/tst-setcontext4.c: New file.
12805 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12807 * stdlib/Makefile (tests): Add tst-swapcontext1.
12808 * stdlib/tst-swapcontext1.c: New test.
12810 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12812 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12813 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12814 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12815 and tst-cet-legacy-4c.
12816 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12817 and tst-cet-legacy-mod-4.
12818 (CFLAGS-tst-cet-legacy-2.c): New.
12819 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12820 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12821 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12822 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12823 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12824 ($(objpfx)tst-cet-legacy-1): Likewise.
12825 ($(objpfx)tst-cet-legacy-2): Likewise.
12826 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12827 ($(objpfx)tst-cet-legacy-2a): Likewise.
12828 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12829 ($(objpfx)tst-cet-legacy-4): Likewise.
12830 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12831 ($(objpfx)tst-cet-legacy-4a): Likewise.
12832 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12833 (tst-cet-legacy-4a-ENV): Likewise.
12834 ($(objpfx)tst-cet-legacy-4b): Likewise.
12835 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12836 (tst-cet-legacy-4b-ENV): Likewise.
12837 ($(objpfx)tst-cet-legacy-4c): Likewise.
12838 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12839 (tst-cet-legacy-4c-ENV): Likewise.
12840 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12841 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12842 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12843 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12844 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12845 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12846 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12847 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12848 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12849 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12850 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12852 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12854 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12855 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12857 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12858 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12861 2018-07-25 Andreas Schwab <schwab@suse.de>
12864 * locale/weightwc.h (findidx): Handle the case where usrc is a
12865 prefix of cp but one character too short.
12867 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12869 * NEWS: Add ISO C threads addition.
12871 2018-07-24 Florian Weimer <fweimer@redhat.com>
12873 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12874 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12875 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12878 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12880 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12881 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12882 <sys/prctl.h> and <asm/prctl.h>.
12883 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12884 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12886 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12887 ARCH_CET_LEGACY_BITMAP.
12888 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12889 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12890 * sysdeps/x86/libc-start.c: Include <startup.h>.
12892 2018-07-24 Florian Weimer <fweimer@redhat.com>
12894 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12895 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12897 2018-07-24 Rical Jasan <rj@2c3t.io>
12898 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12899 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12902 * manual/debug.texi: Update adjacent chapter name.
12903 * manual/probes.texi: Likewise.
12904 * manual/threads.texi (ISO C Threads): New section.
12905 (POSIX Threads): Convert to a section.
12907 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12908 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12911 * nptl/Makefile (tests): Add new test files.
12912 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12913 * nptl/tst-cnd-basic.c: Likewise.
12914 * nptl/tst-cnd-broadcast.c: Likewise.
12915 * nptl/tst-cnd-timedwait.c: Likewise.
12916 * nptl/tst-mtx-basic.c: Likewise.
12917 * nptl/tst-mtx-recursive.c: Likewise.
12918 * nptl/tst-mtx-timedlock.c: Likewise.
12919 * nptl/tst-mtx-trylock.c: Likewise.
12920 * nptl/tst-thrd-basic.c: Likewise.
12921 * nptl/tst-thrd-detach.c: Likewise.
12922 * nptl/tst-thrd-sleep.c: Likewise.
12923 * nptl/tst-tss-basic.c: Likewise.
12925 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12928 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12929 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12931 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12959 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12960 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12961 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12962 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12964 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12971 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12972 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12974 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12975 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12982 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12992 * conform/data/threads.h-data (thread_local): New macro.
12993 (TSS_DTOR_ITERATIONS): Likewise.
12995 (tss_dtor_t): Likewise.
12996 (tss_create): New function.
12997 (tss_get): Likewise.
12998 (tss_set): Likewise.
12999 (tss_delete): Likewise.
13000 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13001 tss_get, and tss_set objects.
13002 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13003 * nptl/tss_create.c: New file.
13004 * nptl/tss_delete.c: Likewise.
13005 * nptl/tss_get.c: Likewise.
13006 * nptl/tss_set.c: Likewise.
13007 * sysdeps/nptl/threads.h (thread_local): New define.
13008 (TSS_DTOR_ITERATIONS): Likewise.
13009 (tss_t): New typedef.
13010 (tss_dtor_t): Likewise.
13011 (tss_create): New prototype.
13012 (tss_get): Likewise.
13013 (tss_set): Likewise.
13014 (tss_delete): Likewise.
13017 * conform/data/threads.h-data (cnd_t): New type.
13018 (cnd_init): New function.
13019 (cnd_signal): Likewise.
13020 (cnd_broadcast): Likewise.
13021 (cnd_wait): Likewise.
13022 (cnd_timedwait): Likewise.
13023 (cnd_destroy): Likewise.
13024 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13025 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13027 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13028 * nptl/cnd_broadcast.c: New file.
13029 * nptl/cnd_destroy.c: Likewise.
13030 * nptl/cnd_init.c: Likewise.
13031 * nptl/cnd_signal.c: Likewise.
13032 * nptl/cnd_timedwait.c: Likewise.
13033 * nptl/cnd_wait.c: Likewise.
13034 * sysdeps/nptl/threads.h (cnd_t): New type.
13035 (cnd_init): New prototype.
13036 (cnd_signa): Likewise.
13037 (cnd_broadcast): Likewise.
13038 (cnd_wait): Likewise.
13039 (cnd_timedwait): Likewise.
13040 (cnd_destroy): Likewise.
13043 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13044 (once_flag): New type.
13045 (call_once): New function.
13046 * nptl/Makefile (libpthread-routines): Add call_once object.
13047 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13048 * nptl/call_once.c: New file.
13049 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13050 (once_flag): New type.
13051 (call_once): New prototype.
13054 * conform/data/threads.h-data (mtx_plain): New constant.
13055 (mtx_recursive): Likewise.
13056 (mtx_timed): Likewise.
13058 (mtx_init): New function.
13059 (mtx_lock): Likewise.
13060 (mtx_timedlock): Likewise.
13061 (mtx_trylock): Likewise.
13062 (mtx_unlock): Likewise.
13063 (mtx_destroy): Likewise.
13064 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
13065 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
13066 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
13067 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
13068 * nptl/mtx_destroy.c: New file.
13069 * nptl/mtx_init.c: Likewise.
13070 * nptl/mtx_lock.c: Likewise.
13071 * nptl/mtx_timedlock.c: Likewise.
13072 * nptl/mtx_trylock.c: Likewise.
13073 * nptl/mtx_unlock.c: Likewise.
13074 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
13075 (mtx_recursive): Likewise.
13076 (mtx_timed): Likewise.
13078 (mtx_init): New prototype.
13079 (mtx_lock): Likewise.
13080 (mtx_timedlock): Likewise.
13081 (mtx_trylock): Likewise.
13082 (mtx_unlock): Likewise.
13083 (mtx_destroy): Likewise.
13086 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
13087 (linknamespace-libs-ISO11): Add libpthread.a.
13088 * conform/data/threads.h-data: New file: add C11 thrd_* types and
13090 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
13091 * nptl/Makefile (headers): Add threads.h.
13092 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
13093 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
13095 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
13096 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
13097 thrd_join, thrd_sleep, and thrd_yield symbols.
13098 * nptl/descr.h (struct pthread): Add c11 field.
13099 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
13100 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
13101 routine with expected function prototype.
13102 (__pthread_create_2_1): Add C11 threads check based on attribute
13104 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
13105 * nptl/thrd_create.c: New file.
13106 * nptl/thrd_current.c: Likewise.
13107 * nptl/thrd_detach.c: Likewise.
13108 * nptl/thrd_equal.c: Likewise.
13109 * nptl/thrd_exit.c: Likewise.
13110 * nptl/thrd_join.c: Likewise.
13111 * nptl/thrd_priv.h: Likewise.
13112 * nptl/thrd_sleep.c: Likewise.
13113 * nptl/thrd_yield.c: Likewise.
13114 * include/threads.h: Likewise.
13116 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13118 * bits/indirect-return.h: New file.
13119 * misc/sys/cdefs.h (__glibc_has_attribute): New.
13120 * sysdeps/x86/bits/indirect-return.h: Likewise.
13121 * stdlib/Makefile (headers): Add bits/indirect-return.h.
13122 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
13123 (swapcontext): Add __INDIRECT_RETURN.
13124 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
13125 (prepare_test_buffer): Use it.
13127 2018-07-24 Andreas Schwab <schwab@suse.de>
13130 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
13131 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
13133 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13135 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
13136 Redefine if shadow stack is enabled.
13137 (SYSCALL_ERROR_LABEL): Likewise.
13138 (__vfork): Pop shadow stack and jump back to to caller directly
13139 when shadow stack is in use.
13140 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
13141 Redefine if shadow stack is enabled.
13142 (SYSCALL_ERROR_LABEL): Likewise.
13143 (__vfork): Pop shadow stack and jump back to to caller directly
13144 when shadow stack is in use.
13146 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13148 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
13151 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
13154 2018-07-20 Joseph Myers <joseph@codesourcery.com>
13156 * scripts/build-many-glibcs.py (Context.checkout): Default
13157 binutils version to 2.31 branch.
13159 2018-07-20 Zong Li <zong@andestech.com>
13161 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
13162 URL of gcc's tarball.
13164 2018-07-20 Florian Weimer <fweimer@redhat.com>
13167 * posix/regcomp.c (build_equiv_class): When comparing weights, do
13168 not compare an extra byte after the end of the weights.
13170 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13172 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
13174 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
13176 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
13177 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
13178 * scripts/check-execstack.awk: Consider `xfail' variable containing a
13179 list of libraries whose stack executability is expected.
13180 * elf/Makefile ($(objpfx)check-execstack.out): Pass
13181 $(check-execstack-xfail) to check-execstack.awk through `xfail'
13183 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
13184 libc.so libpthread.so.
13186 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
13188 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
13190 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
13192 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
13194 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
13196 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13198 * benchtests/scripts/compare_bench.py (__main__): use the argparse
13199 library to improve command line parsing.
13200 (__main__): make schema file as optional parameter (--schema),
13201 defaulting to benchtests/scripts/benchout.schema.json.
13202 (main): move out of the parsing stuff to __main_ and leave it
13203 only as caller of main comparison functions.
13205 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
13207 * NEWS: Add a note for Intel CET status.
13208 * manual/install.texi: Likewise.
13209 * INSTALL: Regenerated.
13211 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
13214 * localedata/locales/oc_FR (mon): Rename to...
13215 (alt_mon): This, then update October (typo fix).
13216 (mon): New content (genitive case, month names preceded by
13220 * localedata/locales/oc_FR (abday): Update all items.
13221 (day): Update Wednesday and Saturday (typo fixes).
13222 (abmon): Update all items, except May.
13223 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
13224 (LC_IDENTIFICATION): Bump the revision number and date.
13225 Keep the "category" entries in alphabetic order.
13226 (LC_ADDRESS): Remove no longer needed comment.
13227 (LC_COLLATE): Use “copy "ca_ES"”.
13228 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
13231 2018-07-18 Joseph Myers <joseph@codesourcery.com>
13233 * grp/tst_fgetgrent.c: Include <unistd.h>.
13234 (main): Use mkstemp instead of tmpnam.
13235 * io/test-utime.c (main): Likewise.
13236 * posix/annexc.c (macrofile): Change to modifiable array.
13237 (main): Remove macrofile here.
13238 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13240 (check_header): Do not remove macrofile here.
13241 * posix/bug-getopt1.c: Include <stdlib.h>.
13242 (do_test): Use mkstemp instead of tmpnam.
13243 * posix/bug-getopt2.c: Include <stdlib.h>.
13244 (do_test): Use mkstemp instead of tmpnam.
13245 * posix/bug-getopt3.c: Include <stdlib.h>.
13246 (do_test): Use mkstemp instead of tmpnam.
13247 * posix/bug-getopt4.c: Include <stdlib.h>.
13248 (do_test): Use mkstemp instead of tmpnam.
13249 * posix/bug-getopt5.c: Include <stdlib.h>.
13250 (do_test): Use mkstemp instead of tmpnam.
13251 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
13252 (main): Use mkstemp instead of tmpnam.
13253 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
13254 (main): Use mkstemp instead of tmpnam.
13255 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
13256 (main): use mkstemp instead of tmpnam.
13257 * stdlib/isomac.c (macrofile): Change to modifiable array.
13258 (main): Remove macrofile here.
13259 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13261 (check_header): Do not remove macrofile here.
13263 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13265 * manual/tunables.texi: Document glibc.tune.x86_ibt and
13266 glibc.tune.x86_shstk.
13268 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13270 * NEWS: Mention --enable-cet.
13271 * manual/install.texi: Document --enable-cet.
13272 * INSTALL: Regenerated.
13274 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13276 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
13277 Add _CET_NOTRACK before indirect jump to jump table.
13279 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13281 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
13282 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13285 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13287 * sysdeps/i386/i686/multiarch/strcat-sse2.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/strcpy-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/multiarch/memcpy-ssse3.S
13300 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13303 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13305 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13306 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13308 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13310 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13312 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13313 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13316 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13318 * sysdeps/i386/i686/multiarch/memset-sse2.S
13319 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13322 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13324 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13325 indirect jump to jump table.
13327 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13330 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13332 (MEMCPY): Likewise.
13334 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13336 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13337 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13339 (MEMCPY): Likewise.
13341 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13343 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13344 _CET_NOTRACK before indirect jump to jump table.
13346 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13348 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13349 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13352 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13354 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13355 indirect jump to jump table.
13357 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13360 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13361 (LOCALES): Likewise.
13362 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13363 * localedata/locales/sah_RU: New file.
13364 * localedata/sah_RU.UTF-8.in: New file.
13366 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13368 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13370 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13371 _CET_ENDBR to indirect jump targets and adjust jump destination
13373 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13375 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13376 _CET_ENDBR to indirect jump targets and adjust jump destination
13378 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13380 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13381 _CET_ENDBR to indirect jump targets and adjust jump destination
13384 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13386 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13389 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13391 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13393 (_dl_tlsdesc_undefweak): Likewise.
13394 (_dl_tlsdesc_dynamic): Likewise.
13395 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13396 (_dl_tlsdesc_resolve_rel): Likewise.
13397 (_dl_tlsdesc_resolve_rela): Likewise.
13398 (_dl_tlsdesc_resolve_hold): Likewise.
13399 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13400 (_dl_tlsdesc_undefweak): Likewise.
13401 (_dl_tlsdesc_dynamic): Likewise.
13402 (_dl_tlsdesc_resolve_rela): Likewise.
13403 (_dl_tlsdesc_resolve_hold): Likewise.
13405 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13407 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13409 * sysdeps/x86_64/crti.S (_init): Likewise.
13412 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13415 * localedata/locales/os_RU (mon): Rename to...
13417 (mon): Import from CLDR (genitive case).
13419 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13421 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13422 cet-tunables.h> when CET is enabled.
13424 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13427 * configure.ac: Add --enable-cet.
13428 * configure: Regenerated.
13429 * elf/Makefille (all-built-dso): Add a comment.
13430 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13431 Include <dl-prop.h>.
13432 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13434 * elf/dl-open.c: Include <dl-prop.h>.
13435 (dl_open_worker): Call _dl_open_check.
13436 * elf/rtld.c: Include <dl-prop.h>.
13437 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13439 * sysdeps/generic/dl-prop.h: New file.
13440 * sysdeps/i386/dl-cet.c: Likewise.
13441 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13442 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13443 * sysdeps/x86/cet-tunables.h: Likewise.
13444 * sysdeps/x86/check-cet.awk: Likewise.
13445 * sysdeps/x86/configure: Likewise.
13446 * sysdeps/x86/configure.ac: Likewise.
13447 * sysdeps/x86/dl-cet.c: Likewise.
13448 * sysdeps/x86/dl-procruntime.c: Likewise.
13449 * sysdeps/x86/dl-prop.h: Likewise.
13450 * sysdeps/x86/libc-start.h: Likewise.
13451 * sysdeps/x86/link_map.h: Likewise.
13452 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13454 (_dl_runtime_profile): Likewise.
13455 (_dl_runtime_resolve_shstk): New.
13456 (_dl_runtime_profile_shstk): Likewise.
13457 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13459 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13460 (CFLAGS-.os): Likewise.
13461 (CFLAGS-.op): Likewise.
13462 (CFLAGS-.oS): Likewise.
13463 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13465 (tests-special): Add $(objpfx)check-cet.out.
13466 (cet-built-dso): New.
13467 (+$(cet-built-dso:=.note)): Likewise.
13468 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13469 ($(objpfx)check-cet.out): New.
13470 (generated): Add check-cet.out.
13471 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13473 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13474 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13475 (init_cpu_features): Call get_cet_status to check CET status
13476 and update dl_x86_feature_1 with CET status. Call
13477 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13478 (set_x86_shstk). Disable and lock CET in libc.a.
13479 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13480 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13481 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13482 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13483 (_CET_ENDBR): Define if not defined.
13484 (ENTRY): Add _CET_ENDBR.
13485 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13487 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13489 (_dl_runtime_profile): Likewise.
13491 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13494 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13495 restore r2 on longjmp.
13496 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13498 Added rules to build test tst-setjmp-bug21895-static.
13499 Added module setjmp-bug21895 and rules to build a shared object from it.
13500 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13501 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13503 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13505 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13506 * benchtests/bench-strstr.c: Likewise.
13507 * string/memmem.c (FASTSEARCH): Define.
13508 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13509 Add support for FASTSEARCH.
13510 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13511 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13512 (FASTSEARCH): Define.
13513 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13514 * string/test-strstr.c: Likewise.
13516 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13518 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13519 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13521 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13522 H.J. Lu <hongjiu.lu@intel.com>
13524 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13525 (__longjmp): Restore shadow stack pointer if shadow stack is
13526 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13527 isn't defined for __longjmp_cancel.
13528 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13529 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13530 and SHADOW_STACK_POINTER_OFFSET is defined.
13531 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13532 (setjmp): Save shadow stack pointer if shadow stack is enabled
13533 and SHADOW_STACK_POINTER_OFFSET is defined.
13534 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13535 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13536 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13537 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13539 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13540 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13541 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13542 Remove jmp_buf-ssp.sym.
13543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13545 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13546 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13547 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13549 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13550 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13551 (__longjmp): Restore shadow stack pointer if shadow stack is
13552 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13553 isn't defined for __longjmp_cancel.
13554 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13555 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13556 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13558 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13561 * nptl/pthread_create.c: Include <tls-setup.h>.
13562 (__pthread_create_2_1): Call tls_setup_tcbhead.
13563 * sysdeps/generic/tls-setup.h: New file.
13564 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13565 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13566 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13568 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13570 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13571 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13572 (X86_FEATURE_1_SHSTK): Likewise.
13573 (CET_ENABLED): Likewise.
13574 (IBT_ENABLED): Likewise.
13575 (SHSTK_ENABLED): Likewise.
13577 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13580 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13581 (LOCALES): Likewise.
13582 * localedata/dsb_DE.UTF-8.in: New file.
13583 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13585 2018-07-12 Florian Weimer <fweimer@redhat.com>
13587 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13588 __mprotect, not mprotect.
13590 2018-07-11 Florian Weimer <fweimer@redhat.com>
13592 * io/Makefile (headers): Add bits/statx.h.
13594 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13596 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13597 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13599 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13600 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13603 2018-07-10 Florian Weimer <fweimer@redhat.com>
13605 * io/Makefile (routines): Add statx.
13606 (tests-internal): Add tst-statx.
13607 * io/Versions (GLIBC_2.28): Export statx.
13608 * io/bits/statx.h: New file.
13609 * io/sys/stat.h [__USE_GNU]: Include it.
13610 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13611 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13613 * io/statx.c: New file.
13614 * io/statx_generic.: Likewise.
13615 * io/tst-statx.: Likewise.
13616 * include/bits/statx.h: Likewise.
13617 * sysdeps/unix/sysv/linux/kernel-features.h
13618 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13619 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13620 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13621 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13623 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13624 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13625 * sysdeps/unix/sysv/linux/statx.c: New file.
13626 * manual/filesys.texi: Note that statx is undocumented.
13627 * sysdeps/**/libc*.abilist: Update.
13629 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13631 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13632 a kernel issue which lead to test failure in some cases.
13634 2018-07-10 Florian Weimer <fweimer@redhat.com>
13637 * posix/regexec.c (check_node_accept_bytes): When comparing
13638 weights, do not compare an extra byte after the end of the
13641 2018-07-10 Florian Weimer <fweimer@redhat.com>
13643 * libio/readline.c: Fix copyright year.
13644 * libio/tst-readline.c Likewise.
13645 * nss/tst-nss-files-hosts-getent.c: Likewise.
13647 2018-07-06 Florian Weimer <fweimer@redhat.com>
13650 * nss/nss_files/files-XXX.c (internal_getent): Use
13651 __libc_readline_unlocked. Seek back to the start of the line if
13652 parsing failes with ERANGE.
13653 (get_contents_ret, get_contents): Remove.
13654 * nss/tst-nss-files-hosts-getent.c: New file.
13655 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13656 (tst-nss-files-hosts-getent): Link with -ldl.
13658 2018-07-06 Florian Weimer <fweimer@redhat.com>
13660 * include/stdio.h (__libc_readline_unlocked): Declare.
13661 (__ftello64, __fseeko64): Declare aliases.
13662 * libio/readline.c: New file.
13663 * libio/tst-readline.c: Likewise.
13664 (routines): Add readline.
13665 (tests-internal): Add tst-readlime.
13666 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13667 __libc_readline_unlocked.
13668 * libio/fseeko.c (__fseeko): Rename from fseeko.
13669 (fseeko): Add alias.
13670 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13671 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13672 (fseeko64): Add alias.
13673 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13674 * libio/ftello64.c (__ftello64): Rename from ftello64.
13675 (ftello64): Add alias.
13677 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13679 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13682 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13684 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13685 Use dl_hwcap without masking.
13686 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13687 Remove HWCAP_CPUID.
13689 2018-07-06 Florian Weimer <fweimer@redhat.com>
13691 * conform/conformtest.pl (checknamespace): Escape literal braces
13692 in regular expressions.
13694 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13696 * sysdeps/x86/cpu-features.c (get_common_indeces):
13697 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13698 * sysdeps/x86/cpu-features.c (init_cpu_features):
13699 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13701 2018-07-05 Florian Weimer <fweimer@redhat.com>
13703 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13705 (CFLAGS-elf-init.oS): Likewise.
13707 2018-07-05 Florian Weimer <fweimer@redhat.com>
13708 Carlos O'Donell <carlos@redhat.com>
13710 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13711 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13712 with stack protector enabled because there is no risk of infinite
13715 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13719 * libc-abis (ABSOLUTE): New ABI.
13720 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13721 * NEWS: Mention the new ABI.
13723 2018-07-05 Florian Weimer <fweimer@redhat.com>
13726 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13727 (RENAME_WHITEOUT): Define.
13728 [__USE_GNU] (renameat2): Declare.
13729 * stdio-common/Makefile (routines): Add renameat2.
13730 (tests): Add tst-renameat2.
13731 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13732 * stdio-common/renameat2.c: New file.
13733 * stdio-common/tst-renameat2.c: Likewise.
13734 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13735 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13737 * sysdeps/unix/sysv/linux/kernel-features.h
13738 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13740 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13742 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13743 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13744 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13745 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13746 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13747 * include/stdio.h (__renameat): Add alias for renameat.
13748 * stdio-common/renameat.c (__renameat): Rename from renameat.
13749 Add hidden definition and alias.
13750 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13751 * sysdeps/mach/hurd/renameat.c: Likewise.
13752 * sysdeps/**/libc*.abilist: Add renameat2.
13754 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13756 * posix/bug-regex33.c: Fix build after regex sync.
13758 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13761 * localedata/tst-langinfo-setlocale.c: New file.
13762 * localedata/tst-langinfo-setlocale-static.c: New file.
13763 * localedata/tst-langinfo-newlocale.c: New file.
13764 * localedata/tst-langinfo-newlocale-static.c: New file.
13765 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13766 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13767 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13768 (tests-static): Remove tst-langinfo-static. Add
13769 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13770 (tests-special): Remove $(objpfx)tst-langinfo.out,
13771 $(objpfx)tst-langinfo-static.out. Add
13772 $(objpfx)tst-langinfo-setlocale.out,
13773 $(objpfx)tst-langinfo-newlocale.out,
13774 $(objpfx)tst-langinfo-setlocale-static.out,
13775 $(objpfx)tst-langinfo-newlocale-static.out.
13776 ($(objpfx)tst-langinfo.out): Remove.
13777 ($(objpfx)tst-langinfo-static.out): Remove.
13778 ($(objpfx)tst-langinfo-newlocale.out): New target.
13779 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13780 (test-xfail-tst-langinfo-newlocale-static): Add.
13781 ($(objpfx)tst-langinfo-setlocale.out): New target.
13782 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13783 * localedata/tst-langinfo.c: Call test_locale.
13784 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13787 2018-07-04 Florian Weimer <fweimer@redhat.com>
13789 testrun.sh: Implement --tool=strace, --tool=valgrind
13790 * Makefile (testrun-script): Define variable.
13791 (testrun.sh): Use variable.
13792 * manual/install.texi (Tools for Compilation): make 4.0 or later
13794 * configure.ac: Check for make 4.0 or later.
13795 * INSTALL: Regenerate.
13796 * configure: Likewise.
13798 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13804 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13805 * posix/PCRE.tests: Remove invalid test.
13806 * posix/bug-regex28.c: Fix expected values for used syntax.
13807 * posix/bug-regex37.c: New file.
13808 * posix/bug-regex38.c: Likewise.
13809 * posix/regcomp.c: Sync with gnulib.
13810 * posix/regex.c: Likewise.
13811 * posix/regex.h: Likewise.
13812 * posix/regex_internal.c: Likewise.
13813 * posix/regex_internal.h: Likewise.
13814 * posix/regexec.c: Likewise.
13816 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13819 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13820 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13821 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13822 * localedata/unicode-gen/PropList.txt: likewise.
13823 * localedata/unicode-gen/UnicodeData.txt: likewise.
13824 * localedata/charmaps/UTF-8: Regenerate.
13825 * localedata/locales/i18n_ctype: likewise.
13826 * localedata/locales/tr_TR: likewise.
13827 * localedata/locales/translit_circle: likewise.
13828 * localedata/locales/translit_cjk_compat: likewise.
13829 * localedata/locales/translit_combining: likewise.
13830 * localedata/locales/translit_compat: likewise.
13831 * localedata/locales/translit_font: likewise.
13832 * localedata/locales/translit_fraction: likewise.
13834 2018-07-03 Florian Weimer <fweimer@redhat.com>
13837 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13838 * stdio-common/tst-printf.sh: Adjust expected output.
13839 * LICENSES: Update.
13841 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13843 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13846 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13848 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13849 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13850 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13851 * stdio-common/tst-printfsz-islongdouble.c: New file.
13852 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13853 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13854 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13855 [subdir == stdio-common] (tests-internal): Add
13856 test-printf-size-ieee128, and test-printf-size-ibm128.
13857 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13858 (CFLAGS-test-printf-size-ibm128.c): New variables.
13859 [subdir == stdio-common] (tests-special): Add
13860 $(objpfx)test-printf-size-ieee128.out and
13861 $(objpfx)test-printf-size-ibm128.out.
13862 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13863 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13864 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13865 __printf_sizeieee128.
13866 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13868 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13870 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13873 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13875 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13876 (exp2f_inline): Likewise.
13877 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13878 (__math_uflowf): Likewise.
13879 (__math_may_uflowf): Likewise.
13880 (__math_divzerof): Likewise.
13881 (__math_invalidf): Likewise.
13882 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13883 (__math_oflowf): Likewise.
13884 (__math_uflowf): Likewise.
13885 (__math_may_uflowf): Likewise.
13886 (__math_divzerof): Likewise.
13887 (__math_invalidf): Likewise.
13889 2018-06-29 DJ Delorie <dj@redhat.com>
13890 Carlos O'Donell <carlos@redhat.com>
13893 * include/libc-symbols.h: Comment the freeres framework.
13894 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13895 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13896 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13897 * dlfcn/dlerror.c: Include libc-symbols.h
13898 (__dlerror_main_freeres): New function.
13899 * dlfcn/dlfreeres.c: New file.
13900 * dlfcn/sdlfreeres.c: New file.
13901 * include/dlfcn.h: Declare __dlerror_main_freeres.
13902 * malloc/set-freeres.c: Declare __libdl_freeres, and
13903 __libpthread_freeres.
13904 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13905 the releavant libraries are loaded.
13906 * malloc/thread-freeres.c: Add comments.
13907 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13908 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13909 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13910 (__free_stacks): Rename to...
13911 (free_stacks): ...this. Mark static.
13912 (queue_stack): Call free_stacks.
13913 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13914 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13915 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13916 ptr_freeres element from struct.
13917 (pthread_functions): Remove .ptr_freeres from struct initializer.
13918 [SHARED] (nptl_freeres): Remove.
13919 * nptl/nptlfreeres.c: New file.
13921 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13922 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13924 (__free_stacks): Rename to...
13925 (__nptl_stacks_freeres): ...this.
13926 (__shm_directory_freeres): Declare.
13927 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13928 (__nptl_unwind_freeres): ...this.
13929 * resolv/res-close.c: Add comment.
13930 * resolv/resolv_conf.c: Include libc-symbols.h.
13931 * string/strerror_l.c: Include libc-symbols.h.
13932 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13933 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13934 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13935 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13937 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13939 * stdlib/tst-strfmon_l.c: Add tests for long double.
13941 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13944 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13945 * localedata/locales/dsb_DE: New file.
13947 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13950 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13952 (alt_mon): New entry, import from CLDR (nominative case).
13954 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13957 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13959 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13961 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13962 Use vector registers.
13964 * sysdeps/aarch64/multiarch/memmove_falkor.S
13965 (__memcpy_falkor): Use vector registers.
13967 2018-06-29 Martin Sebor <msebor@redhat.com>
13969 * manual/stdio.texi (Customizing Printf): Mention interaction
13970 with GCC built-ins.
13972 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13975 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13976 `st_value' is 0 if `st_shndx' is SHN_ABS.
13977 * elf/tst-absolute-zero.c: New file.
13978 * elf/tst-absolute-zero-lib.c: New file.
13979 * elf/tst-absolute-zero-lib.lds: New file.
13980 * elf/Makefile (tests): Add `tst-absolute-zero'.
13981 (modules-names): Add `tst-absolute-zero-lib'.
13982 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13983 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13984 ($(objpfx)tst-absolute-zero: New dependency.
13986 2018-06-29 Zack Weinberg <zackw@panix.com>
13988 * configure.ac: New command-line option --disable-crypt.
13989 Force --disable-nss-crypt when --disable-crypt is given, with a
13990 warning if it was explicitly enabled.
13991 * configure: Regenerate.
13992 * config.make.in: New boolean substitution variable $(build-crypt).
13993 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13994 when $(build-crypt).
13995 * manual/install.texi: Document --disable-crypt.
13996 * INSTALL: Regenerate.
13998 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13999 which is never set.
14000 * conform/Makefile: Only include libcrypt.a in
14001 linknamespace-libs-xsi and linknamespace-libs-XPG4
14002 when $(build-crypt).
14003 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14004 USE_CRYPT to 1 when $(build-crypt).
14005 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14006 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14007 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14009 2018-06-29 Zack Weinberg <zackw@panix.com>
14011 * crypt/crypt.h, posix/unistd.h: Update comments and
14012 prototypes for crypt and crypt_r.
14014 * manual/crypt.texi (Cryptographic Functions): New initial
14016 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14017 (Unpredictable Bytes): Improve initial exposition. Clarify error
14018 behavior of getentropy and getrandom.
14019 * manual/examples/genpass.c: Generate a salt using getentropy
14020 instead of the current time. Use hash $5$ (SHA-2-256).
14021 * manual/examples/testpass.c: Demonstrate validation against
14022 hashes generated with three different one-way functions.
14024 * manual/intro.texi: crypt.texi does not need an overview
14027 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14028 * manual/terminal.texi: Consistently refer to "passphrases"
14029 * instead of "passwords", and to the "user database" instead
14030 * of the "password database".
14031 * manual/users.texi: Similarly. Add notes about how actual
14032 passphrase hashes are now stored in the shadow database.
14033 Remove 20-year-old junk todo note.
14035 2018-06-29 Zack Weinberg <zackw@panix.com>
14037 * manual/crypt.texi: Use a normal top-level @node declaration.
14038 Move most of the introductory text to the 'crypt' section.
14039 Move the example programs below the @deftypefun for 'crypt_r'.
14040 Move the 'getpass' section...
14041 * manual/terminal.texi: ...here.
14043 2018-06-29 Zack Weinberg <zackw@panix.com>
14044 Florian Weimer <fweimer@redhat.com>
14046 * posix/unistd.h: Do not declare encrypt.
14047 (_XOPEN_CRYPT): Remove macro definition.
14048 (crypt): Declare only for _USE_MISC.
14049 * stdlib/stdlib.h: Do not declare setkey.
14050 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14051 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14053 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14054 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14055 into compat symbols. Don't define initial_perm if it's not
14057 * crypt/cert.c: Link explicitly with the expected versions for
14058 setkey and encrypt. If they are not available at all, mark
14059 the test as unsupported.
14061 * sunrpc/des_crypt.c: Unconditionally block linkage with
14062 cbc_crypt and ecb_crypt for new binaries.
14063 * sunrpc/des_soft.c: Unconditionally block linkage with
14064 des_setparity for new binaries.
14066 * manual/crypt.texi: Remove the entire "DES Encryption"
14067 section. Also remove the paragraph talking about FIPS 140-2
14068 from the introduction.
14069 * manual/string.texi (strfry, memfrob): Revise. Recommend use
14070 of libgcrypt for "real" encryption, not DES.
14071 * manual/conf.texi (Constants for Sysconf): Mention that
14072 _XOPEN_CRYPT is no longer impelemented.
14074 * conform/data/unistd.h-data: Remove crypt function declaration.
14076 2018-06-29 Florian Weimer <fweimer@redhat.com>
14079 * malloc/hooks.c: Update comments on restoring of dumped heaps.
14080 (disallow_malloc_check): Remove variable.
14081 (__malloc_check_init): Adjust.
14082 (malloc_set_state): Update comment.
14083 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
14086 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14089 * localedata/locales/ast_ES (mon): Rename to...
14091 (mon): Import from CLDR (genitive case).
14093 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
14094 Jakub Sitnicki <jkbs@redhat.com>
14097 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
14098 on NLM_F_DUMP_INTR.
14100 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14102 * manual/llio.texi: Remove spurious space.
14104 2018-06-28 Florian Weimer <fweimer@redhat.com>
14107 * time/bits/types/struct_timespec.h: Change header inclusion guard to
14110 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14112 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
14113 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
14114 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
14115 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
14116 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
14117 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
14118 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
14120 2018-06-27 Maciej W. Rozycki <macro@mips.com>
14123 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
14124 Copy and null-terminate entries that are not terminated, in
14125 addition to empty ones.
14127 2018-06-27 Florian Weimer <fweimer@redhat.com>
14130 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
14131 (extend_alloca_account): Remove.
14132 * manual/stdio.texi (Variable Arguments Output): Update comment.
14134 2018-06-27 Joseph Myers <joseph@codesourcery.com>
14136 * nptl/sockperf.c: Remove file.
14138 2018-06-27 Florian Weimer <fweimer@redhat.com>
14141 * elf/dl-deps.c (_dl_map_object_deps): Use struct
14142 scratch_buffer instead of extend_alloca.
14144 2018-06-27 Florian Weimer <fweimer@redhat.com>
14147 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
14148 scratch_buffer instead of extend_alloca. Update comments.
14150 2018-06-27 Florian Weimer <fweimer@redhat.com>
14153 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
14154 instead of extend_alloca.
14156 2018-06-26 Joseph Myers <joseph@codesourcery.com>
14159 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
14160 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
14162 * scripts/test-installation.pl: Put temporary files in build
14163 directory, not /tmp.
14164 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
14165 (CFLAGS-bug4.c): Likewise.
14166 (CFLAGS-bug5.c): Likewise.
14167 (CFLAGS-test-fseek.c): Likewise.
14168 (CFLAGS-test-popen.c): Likewise.
14169 (CFLAGS-test_rdwr.c): Likewise.
14170 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
14172 * stdio-common/bug4.c (main): Likewise.
14173 * stdio-common/bug5.c (main): Likewise.
14174 * stdio-common/test-fseek.c (TESTFILE): Likewise.
14175 * stdio-common/test-popen.c (do_test): Likewise.
14176 * stdio-common/test_rdwr.c (main): Likewise.
14178 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
14180 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
14181 (sem_open): Set sem.newsem.pad to zero for valgrind.
14183 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14186 * NEWS: Mention fcntl64 addition.
14187 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
14188 * login/utmp_file.c: Likewise.
14189 * sysdeps/posix/fdopendir.c: Likewise.
14190 * sysdeps/posix/opendir.c: Likewise.
14191 * sysdeps/unix/pt-fcntl.c: Likewise.
14192 * include/fcntl.h (__libc_fcntl64, __fcntl64,
14193 __fcntl64_nocancel_adjusted): New prototype.
14194 (__fcntl_nocancel_adjusted): Remove prototype.
14195 * io/Makefile (routines): Add fcntl64.
14196 (CFLAGS-fcntl64.c): New rule.
14197 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
14198 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
14199 * io/fcntl.h (fcntl64): Add prototype and redirect if
14200 __USE_FILE_OFFSET64 is defined.
14201 * io/fcntl64.c: New file.
14202 * manual/llio.text: Add a note for which commands fcntl acts a
14203 cancellation point.
14204 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
14205 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
14206 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
14208 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
14209 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
14211 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
14212 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
14213 to __fcntl64_nocancel.
14214 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
14215 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
14216 to __fcntl64_nocancel.
14217 * sysdeps/generic/not-cancel.h: Likewise.
14218 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
14219 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
14220 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14221 (fcntl64): New symbol.
14222 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
14233 fcntl64): Likewise.
14234 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
14236 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14247 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14251 2018-06-26 Florian Weimer <fweimer@redhat.com>
14253 Run thread shutdown functions in an explicit order.
14254 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
14256 (__libc_thread_freeres): Call thread shutdown functions
14258 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
14259 * include/string.h (__strerror_thread_freeres): Declare.
14260 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
14261 arena_thread_freeres. No longer static. Remove thread shutdown
14263 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
14265 * resolv/res-close.c (__res_thread_freeres): Renamed from
14266 res_thread_freeres. No longer static. Remove thread shutdown
14268 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
14269 * resolv/resolv_conf.c (freeres): Remove incorrect section
14270 attribute and use libc_freeres_fn.
14271 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
14272 strerror_thread_freeres. No longer static. Remove thread
14273 shutdown hook registration.
14274 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
14275 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
14276 shutdown hook registration.
14277 * Makerules (shlib.lds): Do not provide section boundary symbols
14278 for __libc_thread_subfreeres.
14279 * manual/memory.texi (Basic Allocation): Update comment.
14281 2018-06-26 Florian Weimer <fweimer@redhat.com>
14283 Remove always-defined _RPC_THREAD_SAFE_ macro.
14284 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14285 Do not define _RPC_THREAD_SAFE_.
14286 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14288 * sunrpc/clnt_perr.c: Likewise.
14289 * sunrpc/clnt_raw.c: Likewise.
14290 * sunrpc/clnt_simp.c: Likewise.
14291 * sunrpc/key_call.c: Likewise.
14292 * sunrpc/rpc_common.c: Likewise.
14293 * sunrpc/rpc_main.c: Likewise.
14294 * sunrpc/rpc_thread.c: Likewise.
14295 * sunrpc/svc.c: Likewise.
14296 * sunrpc/svc_raw.c: Likewise.
14297 * sunrpc/svc_simple.c: Likewise.
14298 * sumrpc/svcauth_des.c: Likewise.
14300 2018-06-26 Florian Weimer <fweimer@redhat.com>
14302 * libio/Makefile (tests-internal): Add tst-vtables,
14303 tst-vtables-interposed.
14304 * libio/tst-vtables.c: New file.
14305 * libio/tst-vtables-common.c: Likewise.
14306 * libio/tst-vtables-interposed.c: Likewise.
14308 2018-06-26 Florian Weimer <fweimer@redhat.com>
14310 * support/support_test_main.c (support_test_main): Only call
14311 setvbuf if not disables.
14312 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14313 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14315 2018-06-26 Florian Weimer <fweimer@redhat.com>
14318 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14320 2018-06-25 Florian Weimer <fweimer@redhat.com>
14323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14324 Use struct scratch_buffer instead of extend_alloca.
14326 2018-06-25 Florian Weimer <fweimer@redhat.com>
14329 * nss/getent.c (initgroups_keys): Use dynarray instead of
14332 2018-06-25 Florian Weimer <fweimer@redhat.com>
14335 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14336 Use struct scratch_buffer instead of extend_alloca.
14338 2018-06-25 Florian Weimer <fweimer@redhat.com>
14341 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14342 back to malloc directly, without stack allocations.
14344 2018-06-25 Florian Weimer <fweimer@redhat.com>
14347 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14350 2018-06-25 Florian Weimer <fweimer@redhat.com>
14353 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14355 * nscd/hstcache.c (addhstbyX): Likewise.
14356 * nscd/pwdcache.c (addpwbyX): Likewise.
14357 * nscd/servicescache.c (addservbyX): Likewise.
14359 2018-06-25 Florian Weimer <fweimer@redhat.com>
14362 * nscd/connections.c (read_cmdline): New function.
14363 (restart): Use it. Update comment.
14365 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14368 * localedata/locales/csb_PL (mon): Rename to...
14370 (abmon): Rename to...
14371 (ab_alt_mon): This.
14372 (mon): Add with proper genitive forms, copy from Wikipedia.
14375 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14378 * localedata/locales/csb_PL (mon): Fix typos:
14379 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14380 (yesstr): Add, value is "jo".
14381 (nostr): Add, value is "nié".
14383 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14385 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14386 all log1p and significand functions on m680x0.
14387 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14388 of s_significand.c..
14389 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14390 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14391 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14392 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14393 s_log1p.c and include it..
14395 2018-06-21 Vincent Chen <vincentc@andestech.com>
14397 * elf/elf.h (R_NDS32_NONE): New define.
14398 (R_NDS32_32_RELA): Likewise.
14399 (R_NDS32_COPY): Likewise.
14400 (R_NDS32_GLOB_DAT): Likewise.
14401 (R_NDS32_JUMP_SLOT): Likewise.
14402 (R_NDS32_RELATIVE): Likewise.
14403 (R_NDS32_TLS_TPOFF): Likewise.
14404 (R_NDS32_TLS_DESC): Likewise.
14406 2018-06-21 Mark Wielaard <mark@klomp.org>
14408 * elf/elf.h (R_BPF_MAP_FD): Removed.
14409 (R_BPF_64_64, R_BPF_64_32): New.
14411 2018-06-21 Florian Weimer <fweimer@redhat.com>
14414 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14415 Renamed from libc_feholdsetround_ctx.
14416 (default_libc_feresetround_ctx): Renamed from
14417 libc_feresetround_ctx.
14418 (default_libc_feholdsetround_noex_ctx): Renamed from
14419 libc_feholdsetround_noex_ctx.
14420 (default_libc_feresetround_noex_ctx): Renamed from
14421 libc_feresetround_noex_ctx.
14422 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14423 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14424 forwardning to the old implementations under the new names.
14425 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14426 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14427 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14428 (libc_feresetround_ctx): Forward to default implements for i386
14429 and MATH_SET_BOTH_ROUNDING_MODES.
14430 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14431 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14433 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14435 * string/tst-cmp.c: Include <libc-diag.h>.
14436 (strncmp_max): Disable -Wstringop-overflow= around call to
14438 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14441 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14442 (main): Disable -Wunused-value around call to strpbrk.
14443 * string/bug-strspn1.c: Include <libc-diag.h>.
14444 (main): Disable -Wunused-value around call to strspn.
14446 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14447 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14449 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14450 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14452 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14454 * math/Makefile (libm-calls): Move s_significandF to...
14455 (gen-libm-calls): ... here.
14456 * math/s_significand_template.c: New file.
14457 * math/s_significand.c: Removed.
14458 * math/s_significandf.c: Removed.
14459 * math/s_significandl.c: Removed.
14460 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14461 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14463 * math/e_exp2_template.c (declare_mgen_finite_alias,
14464 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14465 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14466 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14468 2018-06-20 Florian Weimer <fweimer@redhat.com>
14470 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14472 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14475 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14476 floating-point number to strtod functions rather than possibly
14477 negating result of those functions.
14478 * stdio-common/tst-scanf-round.c: New file.
14479 * stdio-common/Makefile (tests): Add tst-scanf-round.
14480 ($(objpfx)tst-scanf-round): Depend on $(libm).
14482 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14484 * sysdeps/mach/hurd/localplt.data: Move to...
14485 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14486 R_386_GLOB_DAT like on Linux i386.
14488 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14490 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14491 (SHM_STAT_ANY): New macro.
14492 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14493 (SHM_STAT_ANY): Likewise.
14494 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14495 (SHM_STAT_ANY): Likewise.
14496 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14497 (SHM_STAT_ANY): Likewise.
14498 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14499 (SHM_STAT_ANY): Likewise.
14500 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14501 (SHM_STAT_ANY): Likewise.
14502 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14503 (SHM_STAT_ANY): Likewise.
14504 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14505 (SHM_STAT_ANY): Likewise.
14506 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14507 (SHM_STAT_ANY): Likewise.
14508 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14509 (SHM_STAT_ANY): Likewise.
14510 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14511 (SHM_STAT_ANY): Likewise.
14512 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14513 (SHM_STAT_ANY): Likewise.
14515 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14516 (SEM_STAT_ANY): New macro.
14517 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14518 (SEM_STAT_ANY): Likewise.
14519 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14520 (SEM_STAT_ANY): Likewise.
14521 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14522 (SEM_STAT_ANY): Likewise.
14523 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14524 (SEM_STAT_ANY): Likewise.
14525 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14526 (SEM_STAT_ANY): Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14528 (SEM_STAT_ANY): Likewise.
14529 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14530 (SEM_STAT_ANY): Likewise.
14531 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14532 (SEM_STAT_ANY): Likewise.
14533 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14534 (SEM_STAT_ANY): Likewise.
14536 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14537 (MSG_STAT_ANY): New macro.
14538 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14539 (MSG_STAT_ANY): Likewise.
14540 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14541 (MSG_STAT_ANY): Likewise.
14542 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14543 (MSG_STAT_ANY): Likewise.
14544 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14545 (MSG_STAT_ANY): Likewise.
14546 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14547 (MSG_STAT_ANY): Likewise.
14548 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14549 (MSG_STAT_ANY): Likewise.
14550 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14551 (MSG_STAT_ANY): Likewise.
14552 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14553 (MSG_STAT_ANY): Likewise.
14554 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14555 (MSG_STAT_ANY): Likewise.
14557 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14558 (MAP_TYPE): Change value to 0x2b.
14560 2018-06-18 Florian Weimer <fweimer@redhat.com>
14563 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14564 socket with SOCK_CLOEXEC.
14566 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14569 * sysdeps/powerpc/powerpc64/le/Makefile
14570 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14571 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14572 (gnulib-tests): Also add $(f128-loader-link) for
14573 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14575 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14577 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14578 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14580 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14581 (sendfile64): New strong alias.
14582 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14583 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14584 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14585 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14587 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14588 ___pthread_get_cleanup_stack.
14589 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14590 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14591 * mach/shortcut.awk: Make syscall stubs include
14592 <mach-shortcuts-hidden.h> and add hidden definition.
14593 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14594 (__mach_msg): Add hidden prototype.
14595 * mach/msg.c: Include <mach.h>.
14596 (__mach_msg): Add hidden definition.
14597 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14598 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14599 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14600 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14601 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14602 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14603 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14604 prototype and definition.
14605 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14606 hidden target for _hurd_self_sigstate.
14608 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14611 * stdlib/tst-strtod-nan-sign-main.c: New file.
14612 * stdlib/tst-strtod-nan-sign.c: Likewise.
14613 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14614 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14615 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14616 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14617 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14619 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14622 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14625 2018-06-14 Florian Weimer <fweimer@redhat.com>
14628 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14629 that the result stays within the ISO-8859-1 range.
14630 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14631 characters are defined in IBM273.
14633 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14635 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14636 __mach_task_self): Remove attribute_hidden.
14638 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14640 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14641 ignore -Wrestrict for one test.
14643 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14644 Szabolcs Nagy <szabolcs.nagy@arm.com>
14646 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14648 2018-06-14 Florian Weimer <fweimer@redhat.com>
14650 * scripts/update-abilist.sh: Accept empty list of files to patch.
14652 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14654 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14655 test-xfail-check-abi-libmachuser): Add.
14656 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14657 __libc_read and __libc_write to __read and __write.
14658 * sysdeps/hurd/include/hurd/port.h: New file.
14659 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14660 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14661 __thread_switch, __evc_wait): Move declarations to...
14662 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14664 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14665 use PLT to call _hurd_self_sigstate.
14667 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14670 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14671 MAX_EXP as overflowing.
14672 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14674 (round_str): Output also whether result overflows in each rounding
14676 * stdlib/tst-strtod-round-data: Add more tests.
14677 * stdlib/tst-strtod-round-data.h: Regenerated.
14678 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14679 (TEST): Handle extra arguments for overflow flags.
14680 (struct test_overflow): New type.
14681 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14682 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14683 (test_in_one_mode): Take argument with overflow information.
14684 (do_test): Update calls to test_in_one_mode.
14686 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14688 * elf/dl-load (_dl_dst_substitute): Correct comment.
14689 (_dl_dst_count): Likewise.
14691 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14692 lll_futex_timed_wait.
14694 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14697 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14699 * math/test-nan-const.c: New file.
14700 * math/Makefile (tests): Add test-nan-const.
14701 (CFLAGS-test-nan-const.c): New variable.
14703 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14705 * benchtests/scripts/compare_strings.py (process_results): Add
14706 funcs argument. Compare only functions which are selected.
14707 (main): Check if base function is among selected functions.
14708 Pass selected functions to process_results.
14709 (__main__): Add -f/--functions argument.
14711 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14712 Hongbo Zhang <hongbo.zhang@linaro.org>
14714 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14715 __memcpy_falkor for phecda core.
14716 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14717 __memmove_falkor for phecda core.
14718 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14719 __memset_falkor for phecda core.
14720 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14722 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14723 macro to identify phecda core.
14725 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14726 Andreas Schwab <schwab@suse.de>
14727 Dmitry V. Levin <ldv@altlinux.org>
14728 Florian Weimer <fweimer@redhat.com>
14735 * elf/dl-dst.h: Remove DL_DST_COUNT.
14736 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14737 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14738 (is_dst): Comment. Support ELF gABI.
14739 (_dl_dst_count): Comment. Simplify and count DSTs.
14740 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14741 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14744 2018-06-12 Zack Weinberg <zackw@panix.com>
14746 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14747 * sysdeps/unix/sysv/linux/dl-sysdep.c
14748 Include not-cancel.h. Use __close_nocancel instead of __close,
14749 __open64_nocancel instead of __open, __read_nocancel instead of
14750 __libc_read, and __write_nocancel instead of __libc_write.
14752 * csu/check_fds.c (check_one_fd)
14753 * sysdeps/posix/fdopendir.c (__fdopendir)
14754 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14755 instead of __fcntl and/or __libc_fcntl.
14757 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14758 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14759 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14760 Use __open64_nocancel instead of __open_nocancel.
14762 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14763 hidden_proto declarations to the end and issue them if either
14764 IS_IN(libc) or IS_IN(rtld).
14765 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14766 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14767 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14768 read_nocancel, waitpid_nocancel, write_nocancel.
14770 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14771 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14772 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14774 * nptl/pt-fcntl.c: New file.
14775 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14776 (libpthread-routines): Add pt-fcntl.
14777 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14778 (__libc_fcntl): Remove attribute_hidden.
14779 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14780 __fcntl_nocancel_adjusted, not fcntl_common.
14781 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14782 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14783 to fcntl_nocancel.c.
14784 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14787 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14789 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14790 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14791 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14792 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14793 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14794 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14795 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14796 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14797 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14798 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14799 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14800 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14801 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14802 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14803 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14804 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14805 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14806 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14807 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14808 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14810 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14811 libpthread-routines.
14812 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14815 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14816 __libc_read, and __write instead of __libc_write. Define
14817 __open64 in addition to __open.
14819 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14823 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14824 to _private_tm[3] and add __glibc_reserved2.
14825 Add _Static_assert of offset of __private_ss == 0x30.
14826 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14827 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14829 2018-06-12 Florian Weimer <fweimer@redhat.com>
14831 x86: Make strncmp usable from rtld.
14832 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14833 __strncmp_ia32 if in libc (and not in rtld).
14834 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14835 strncmp if not in libc (and not to __strncmp_sse2).
14837 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14840 * localedata/locales/gd_GB (mon): Rename to...
14842 (mon): Import from CLDR (genitive case).
14843 * localedata/locales/hsb_DE (mon): Rename to...
14845 (mon): Import from CLDR (genitive case).
14846 * localedata/locales/wa_BE (mon): Rename to...
14848 (mon): Add, fill with the proper genitive forms, but CLDR data
14849 is incomplete; completed according to the comments in this file.
14850 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14852 * localedata/locales/wa_BE (country_name): Reword
14853 "Beljike" -> "Beldjike".
14855 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14858 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14859 cases of non-finite arguments.
14860 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14862 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14865 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14867 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14870 * include/unistd.h (__execvpex): New prototype.
14871 * posix/Makefile (tests): Add tst-spawn4.
14872 (tests-internal): Add tst-spawn4-compat.
14873 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14874 * posix/tst-spawn4-compat.c: New file.
14875 * posix/tst-spawn4.c: Likewise.
14876 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14877 binaries as shell scripts.
14878 * sysdeps/posix/spawni.c (__spawni): Likewise.
14880 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14883 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14884 ($(all-built-dso:=.dynsym): New target.
14885 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14886 ($(objpfx)check-initfini.out): New target.
14887 (generated): Add check-initfini.out.
14888 * scripts/check-initfini.awk: New file.
14889 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14891 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14893 * sysdeps/arm/crti.S (_init): Mark as hidden.
14895 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14897 * sysdeps/i386/crti.S (_init): Mark as hidden.
14899 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14901 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14903 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14905 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14907 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14909 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14911 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14913 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14915 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14917 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14919 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14921 * sysdeps/sh/crti.S (_init): Mark as hidden.
14923 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14925 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14928 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14930 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14931 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14932 and TF redirection to KFtype and KF only when the default
14933 long double type is not the IEEE 128-bit floating point type.
14935 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14937 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14939 (HWCAP_USCAT): Likewise.
14940 (HWCAP_ILRCPC): Likewise.
14941 (HWCAP_FLAGM): Likewise.
14942 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14944 (_dl_aarch64_cap_flags): Add new flag names.
14946 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14947 (MAP_FIXED_NOREPLACE): New macro.
14948 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14949 (MAP_FIXED_NOREPLACE): Likewise.
14950 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14951 (MAP_FIXED_NOREPLACE): Likewise.
14952 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14953 (MAP_FIXED_NOREPLACE): Likewise.
14954 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14955 (MAP_FIXED_NOREPLACE): Likewise.
14956 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14957 (MAP_FIXED_NOREPLACE): Likewise.
14958 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14959 (MAP_FIXED_NOREPLACE): Likewise.
14960 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14961 (MAP_FIXED_NOREPLACE): Likewise.
14962 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14963 (MAP_FIXED_NOREPLACE): Likewise.
14964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14965 (MAP_FIXED_NOREPLACE): Likewise.
14966 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14967 (MAP_FIXED_NOREPLACE): Likewise.
14968 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14969 (MAP_FIXED_NOREPLACE): Likewise.
14970 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14971 (MAP_FIXED_NOREPLACE): Likewise.
14972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14973 (MAP_FIXED_NOREPLACE): Likewise.
14974 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14975 (MAP_FIXED_NOREPLACE): Likewise.
14977 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14980 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14982 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14985 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14987 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14989 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14991 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14993 * benchtests/scripts/compare_string.py: (process_results) Catch
14994 exception in non-existent base_func and catch exception in
14995 non-existent attribute.
14996 (parse_file) Catch exception if input file does not exist.
14998 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15000 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15001 options to avoid diff calculation and omit header, respectively.
15002 (main): process --no-diff and --no-header
15004 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15005 H.J. Lu <hongjiu.lu@intel.com>
15007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15008 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15011 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15012 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15013 and __wcsncmp_sse2.
15014 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15015 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15016 AVX unaligned load is fast and vzeroupper is preferred.
15017 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15018 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15019 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15020 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15021 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15022 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15023 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15024 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15025 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15026 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15029 2018-06-01 Florian Weimer <fweimer@redhat.com>
15031 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15032 configuring with --disable-multi-arch, building with
15033 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15036 2018-06-01 Florian Weimer <fweimer@redhat.com>
15038 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15039 results from building with “-march=x86-64 -mtune=generic
15040 -mfpmath=sse” and running on a Haswell-era CPU.
15042 2018-06-01 Joseph Myers <joseph@codesourcery.com>
15045 * soft-fp/sqrttf2.c: Remove file.
15046 * soft-fp/sqrtdf2.c: Move to ....
15047 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15049 (__sqrtdf2): Make conditional on
15050 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15052 * soft-fp/sqrtsf2.c: Move to ....
15053 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15055 (__sqrtsf2): Make conditional on
15056 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15058 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15059 (gcc-double-routines): Remove sqrtdf2.
15060 (gcc-quad-routines): Remove sqrttf2.
15061 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15062 Do not filter out sqrtsf2 and sqrtdf2.
15063 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15064 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
15066 2018-06-01 Florian Weimer <fweimer@redhat.com>
15068 * sysdeps/generic/libcidn.abilist: Remove file.
15070 2018-06-01 Florian Weimer <fweimer@redhat.com>
15073 * libio/strfile.h (struct _IO_str_fields): Rename members to
15074 discourage their use and add comment.
15075 (_IO_STR_DYNAMIC): Remove unused macro.
15076 * libio/strops.c (_IO_str_init_static_internal): Do not use
15077 callback pointers. Call malloc and free.
15078 (_IO_str_overflow): Do not use callback pointers. Call malloc
15080 (enlarge_userbuf): Likewise.
15081 (_IO_str_finish): Call free.
15082 * libio/wstrops.c (_IO_wstr_init_static): Initialize
15083 _allocate_buffer_unused.
15084 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
15086 (enlarge_userbuf): Likewise.
15087 (_IO_wstr_finish): Call free.
15088 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
15089 _allocate_buffer_unused, _free_buffer_unused.
15090 * libio/memstream.c (__open_memstream): Likewise.
15091 * libio/vasprintf.c (_IO_vasprintf): Likewise.
15092 * libio/wmemstream.c (open_wmemstream): Likewise.
15094 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15096 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
15099 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15101 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
15102 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
15103 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
15105 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
15107 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
15109 2018-05-29 Florian Weimer <fweimer@redhat.com>
15111 * support/Makefile (libsupport-routines): Add
15112 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
15113 xpthread_barrierattr_setpshared.
15114 * support/xpthread_barrierattr_destroy.c: New file.
15115 * support/xpthread_barrierattr_init.c: Likewise.
15116 * support/xpthread_barrierattr_setpshared.c: Likewise.
15118 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
15121 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
15122 _r_debug and update DT_DEBUG for debugger.
15124 2018-05-29 Florian Weimer <fweimer@redhat.com>
15126 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
15127 (tst-strtod5i.out): Likewise.
15129 2018-05-25 Joseph Myers <joseph@codesourcery.com>
15131 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
15132 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
15133 (sparc64-quad-routines): New variable. Moved from ....
15134 [$(subdir) = soft-fp] (sysdep_routines): Add
15135 $(sparc64-quad-routines). Moved from ....
15136 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
15137 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
15138 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
15140 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
15141 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
15142 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
15143 * sysdeps/sparc/sparc64/qp_add.c: ... here.
15144 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
15145 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
15146 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
15147 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
15148 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
15149 * sysdeps/sparc/sparc64/qp_div.c: ... here.
15150 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
15151 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
15152 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
15153 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
15154 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
15155 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
15156 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
15157 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
15158 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
15159 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
15160 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
15161 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
15162 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
15163 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
15164 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
15165 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
15166 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
15167 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
15168 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
15169 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
15170 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
15171 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
15172 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
15173 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
15174 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
15175 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
15176 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
15177 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
15178 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
15179 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
15180 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
15181 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
15182 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
15183 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
15184 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
15185 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
15186 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
15187 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
15188 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
15189 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
15190 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
15191 * sysdeps/sparc/sparc64/qp_util.c: ... here.
15192 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
15193 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
15194 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
15195 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
15196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
15197 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
15199 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
15200 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
15201 (sparc32-quad-routines): New variable. Moved from ....
15202 [$(subdir) = soft-fp] (sysdep_routines): Add
15203 $(sparc32-quad-routines). Moved from ....
15204 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
15205 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
15207 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
15208 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
15209 * sysdeps/sparc/sparc32/q_add.c: ... here.
15210 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
15211 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
15212 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
15213 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
15214 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
15215 * sysdeps/sparc/sparc32/q_div.c: ... here.
15216 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
15217 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
15218 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
15219 * sysdeps/sparc/sparc32/q_feq.c: ... here.
15220 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
15221 * sysdeps/sparc/sparc32/q_fge.c: ... here.
15222 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
15223 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
15224 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
15225 * sysdeps/sparc/sparc32/q_fle.c: ... here.
15226 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
15227 * sysdeps/sparc/sparc32/q_flt.c: ... here.
15228 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
15229 * sysdeps/sparc/sparc32/q_fne.c: ... here.
15230 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
15231 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
15232 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
15233 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
15234 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
15235 * sysdeps/sparc/sparc32/q_mul.c: ... here.
15236 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
15237 * sysdeps/sparc/sparc32/q_neg.c: ... here.
15238 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
15239 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
15240 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
15241 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
15242 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
15243 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
15244 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
15245 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
15246 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
15247 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
15248 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
15249 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
15250 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
15251 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
15252 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
15253 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
15254 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
15255 * sysdeps/sparc/sparc32/q_sub.c: ... here.
15256 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
15257 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
15258 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
15259 * sysdeps/sparc/sparc32/q_util.c: ... here.
15260 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
15261 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
15262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
15263 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
15265 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15266 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15268 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
15269 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
15270 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
15271 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
15273 2018-05-24 Joseph Myers <joseph@codesourcery.com>
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15279 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
15280 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
15282 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15285 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15288 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15290 * sysdeps/sh/Implies: Remove sh/soft-fp.
15291 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15292 * sysdeps/sh/sfp-machine.h: ... here.
15294 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15296 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15297 (__mempcpy_erms): Skip zero length.
15298 (__memmove_erms): Likewise.
15299 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15300 (__memset_erms): Likewise.
15302 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15304 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15305 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15306 Add functions moved from ....
15307 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15308 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15309 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15311 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15312 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15313 * sysdeps/alpha/e_sqrtl.c: ... here.
15314 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15315 * sysdeps/alpha/local-soft-fp.h: ... here.
15316 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15317 * sysdeps/alpha/ots_add.c: ... here.
15318 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15319 * sysdeps/alpha/ots_cmp.c: ... here.
15320 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15321 * sysdeps/alpha/ots_cmpe.c: ... here.
15322 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15323 * sysdeps/alpha/ots_cvtqux.c: ... here.
15324 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15325 * sysdeps/alpha/ots_cvtqx.c: ... here.
15326 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15327 * sysdeps/alpha/ots_cvttx.c: ... here.
15328 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15329 * sysdeps/alpha/ots_cvtxq.c: ... here.
15330 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15331 * sysdeps/alpha/ots_cvtxt.c: ... here.
15332 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15333 * sysdeps/alpha/ots_div.c: ... here.
15334 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15335 * sysdeps/alpha/ots_mul.c: ... here.
15336 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15337 * sysdeps/alpha/ots_nintxq.c: ... here.
15338 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15339 * sysdeps/alpha/ots_sub.c: ... here.
15340 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15341 * sysdeps/alpha/sfp-machine.h: ... here.
15343 2018-05-23 Florian Weimer <fweimer@redhat.com>
15351 Switch to extern IDNA implementation (libidn2).
15352 * libidn: Remove subdirectory.
15353 * LICENSES: Do not mention licensing conditions for the removed
15355 * config.h.in (HAVE_LIBIDN): Remove.
15356 * include/dlfcn.h (__libc_dlopen): Update comment.
15357 * include/idna.h: Remove file.
15358 * inet/Makefile (routines): Add idna.
15359 (tests-static, tests-internal): Add tst-idna_name_classify.
15360 (LOCALES): Generate locales for tests.
15361 (tst-idna_name_classify.out): Depend on generated locales.
15362 * inet/idna_name_classify.c: New file.
15363 * inet/tst-idna_name_classify.c: Likewise.
15364 * inet/net-internal.h (__idna_to_dns_encoding)
15365 (__idna_from_dns_encoding): Declare.
15366 * inet/net-internal.h (enum idna_name_classification): Define.
15367 (__idna_name_classify): Declare.
15368 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15369 __idna_from_dns_encoding.
15370 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15371 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15372 name as a fallback in case of encoding errors.
15373 (getnameinfo): Use DEPRECATED_NI_IDN.
15374 * inet/idna.c: New file.
15375 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15376 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15377 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15378 (modules-names): Add tst-no-libidn2.
15379 (extra-test-objs): Add tst-no-libidn2.os.
15380 (LDFLAGS-tst-no-libidn2.so): Set soname.
15381 (LOCALES): Set, and generate locales.
15382 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15383 (tst-resolv-ai_idn-latin1): Likewise.
15384 (tst-resolv-ai_idn-nolibidn2): Likewise.
15385 (tst-resolv-ai_idn.out): Depend on locales.
15386 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15387 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15389 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15390 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15391 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15392 * resolv/tst-resolv-ai_idn.c: New file.
15393 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15394 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15395 * resolv/tst-no-libidn2.c: Likewise.
15396 * support/support_format_addrinfo.c (format_ai_flags): Do not
15397 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15398 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15399 (gaih_inet): Call __idna_to_dns_encoding and
15400 __idna_from_dns_encoding, and use the original (punycode) name if
15401 __idna_from_dns_encoding fails due to an encoding error.
15402 (getaddrinfo): Use DEPRECATED_AI_IDN.
15403 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15404 * sysdeps/unix/inet/configure: Remove file.
15405 * sysdeps/unix/inet/configure.ac: Likewise.
15407 2018-05-23 Florian Weimer <fweimer@redhat.com>
15409 Implement allocate_once.
15410 * include/allocate_once.h: New file.
15411 * misc/allocate_once.c: Likewise.
15412 * misc/tst-allocate_once.c: Likewise.
15413 * misc/Makefile (routines): Add allocate_once.
15414 (tests-internal): Add tst-allocate_once.
15415 (generated): Add tst-allocate_once.mtrace,
15416 tst-allocate_once-mem.out.
15417 (tests-special): Add tst-allocate_once-mem.out.
15418 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15419 (tst-allocate_once-mem.out): Call mtrace.
15420 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15422 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15425 * string/test-memcpy.c (do_test1): New function.
15426 (test_main): Call it.
15428 2018-05-23 Andreas Schwab <schwab@suse.de>
15432 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15433 (L(preloop_large)): Save initial destination pointer in %r11 and
15434 use it instead of %rax after the loop.
15435 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15437 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15439 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15440 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15441 -I../soft-fp. Moved from ....
15442 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15443 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15444 * sysdeps/aarch64/e_sqrtl.c: ... here.
15445 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15446 * sysdeps/aarch64/sfp-machine.h: ... here.
15448 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15449 -Wmaybe-uninitialized around access to fq[0].
15450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15454 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15455 aliases for non-libc case of versioned symbols.
15456 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15457 (llseek): Define as compat symbol if
15458 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15460 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15461 Make into a compat symbol, disabled for minimum symbol version
15462 GLIBC_2.28 and later.
15463 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15465 2018-05-22 Florian Weimer <fweimer@redhat.com>
15467 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15468 not add -mpreferred-stack-boundary=4.
15469 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15470 (stack-align-test-flags): Likewise.
15471 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15473 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15474 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15475 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15476 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15477 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15478 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15479 (CFLAGS-tst-align2.c): Likewise.
15481 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15483 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15484 (index_arch_Prefer_FSRM): Likewise.
15485 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15486 Also check Prefer_FSRM.
15487 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15488 Also return OPTIMIZE (erms) for Prefer_FSRM.
15490 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15492 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15493 (index_cpu_FSRM): Likewise.
15494 (reg_FSRM): Likewise.
15496 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15498 * math/gen-tgmath-tests.py: Import sys.
15499 (Tests.__init__): Initialize macros_seen.
15500 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15501 if requested to do so for this macro.
15502 (Tests.add_all_tests): Take argument for macro for which to
15504 (Tests.check_macro_list): New function.
15505 (main): Handle check-list argument and argument specifying macro
15506 for which to generate tests.
15507 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15508 [PYTHON] (tgmath3-macro-tests): Likewise.
15509 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15510 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15511 not test-tgmath3.c.
15512 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15513 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15515 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15516 [PYTHON] ($(foreach
15517 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15519 [PYTHON] (tests-special): Add
15520 $(objpfx)test-tgmath3-macro-list.out.
15521 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15523 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15524 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15528 * time/tzset.c (SECSPERDAY): Cast to time_t.
15529 * time/tst-y2039.c: New file.
15530 * time/Makefile (tests): Add tst-y2039.
15532 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15534 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15535 (PREFETCH_ONE_SET): Remove duplicate line.
15537 2018-05-17 Florian Weimer <fweimer@redhat.com>
15539 * sysdeps/generic/math-type-macros-double.h: Include
15540 <math-nan-payload-double.h> after <libm-alias-double.h>.
15541 * sysdeps/generic/math-type-macros-float.h: Include
15542 <math-nan-payload-float.h> after <libm-alias-float.h>.
15543 * sysdeps/generic/math-type-macros-float128.h: Include
15544 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15545 * sysdeps/generic/math-type-macros-ldouble.h: Include
15546 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15548 2018-05-17 Andreas Schwab <schwab@suse.de>
15550 * resolv/res_send.c (__res_context_send): Don't set errno when
15551 returing error after malloc failure.
15553 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15555 * nptl/allocatestack.c (allocate_stack): Remove the
15556 !__ASSUME_PRIVATE_FUTEX paths.
15557 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15558 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15560 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15561 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15562 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15563 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15564 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15565 !__ASSUME_PRIVATE_FUTEX path.
15566 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15567 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15568 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15569 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15570 !__ASSUME_PRIVATE_FUTEX macros.
15571 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15572 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15573 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15574 * sysdeps/unix/sysv/linux/kernel-features.h
15575 (__ASSUME_PRIVATE_FUTEX): Removed.
15577 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15579 * math/Makefile (libm-narrow-fns): Add div.
15580 (libm-test-funcs-narrow): Likewise.
15581 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15582 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15583 * math/gen-auto-libm-tests.c (test_functions): Add div.
15584 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15585 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15586 (NARROW_DIV_TRIVIAL): Likewise.
15587 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15589 (__ddivl): Likewise.
15590 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15592 (CFLAGS-nldbl-ddiv.c): New variable.
15593 (CFLAGS-nldbl-fdiv.c): Likewise.
15594 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15596 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15598 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15599 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15600 * math/auto-libm-test-in: Add tests of div.
15601 * math/auto-libm-test-out-narrow-div: New generated file.
15602 * math/libm-test-narrow-div.inc: New file.
15603 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15604 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15605 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15606 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15607 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15608 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15616 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15617 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15618 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15619 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15620 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15622 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15630 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15631 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15632 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15633 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15634 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15639 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15640 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15641 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15642 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15643 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15644 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15645 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15646 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15648 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15651 * nscd/nscd-client.h (sendfileall): Remove prototype.
15652 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15653 (handle_request): Use writeall instead of sendfileall.
15654 * nscd/aicache.c (addhstaiX): Likewise.
15655 * nscd/grpcache.c (cache_addgr): Likewise.
15656 * nscd/hstcache.c (cache_addhst): Likewise.
15657 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15658 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15659 * nscd/pwdcache.c (cache_addpw): Likewise.
15660 * nscd/servicescache.c (cache_addserv): Likewise.
15661 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15662 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15666 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15668 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15669 Include <string/strncat.c>.
15670 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15672 (__GI___strncat): New hidden alias.
15674 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15676 * sysdeps/mips/mips32/libm-test-ulps: Update.
15677 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15679 2018-05-16 Florian Weimer <fweimer@redhat.com>
15681 * support/Makefile (libsupport-routines): Add support_quote_blob,
15682 support_test_compare_blob.
15683 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15684 * support/check.h (TEST_COMPARE_BLOB): Define.
15685 (support_test_compare_blob): Declare.
15686 * support/support.h (support_quote_blob): Declare.
15687 * support/support_quote_blob.c: New file.
15688 * support/support_test_compare_blob.c: Likewise.
15689 * support/tst-support_quote_blob.c: Likewise.
15690 * support/tst-test_compare_blob.c: Likewise.
15692 2018-05-16 Florian Weimer <fweimer@redhat.com>
15694 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15695 of <strtod_nan_double.h>.
15696 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15697 instead of SET_MANTISSA.
15698 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15699 of include <strtod_nan_float.h>.
15700 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15701 instead of <strtod_nan_ldouble.h>.
15702 * stdlib/strtod_nan_double.h: Move to ...
15703 * sysdeps/generic/math-nan-payload-double.h: ... here.
15704 (FLOAT): Remove definition.
15705 (SET_MANTISSA): Rename to ...
15706 (SET_NAN_PAYLOAD): ... this.
15707 * stdlib/strtod_nan_float.h: Move to ...
15708 * sysdeps/generic/math-nan-payload-float.h: ... here.
15709 (FLOAT): Remove definition.
15710 (SET_MANTISSA): Rename to ...
15711 (SET_NAN_PAYLOAD): ... this.
15712 * sysdeps/generic/math-type-macros-double.h: Include
15713 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15714 instead of <math-svid-compat.h>.
15715 * sysdeps/generic/math-type-macros-float.h: Include
15716 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15717 instead of <math-svid-compat.h>.
15718 * sysdeps/generic/math-type-macros-float128.h: Include
15719 <math-nan-payload-float128.h>.
15720 * sysdeps/generic/math-type-macros-ldouble.h: Include
15721 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15722 instead of <math-svid-compat.h>.
15723 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15724 check for definition.
15725 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15726 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15727 Include <ieee754_float128.h>.
15728 (FLOAT): Remove definition.
15729 (SET_MANTISSA): Rename to ...
15730 (SET_NAN_PAYLOAD): ... this.
15731 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15732 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15733 Do not include <float128_private.h>.
15734 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15736 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15737 (FLOAT): Remove definition.
15738 (SET_MANTISSA): Rename to ...
15739 (SET_NAN_PAYLOAD): ... this.
15740 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15741 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15742 (FLOAT): Remove definition.
15743 (SET_MANTISSA): Rename to ...
15744 (SET_NAN_PAYLOAD): ... this.
15745 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15746 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15747 (FLOAT): Remove definition.
15748 (SET_MANTISSA): Rename to ...
15749 (SET_NAN_PAYLOAD): ... this.
15750 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15751 of "../stdlib/strtod_nan_double.h".
15752 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15753 of "../stdlib/strtod_nan_float.h".
15754 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15755 instead of "../stdlib/strtod_nan_ldouble.h".
15756 * manual/arith.texi (Parsing of Floats): Adjust comment.
15758 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15760 * math/Makefile (libm-narrow-fns): Add mul.
15761 (libm-test-funcs-narrow): Likewise.
15762 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15763 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15764 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15765 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15766 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15767 (NARROW_MUL_TRIVIAL): Likewise.
15768 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15769 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15771 (__dmull): Likewise.
15772 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15774 (CFLAGS-nldbl-dmul.c): New variable.
15775 (CFLAGS-nldbl-fmul.c): Likewise.
15776 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15778 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15780 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15781 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15782 * math/auto-libm-test-in: Add tests of mul.
15783 * math/auto-libm-test-out-narrow-mul: New generated file.
15784 * math/libm-test-narrow-mul.inc: New file.
15785 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15786 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15788 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15789 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15790 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15796 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15797 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15798 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15799 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15800 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15801 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15802 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15804 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15805 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15806 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15807 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15808 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15809 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15810 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15811 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15812 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15813 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15814 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15815 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15816 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15821 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15822 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15823 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15824 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15825 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15830 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15832 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15833 with *%eax in call.
15835 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15837 * sysdeps/i386/ldsodefs.h: Removed.
15838 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15839 * sysdeps/x86/ldsodefs.h: This.
15840 (La_i86_regs): New.
15841 (La_i86_retval): Likewise.
15842 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15843 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15845 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15847 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15850 2018-05-13 Alan Modra <amodra@gmail.com>
15852 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15853 R_PARISC_TLS_DTPOFF32 reloc addend.
15855 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15857 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15858 * math/math.h: Restrict the prototype definition for the functions
15859 issignaling(_Float128) and iszero(_Float128); and template
15860 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15861 __HAVE_FLOAT128_UNLIKE_LDBL.
15862 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15863 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15864 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15865 __f128() constants; define the type _Float128 as long double;
15866 and reuse long double in __CFLOAT128.
15868 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15870 * sysdeps/generic/math_private.h: Do not include
15872 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15874 * math/fromfp.h: Include <math-barriers.h>.
15875 * math/math-narrow.h: Likewise.
15876 * math/s_nextafter.c: Likewise.
15877 * math/s_nexttowardf.c: Likewise.
15878 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15879 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15880 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15881 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15882 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15883 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15884 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15886 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15888 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15895 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15897 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15898 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15899 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15900 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15903 * sysdeps/ieee754/k_standardl.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15912 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15915 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15917 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15920 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15921 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15922 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15923 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15924 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15925 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15927 2018-05-11 Florian Weimer <fweimer@redhat.com>
15929 Use 64-bit epoch values in the time zone file parser.
15930 * include/time.h (internal_time_t): Define.
15931 (__tzfile_compute): Use it.
15932 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15934 (transitions): Switch to internal_time_t.
15935 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15937 (__tzfile_compute): Use internal_time_t for timer argument. Check
15938 for truncation before calling __offtime.
15940 2018-05-11 Florian Weimer <fweimer@redhat.com>
15943 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15944 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15946 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15947 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15948 export without --enable-obsolete-rpc.
15949 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15950 symbol. This should not have been exported, ever.
15952 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15955 * localedata/locales/gd_GB (abmon): Fix typo in May:
15956 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15958 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15960 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15961 Use multiple registers to copy data in loop tail.
15963 * sysdeps/aarch64/multiarch/memmove_falkor.S
15964 (__memmove_falkor): Use multiple registers to move data in
15967 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15969 * math/math-underflow.h: New file.
15970 * sysdeps/generic/math_private.h: Do not include <float.h>.
15971 (fabs_tg): Remove macro. Moved to math-underflow.h.
15972 (min_of_type_f): Likewise.
15973 (min_of_type_): Likewise.
15974 (min_of_type_l): Likewise.
15975 (min_of_type_f128): Likewise.
15976 (min_of_type): Likewise.
15977 (math_check_force_underflow): Likewise.
15978 (math_check_force_underflow_nonneg): Likewise.
15979 (math_check_force_underflow_complex): Likewise.
15980 * math/e_exp2_template.c: Include <math-underflow.h>.
15981 * math/k_casinh_template.c: Likewise.
15982 * math/s_catan_template.c: Likewise.
15983 * math/s_catanh_template.c: Likewise.
15984 * math/s_ccosh_template.c: Likewise.
15985 * math/s_cexp_template.c: Likewise.
15986 * math/s_clog10_template.c: Likewise.
15987 * math/s_clog_template.c: Likewise.
15988 * math/s_csin_template.c: Likewise.
15989 * math/s_csinh_template.c: Likewise.
15990 * math/s_csqrt_template.c: Likewise.
15991 * math/s_ctan_template.c: Likewise.
15992 * math/s_ctanh_template.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16013 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16014 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16015 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16016 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16019 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16020 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16021 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16022 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16023 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16040 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16053 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16061 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16065 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16070 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16071 * sysdeps/x86/fpu/powl_helper.c: Likewise.
16072 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
16073 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
16074 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16078 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16080 * sysdeps/generic/math-barriers.h: New file.
16081 * sysdeps/generic/math_private.h [!math_opt_barrier]
16082 (math_opt_barrier): Move to math-barriers.h.
16083 [!math_opt_barrier] (math_force_eval): Likewise.
16084 * sysdeps/aarch64/fpu/math-barriers.h: New file.
16085 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
16087 (math_force_eval): Likewise.
16088 * sysdeps/alpha/fpu/math-barriers.h: New file.
16089 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
16091 (math_force_eval): Likewise.
16092 * sysdeps/x86/fpu/math-barriers.h: New file.
16093 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
16095 (math_force_eval): Likewise.
16096 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
16097 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
16098 multiple-include guard for rename.
16099 * sysdeps/powerpc/fpu/math-barriers.h: New file.
16100 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
16102 (math_force_eval): Likewise.
16104 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16108 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
16110 * stdlib/Makefile (test-bz22786): New test.
16111 * stdlib/test-bz22786.c: New test.
16113 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16115 * include/math-narrow-eval.h: New file. Contents moved from ....
16116 * sysdeps/generic/math_private.h: ... here.
16117 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
16118 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16119 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
16120 * stdlib/strtod_l.c: Likewise.
16121 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16122 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16123 * sysdeps/i386/fpu/s_fdim.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16126 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16127 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
16133 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16134 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16135 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16136 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16137 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16139 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16140 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16141 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16142 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16145 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16146 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16147 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16148 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16149 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16151 2018-05-08 Andreas Schwab <schwab@suse.de>
16153 * sysdeps/nptl/internaltypes.h: Fix comment.
16155 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
16157 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16158 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
16161 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16163 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
16164 of I into loop header.
16165 * benchtests/bench-memmove-walk.c
16166 (test_main): Likewise.
16168 2018-05-07 Alexandre Oliva <oliva@gnu.org>
16171 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16172 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16174 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16177 * elf/dl-load.c (open_verify): Fix stack overflow.
16178 * elf/Makefile (tst-big-note): New test.
16179 * elf/tst-big-note-lib.S: New.
16180 * elf/tst-big-note.c: New.
16182 2018-05-04 Joseph Myers <joseph@codesourcery.com>
16184 * scripts/abilist.awk: Ignore absolute symbols.
16185 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
16186 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
16187 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
16188 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
16189 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
16190 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
16191 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16192 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
16193 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
16194 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
16195 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
16196 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
16199 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
16200 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
16208 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
16209 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
16229 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16230 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
16231 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
16232 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
16234 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
16235 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
16236 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
16237 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
16238 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
16239 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
16242 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16243 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
16244 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
16245 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
16246 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
16247 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
16248 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
16249 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
16250 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
16251 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
16252 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16253 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
16254 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
16255 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16256 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
16257 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
16258 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
16259 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
16260 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
16261 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
16262 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
16263 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
16264 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
16265 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16266 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
16267 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16278 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16287 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16288 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16289 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16290 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16292 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16293 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16294 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16295 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16296 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16297 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16298 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16299 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16300 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16301 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16302 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16303 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16304 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16305 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16306 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16307 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16308 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16309 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16310 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16311 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16312 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16313 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16314 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16315 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16316 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16317 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16318 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16320 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16321 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16322 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16323 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16324 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16325 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16326 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16327 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16334 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16337 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16338 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16339 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16341 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16346 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16347 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16348 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16349 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16350 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16351 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16352 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16353 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16354 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16355 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16356 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16357 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16358 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16359 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16360 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16361 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16362 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16363 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16364 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16365 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16366 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16367 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16368 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16428 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16429 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16431 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16432 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16433 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16434 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16435 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16436 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16437 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16438 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16439 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16440 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16441 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16442 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16443 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16444 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16446 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16447 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16448 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16449 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16450 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16451 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16452 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16453 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16454 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16459 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16460 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16461 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16462 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16463 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16464 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16465 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16466 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16467 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16468 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16469 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16470 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16471 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16472 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16473 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16474 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16475 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16476 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16477 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16478 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16479 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16480 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16482 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16483 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16485 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16486 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16487 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16488 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16489 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16490 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16492 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16493 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16494 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16495 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16496 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16497 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16499 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16500 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16501 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16502 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16503 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16504 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16505 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16506 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16507 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16508 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16510 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16511 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16512 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16513 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16514 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16515 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16516 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16517 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16518 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16519 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16520 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16521 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16522 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16523 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16524 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16525 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16526 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16527 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16528 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16529 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16530 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16531 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16532 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16533 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16534 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16535 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16536 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16538 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16541 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16542 Use atomic_load_acquire to load __tid.
16544 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16546 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16547 Restore the pointer into %rdx, after syscall and use %rdx,
16548 instead of %rsi, to restore context.
16550 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16552 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16553 Pop the pointer into %rdx after syscall and use %rdx, instead
16554 of %rsi, to restore context.
16556 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16558 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16559 handlers after setjmp.
16560 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16562 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16563 <libc-pointer-arith.h>.
16564 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16565 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16566 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16567 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16568 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16569 * sysdeps/x86/__longjmp_cancel.S: New file.
16570 * sysdeps/x86/longjmp.c: Likewise.
16571 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16573 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16575 * NEWS: Add ustat.h deprecation entry.
16576 * bits/ustat.h: Remove file.
16577 * misc/sys/ustat.h: Likewise.
16578 * misc/ustat.h: Likewise.
16579 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16580 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16581 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16582 compatibility mode.
16583 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16584 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16585 generic Linux implementation.
16587 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16589 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16590 * math/w_expl_compat.c: Likewise.
16591 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16593 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16595 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16597 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16599 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16600 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16601 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16603 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16606 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16607 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16610 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16612 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16614 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16615 * math/w_asin_template.c: Likewise.
16616 * math/w_atanh_template.c: Likewise.
16618 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16620 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16621 to powerpc/powerpc64/be for big-endian.
16622 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16625 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16626 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16627 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16628 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16629 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16630 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16631 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16632 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16633 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16634 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16635 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16636 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16637 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16638 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16639 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16640 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16641 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16642 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16643 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16644 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16645 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16646 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16647 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16648 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16649 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16650 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16651 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16652 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16653 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16654 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16655 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16656 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16658 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16659 adjusted to imply powerpc64 and older processors on powerpc64/be.
16660 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16661 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16662 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16663 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16664 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16665 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16666 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16667 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16668 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16669 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16670 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16671 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16672 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16673 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16674 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16675 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16676 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16677 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16678 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16679 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16680 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16681 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16682 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16683 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16684 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16685 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16686 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16687 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16688 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16689 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16690 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16692 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16693 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16694 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16695 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16697 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16698 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16699 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16700 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16702 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16703 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16704 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16705 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16706 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16707 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16708 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16709 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16710 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16711 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16712 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16714 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16715 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16716 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16717 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16718 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16719 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16720 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16721 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16722 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16723 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16724 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16726 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16727 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16728 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16729 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16730 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16731 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16732 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16733 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16734 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16735 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16736 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16737 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16739 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16740 and adjusted to imply olders processors.
16741 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16742 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16743 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16744 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16745 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16746 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16747 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16748 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16749 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16750 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16751 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16755 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16756 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16770 powerpc64 and adjusted.
16771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16776 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16778 * sysdeps/tile: Remove.
16779 * sysdeps/unix/sysv/linux/tile: Likewise.
16780 * README (tilegx-*-linux-gnu): Remove from list of supported
16782 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16783 contribution of support for generic Linux kernel syscall
16785 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16786 tilegx configurations.
16787 (Config.install_linux_headers): Do not handle tile.
16788 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16790 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16791 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16792 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16793 conditional undefine and redefine.
16794 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16796 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16797 conditional undefine and redefine.
16799 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16801 * signal/tst-sigaction.c: New file to test BZ #23069.
16802 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16804 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16807 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16808 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16809 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16810 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16812 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16814 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16815 _DIRENT_MATCHES_DIRENT64 is not defined.
16816 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16817 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16819 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16820 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16822 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16824 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16825 version to GCC 8 branch.
16827 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16829 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16830 (check_no_hidden): Use type of original function when declaring
16833 * sysdeps/unix/sysv/linux/sys/ptrace.h
16834 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16835 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16836 (struct __ptrace_seccomp_metadata): New type.
16837 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16838 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16839 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16840 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16841 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16842 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16843 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16844 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16845 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16846 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16848 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16849 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16850 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16851 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16852 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16854 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16856 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16858 * dirent/versionsort.c (versionsort): Likewise.
16859 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16860 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16861 * dirent/versionsort64.c (versionsort64): Likewise.
16862 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16863 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16864 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16865 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16866 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16867 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16868 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16869 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16870 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16871 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16874 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16875 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16877 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16879 * elf/elf.h (NT_PPC_PKEY): New macro.
16881 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16884 * localedata/locales/hr_HR: fix thousands_sep and
16887 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16889 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16890 (XTABS): Define to TAB3.
16892 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16894 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16896 * dirent/scandir-tail-common.c: New file.
16897 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16898 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16899 * dirent/scandir.c: Use scandir-tail-common.c.
16900 * dirent/scandirat.c: Likewise.
16901 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16902 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16903 if _DIRENT_MATCHES_DIRENT64 is defined.
16904 * dirent/scandirat64.c (scandirat64): Likewise.
16905 * include/dirent.h (__scandir_tail): Only define iff
16906 _DIRENT_MATCHES_DIRENT64 is not defined.
16907 (__scandir64_tail): Define regardless.
16908 (__scandirat, scandirat64): Remove libc_hidden_proto.
16909 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16910 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16912 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16913 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16914 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16915 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16917 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16919 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16921 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16923 (_dl_aarch64_cap_flags): Add asimdfhm.
16925 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16927 * sysdeps/nios2/libm-test-ulps: Update.
16929 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16931 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16932 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16934 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16936 (_DIRENT_MATCHES_DIRENT64): Undef
16937 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16938 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16939 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16940 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16941 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16942 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16943 use getdents64 syscalls as base.
16944 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16945 symbol if required.
16946 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16947 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16948 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16949 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16950 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16951 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16952 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16953 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16954 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16955 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16956 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16958 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16960 * scripts/test_printers_common.py (init_test): Disable lock elision.
16962 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16964 * math/test-tgmath.c (count_double, count_float,
16965 count_ldouble, count_cdouble, count_cfloat,
16966 count_cldouble): Use volatile int.
16968 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16970 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16971 (conformtest-xfail-conds): Add i386-gnu.
16972 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16974 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16975 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16976 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16977 msqid_ds.msg_lrpid): Likewise.
16978 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16980 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16981 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16982 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16983 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16985 (struct statvfs64): Likewise.
16986 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16988 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16989 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16990 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16991 instead of wait_queue.
16992 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16993 instead of vm_area_struct.
16994 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16995 struct sched_param definition to it.
16996 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16997 * bits/types/struct_sched_param.h: New file.
16998 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16999 <bits/types/struct_sched_param.h> instead of <sched.h>.
17000 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
17001 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17002 generic version but include <bits/pthreadtypes.h> to make struct
17003 sigevent's sigev_notify_attributes field a pthread_attr_t*.
17004 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17006 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17007 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17008 [__USE_XOPEN] (OFDEL): New macro.
17009 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
17010 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
17011 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17013 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17014 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
17015 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17017 * sysdeps/i386/sys/ucontext.h: Likewise.
17018 * sysdeps/m68k/sys/ucontext.h: Likewise.
17019 * sysdeps/mips/sys/ucontext.h: Likewise.
17020 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
17021 * sysdeps/mach/hurd/i386/Makefile
17022 (test-xfail-POSIX/fcntl.h/conform): Add.
17023 (test-xfail-POSIX/signal.h/conform): Add.
17024 (test-xfail-POSIX/semaphore.h/conform): Add.
17025 (test-xfail-POSIX/regex.h/conform): Add.
17026 (test-xfail-POSIX/aio.h/conform): Add.
17027 (test-xfail-POSIX/mqueue.h/conform): Add.
17028 (test-xfail-POSIX/sys/types.h/conform): Add.
17029 (test-xfail-UNIX98/fcntl.h/conform): Add.
17030 (test-xfail-UNIX98/netdb.h/conform): Add.
17031 (test-xfail-UNIX98/signal.h/conform): Add.
17032 (test-xfail-UNIX98/semaphore.h/conform): Add.
17033 (test-xfail-UNIX98/regex.h/conform): Add.
17034 (test-xfail-UNIX98/aio.h/conform): Add.
17035 (test-xfail-UNIX98/ftw.h/conform): Add.
17036 (test-xfail-UNIX98/mqueue.h/conform): Add.
17037 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17038 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17039 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17040 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17041 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17042 (test-xfail-UNIX98/sys/types.h/conform): Add.
17043 (test-xfail-UNIX98/stdlib.h/conform): Add.
17044 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17045 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17046 (test-xfail-POSIX2008/netdb.h/conform): Add.
17047 (test-xfail-POSIX2008/signal.h/conform): Add.
17048 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17049 (test-xfail-POSIX2008/regex.h/conform): Add.
17050 (test-xfail-POSIX2008/aio.h/conform): Add.
17051 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17052 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17053 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17054 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17055 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17056 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17057 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17058 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17059 (test-xfail-XOPEN2K/signal.h/conform): Add.
17060 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17061 (test-xfail-XOPEN2K/regex.h/conform): Add.
17062 (test-xfail-XOPEN2K/aio.h/conform): Add.
17063 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17064 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
17065 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
17066 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
17067 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
17068 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
17069 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
17070 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
17071 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
17072 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
17073 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
17074 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
17075 (test-xfail-XOPEN2K8/signal.h/conform): Add.
17076 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
17077 (test-xfail-XOPEN2K8/regex.h/conform): Add.
17078 (test-xfail-XOPEN2K8/aio.h/conform): Add.
17079 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
17080 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
17081 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
17082 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
17083 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
17084 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
17085 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
17086 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
17087 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
17088 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
17089 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
17091 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
17092 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
17094 2018-04-18 Joseph Myers <joseph@codesourcery.com>
17096 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17097 --enable-obsolete for powerpc-linux-gnuspe.
17099 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17101 * conform/data/sys/un.h-data: Allow sun_ prefix.
17102 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
17104 * sysdeps/mach/include/mach.h: Likewise.
17105 * sysdeps/mach/include/mach/mig_support.h: Likewise.
17106 * sysdeps/mach/include/mach_error.h: Likewise.
17108 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17110 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
17111 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
17112 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
17113 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
17115 2018-04-16 Andreas Schwab <schwab@suse.de>
17118 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
17120 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17122 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
17123 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
17125 2018-04-12 DJ Delorie <dj@redhat.com>
17127 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17130 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17132 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
17133 (struct kernel_sigaction): Use the same definition on 31bit as is used
17136 2018-04-09 Florian Weimer <fweimer@redhat.com>
17139 * resolv/res_send.c (send_dg): Use designated initializers instead
17140 of assignment to zero-initialize other fields of struct mmsghdr.
17142 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17144 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
17145 __READDIR_ALIAS): Undefine after usage.
17146 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
17147 __READDIR_R_ALIAS): Likewise.
17148 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
17149 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
17150 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
17151 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
17153 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
17154 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17155 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17156 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
17157 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
17158 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
17159 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
17160 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17161 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
17162 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
17163 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
17164 * sysdeps/unix/sysv/linux/readdir.c: New file.
17165 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
17166 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
17167 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
17169 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17171 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
17173 * manual/charset.texi (Converting a Character): Fix typo.
17175 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17179 * sysdeps/arm/libm-test-ulps: Update.
17181 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
17182 as base implementation.
17183 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17184 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17185 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17186 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17187 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17188 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
17189 remove unrequired definitions and update comments.
17190 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
17191 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
17192 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
17193 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
17194 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
17195 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
17196 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
17197 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
17198 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
17199 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
17200 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
17201 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17202 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17203 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
17204 and RESET_SA_RESTORER hooks.
17206 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
17208 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17210 2018-04-05 Florian Weimer <fweimer@redhat.com>
17212 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
17213 integer overflow, memory leak on error, and indeterminate errno
17214 value. Add a null wide character to terminate the result string.
17215 * manual/charset.texi (Converting a Character): Mention embedded
17216 null bytes in the mbrtowc input string. Explain what happens in
17217 the -2 result case. Do not claim that mbrtowc is simple or
17218 obvious to use. Adjust the description of the code example. Use
17219 @code, not @var, for concrete variables.
17221 2018-04-05 Florian Weimer <fweimer@redhat.com>
17223 * manual/examples/mbstouwcs.c: New file.
17224 * manual/charset.texi (Converting a Character): Include it.
17226 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17228 * include/dirent.h (dirfd): Add hidden proto.
17229 * dirent/dirfd.c (dirfd): Add hidden def.
17230 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
17231 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
17233 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17235 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
17236 sin, cos and sincos to 1 ULP.
17238 2018-04-04 Maciej W. Rozycki <macro@mips.com>
17241 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
17243 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
17244 * elf/tst-absolute-sym.c: New file.
17245 * elf/tst-absolute-sym-lib.c: New file.
17246 * elf/tst-absolute-sym-lib.lds: New file.
17247 * elf/Makefile (tests): Add `tst-absolute-sym'.
17248 (modules-names): Add `tst-absolute-sym-lib'.
17249 (LDLIBS-tst-absolute-sym-lib.so): New variable.
17250 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
17251 ($(objpfx)tst-absolute-sym): New dependency.
17254 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
17256 (SYMBOL_ADDRESS): New macro.
17257 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
17258 SYMBOL_ADDRESS for symbol address calculation.
17259 * elf/dl-runtime.c (_dl_fixup): Likewise.
17260 (_dl_profile_fixup): Likewise.
17261 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
17262 * elf/rtld.c (dl_main): Likewise.
17263 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
17264 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
17265 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
17266 (elf_machine_rela): Likewise.
17267 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
17268 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
17269 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17270 (elf_machine_rela): Likewise.
17271 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17272 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
17273 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
17274 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
17276 (elf_machine_reloc): Likewise.
17277 (elf_machine_got_rel): Likewise.
17278 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
17279 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
17280 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17282 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17284 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17285 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17287 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17289 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17294 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17297 2018-04-04 Zack Weinberg <zackw@panix.com>
17299 * sysdeps/generic/internal-signals.h: Include signal.h,
17300 sigsetops.h, and stdbool.h.
17301 (__libc_signal_block_all): Actually block all signals.
17302 (__libc_signal_block_app): Likewise.
17303 (__libc_signal_restore_set): Actually restore the signal mask.
17305 2018-04-04 Florian Weimer <fweimer@redhat.com>
17307 inet: Actually build and run tst-deadline.
17308 * inet/Makefile (tests-internal): Add tst-deadline and do not
17309 overwrite the variable.
17310 (tests-static-internal): Remove variable.
17312 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17315 * bits/uio-ext.h (RWF_APPEND): New.
17316 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17317 * manual/llio.texi: Document RWF_APPEND.
17318 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17319 (RWF_SUPPORTED): Add RWF_APPEND.
17321 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17324 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17325 check for internal nptl signals.
17326 * nptl/sigaction.c (__sigaction): Likewise.
17327 * signal/sigaddset.c (sigaddset): Likewise.
17328 * signal/sigdelset.c (sigdelset): Likewise.
17329 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17330 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17332 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17333 to filter out internal nptl signals.
17334 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17335 also check realtime signals using standard macros.
17336 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17337 __is_internal_signal, __libc_signal_block_all,
17338 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17339 * sysdeps/nptl/sigfillset.c: Remove file.
17340 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17341 Change return to bool.
17342 (__clear_internal_signals): Remove SIGTIMER clean since it is
17343 equal to SIGCANEL on Linux.
17344 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17345 signal set was constructed using standard functions.
17347 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17349 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17350 ifname is too long.
17351 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17352 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
17353 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17355 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
17356 * signal/sigaddset.c: Include <sigsetopts.h>.
17357 * signal/sigdelset.c: Likewise.
17359 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17363 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17364 logic as sin and cos.
17366 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17368 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17369 inputs. Return correct sign.
17370 (do_sincos): Remove small input check before do_sin, let do_sin set
17375 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17377 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17378 (do_cos_slow): Likewise.
17379 (do_sin_slow): Likewise.
17380 (reduce_and_compute): Likewise.
17385 (sloww1): Likewise.
17386 (sloww2): Likewise.
17388 (bslow1): Likewise.
17389 (bslow2): Likewise.
17390 (cslow2): Likewise.
17392 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17394 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17395 (do_cos): Remove corp parameter and calculations.
17396 (do_sin): Likewise.
17397 (do_sincos): Remove cor variable.
17398 (__sin): Use do_sincos for huge inputs.
17400 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17401 (reduce_and_compute_sincos): Remove unused function.
17403 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17405 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17406 reduce_sincos, improve accuracy to 136 bits.
17407 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17408 (__sin): Use improved reduction and simplified do_sincos calculation.
17410 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17412 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17414 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17415 (do_sincos_2): Likewise.
17416 (__sin): Remove middle range reduction case.
17418 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17421 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17423 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17424 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17427 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17429 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17431 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17434 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17436 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17437 Remove definitions.
17438 (opendir_oflags): Use O_DIRECTORY regardless.
17439 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17440 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17442 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17444 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17445 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17447 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17448 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17449 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17450 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17451 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17452 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17454 * htl/Makefile: Bump licence to LGPL 2.1+.
17455 * htl/alloca_cutoff.c: Likewise.
17456 * htl/cthreads-compat.c: Likewise.
17457 * htl/lockfile.c: Likewise.
17458 * htl/pt-alloc.c: Likewise.
17459 * htl/pt-cancel.c: Likewise.
17460 * htl/pt-cleanup.c: Likewise.
17461 * htl/pt-create.c: Likewise.
17462 * htl/pt-dealloc.c: Likewise.
17463 * htl/pt-detach.c: Likewise.
17464 * htl/pt-exit.c: Likewise.
17465 * htl/pt-getattr.c: Likewise.
17466 * htl/pt-initialize.c: Likewise.
17467 * htl/pt-internal.h: Likewise.
17468 * htl/pt-join.c: Likewise.
17469 * htl/pt-self.c: Likewise.
17470 * htl/pt-setcancelstate.c: Likewise.
17471 * htl/pt-setcanceltype.c: Likewise.
17472 * htl/pt-sigmask.c: Likewise.
17473 * htl/pt-spin-inlines.c: Likewise.
17474 * htl/pt-testcancel.c: Likewise.
17475 * htl/pt-yield.c: Likewise.
17476 * htl/tests/test-1.c: Likewise.
17477 * htl/tests/test-10.c: Likewise.
17478 * htl/tests/test-11.c: Likewise.
17479 * htl/tests/test-12.c: Likewise.
17480 * htl/tests/test-13.c: Likewise.
17481 * htl/tests/test-14.c: Likewise.
17482 * htl/tests/test-15.c: Likewise.
17483 * htl/tests/test-16.c: Likewise.
17484 * htl/tests/test-17.c: Likewise.
17485 * htl/tests/test-2.c: Likewise.
17486 * htl/tests/test-3.c: Likewise.
17487 * htl/tests/test-4.c: Likewise.
17488 * htl/tests/test-5.c: Likewise.
17489 * htl/tests/test-6.c: Likewise.
17490 * htl/tests/test-7.c: Likewise.
17491 * htl/tests/test-8.c: Likewise.
17492 * htl/tests/test-9.c: Likewise.
17493 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17494 * sysdeps/htl/bits/cancelation.h: Likewise.
17495 * sysdeps/htl/bits/pthread-np.h: Likewise.
17496 * sysdeps/htl/bits/pthread.h: Likewise.
17497 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17498 * sysdeps/htl/bits/semaphore.h: Likewise.
17499 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17500 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17501 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17502 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17503 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17504 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17505 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17506 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17507 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17508 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17509 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17510 * sysdeps/htl/old_pt-atfork.c: Likewise.
17511 * sysdeps/htl/pt-atfork.c: Likewise.
17512 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17513 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17514 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17515 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17516 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17517 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17518 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17519 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17520 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17521 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17522 * sysdeps/htl/pt-attr-init.c: Likewise.
17523 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17524 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17525 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17526 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17527 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17528 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17529 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17530 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17531 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17532 * sysdeps/htl/pt-attr.c: Likewise.
17533 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17534 * sysdeps/htl/pt-barrier-init.c: Likewise.
17535 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17536 * sysdeps/htl/pt-barrier.c: Likewise.
17537 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17538 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17539 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17540 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17541 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17542 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17543 * sysdeps/htl/pt-cond-init.c: Likewise.
17544 * sysdeps/htl/pt-cond-signal.c: Likewise.
17545 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17546 * sysdeps/htl/pt-cond-wait.c: Likewise.
17547 * sysdeps/htl/pt-cond.c: Likewise.
17548 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17549 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17550 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17551 * sysdeps/htl/pt-condattr-init.c: Likewise.
17552 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17553 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17554 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17555 * sysdeps/htl/pt-equal.c: Likewise.
17556 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17557 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17558 * sysdeps/htl/pt-getschedparam.c: Likewise.
17559 * sysdeps/htl/pt-getspecific.c: Likewise.
17560 * sysdeps/htl/pt-init-specific.c: Likewise.
17561 * sysdeps/htl/pt-key-create.c: Likewise.
17562 * sysdeps/htl/pt-key-delete.c: Likewise.
17563 * sysdeps/htl/pt-key.h: Likewise.
17564 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17565 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17566 * sysdeps/htl/pt-mutex-init.c: Likewise.
17567 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17568 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17569 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17570 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17571 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17572 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17573 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17574 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17575 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17576 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17577 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17578 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17579 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17580 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17581 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17582 * sysdeps/htl/pt-mutexattr.c: Likewise.
17583 * sysdeps/htl/pt-once.c: Likewise.
17584 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17585 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17586 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17587 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17588 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17589 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17590 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17591 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17592 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17593 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17594 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17595 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17596 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17597 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17598 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17599 * sysdeps/htl/pt-setschedparam.c: Likewise.
17600 * sysdeps/htl/pt-setschedprio.c: Likewise.
17601 * sysdeps/htl/pt-setspecific.c: Likewise.
17602 * sysdeps/htl/pt-spin.c: Likewise.
17603 * sysdeps/htl/pt-startup.c: Likewise.
17604 * sysdeps/htl/pthread.h: Likewise.
17605 * sysdeps/htl/sem-close.c: Likewise.
17606 * sysdeps/htl/sem-destroy.c: Likewise.
17607 * sysdeps/htl/sem-getvalue.c: Likewise.
17608 * sysdeps/htl/sem-init.c: Likewise.
17609 * sysdeps/htl/sem-open.c: Likewise.
17610 * sysdeps/htl/sem-post.c: Likewise.
17611 * sysdeps/htl/sem-timedwait.c: Likewise.
17612 * sysdeps/htl/sem-trywait.c: Likewise.
17613 * sysdeps/htl/sem-unlink.c: Likewise.
17614 * sysdeps/htl/sem-wait.c: Likewise.
17615 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17616 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17617 * sysdeps/mach/htl/pt-block.c: Likewise.
17618 * sysdeps/mach/htl/pt-spin.c: Likewise.
17619 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17620 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17621 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17622 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17623 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17624 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17625 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17626 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17627 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17628 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17629 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17630 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17631 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17632 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17633 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17634 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17635 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17636 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17637 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17638 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17639 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17640 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17641 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17642 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17643 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17644 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17645 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17646 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17647 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17648 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17649 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17650 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17651 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17652 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17653 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17654 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17655 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17656 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17657 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17658 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17659 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17660 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17661 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17663 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17664 * README: Remove the mention of out-of-tree patches needed for
17667 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17668 (UTIME_NOW, UTIME_OMIT): Define macros.
17670 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17671 instead of pthread_detach.
17672 (__cthread_fork): Call __pthread_create instead of pthread_create.
17673 (__cthread_keycreate): Call __pthread_key_create instead of
17674 pthread_key_create.
17675 (__cthread_getspecific): Call __pthread_getspecific instead of
17676 pthread_getspecific.
17677 (__cthread_setspecific): Call __pthread_setspecific instead of
17678 pthread_setspecific.
17679 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17680 __pthread_mutex_unlock instead of pthread_mutex_lock and
17681 pthread_mutex_unlock.
17682 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17683 ___pthread_get_cleanup_stack.
17684 (__pthread_get_cleanup_stack): New strong alias.
17685 * htl/pt-create.c: Include <pthreadP.h>.
17686 (entry_point): Call __pthread_exit instead of pthread_exit.
17687 (pthread_create): Rename to __pthread_create.
17688 (pthread_create): New strong alias.
17689 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17690 (pthread_detach): New strong alias.
17691 (__pthread_detach): Call __pthread_cond_broadcast instead of
17692 pthread_cond_broadcast.
17693 * htl/pt-exit.c: Include <pthreadP.h>.
17694 (__pthread_exit): Call __pthread_setcancelstate and
17695 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17696 __pthread_get_cleanup_stack.
17697 * htl/pt-testcancel.c: Include <pthreadP.h>.
17698 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17699 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17700 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17701 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17702 pthread_attr_getstacksize.
17703 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17704 Rename to __pthread_attr_getstackaddr.
17705 (pthread_attr_getstackaddr): New strong alias.
17706 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17707 Rename to __pthread_attr_getstacksize.
17708 (pthread_attr_getstacksize): New strong alias.
17709 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17710 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17711 (pthread_attr_setstack): New strong alias.
17712 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17713 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17714 pthread_attr_getstacksize, pthread_attr_setstacksize and
17715 pthread_attr_setstackaddr.
17716 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17717 Rename to __pthread_attr_setstackaddr.
17718 (pthread_attr_setstackaddr): New strong alias.
17719 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17720 Rename to __pthread_attr_setstacksize.
17721 (pthread_attr_setstacksize): New strong alias.
17722 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17723 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17725 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17726 (__pthread_key_create): New hidden def.
17727 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17728 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17729 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17730 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17731 __pthread_setspecific, __pthread_setcancelstate,
17732 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17733 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17734 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17736 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17737 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17738 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17739 (pthread_attr_setstackaddr): New strong alias.
17740 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17741 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17742 (pthread_attr_setstacksize): New strong alias.
17743 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17744 (call_exit): Call __pthread_exit instead of pthread_exit.
17745 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17746 (_pthread_mutex_init): New hidden definition.
17747 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17748 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17749 instead of pthread_attr_init and pthread_attr_setstack.
17751 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17752 __vm_deallocate instead of vm_allocate and vm_deallocate.
17753 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17755 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17757 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17759 * hurd/siginfo.c: Include <libioP.h>.
17760 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17761 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17763 * mach/devstream.c: Include <libioP.h>.
17764 (dealloc_ref): Call __mach_port_deallocate instead of
17765 mach_port_deallocate.
17766 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17767 Call __mach_port_deallocate instead of mach_port_deallocate.
17768 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17770 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17772 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17773 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17774 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17776 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17778 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17779 instead of sysconf.
17780 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17781 __clock_gettime instead of clock_gettime.
17782 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17783 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17784 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17785 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17786 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17788 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17789 __clock_gettime and __nanosleep instead of clock_gettime and
17791 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17792 __hurd_catch_signal.
17793 (hurd_catch_signal): New strong alias.
17794 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17795 __hurd_catch_signal instead of hurd_catch_signal.
17796 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17797 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17798 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17799 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17800 (_hurd_thread_sigstate): Add hidden def.
17801 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17803 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17804 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17805 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17806 __hurd_file_name_path_lookup.
17807 (hurd_file_name_path_lookup): New strong alias.
17808 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17809 hurd_file_name_path_lookup.
17810 * mach/errstring.c (mach_error_type): Add hidden def.
17811 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17812 * mach/mutex-init.c (__mutex_init): Add hidden def.
17813 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17814 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17815 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17816 * sysdeps/mach/hurd/getcwd.c
17817 (_hurd_canonicalize_directory_name_internal): Rename to
17818 __hurd_canonicalize_directory_name_internal.
17819 (_hurd_canonicalize_directory_name_internal): New strong alias.
17820 (__canonicalize_directory_name_internal, __getcwd): Call
17821 __hurd_canonicalize_directory_name_internal instead of
17822 _hurd_canonicalize_directory_name_internal.
17823 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17824 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17826 * sysdeps/hurd/include/hurd.h: New file.
17827 * sysdeps/hurd/include/hurd/fd.h: New file.
17828 * sysdeps/hurd/include/hurd/signal.h: New file.
17829 * sysdeps/mach/include/lock-intern.h: New file.
17830 * sysdeps/mach/include/mach.h: New file.
17831 * sysdeps/mach/include/mach/mig_support.h: New file.
17832 * sysdeps/mach/include/mach_error.h: New file.
17833 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17835 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17836 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17837 _HEADER_H_HIDDEN_DEF macro.
17838 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17839 _hurd_fd_error_signal): Add hidden prototype.
17840 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17842 * libio/iolibio.h (_IO_puts): New hidden prototype.
17843 * libio/ioputs.c (_IO_puts): New hidden def.
17844 * sysdeps/mach/hurd/localplt.data: New file.
17846 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17847 Amos Jeffries <squid3@treenet.co.nz>
17848 David Michael <fedora.dm0@gmail.com>
17849 Marco Gerards <marco@gnu.org>
17850 Marcus Brinkmann <marcus@gnu.org>
17851 Neal H. Walfield <neal@gnu.org>
17852 Pino Toscano <toscano.pino@tiscali.it>
17853 Richard Braun <rbraun@sceen.net>
17854 Roland McGrath <roland@gnu.org>
17855 Samuel Thibault <samuel.thibault@ens-lyon.org>
17856 Thomas DiModica <ricinwich@yahoo.com>
17857 Thomas Schwinge <tschwinge@gnu.org>
17859 * htl: New directory.
17860 * sysdeps/htl: New directory.
17861 * sysdeps/hurd/htl: New directory.
17862 * sysdeps/i386/htl: New directory.
17863 * sysdeps/mach/htl: New directory.
17864 * sysdeps/mach/hurd/htl: New directory.
17865 * sysdeps/mach/hurd/i386/htl: New directory.
17866 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17867 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17868 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17870 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17872 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17873 signals in thread created for runing timers.
17875 2018-04-01 Florian Weimer <fweimer@redhat.com>
17877 * support/support_format_addrinfo.c (support_format_addrinfo):
17878 Include unknown error number in formatted result.
17880 2018-03-29 Florian Weimer <fweimer@redhat.com>
17882 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17885 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17887 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17888 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17889 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17890 (__ASSUME_CLONE_BACKWARDS): Define.
17892 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17895 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17896 early when linux sentinel value is set.
17898 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17900 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17902 2018-03-27 Andreas Schwab <schwab@suse.de>
17905 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17906 allocation of private copy of nsaddr_list fails.
17908 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17911 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17912 * sysdeps/unix/sysv/linux/umount.c: ... here.
17913 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17914 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17915 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17916 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17918 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17921 2018-03-26 Andreas Schwab <schwab@suse.de>
17923 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17924 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17925 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17926 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17927 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17928 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17929 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17930 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17931 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17932 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17933 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17934 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17935 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17936 (R_RISCV_NUM): Define.
17938 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17940 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17941 TLS declaration of errno.
17942 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17944 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17945 (ARCH_SETUP_TLS): Likewise.
17946 * sysdeps/mach/hurd/libc-start.h: New file copied from
17947 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17948 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17949 instead of __libc_setup_tls.
17950 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17951 __libc_setup_tls before initializing libpthread and running _hurd_init
17952 which starts the signal thread.
17953 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17955 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17957 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17960 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17961 after it is defined.
17963 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17964 Max Horn <max@quendi.de>
17968 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17970 * string/test-memmove.c (do_test2): New testcase.
17972 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17974 * sysdeps/generic/frame.h: Remove file.
17975 * sysdeps/arm/frame.h: Likewise.
17976 * sysdeps/hppa/frame.h: Likewise.
17977 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17979 (GET_FRAME): Likewise.
17980 (GET_STACK): Likewise.
17981 (CALL_SIGHANDLER): Likewise.
17982 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17984 (GET_FRAME): Likewise.
17985 (GET_STACK): Likewise.
17986 (CALL_SIGHANDLER): Likewise.
17987 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17988 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17989 (GET_FRAME): Likewise.
17990 (GET_STACK): Likewise.
17991 (CALL_SIGHANDLER): Likewise.
17992 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17993 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17994 (GET_FRAME): Likewise.
17995 (GET_STACK): Likewise.
17996 (ADVANCE_STACK_FRAME): Likewise.
17997 (CALL_SIGHANDLER): Likewise.
17998 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17999 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18000 (GET_FRAME): Likewise.
18001 (GET_STACK): Likewise.
18002 (CALL_SIGHANDLER): Likewise.
18003 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18004 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18005 (GET_FRAME): Likewise.
18006 (GET_STACK): Likewise.
18007 (CALL_SIGHANDLER): Likewise.
18008 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18009 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18010 (GET_FRAME): Likewise.
18011 (GET_STACK): Likewise.
18012 (CALL_SIGHANDLER): Likewise.
18013 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18014 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18015 (GET_FRAME): Likewise.
18016 (GET_STACK): Likewise.
18017 (CALL_SIGHANDLER): Likewise.
18018 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18019 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18020 (GET_FRAME): Likewise.
18021 (GET_STACK): Likewise.
18022 (CALL_SIGHANDLER): Likewise.
18023 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18024 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18025 (GET_FRAME): Likewise.
18026 (GET_STACK): Likewise.
18027 (CALL_SIGHANDLER): Likewise.
18028 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18029 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18030 (GET_FRAME): Likewise.
18031 (GET_STACK): Likewise.
18032 (CALL_SIGHANDLER): Likewise.
18033 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18034 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18035 (GET_FRAME): Likewise.
18036 (GET_STACK): Likewise.
18037 (CALL_SIGHANDLER): Likewise.
18038 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18039 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18040 (GET_FRAME): Likewise.
18041 (GET_STACK): Likewise.
18042 (CALL_SIGHANDLER): Likewise.
18043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18044 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18045 (FIRST_FRAME_POINTER): Likewise.
18046 (ADVANCE_STACK_FRAME): Likewise.
18047 (GET_STACK): Likewise.
18048 (GET_FRAME): Likewise.
18049 (CALL_SIGHANDLER): Likewise.
18050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18051 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18052 (ADVANCE_STACK_FRAME): Likewise.
18053 (GET_STACK): Likewise.
18054 (GET_FRAME): Likewise.
18055 (CALL_SIGHANDLER): Likewise.
18056 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18057 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18058 (GET_FRAME): Likewise.
18059 (GET_STACK): Likewise.
18060 (CALL_SIGHANDLER): Likewise.
18061 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18062 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18063 (GET_FRAME): Likewise.
18064 (GET_STACK): Likewise.
18065 (CALL_SIGHANDLER): Likewise.
18067 2018-03-21 Joseph Myers <joseph@codesourcery.com>
18069 * sysdeps/x86_64/backtrace.c: Move to ....
18070 * debug/backtrace.c: ... here.
18071 * sysdeps/aarch64/backtrace.c: Remove file.
18072 * sysdeps/alpha/backtrace.c: Likewise.
18073 * sysdeps/hppa/backtrace.c: Likewise.
18074 * sysdeps/ia64/backtrace.c: Likewise.
18075 * sysdeps/mips/backtrace.c: Likewise.
18076 * sysdeps/nios2/backtrace.c: Likewise.
18077 * sysdeps/riscv/backtrace.c: Likewise.
18078 * sysdeps/sh/backtrace.c: Likewise.
18079 * sysdeps/tile/backtrace.c: Likewise.
18081 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18084 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
18087 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
18090 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
18091 possibly overflowing computations.
18093 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
18095 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
18096 values from Linux-specific section now that it is in the GNU section.
18097 * sysdeps/gnu/errlist.c: Regenerate.
18099 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18101 * math/Makefile (libm-narrow-fns): Add sub.
18102 (libm-test-funcs-narrow): Likewise.
18103 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
18104 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
18105 * math/gen-auto-libm-tests.c (test_functions): Add sub.
18106 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
18107 (NARROW_SUB_ROUND_TO_ODD): Likewise.
18108 (NARROW_SUB_TRIVIAL): Likewise.
18109 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
18111 (__dsubl): Likewise.
18112 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
18114 (CFLAGS-nldbl-dsub.c): New variable.
18115 (CFLAGS-nldbl-fsub.c): Likewise.
18116 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18118 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
18120 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
18121 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
18122 * math/auto-libm-test-in: Add tests of sub.
18123 * math/auto-libm-test-out-narrow-sub: New generated file.
18124 * math/libm-test-narrow-sub.inc: New file.
18125 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
18128 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
18129 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
18130 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
18139 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
18140 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
18141 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
18142 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
18143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18144 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18172 2018-03-19 Joseph Myers <joseph@codesourcery.com>
18175 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
18177 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
18179 * benchtests/bench-timing.h (attribute_hidden): Undefine.
18181 2018-03-18 Richard Braun <rbraun@sceen.net>
18183 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
18186 2018-03-18 Agustina Arzille <avarzille@riseup.net>
18188 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
18189 (__libc_cleanup_fct): Define function.
18190 (__libc_cleanup_region_start, __libc_cleanup_region_end,
18191 __libc_cleanup_end): Rewrite implementation using
18192 __attribute__ ((__cleanup__)).
18193 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
18194 * hurd/Makefile (routines): Add hurdlock.
18195 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
18197 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
18198 * hurd/hurdpid.c: Include <lowlevellock.h>
18199 (_S_msg_proc_newids): Use lll_wait to synchronize.
18200 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
18201 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
18202 * mach/Makefile (lock-headers): Remove machine-lock.h.
18203 * mach/lock-intern.h: Include <lowlevellock.h> instead of
18205 (__spin_lock_t): New type.
18206 (__SPIN_LOCK_INITIALIZER): New macro.
18207 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
18208 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
18209 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
18210 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
18211 (__mutex_init): Initialize with lll.
18212 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
18213 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
18215 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18216 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
18217 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
18218 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
18219 (__setpgid): Use lll for synchronization.
18220 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
18221 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
18222 instead of <cthreads.h>.
18223 (_IO_lock_inexpensive): New macro
18224 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
18225 (__libc_lock_self0): New declaration.
18226 (__libc_lock_owner_self): New macro.
18227 (__libc_key_t): Remove type.
18228 (_LIBC_LOCK_INITIALIZER): New macro.
18229 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
18230 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
18231 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
18232 __libc_lock_define_initialized_recursive,
18233 __rtld_lock_define_initialized_recursive,
18234 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
18235 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
18236 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
18237 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
18238 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
18239 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
18240 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
18242 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
18243 * hurd/hurdlock.c: New file.
18244 * hurd/hurdlock.h: New file.
18245 * mach/lowlevellock.h: New file
18247 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18249 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
18250 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
18251 when opening a symlink with O_NOFOLLOW.
18252 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
18253 path when flags contains O_NOFOLLOW.
18254 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
18255 if flags contains O_DIRECTORY and the result is a directory.
18256 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
18257 oneself when the pointer given in D is nul (as set by ext2fs).
18258 * sysdeps/mach/hurd/mlockall.c: New file.
18259 * sysdeps/mach/hurd/munlockall.c: New file.
18261 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18263 * hurd/hurdsig.c: Include <pthread.h>.
18264 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
18265 get the signal thread stack layout.
18266 * hurd/Makefile (headers): Remove threadvar.h.
18267 (inline-headers): Remove threadvar.h.
18268 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
18269 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
18270 __hurd_threadvar_max, __hurd_errno_location.
18271 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
18272 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
18273 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
18274 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
18275 unless TLS is not initialized yet, in which case we do not need a
18276 critical section yet anyway.
18277 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
18279 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
18281 (__hurd_threadvar_index): Remove enum.
18282 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
18283 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18285 (__hurd_reply_port0): New variable declaration.
18286 (__hurd_local_reply_port): New macro.
18287 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18288 (interrupted_reply_port_location): Add thread_t parameter. Use it
18289 with THREAD_TCB to access thread-local variables.
18290 (_hurdsig_abort_rpcs): Pass ss->thread to
18291 interrupted_reply_port_location.
18292 (_hurd_internal_post_signal): Likewise.
18293 (_hurdsig_init): Use presence of cthread_fork instead of
18294 __hurd_threadvar_stack_mask to start signal thread by hand.
18295 Remove signal thread threadvar initialization.
18296 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18297 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18298 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18300 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18302 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18303 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18304 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18305 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18306 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18307 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18308 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18310 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18311 <hurd/threadvar.h>.
18312 [IS_IN(rtld)] (rtld_errno): New variable.
18313 [IS_IN(rtld)] (__errno_location): New weak function.
18314 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18315 * sysdeps/mach/hurd/errno.c: Remove file.
18316 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18317 (__fork): Remove THREADVAR_SPACE macro and its use.
18318 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18320 (init): Do not initialize threadvar.
18321 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18323 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18324 __hurd_local_reply_port instead of threadvar.
18325 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18326 _hurd_sigstate fields.
18327 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18328 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18329 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18330 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18331 instead of threadvar.
18332 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18333 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18334 (use_threadvar, global_reply_port): Remove variables.
18335 (__hurd_reply_port0): New variable.
18336 (__mig_get_reply_port): Use __hurd_local_reply_port and
18337 __hurd_reply_port0 instead of threadvar.
18338 (__mig_dealloc_reply_port): Likewise.
18339 (__mig_init): Do not initialize threadvar.
18340 * sysdeps/mach/hurd/profil.c: Fix comment.
18341 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18342 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18343 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18344 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18345 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18346 __cthread_setspecific.
18347 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18348 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18349 __cthread_t instead of cthread_fork, cthread_detach,
18350 pthread_getattr_np, pthread_attr_getstack.
18351 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18352 __cthread_keycreate.
18353 (cthread_getspecific): Rename to __cthread_getspecific.
18354 (cthread_setspecific): Rename to __cthread_setspecific.
18355 (__libc_getspecific): Use __cthread_getspecific instead of
18356 cthread_getspecific.
18357 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18358 __cthread_keycreate instead of cthread_keycreate.
18359 (__libc_setspecific): Use __cthread_setspecific instead of
18360 cthread_setspecific.
18361 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18364 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18365 testing whether it is defined.
18367 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18369 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18371 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18372 * sysdeps/mach/i386/thread_state.h
18373 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18375 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18377 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18379 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18380 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18382 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18384 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18385 descriptor instead of creating a new one.
18386 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18388 * mach/setup-thread.c: Include <ldsodefs.h>.
18389 (__mach_setup_thread): Call _dl_allocate_tls, pass
18390 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18391 MACHINE_THREAD_STATE_FLAVOR, before getting
18392 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18393 MACHINE_THREAD_STATE_FLAVOR with the result.
18394 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18395 MACHINE_THREAD_STATE_FIX_NEW.
18396 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18397 too. Add original thread parameter.
18399 2018-03-16 Joseph Myers <joseph@codesourcery.com>
18401 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18402 Remove inline function.
18404 * sysdeps/i386/fpu/libm-test-ulps: Update.
18405 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18407 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18409 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18412 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18414 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18415 (__sincos_code): Remove define and undefine.
18416 [__FAST_MATH__] (__sincos): Remove inline function.
18417 [__FAST_MATH__] (__sincosf): Remove inline function.
18418 [__FAST_MATH__] (__sincosl): Remove inline function.
18419 (__atan2l): Remove inline functions.
18420 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18421 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18423 (floor): Remove inline function.
18425 [__FAST_MATH__] (__ldexp_code): Remove macro.
18426 [__FAST_MATH__] (ldexp): Remove inline function.
18427 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18428 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18429 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18430 [__USE_ISOC99] (__lrint_code): Remove macro.
18431 [__USE_ISOC99] (__llrint_code): Likewise.
18432 [__USE_ISOC99] (lrintf): Remove inline function.
18433 [__USE_ISOC99] (lrint): Likewise.
18434 [__USE_ISOC99] (lrintl): Likewise.
18435 [__USE_ISOC99] (llrint): Likewise.
18436 [__USE_ISOC99] (llrintf): Likewise.
18437 [__USE_ISOC99] (llrintl): Likewise.
18439 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18441 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18442 (__ieee754_sqrtf): Remove.
18443 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18444 (__ieee754_sqrtf): Remove.
18445 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18446 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18447 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18448 (__ieee754_sqrtf): Remove.
18449 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18450 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18453 (__ieee754_sqrt): Remove.
18454 (__ieee754_sqrtf): Remove.
18455 (__ieee754_sqrtl): Remove.
18456 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18457 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18458 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18459 (__ieee754_sqrtf): Remove.
18460 (__ieee754_sqrtl): Remove.
18462 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18464 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18465 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18466 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18467 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18468 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18469 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18470 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18471 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18473 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18474 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18475 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18476 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18477 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18478 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18479 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18480 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18481 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18482 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18483 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18484 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18486 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18487 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18488 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18489 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18490 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18491 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18492 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18495 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18497 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18498 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18501 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18502 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18503 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18504 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18505 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18506 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18507 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18509 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18510 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18511 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18512 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18514 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18516 * include/math.h (sqrt): Declare with asm redirect.
18519 (sqrtf128): Likewise.
18520 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18521 nonlib and libnldbl with -fmath-errno.
18522 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18523 * math/w_sqrt_template.c: Likewise.
18524 * math/w_sqrtf_compat.c: Likewise.
18525 * math/w_sqrtl_compat.c: Likewise.
18526 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18527 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18528 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18531 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18533 * benchtests/Makefile: Define _ISOMAC.
18534 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18535 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18536 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18537 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18538 * benchtests/bench-timing.h: Define attribute_hidden.
18540 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18542 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18545 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18548 * localedata/locales/cs_CZ (mon): Rename to...
18550 (mon): Import from CLDR (genitive case).
18552 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18555 * localedata/locales/el_CY (abmon): Rename to...
18556 (ab_alt_mon): This.
18557 (abmon): Import from CLDR (abbreviated genitive case).
18558 * localedata/locales/el_GR (abmon): Rename to...
18559 (ab_alt_mon): This.
18560 (abmon): Import from CLDR (abbreviated genitive case).
18562 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18565 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18567 2018-03-15 Robert Buj <robert.buj@gmail.com>
18570 * localedata/locales/ca_ES (abmon): Rename to...
18571 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18572 (mon): Rename to...
18574 (abmon): Import from CLDR (genitive case, month names preceded by
18577 (abday): Synchronize with CLDR.
18578 (d_t_fmt): Likewise.
18582 (LC_TIME): Improve indentation.
18583 (LC_TELEPHONE): Likewise.
18584 (LC_NAME): Likewise.
18585 (LC_ADDRESS): Likewise.
18587 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18589 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18590 (lrintf): Remove definitions used only with old GCC.
18591 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18592 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18593 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18594 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18595 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18596 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18597 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18598 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18599 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18600 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18601 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18602 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18603 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18604 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18605 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18606 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18607 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18608 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18609 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18610 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18611 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18612 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18613 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18614 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18615 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18616 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18617 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18618 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18620 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18622 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18623 instruction to unbreak builds with binutils 2.26 and older.
18625 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18627 * sysdeps/aarch64/strncmp.S (count): New macro.
18628 (strncmp): Store misaligned length in SRC1 in COUNT.
18629 (mutual_align): Adjust.
18630 (misaligned8): Load dword at a time when it is safe.
18632 2018-03-12 Zack Weinberg <zackw@panix.com>
18636 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18637 if the _IO_EOF_SEEN bit is already set; update commentary.
18638 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18639 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18641 * support/support_openpty.c, support/tty.h: New files.
18642 * support/Makefile (libsupport-routines): Add support_openpty.
18644 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18646 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18647 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18649 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18651 * po/pt_BR.po: Update translations.
18653 2018-03-12 David Michael <fedora.dm0@gmail.com>
18655 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18656 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18657 get a port to the startup server.
18659 2018-03-11 Zack Weinberg <zackw@panix.com>
18661 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18662 before nldbl-compat.h.
18664 2018-03-10 Zack Weinberg <zackw@panix.com>
18666 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18667 math.h or math_private.h.
18669 * sysdeps/alpha/fpu/s_isnan.c
18670 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18671 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18672 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18673 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18674 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18675 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18676 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18677 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18678 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18681 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18682 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18684 Include math_private.h.
18686 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18687 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18688 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18689 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18690 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18691 * sysdeps/powerpc/power7/fpu/s_logb.c:
18692 Include math.h and math_private.h.
18694 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18695 uses of $at in .set noat / .set at.
18697 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18699 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18700 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18701 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18702 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18705 2018-03-09 Florian Weimer <fweimer@redhat.com>
18707 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18710 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18713 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18714 Add nop before __startcontext, add explaining comments.
18716 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18719 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18721 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18722 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18723 Do not build hardware transactional code for __SPE__.
18724 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18725 (__lll_trylock_elision): Likewise.
18726 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18727 (__lll_unlock_elision): Likewise.
18729 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18730 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18731 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18732 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18733 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18734 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18735 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18736 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18737 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18738 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18739 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18740 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18741 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18742 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18743 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18744 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18745 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18746 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18747 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18748 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18749 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18750 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18751 (__ASSUME_CLONE_BACKWARDS): Define.
18752 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18753 __clone2 if __NR_clone2 is defined.
18754 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18755 (__ASSUME_CLONE_BACKWARDS): Likewise.
18756 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18757 (__ASSUME_CLONE_BACKWARDS): Likewise.
18758 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18759 (__ASSUME_CLONE2): Likewise.
18760 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18761 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18762 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18763 variants and the define architecture can use.
18764 (__ASSUME_CLONE_DEFAULT): Define as default.
18765 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18766 (__ASSUME_CLONE_BACKWARDS): Likewise.
18767 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18768 (__ASSUME_CLONE_BACKWARDS): Likewise.
18769 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18770 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18772 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18774 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18776 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18779 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18780 (do_test_limit): Likewise.
18782 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18783 for every implementation.
18784 (do_test): Likewise.
18786 * benchtests/bench-strncmp.c: Convert output to json.
18788 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18790 * io/futimens.c: Add missing start-of-file descriptive comment.
18791 * io/utime.c: Likewise.
18792 * misc/futimesat.c: Likewise.
18793 * misc/utimes.c: Likewise.
18794 * sysdeps/mach/hurd/futimesat.c: Likewise.
18795 * sysdeps/mach/hurd/utimes.c: Likewise.
18796 * sysdeps/posix/utime.c: Likewise.
18797 * sysdeps/posix/utimes.c: Likewise.
18798 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18799 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18800 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18801 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18803 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18805 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18807 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18808 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18809 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18810 (__futimens): Move implementation to...
18811 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18812 utime_tvalue_from_tspec): ... new helper functions.
18813 (hurd_futimens): New function.
18814 * sysdeps/mach/hurd/futimesat.c: New file.
18815 * sysdeps/mach/hurd/utimensat.c: New file.
18817 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18819 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18820 UTIME_OMIT): New macros.
18821 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18822 before reverting to converting time spec to time value and calling
18824 * sysdeps/mach/hurd/utime-helper.c: New file.
18825 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18826 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18827 reverting to utime_tvalue_from_tval and __file_utimes.
18828 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18829 (__lutimes): Just call hurd_futimens after lookup.
18830 * sysdeps/mach/hurd/utimes.c: Likewise.
18832 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18834 * bits/sigaction.h: Add include guard.
18835 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18836 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18837 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18838 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18839 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18840 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18841 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18842 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18843 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18845 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18847 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18848 -Wmaybe-uninitialized for -Os.
18849 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18852 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18854 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18855 __INO_T_MATCHES_INO64_T is defined.
18856 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18857 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18859 * dirent/alphasort64.c: Likewise.
18860 * dirent/scandir.c: Likewise.
18861 * dirent/scandir64-tail.c: Likewise.
18862 * dirent/scandir64.c: Likewise.
18863 * dirent/scandirat.c: Likewise.
18864 * dirent/scandirat64.c: Likewise.
18865 * dirent/versionsort.c: Likewise.
18866 * dirent/versionsort64.c: Likewise.
18867 * include/dirent.h: Likewise.
18869 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18870 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18871 for socketpair endpoint.
18872 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18873 WRITE_BUFFER_SIZE as buffer size for sending socket.
18874 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18875 issue on system where send is implemented with sendto syscall.
18876 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18877 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18878 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18879 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18882 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18883 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18884 sa_restorer for vDSO case.
18885 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18887 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18889 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18890 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18891 * hurd/hurd/ioctl.h: Include <mach/port.h>
18892 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18893 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18894 <mach/mach_types.h> and <mach/message.h>.
18895 (headers): Move mach/param.h to bits/mach/param.h.
18896 * sysdeps/mach/i386/mach/param.h: Move file to ...
18897 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18898 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18900 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18901 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18902 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18903 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18904 trivial, for C++ conformity.
18905 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18906 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18907 Process mig output through $(migheadersed).
18908 * hurd/Makefile (migheadersed): Define variable.
18909 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18910 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18912 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18913 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18914 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18915 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18916 <bits/types/sigset_t.h>.
18917 [!defined __USE_GNU]: Do not #error out.
18918 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18919 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18920 Include <stddef.h> and <bits/types/sigset_t.h>
18921 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18922 instead of sighandler_t.
18923 * stdlib/errno.h (error_t): Move definition to...
18924 * bits/types/error_t.h: ... new header.
18925 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18926 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18927 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18928 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18929 * hurd/hurd.h: Include <bits/types/error_t.h>
18930 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18931 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18932 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18933 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18934 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18935 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18936 * sysdeps/mach/hurd/futimens.c: New file.
18938 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18941 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18942 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18943 * nscd/gai.c (__nss_hosts_database): Readd definition.
18944 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18945 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18946 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18948 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18950 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18951 (ifunc_one): Likewise.
18953 2018-03-01 DJ Delorie <dj@delorie.com>
18956 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18959 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18961 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18962 `match_pid' parameter.
18963 (td_ta_thr_iter): Update accordingly.
18965 2018-03-01 Florian Weimer <fweimer@redhat.com>
18967 * nptl/Makefile (install-lib-ldscripts): Remove.
18968 (install): Remove rule.
18969 ($(inst_libdir)/libpthread.so): Likewise.
18971 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18974 * localedata/locales/an_ES: update month and day names,
18975 improve d_fmt, improve postal_fmt, add country_post,
18978 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18980 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18981 Ukrainian instead of Bulgarian.
18983 2018-03-01 Florian Weimer <fweimer@redhat.com>
18985 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18988 2018-03-01 Florian Weimer <fweimer@redhat.com>
18990 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18991 * nptl/Makefile (routines): Add pthread_atfork.
18992 (static-only-routines): Set to pthread_atfork.
18993 (libpthread-routines): Remove pthread_atfork.
18994 (libpthread-static-only-routines): Remove.
18995 (install): Update comment.
18996 (libpthread.so): Do not install libpthread_nonshared.a.
18997 (tests): Do not link with libpthread_nonshared.a.
18998 (generated): Remove libpthread_nonshared.a.
18999 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19000 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19001 with libpthread_nonshared.a.
19003 2018-02-28 Joseph Myers <joseph@codesourcery.com>
19006 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19007 (libc_feholdexcept_setroundf128): New macro.
19008 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19011 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19013 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19014 * include/inttypes.h: New file.
19016 2018-02-27 Joseph Myers <joseph@codesourcery.com>
19018 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19019 -Os in two more places.
19021 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19023 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19024 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19025 be sorted correctly at the moment because of a bug.
19027 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19029 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19030 treat ñ as a primary different character, sync the collation
19031 for Spanish with CLDR.
19032 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19033 * localedata/Makefile: Add new test files.
19034 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19035 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19037 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19038 * localedata/am_ET.UTF-8.in: New test file.
19039 * localedata/az_AZ.UTF-8.in: Likewise.
19040 * localedata/be_BY.UTF-8.in: Likewise.
19041 * localedata/ber_DZ.UTF-8.in: Likewise.
19042 * localedata/ber_MA.UTF-8.in: Likewise.
19043 * localedata/bg_BG.UTF-8.in: Likewise.
19044 * localedata/br_FR.UTF-8.in: Likewise.
19045 * localedata/cmn_TW.UTF-8.in: Likewise.
19046 * localedata/crh_UA.UTF-8.in: Likewise.
19047 * localedata/csb_PL.UTF-8.in: Likewise.
19048 * localedata/cv_RU.UTF-8.in: Likewise.
19049 * localedata/cy_GB.UTF-8.in: Likewise.
19050 * localedata/dz_BT.UTF-8.in: Likewise.
19051 * localedata/eo.UTF-8.in: Likewise.
19052 * localedata/es_ES.UTF-8.in: Likewise.
19053 * localedata/fa_IR.UTF-8.in: Likewise.
19054 * localedata/fi_FI.UTF-8.in: Likewise.
19055 * localedata/fil_PH.UTF-8.in: Likewise.
19056 * localedata/fur_IT.UTF-8.in: Likewise.
19057 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19058 * localedata/ha_NG.UTF-8.in: Likewise.
19059 * localedata/ig_NG.UTF-8.in: Likewise.
19060 * localedata/ik_CA.UTF-8.in: Likewise.
19061 * localedata/kk_KZ.UTF-8.in: Likewise.
19062 * localedata/ku_TR.UTF-8.in: Likewise.
19063 * localedata/ky_KG.UTF-8.in: Likewise.
19064 * localedata/ln_CD.UTF-8.in: Likewise.
19065 * localedata/mi_NZ.UTF-8.in: Likewise.
19066 * localedata/ml_IN.UTF-8.in: Likewise.
19067 * localedata/mn_MN.UTF-8.in: Likewise.
19068 * localedata/mr_IN.UTF-8.in: Likewise.
19069 * localedata/mt_MT.UTF-8.in: Likewise.
19070 * localedata/nb_NO.UTF-8.in: Likewise.
19071 * localedata/om_KE.UTF-8.in: Likewise.
19072 * localedata/os_RU.UTF-8.in: Likewise.
19073 * localedata/ps_AF.UTF-8.in: Likewise.
19074 * localedata/ro_RO.UTF-8.in: Likewise.
19075 * localedata/ru_RU.UTF-8.in: Likewise.
19076 * localedata/sc_IT.UTF-8.in: Likewise.
19077 * localedata/se_NO.UTF-8.in: Likewise.
19078 * localedata/sq_AL.UTF-8.in: Likewise.
19079 * localedata/sv_SE.UTF-8.in: Likewise.
19080 * localedata/szl_PL.UTF-8.in: Likewise.
19081 * localedata/tg_TJ.UTF-8.in: Likewise.
19082 * localedata/tk_TM.UTF-8.in: Likewise.
19083 * localedata/tt_RU.UTF-8.in: Likewise.
19084 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
19085 * localedata/ug_CN.UTF-8.in: Likewise.
19086 * localedata/uz_UZ.UTF-8.in: Likewise.
19087 * localedata/vi_VN.UTF-8.in: Likewise.
19088 * localedata/yi_US.UTF-8.in: Likewise.
19089 * localedata/yo_NG.UTF-8.in: Likewise.
19090 * localedata/zh_CN.UTF-8.in: Likewise.
19091 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
19092 file and fix bugs in the collation.
19093 * localedata/locales/az_AZ: Likewise.
19094 * localedata/locales/be_BY: Likewise.
19095 * localedata/locales/ber_DZ: Likewise.
19096 * localedata/locales/ber_MA: Likewise.
19097 * localedata/locales/bg_BG: Likewise.
19098 * localedata/locales/br_FR: Likewise.
19099 * localedata/locales/br_FR@euro: Likewise.
19100 * localedata/locales/ca_ES: Likewise.
19101 * localedata/locales/cns11643_stroke: Likewise.
19102 * localedata/locales/crh_UA: Likewise.
19103 * localedata/locales/cs_CZ: Likewise.
19104 * localedata/locales/csb_PL: Likewise.
19105 * localedata/locales/cv_RU: Likewise.
19106 * localedata/locales/cy_GB: Likewise.
19107 * localedata/locales/da_DK: Likewise.
19108 * localedata/locales/dz_BT: Likewise.
19109 * localedata/locales/en_CA: Likewise.
19110 * localedata/locales/eo: Likewise.
19111 * localedata/locales/es_CU: Likewise.
19112 * localedata/locales/es_EC: Likewise.
19113 * localedata/locales/es_ES: Likewise.
19114 * localedata/locales/es_US: Likewise.
19115 * localedata/locales/et_EE: Likewise.
19116 * localedata/locales/fa_IR: Likewise.
19117 * localedata/locales/fi_FI: Likewise.
19118 * localedata/locales/fil_PH: Likewise.
19119 * localedata/locales/fur_IT: Likewise.
19120 * localedata/locales/gez_ER@abegede: Likewise.
19121 * localedata/locales/ha_NG: Likewise.
19122 * localedata/locales/hr_HR: Likewise.
19123 * localedata/locales/hsb_DE: Likewise.
19124 * localedata/locales/hu_HU: Likewise.
19125 * localedata/locales/ig_NG: Likewise.
19126 * localedata/locales/ik_CA: Likewise.
19127 * localedata/locales/is_IS: Likewise.
19128 * localedata/locales/iso14651_t1_pinyin: Likewise.
19129 * localedata/locales/kk_KZ: Likewise.
19130 * localedata/locales/ku_TR: Likewise.
19131 * localedata/locales/ky_KG: Likewise.
19132 * localedata/locales/ln_CD: Likewise.
19133 * localedata/locales/lt_LT: Likewise.
19134 * localedata/locales/lv_LV: Likewise.
19135 * localedata/locales/mi_NZ: Likewise.
19136 * localedata/locales/ml_IN: Likewise.
19137 * localedata/locales/mn_MN: Likewise.
19138 * localedata/locales/mr_IN: Likewise.
19139 * localedata/locales/mt_MT: Likewise.
19140 * localedata/locales/nb_NO: Likewise.
19141 * localedata/locales/om_KE: Likewise.
19142 * localedata/locales/os_RU: Likewise.
19143 * localedata/locales/pl_PL: Likewise.
19144 * localedata/locales/ps_AF: Likewise.
19145 * localedata/locales/ro_RO: Likewise.
19146 * localedata/locales/ru_RU: Likewise.
19147 * localedata/locales/ru_UA: Likewise.
19148 * localedata/locales/sc_IT: Likewise.
19149 * localedata/locales/se_NO: Likewise.
19150 * localedata/locales/si_LK: Likewise.
19151 * localedata/locales/sq_AL: Likewise.
19152 * localedata/locales/sv_FI: Likewise.
19153 * localedata/locales/sv_FI@euro: Likewise.
19154 * localedata/locales/sv_SE: Likewise.
19155 * localedata/locales/szl_PL: Likewise.
19156 * localedata/locales/tg_TJ: Likewise.
19157 * localedata/locales/ti_ER: Likewise.
19158 * localedata/locales/tk_TM: Likewise.
19159 * localedata/locales/tl_PH: Likewise.
19160 * localedata/locales/tr_TR: Likewise.
19161 * localedata/locales/tt_RU: Likewise.
19162 * localedata/locales/tt_RU@iqtelif: Likewise.
19163 * localedata/locales/ug_CN: Likewise.
19164 * localedata/locales/uk_UA: Likewise.
19165 * localedata/locales/uz_UZ: Likewise.
19166 * localedata/locales/uz_UZ@cyrillic: Likewise.
19167 * localedata/locales/vi_VN: Likewise.
19168 * localedata/locales/yi_US: Likewise.
19169 * localedata/locales/yo_NG: Likewise.
19171 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19173 * gen-locales.mk: Make test files which contain @ modifiers in their
19175 * localedata/gen-locale.sh: Likewise.
19177 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19179 * posix/tst-fnmatch.input: Fix results for range expressions
19181 * posix/tst-regexloc.c: Do not use a range expression for
19182 de_DE.ISO-8859-1 locale.
19184 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19186 * posix/bug-regex5.c: Fix test case because with the new
19187 iso14651_t1_common file, the da_DK locale now has 6 collating elements
19188 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
19191 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19193 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
19194 downloaded from ISO, the collation order of @-. and space has changed.
19195 Therefore, this test file needed to be adapted.
19196 * localedata/fr_CA.UTF-8.in: Likewise.
19197 * localedata/fr_FR.UTF-8.in: Likewise.
19198 * localedata/uk_UA.UTF-8.in: Likewise.
19200 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19202 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
19203 order of ȥ in the new iso14651_t1_common file.
19204 * localedata/pl_PL.UTF-8.in: Likewise.
19206 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19208 * localedata/locales/iso14651_t1_common: Add sections for various
19209 scripts to the iso14651_t1_common file.
19211 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19213 * localedata/locales/iso14651_t1_common: Use the code point of a
19214 character in the fourth collation level instead of IGNORE for all
19215 entries which have IGNORE on all 4 levels.
19217 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19219 * localedata/locales/iso14651_t1_common: Add some convenient collation
19220 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
19221 rules similar to those in CLDR.
19223 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19225 * localedata/locales/iso14651_t1_common: The new version of this
19226 file downloaded from ISO contained several syntax errors which
19227 are fixed by this patch.
19229 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19231 * localedata/locales/iso14651_t1_common: replace all <U.....>
19232 with <U000.....> because glibc understands only 4 digit or 8 digit
19234 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19236 * localedata/locales/iso14651_t1_common: Necessary changes
19237 to make the file downloaded from ISO usable by glibc.
19239 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19242 * localedata/locales/iso14651_t1_common: Update file to
19243 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
19245 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19247 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
19248 of <nptl/pthreadP.h>
19249 (thread_attr_compare): Move function to...
19250 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
19251 * sysdeps/nptl/timer_routines.h: ... new header.
19252 * sysdeps/mach/hurd/gai_misc.h: New file.
19254 2018-02-26 Joseph Myers <joseph@codesourcery.com>
19256 * string/strcoll_l.c: Include <libc-diag.h>.
19257 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
19258 declarations of seq1 and seq2.
19261 * stdlib/atoi.c (atoi): Use libc_hidden_def.
19262 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
19264 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
19268 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
19269 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
19270 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
19271 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
19272 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
19273 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
19275 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
19278 macros used in __ptrace_request.
19280 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
19283 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19285 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19286 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19287 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19290 2018-02-23 Joseph Myers <joseph@codesourcery.com>
19293 * ctype/ctype.c (tolower): Use libc_hidden_def.
19294 (toupper): Likewise.
19295 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19296 [!_ISOMAC] (toupper): Likewise.
19298 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19300 * localedata/Makefile: Remove --quiet argument when
19303 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19306 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19308 * localedata/locales/pt_PT (LC_TIME): likewise
19310 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19313 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19314 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19315 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19317 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19321 * nptl/Makefile (routines): Remove unregister-atfork.
19322 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19323 (fork_handler_alloc): Remove function.
19324 (fork_handlers, fork_handler_init): New variables.
19325 (__fork_lock): Rename to atfork_lock.
19326 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19327 to use a dynamic array to add/remove atfork handlers.
19328 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19329 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19330 Remove declaration.
19331 (fork_handler): Remove next, refcntr, and need_signal member.
19332 (__run_fork_handler_type): New enum.
19333 (__run_fork_handlers): New prototype.
19334 * nptl/register-atfork.c: Remove file.
19335 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19337 * sysdeps/nptl/nptl-signals.h: Move to ...
19338 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19340 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19341 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19342 unnecessary check for SIGTIMER.
19343 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19344 remove unnecessary removal of SIGTIMER.
19345 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19346 include-signals.h rename.
19347 * nptl/pthreadP.h: Likewise.
19348 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19349 __is_internal_signal instead of __nptl_is_internal_signal.
19351 2018-02-22 Andrew Waterman <andrew@sifive.com>
19354 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19355 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19356 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19357 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19359 2018-02-22 DJ Delorie <dj@delorie.com>
19361 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19363 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19365 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19366 do_misaligned, not misaligned8.
19368 2018-02-22 Steve Ellcey <sellcey@cavium.com>
19370 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19371 Add memcpy_thunderx2.
19372 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19374 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19375 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19376 and IS_THUNDERX2PA checks.
19377 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19378 Use macro to set name appropriately.
19379 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19380 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19381 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19383 (IS_THUNDERX2): New macro.
19385 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19387 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19389 2018-02-21 Zack Weinberg <zackw@panix.com>
19391 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19392 Define here, unconditionally.
19393 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19394 * libio/libioP.h: Remove #if 0 blocks.
19395 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19396 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19397 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19399 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19400 Assume weak_alias is always defined.
19402 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19403 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19404 Remove #if 0 and #ifdef TODO blocks.
19405 Assume text_set_element is always defined.
19407 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19408 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19409 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19411 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19412 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19413 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19414 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19415 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19416 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19417 Reformat bit flags for _flags field to make occupancy clearer.
19419 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19420 Keep definitions consistent with those in libio/libio.h.
19422 * libio/libio.h (_IO_file_flags): Remove macro.
19423 All uses changed to _flags.
19425 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19426 (__HAVE_COLUMN, _IO_BE): Don't define.
19427 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19428 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19429 * libio/libioP.h (EOF): Don't define.
19430 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19431 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19432 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19433 testing _IO_UNIFIED_JUMPTABLES.
19435 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19436 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19437 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19438 (_IO_size_t): Delete; all uses changed to size_t.
19439 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19440 (_IO_off_t): Delete; all uses changed to off_t.
19441 (_IO_off64_t): Delete; all uses changed to off64_t.
19442 (_IO_pid_t): Delete; all uses changed to pid_t.
19443 (_IO_uid_t): Delete; all uses changed to uid_t.
19444 (_IO_wint_t): Delete; all uses changed to wint_t.
19445 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19446 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19447 (_IO_cookie_io_functions_t): Delete; all uses changed to
19448 cookie_io_functions_t.
19449 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19450 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19451 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19452 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19454 * libio/iofopncook.c: Remove unnecessary forward declarations.
19455 * libio/iolibio.h: Correct outdated commentary.
19456 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19457 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19458 Remove unnecessary casts.
19459 * stdio-common/getline.c: Use _IO_getdelim directly.
19460 Don't redefine ssize_t.
19461 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19462 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19463 Remove outdated comments.
19464 * stdio-common/vfscanf.c: Don't redefine va_list.
19466 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19467 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19468 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19469 which are always true, and __cplusplus, which is always false.
19471 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19475 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19476 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19477 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19478 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19480 [!_ISOMAC] (putc_unlocked): Likewise.
19481 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19482 define inline if [__USE_EXTERN_INLINES].
19483 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19488 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19489 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19490 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19491 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19492 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19494 * time/tzfile.c (__tzfile_read): Likewise.
19496 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19499 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19501 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19503 * io/fcntl.h: Fix a typo in a comment.
19505 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19508 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19509 define _DEFAULT_SOURCE.
19510 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19512 2018-02-21 Florian Weimer <fweimer@redhat.com>
19515 * elf/cache.c (save_cache): Call fsync on temporary file before
19517 (save_aux_cache): Call fdatasync on temporary file before renaming
19520 2018-02-21 Florian Weimer <fweimer@redhat.com>
19523 * include/caller.h: Remove file.
19524 * elf/dl-caller.c: Likewise.
19525 * elf/Makefile (dl-routines): Remove dl-caller.
19526 (shared-only-routines): Do not add dl-caller.
19527 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19529 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19531 (dl_open_worker): Do not call __check_caller.
19532 (_dl_open): Do not set caller_dl_open member.
19533 * elf/rtld.c (_rtld_global_ro): Do not initialize
19534 _dl_check_caller member.
19535 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19536 _dl_check_caller member.
19537 (_dl_check_caller): Remove declaration.
19538 * sysdeps/unix/sysv/linux/dl-execstack.c
19539 (_dl_make_stack_executable): Do not call __check_caller.
19541 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19543 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19544 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19546 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19548 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19551 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19554 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19555 of 199606L, 200112L, and 200809L.
19556 (_XOPEN_SOURCE): Document special values of 600 and 700.
19557 (_ISOC11_SOURCE): Document macro.
19558 (_ATFILE_SOURCE): Likewise.
19559 (_FORTIFY_SOURCE): Likewise.
19561 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19565 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19566 and define as weak alias of __ferror_unlocked. Use
19568 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19570 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19571 function if [__USE_EXTERN_INLINES].
19572 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19575 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19578 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19580 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19583 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19584 the GLIBC_2.1 version.
19586 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19589 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19590 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19591 intl/tst-gettext-de.po from po/de.po by removing the
19592 POT-Creation-Date line.
19593 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19595 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19598 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19600 * mach/Makefile (headers): Add mach/param.h.
19601 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19602 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19603 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19604 (__ptsname_r): Move implementation to...
19605 (__ptsname_internal): ... new function. Add filling the STP
19608 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19610 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19613 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19615 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19618 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19620 * nptl/Makefile (tst-mutex8-ENV): Delete.
19621 * nptl/tst-mutex8.c (check_type):
19622 Add runtime check if mutex will be elided.
19624 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19628 * manual/install.texi (Configuring and compiling): Describe
19629 passing CC and CFLAGS on configure command line, not as
19630 environment variables. Use @code markup on those variables.
19631 Specify what options go in CC and what go in CFLAGS. Note the
19632 requirement to compile with optimization.
19633 * INSTALL: Regenerated.
19636 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19637 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19638 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19639 __sigprocmask instead of sigprocmask.
19640 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19642 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19643 __sigsetjmp and sigprocmask.
19646 * include/argz.h (argz_next): Use libc_hidden_proto.
19647 (__argz_next): Likewise.
19648 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19649 (argz_next): Use libc_hidden_weak.
19652 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19654 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19658 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19660 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19664 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19665 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19666 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19667 (__feof_unlocked): New declaration, and inline function if
19668 [__USE_EXTERN_INLINES].
19669 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19670 instead of feof_unlocked.
19671 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19672 * nss/nsswitch.c (nss_parse_file): Likewise.
19673 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19675 * time/getdate.c (__getdate_r): Likewise.
19676 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19677 Define as macro to call __feof_unlocked.
19679 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19681 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19683 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19685 * math/Makefile: Remove mpexp.c and mplog.c
19686 * sysdeps/i386/fpu/mpexp.c: Delete file.
19687 * sysdeps/i386/fpu/mplog.c: Likewise.
19688 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19689 * sysdeps/ia64/fpu/mplog.c: Likewise.
19690 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19691 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19692 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19693 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19694 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19695 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19696 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19697 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19698 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19699 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19700 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19701 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19702 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19703 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19704 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19705 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19707 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19709 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19711 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19713 * sysdeps/sh/libm-test-ulps: Update.
19715 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19717 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19720 2018-02-12 Zack Weinberg <zackw@panix.com>
19723 * posix/sys/types.h: Don't include sys/sysmacros.h.
19724 * misc/sys/sysmacros.h: Remove the conditional deprecation
19725 warnings for the macros defined by this header.
19727 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19729 * manual/probes.texi: Remove slowexp probes.
19730 * math/Makefile: Remove slowexp.
19731 * sysdeps/generic/math_private.h (__slowexp): Remove.
19732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19733 document error bounds.
19734 * sysdeps/i386/fpu/slowexp.c: Remove.
19735 * sysdeps/ia64/fpu/slowexp.c: Remove.
19736 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19737 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19738 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19739 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19740 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19741 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19742 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19743 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19744 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19745 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19746 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19748 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19751 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19752 * benchtests/pow-inputs: Update comment for slow path cases.
19753 * manual/probes.texi (slowpow_p10): Delete removed probe.
19754 (slowpow_p10): Likewise.
19755 * math/Makefile: Remove halfulp.c and slowpow.c.
19756 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19757 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19758 (__halfulp): Remove.
19759 (__slowpow): Remove.
19760 * sysdeps/i386/fpu/halfulp.c: Delete file.
19761 * sysdeps/i386/fpu/slowpow.c: Likewise.
19762 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19763 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19765 improve comments and add error analysis.
19766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19767 (power1): Remove function:
19768 (log1): Remove error argument, add error analysis.
19769 (my_log2): Remove function.
19770 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19771 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19772 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19773 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19774 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19775 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19776 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19777 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19778 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19779 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19780 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19781 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19782 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19785 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19787 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19788 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19790 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19793 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19794 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19795 and PTRACE_SETHBPREGS.
19797 2018-02-10 Zack Weinberg <zackw@panix.com>
19800 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19802 * malloc/tst-malloc-stats-cancellation.c: New test case.
19803 * malloc/Makefile: Add new test case.
19805 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19807 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19809 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19811 * math/Makefile (libm-narrow-fns): Add add.
19812 (libm-test-funcs-narrow): Likewise.
19813 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19814 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19815 * math/gen-auto-libm-tests.c (test_functions): Add add.
19816 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19817 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19818 (NARROW_ADD_TRIVIAL): Likewise.
19819 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19821 (__daddl): Likewise.
19822 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19824 (CFLAGS-nldbl-dadd.c): New variable.
19825 (CFLAGS-nldbl-fadd.c): Likewise.
19826 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19830 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19831 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19832 * math/auto-libm-test-in: Add tests of add.
19833 * math/auto-libm-test-out-narrow-add: New generated file.
19834 * math/libm-test-narrow-add.inc: New file.
19835 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19836 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19837 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19838 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19839 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19840 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19841 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19842 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19843 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19844 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19845 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19846 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19847 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19848 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19849 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19850 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19851 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19852 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19854 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19855 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19856 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19857 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19858 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19859 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19860 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19861 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19862 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19863 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19864 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19865 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19866 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19878 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19879 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19880 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19882 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19883 (f128-pairs): New variable.
19884 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19885 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19887 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19888 Also make tests add $(f128-loader-link) to gnulib-tests.
19890 2018-02-09 DJ Delorie <dj@redhat.com>
19893 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19894 64-bit ELF type for 64-bit ELF objects.
19896 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19898 * math/libm-test-driver.c (snan_tests_arg): New variable.
19899 * math/libm-test-support.h (snan_tests_arg): New declaration.
19900 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19902 * math/Makefile (test-type-pairs): New variable.
19903 (test-type-pairs-f64xf128-yes): Likewise.
19904 (tests): Add test-narrow-macros.
19905 (libm-test-funcs-narrow): New variable.
19906 (libm-test-c-narrow): Likewise.
19907 (generated): Add $(libm-test-c-narrow).
19908 (libm-tests-base-narrow): New variable.
19909 (libm-tests-narrow): Likewise.
19910 (libm-tests): Add $(libm-tests-narrow).
19911 (libm-tests-for-type): Handle $(libm-tests-narrow).
19912 (libm-test-c-narrow-obj): New variable.
19913 ($(libm-test-c-narrow-obj)): New rule.
19914 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19915 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19916 $(o-iterator) to set dependencies and CFLAGS.
19917 * math/gen-auto-libm-tests.c: Document use for narrowing
19919 (output_for_one_input_case): Take argument NARROW.
19920 (generate_output): Likewise. Update call to
19921 output_for_one_input_case.
19922 (main): Take --narrow option. Update call to generate_output.
19923 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19924 (apply_lit): Update call to _apply_lit.
19925 (apply_arglit): New function.
19926 (parse_args): Handle "a" arguments.
19927 (parse_auto_input): Handle format names using ":".
19928 * math/README.libm-test: Document "a" parameter type.
19929 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19930 (ARG_TYPE_TRUE_MIN): Likewise.
19931 (ARG_TYPE_MAX): Likwise.
19932 (ARG_MIN_EXP): Likewise.
19933 (ARG_MAX_EXP): Likewise.
19934 (ARG_MANT_DIG): Likewise.
19935 (TEST_COND_arg_ibm128): Likewise.
19936 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19937 (TEST_COND_arg_fmt): New macro.
19938 (init_max_error): Update prototype.
19939 * math/libm-test-support.c (test_ibm128): New variable.
19940 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19941 instead of using [TEST_COND_ibm128] conditional.
19942 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19943 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19944 [TEST_NARROW] (TEST_MSG): New definition.
19945 (arg_plus_zero): New macro.
19946 (arg_minus_zero): Likewise.
19947 (arg_plus_infty): Likewise.
19948 (arg_minus_infty): Likewise.
19949 (arg_qnan_value_pl): Likewise.
19950 (arg_qnan_value): Likewise.
19951 (arg_snan_value_pl): Likewise.
19952 (arg_snan_value): Likewise.
19953 (arg_max_value): Likewise.
19954 (arg_min_value): Likewise.
19955 (arg_min_subnorm_value): Likewise.
19956 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19957 (RUN_TEST_LOOP_aa_f): New macro.
19958 (TEST_SUFF): New macro.
19959 (TEST_SUFF_STR): Likewise.
19960 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19961 (TEST_COND_any_ibm128): New macro.
19962 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19963 this_func. Update call to init_max_error.
19964 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19965 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19966 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19967 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19968 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19969 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19970 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19971 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19972 * math/test-math-vector.h (TEST_NARROW): Likewise.
19973 * math/test-arg-double.h: New file.
19974 * math/test-arg-float128.h: Likewise.
19975 * math/test-arg-float32x.h: Likewise.
19976 * math/test-arg-float64.h: Likewise.
19977 * math/test-arg-float64x.h: Likewise.
19978 * math/test-arg-ldouble.h: Likewise.
19979 * math/test-math-narrow.h: Likewise.
19980 * math/test-narrow-macros.c: Likewise.
19981 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19982 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19983 test-narrow-macros-ldbl-64.
19984 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19986 * math/bits/mathcalls-narrow.h: New file.
19987 * include/bits/mathcalls-narrow.h: Likewise.
19988 * math/math-narrow.h: Likewise.
19989 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19990 (__MATHCALL_NARROW_ARGS_2): Likewise.
19991 (__MATHCALL_NARROW_ARGS_3): Likewise.
19992 (__MATHCALL_NARROW_NORMAL): Likewise.
19993 (__MATHCALL_NARROW_REDIR): Likewise.
19994 (__MATHCALL_NARROW): Likewise.
19995 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19996 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19998 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19999 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20000 (libm-narrow-fns): New variable.
20001 (libm-narrow-types-basic): Likewise.
20002 (libm-narrow-types-ldouble-yes): Likewise.
20003 (libm-narrow-types-float128-yes): Likewise.
20004 (libm-narrow-types-float128-alias-yes): Likewise.
20005 (libm-narrow-types): Likewise.
20006 (libm-routines): Add narrowing functions.
20007 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20008 (libc_feholdexcept_setroundf128): New macro.
20009 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20010 * sysdeps/ieee754/float128/float128_private.h: Include
20011 <math/math-narrow.h>.
20012 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20013 Undefine and redefine.
20014 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20015 (libm_alias_float_ldouble): Undefine and redefine.
20016 (libm_alias_double_ldouble): Likewise.
20018 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20020 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20022 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20025 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
20027 * manual/creature.texi: Convert references to gcc.info to gcc.
20028 * manual/stdio.texi: Likewise.
20029 * manual/string.texi: Likewise.
20031 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20034 * posix/bits/types.h (__int_least8_t): New typedef.
20035 (__uint_least8_t): Likewise.
20036 (__int_least16_t): Likewise.
20037 (__uint_least16_t): Likewise.
20038 (__int_least32_t): Likewise.
20039 (__uint_least32_t): Likewise.
20040 (__int_least64_t): Likewise.
20041 (__uint_least64_t): Likewise.
20042 * sysdeps/generic/stdint.h (int_least8_t): Define using
20044 (int_least16_t): Define using __int_least16_t.
20045 (int_least32_t): Define using __int_least32_t.
20046 (int_least64_t): Define using __int_least64_t.
20047 (uint_least8_t): Define using __uint_least8_t.
20048 (uint_least16_t): Define using __uint_least16_t.
20049 (uint_least32_t): Define using __uint_least32_t.
20050 (uint_least64_t): Define using __uint_least64_t.
20051 * wcsmbs/uchar.h: Include <bits/types.h>.
20052 (char16_t): Define using __uint_least16_t conditional only on
20054 (char32_t): Define using __uint_least32_t conditional only on
20056 * wcsmbs/test-char-types.c: New file.
20057 * wcsmbs/Makefile (tests): Add test-char-types.
20059 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20062 2018-02-07 Zack Weinberg <zackw@panix.com>
20064 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
20065 Delete all contents except for definitions of _G_HAVE_MMAP and
20066 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
20067 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
20068 sysdeps/unix/sysv/linux/_G_config.h. Make same content
20071 * libio/libio.h: Don't include bits/_G_config.h here.
20072 Include stddef.h with __need_wchar_t defined. Include
20073 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
20074 Define _IO_iconv_t here, directly.
20075 Don't define _IO_HAVE_ST_BLKSIZE.
20076 * libio/libioP.h: Include _G_config.h here. Move include of
20077 shlib-compat.h up with rest of includes. Simplify conditionals
20078 controlling definition of _IO_JUMPS_OFFSET.
20080 * csu/init.c: Remove always-true #if around entire file.
20081 Don't include stdio.h. Set _IO_stdin_used to hardwired
20082 constant 0x20001, and update commentary.
20083 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
20084 Replace all uses of _G_va_list with __gnuc_va_list.
20085 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
20086 instead of #if _IO_HAVE_ST_BLKSIZE.
20087 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
20088 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
20091 * libio/bits/libio.h: Move back to libio/libio.h and adjust
20092 multiple-include guard to match.
20093 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
20095 Remove preprocessor conditionals that are always true and/or
20096 redundant to other preprocessor conditionals in the same nest.
20097 Include shlib-compat.h unconditionally.
20098 Error out if _LIBC is not defined, or if _ISOMAC is defined,
20099 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
20100 defined after including stdio.h.
20101 Use __BEGIN_DECLS/__END_DECLS.
20103 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
20104 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
20105 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
20107 2018-02-07 Zack Weinberg <zackw@panix.com>
20109 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
20110 New single-type headers split from _G_config.h.
20111 * libio/bits/types/cookie_io_functions_t.h
20112 * libio/bits/types/struct_FILE.h
20113 New single-type headers split from libio.h.
20115 * libio/Makefile: Install the above new headers. Don't install
20116 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
20118 * libio/_G_config.h, libio/libio.h: Delete file.
20120 * libio/bits/libio.h: Remove improper-inclusion guard.
20121 Include stdio.h and don't repeat anything that it does.
20122 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
20123 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
20124 __io_read_fn as cookie_read_function_t,
20125 __io_write_fn as cookie_write_function_t,
20126 __io_seek_fn as cookie_seek_function_t,
20127 __io_close_fn as cookie_close_function_t,
20128 and _IO_cookie_io_functions_t as cookie_io_functions_t.
20129 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
20130 here, in the "compatibility defines" section. Remove an #if 0
20131 block. Use the "body" macros from bits/types/struct_FILE.h to
20132 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
20133 and _IO_ferror_unlocked.
20134 Move prototypes of __uflow and __overflow...
20136 * libio/stdio.h: ...here. Don't include bits/libio.h.
20137 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
20138 directly from stdarg.h. Include bits/types/__fpos_t.h,
20139 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
20140 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
20141 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
20142 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
20143 cookie_io_functions_t, not _IO_cookie_io_functions_t;
20144 __ssize_t, not _IO_ssize_t. Unconditionally define
20145 BUFSIZ as 8192 and EOF as (-1).
20147 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
20148 macros from bits/types/struct_FILE.h instead of _IO_* macros
20149 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
20150 instead of _IO_ssize_t.
20151 * libio/bits/stdio2.h: Similarly.
20153 * libio/iolibio.h: Add multiple-include guard.
20154 Include bits/libio.h after stdio.h.
20155 * libio/libioP.h: Add multiple-include guard.
20156 Include stdio.h and bits/libio.h before iolibio.h.
20158 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
20159 * include/bits/types/cookie_io_functions_t.h
20160 * include/bits/types/struct_FILE.h: New wrappers.
20162 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
20163 Get definitions of _G_fpos_t and _G_fpos64_t from
20164 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
20165 respectively. Remove improper-inclusion guards.
20167 * conform/data/stdio.h-data: Update expectations of va_list.
20168 * scripts/check-installed-headers.sh: Remove special case for
20169 libio.h and _G_config.h.
20171 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20175 * include/sys/sysmacros.h [!_ISOMAC]
20176 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
20177 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
20178 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
20179 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
20181 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
20182 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
20184 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
20185 Undefine and redefine to add use __gnu_dev_ prefix.
20186 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
20188 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
20189 and define as hidden inline function.
20190 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
20192 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
20194 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
20195 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
20196 (gnu_dev_minor): Likewise.
20197 (gnu_dev_makedev): Likewise.
20198 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
20200 * posix/wordexp.c (exec_comm_child): Likewise.
20201 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
20202 instead of minor and __gnu_dev_major instead of major.
20203 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
20204 __gnu_dev_major instead of major.
20205 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
20206 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
20207 instead of gnu_dev_minor.
20208 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
20209 (SLAVE_P): Likewise.
20210 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
20211 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
20215 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
20217 * locale/weightwc.h (findidx): Likewise.
20219 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
20221 * manual/probes.texi (slowlog): Delete documentation of removed probe.
20222 (slowlog_inexact): Likewise
20223 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
20224 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
20226 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
20229 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
20230 missing second underscore to parameter name.
20232 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20238 * bits/byteswap.h: Update file comment. Do not include
20239 <bits/byteswap-16.h>.
20240 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
20242 (__bswap_16): Define as inline function.
20243 (__bswap_constant_32): Reformat definition.
20244 (__bswap_32): Always define as inline function, not macro, using
20245 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
20246 otherwise __bswap_constant_32.
20247 (__bswap_constant_64): Reformat definition. Do not use
20248 __extension__ here.
20249 (__bswap_64): Always define as inline function, not macro. Use
20250 __extension__ on function definition. Use __builtin_bswap64 if
20251 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
20252 * string/test-endian-file-scope.c: New file.
20253 * string/test-endian-sign-conversion.c: Likewise.
20254 * string/Makefile (headers): Remove bits/byteswap-16.h.
20255 (tests): Add test-endian-file-scope and
20256 test-endian-sign-conversion.
20257 (CFLAGS-test-endian-sign-conversion.c): New variable.
20258 * bits/byteswap-16.h: Remove file.
20259 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
20260 * sysdeps/ia64/bits/byteswap.h: Likewise.
20261 * sysdeps/m68k/bits/byteswap.h: Likewise.
20262 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20263 * sysdeps/s390/bits/byteswap.h: Likewise.
20264 * sysdeps/tile/bits/byteswap.h: Likewise.
20265 * sysdeps/x86/bits/byteswap-16.h: Likewise.
20266 * sysdeps/x86/bits/byteswap.h: Likewise.
20269 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
20270 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
20271 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
20272 199901L] (__restrict): Define to restrict.
20275 * string/testcopy.c: Include <support/support.h>. Do not include
20276 <malloc.h>. Use <support/test-driver.c>.
20277 (main): Rename to do_test. Make static. Use xmalloc instead of
20281 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
20282 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
20283 (SSIZE_MAX): Define to INT_MAX.
20284 * posix/test-ssize-max.c: New file.
20285 * posix/Makefile (tests): Add test-ssize-max.
20288 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20289 <support/support.h>. Do not include <malloc.h>.
20290 (query_auxv): Use xmalloc instead of malloc.
20293 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20294 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20297 2018-02-06 Florian Weimer <fweimer@redhat.com>
20300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20301 Use scratch_buffer instead of extend_alloca.
20303 2018-02-06 Zack Weinberg <zackw@panix.com>
20305 * libio/stdio.h: Don't define getc or putc as macros.
20306 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20307 not _IO_getc and _IO_putc.
20309 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20310 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20312 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20314 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20315 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20317 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20320 * elf/elf.h (NT_PRFPREG): New macro.
20321 (NT_S390_VXRS_LOW): Likewise.
20322 (NT_S390_VXRS_HIGH): Likewise.
20323 (NT_S390_GS_CB): Likewise.
20324 (NT_S390_GS_BC): Likewise.
20325 (NT_S390_RI_CB): Likewise.
20327 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20328 (MAP_SYNC): New macro.
20329 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20331 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20332 (MAP_SYNC): Likewise.
20333 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20334 (MAP_SYNC): Likewise.
20335 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20336 (MAP_SYNC): Likewise.
20337 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20338 (MAP_SYNC): Likewise.
20339 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20340 (MAP_SYNC): Likewise.
20341 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20342 (MAP_SYNC): Likewise.
20343 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20345 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20348 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20349 (MAP_SHARED_VALIDATE): New macro.
20350 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20351 (MAP_SHARED_VALIDATE): Likewise.
20353 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20355 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20356 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20357 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20359 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20361 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20362 (DT_NUM): Updated to 35.
20364 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20366 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20367 __builtin_expect with __glibc_likely and __glibc_unlikely.
20368 (elf_machine_rela): Likewise.
20369 (elf_machine_lazy_rel): Likewise.
20371 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
20374 __builtin_expect with __glibc_likely and __glibc_unlikely.
20375 (elf_machine_lazy_rel): Likewise.
20377 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20380 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20382 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
20384 2018-02-05 Andreas Schwab <schwab@suse.de>
20387 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20390 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20392 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20393 not check against PTHREAD_STACK_MIN.
20395 2018-02-02 Sean McKean <smckean83@gmail.com>
20398 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20400 2018-02-02 Florian Weimer <fweimer@redhat.com>
20403 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20404 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20405 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20406 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20407 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20408 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20409 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20410 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20411 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20412 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20413 * misc/tst-preadvwritev2.c (do_test): Call it.
20414 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20416 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20418 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20420 * benchtests/bench-memcmp.c: Print json instead of plain text.
20422 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20425 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20427 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20429 (s390_sthyi): New syscall.
20431 * sysdeps/generic/ldbl-classify-compat.h: New file.
20432 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20433 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20434 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20435 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20436 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20437 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20438 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20439 <ldbl-classify-compat.h>.
20440 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20441 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20442 <ldbl-classify-compat.h>.
20443 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20444 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20445 <ldbl-classify-compat.h>.
20446 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20447 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20448 <ldbl-classify-compat.h>.
20449 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20451 <ldbl-classify-compat.h>.
20452 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20454 <ldbl-classify-compat.h>.
20455 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20456 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20457 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20458 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20459 * sysdeps/microblaze/math_private.h: Likewise.
20460 * sysdeps/nios2/math_private.h: Likewise.
20461 * sysdeps/sh/math_private.h: Likewise.
20463 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20464 * sysdeps/m68k/coldfire/math_private.h: ... here.
20465 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20466 * sysdeps/tile/math_private.h: Likewise.
20467 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20469 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20472 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20474 (libc_fetestexcept): Likewise.
20475 (libc_feupdateenv_test): Likewise.
20476 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20477 (libc_fetestexcept): Likewise.
20478 (libc_feupdateenv_test): Likewise.
20479 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20480 (libc_fetestexcept): Likewise.
20481 (libc_feupdateenv_test): Likewise.
20482 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20483 (libc_fetestexcept): Likewise.
20484 (libc_feupdateenv_test): Likewise.
20486 * sysdeps/generic/math_private.h
20487 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20488 New inline function.
20489 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20492 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20493 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20494 * sysdeps/generic/math_private.h
20495 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20497 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20499 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20501 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20503 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20505 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20507 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20508 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20509 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20510 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20511 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20512 (__fegetenv): Likewise.
20513 (fesetenv): Likewise.
20514 (__fesetenv): Likewise.
20515 (feupdateenv): Likewise.
20516 (__feupdateenv): Likewise.
20517 (fegetround): Likewise.
20518 (__fegetround): Likewise.
20519 (fesetround): Likewise.
20520 (__fesetround): Likewise.
20522 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20523 (feraiseexcept): New macro.
20524 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20525 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20527 (__feraiseexcept): Likewise.
20528 (feclearexcept): Likewise.
20529 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20530 (__feraiseexcept): Likewise.
20531 (feclearexcept): Likewise.
20532 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20533 (__feraiseexcept): Likewise.
20534 (feclearexcept): Likewise.
20535 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20536 (__feraiseexcept): Likewise.
20537 (feclearexcept): Likewise.
20538 (fetestexcept): Likewise.
20540 * sysdeps/m68k/coldfire/math-tests.h: New file.
20542 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20543 * sysdeps/m68k/bits/fenv.h: ... here.
20544 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20546 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20548 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20550 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20552 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20554 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20556 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20557 (__FE_UNDEFINED): New enum constant.
20558 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20560 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20562 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20564 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20565 to match generic bits/fenv.h.
20566 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20569 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20571 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20572 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20573 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20574 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20576 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20577 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20578 Joseph Myers <joseph@codesourcery.com>
20581 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20582 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20583 computation using c.
20584 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20585 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20586 computation using c.
20588 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20590 * version.h (RELEASE): Set to "development".
20591 (VERSION): Set to "2.27.9000".
20592 * NEWS (2.28): New section.
20594 * version.h (RELEASE): Set to "stable".
20595 (VERSION): Set to "2.27".
20596 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20598 * NEWS: Add the list of bugs fixed in 2.27.
20600 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20602 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20603 against PTHREAD_STACK_MIN.
20605 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20607 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20609 (Rafal Luzynski, Andreas Schwab): Update.
20611 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20614 * NEWS: List the languages which actually use the alternative
20615 months feature in this release. Also explain that "alt_mon" and
20616 "ab_alt_mon" are optional.
20618 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20621 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20623 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20625 * manual/install.texi (Tools for Compilation): Update the newest
20626 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20627 * INSTALL: Regenerated.
20629 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20631 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20632 instead of __builtin_expect.
20634 2018-01-30 Florian Weimer <fweimer@redhat.com>
20636 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20638 * nss/tst-nss-getpwent.c (do_test): Likewise.
20640 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20643 * localedata/locales/hr_HR (mon): Rename to...
20645 (mon): Import from CLDR (genitive case).
20646 (d_t_fmt): Update the comment.
20648 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20650 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20651 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20652 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20654 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20656 * mach/Versions: Fix version when __mach_host_self_ was added.
20657 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20658 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20659 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20660 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20661 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20662 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20663 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20664 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20665 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20666 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20667 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20668 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20669 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20670 || to respect codestyle.
20671 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20672 (do_test_bz20181): Rename accordingly.
20673 * malloc/malloc.c: Include <assert.h>.
20674 (assert): Do not define.
20675 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20676 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20677 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20678 * sysdeps/mach/hurd/hp-timing.h: New file.
20679 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20681 2018-01-29 Darius Rad <darius@bluespec.com>
20683 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20685 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20687 * sysdeps/init_array/crti.S (.section .init_array): Add
20688 PREINIT_FUNCTION when defined.
20689 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20690 * config.h.in: Regenerate.
20691 * manual/platform.texi: Add RISC-V documenation for
20692 __riscv_flush_icache.
20693 * sysdeps/riscv/__longjmp.S: New file.
20694 * sysdeps/riscv/backtrace.c: Likewise.
20695 * sysdeps/riscv/bits/endian.h: Likewise.
20696 * sysdeps/riscv/bits/setjmp.h: Likewise.
20697 * sysdeps/riscv/bits/wordsize.h: Likewise.
20698 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20699 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20700 * sysdeps/riscv/dl-trampoline.S: Likewise.
20701 * sysdeps/riscv/gccframe.h: Likewise.
20702 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20703 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20704 * sysdeps/riscv/machine-gmon.h: Likewise.
20705 * sysdeps/riscv/memusage.h: Likewise.
20706 * sysdeps/riscv/setjmp.S: Likewise.
20707 * sysdeps/riscv/sys/asm.h: Likewise.
20708 * sysdeps/riscv/tls-macros.h: Likewise.
20709 * sysdeps/riscv/dl-tls.h: New file.
20710 * sysdeps/riscv/libc-tls.c: Likewise.
20711 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20712 * sysdeps/riscv/nptl/tls.h: Likewise.
20713 * sysdeps/riscv/stackinfo.h: Likewise.
20714 * sysdeps/riscv/bits/fenv.h: New file.
20715 * sysdeps/riscv/e_sqrtl.c: Likewise.
20716 * sysdeps/riscv/fpu_control.h: Likewise.
20717 * sysdeps/riscv/math-tests.h: Likewise.
20718 * sysdeps/riscv/nofpu/Implies: Likewise.
20719 * sysdeps/riscv/sfp-machine.h: Likewise.
20720 * sysdeps/riscv/tininess.h: Likewise.
20721 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20722 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20723 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20724 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20725 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20726 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20727 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20728 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20729 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20730 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20731 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20732 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20733 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20734 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20735 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20736 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20737 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20738 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20739 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20740 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20741 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20742 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20743 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20744 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20745 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20746 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20747 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20748 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20749 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20750 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20751 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20752 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20753 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20754 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20755 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20756 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20757 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20758 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20759 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20760 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20761 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20762 * sysdeps/riscv/rvf/math_private.h: Likewise.
20763 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20764 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20765 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20766 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20767 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20768 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20769 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20770 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20771 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20772 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20773 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20774 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20775 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20776 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20777 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20778 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20779 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20780 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20781 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20782 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20783 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20784 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20785 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20786 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20787 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20788 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20789 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20790 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20791 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20792 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20793 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20794 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20795 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20796 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20797 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20798 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20799 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20800 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20801 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20802 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20803 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20804 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20805 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20806 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20807 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20808 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20809 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20810 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20811 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20812 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20813 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20814 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20815 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20816 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20817 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20818 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20819 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20820 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20821 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20822 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20823 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20824 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20825 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20826 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20827 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20828 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20829 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20830 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20831 * sysdeps/riscv/Implies: New file.
20832 * sysdeps/riscv/Makefile: Likewise.
20833 * sysdeps/riscv/configure: Likewise.
20834 * sysdeps/riscv/configure.ac: Likewise.
20835 * sysdeps/riscv/nptl/Makefile: Likewise.
20836 * sysdeps/riscv/preconfigure: Likewise.
20837 * sysdeps/riscv/rv64/Implies-after: Likewise.
20838 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20839 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20840 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20841 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20842 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20843 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20844 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20845 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20846 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20847 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20848 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20849 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20850 (Config): Likewise.
20852 2018-01-29 Florian Weimer <fweimer@redhat.com>
20855 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20856 libnsl_hidden_proto.
20857 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20858 libnsl_hidden_proto.
20859 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20860 * nis/Makefile (libnsl-routines): Add nss-default only for
20861 build-obsolete-nsl.
20862 * nis/nis_defaults.c (__nis_default_ttl): Add
20863 libnsl_hidden_nolink_def.
20864 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20866 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20867 * nis/ypclnt.c (yp_maplist): Likewise.
20869 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20871 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20872 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20874 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20876 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20877 clean -dxfq for git updates when replacing sources.
20879 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20880 --disable-libcilkrts unconditionally, not just for the final GCC
20883 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20886 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20889 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20892 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20895 * localedata/locales/be_BY (mon): Rename to...
20896 (alt_mon): This, then synchronize with CLDR (nominative case).
20897 (abmon): Rename to...
20898 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20899 (mon): Import from CLDR (genitive case).
20901 * localedata/locales/be_BY@latin (mon): Rename to...
20903 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20905 * localedata/locales/be_BY@latin (lang_name): Reworded to
20906 "biełaruskaja mova".
20908 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20911 * localedata/locales/el_CY (mon): Renamed to...
20913 (mon): Import from CLDR (genitive case).
20914 * localedata/locales/el_GR: Likewise.
20916 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20919 * localedata/locales/ru_RU (mon): Rename to...
20921 (abmon): Rename to...
20922 (ab_alt_mon): This.
20923 (mon): Import from CLDR (genitive case).
20924 (abmon): Copy from the old content except the 5th month which is
20925 now in the genitive case, even when abbreviated.
20926 * localedata/locales/ru_UA: Likewise.
20927 * time/tst-strptime.c (day_tests): Add an actual example of
20928 a difference between %b and %Ob in Russian.
20930 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20932 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20933 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20935 * resolv/res-close.c: Include <stdlib.h>.
20936 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20937 <sys/wait.h>, <time.h>, <sys/uio.h>.
20938 (NOT_CANCEL_H): Add inclusion guard.
20939 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20940 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20941 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20943 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20944 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20945 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20947 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20948 timer_ptr2id to cast struct timer_node * to void *.
20949 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20950 --disable-libcilkrts to gcc configure.
20951 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20952 and make them the default for now.
20953 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20954 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20955 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20956 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20957 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20959 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20960 __task_terminate would ever return successfully.
20961 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20963 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20964 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20965 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20966 critical section to make code simpler and avoid warning.
20967 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20968 critical section to make code simpler and avoid warning.
20969 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20970 const char * instead of char *.
20971 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20972 __hurd_file_name_split, hurd_file_name_split,
20973 __hurd_directory_name_split, hurd_directory_name_split,
20974 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20975 hurd_file_name_path_lookup): Make lookup function parameter take a
20976 const char *name instead of char *name.
20977 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20978 __hurd_directory_name_split): Likewise.
20979 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20980 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20981 * sysdeps/mach/hurd/check_native.c: New file.
20982 * sysdeps/mach/hurd/check_pf.c: New file.
20983 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20984 (__freeifaddrs): Define macro to freeifaddrs.
20985 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20986 * sysdeps/mach/libmachuser.abilist: New file.
20987 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20988 (do_test_bz20181): Rename accordingly.
20989 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20990 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20992 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20993 version only if __USE_EXTERN_INLINES is defined.
20994 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20995 __hurd_sockfail): Likewise.
20996 (_hurd_fd_get): Always declare functions, and provide inline versions
20997 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20998 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20999 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21000 _hurd_port_set): Always declare functions, and provide inline versions
21001 only if __USE_EXTERN_INLINES and _LIBC are defined and
21003 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21004 _hurd_critical_section_unlock): Likewise.
21005 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21006 * __hurd_threadvar_location): Likewise.
21007 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21008 _hurd_userlink_clear): Likewise.
21009 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21010 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21011 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21012 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21013 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21014 __spin_lock_locked): Likewise.
21015 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21016 __spin_lock_locked): Likewise.
21017 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21018 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21019 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21020 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21021 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
21022 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21023 _POSIX_NO_TRUNC): Define to 0.
21024 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21025 check size against PTHREAD_STACK_MIN.
21026 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21027 IS_IN(libpthread)]: Include <sigsetops.h>.
21028 * mach/Makefile (user-interfaces): Add mach/gnumach.
21029 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21030 * sysdeps/mach/configure (mach_interface_list): Regenerate.
21031 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21032 instead of invalid -1.
21033 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21034 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21035 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21038 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
21040 * hurd/fcntl-internal.h: New file.
21042 2018-01-27 James Clarke <jrtc27@jrtc27.com>
21044 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21046 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21048 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21051 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21052 Build only shared objects.
21054 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21056 * README: Update for hppa.
21058 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21060 * sysdeps/sparc/fpu/libm-test-ulps: Update
21061 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
21063 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21067 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21070 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21071 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21072 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21073 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21076 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21079 * bits/types/__cancel_jmp_buf_tag.h: New file.
21080 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21081 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21082 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21083 * nptl/Makefile (headers): Add
21084 bits/types/__cancel_jmp_buf_tag.h.
21085 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21086 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21087 * sysdeps/nptl/pthread.h: Include
21088 <bits/types/__cancel_jmp_buf_tag.h>.
21089 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21091 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21093 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
21096 * localedata/locales/uk_UA (mon): Renamed to...
21098 (alt_digits): "0" removed and then renamed to...
21100 (date_fmt): Definition changed not to use the alternative
21103 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
21105 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
21106 FLAG_RISCV_FLOAT_ABI_DOUBLE.
21107 * elf/elf.h (EF_RISCV_RVC): New define.
21108 (EF_RISCV_FLOAT_ABI): Likewise.
21109 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
21110 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
21111 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21112 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
21113 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
21115 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21117 2018-01-25 Andreas Schwab <schwab@suse.de>
21119 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
21121 * sysdeps/gnu/configure: Regenerate.
21122 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21123 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21125 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21126 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21127 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
21128 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21129 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21131 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
21133 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
21134 URL, and run autoconf, make it the default for now.
21136 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21138 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21139 soft-float ColdFire configuration.
21141 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
21142 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
21143 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
21145 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
21148 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
21150 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
21152 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
21155 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
21156 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
21157 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
21160 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21163 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
21164 Rename to __reserved and add comment.
21165 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
21166 Rename to __reserved.
21168 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21170 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21171 i686-gnu configurations.
21172 (Context.run_builds): Include mig, gnumach and hurd in components
21174 (Context.checkout): Add mig, gnumach and hurd to components.
21175 (Context.checkout_tar): Add URL mappings for mig, gnumach and
21177 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
21178 (Config.build): Install gnumach headers, build mig and install
21179 hurd headers for 'gnu' OS.
21180 (Config.install_gnumach_headers): New function.
21181 (Config.install_hurd_headers): Likewise.
21182 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
21183 when building for 'gnu' OS.
21185 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
21187 * manual/tunables.texi (Hardware Capability Tunables): Fix
21190 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
21192 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
21193 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
21194 (ALTMON_11, ALTMON_12): Improve documentation.
21195 * manual/time.texi (strftime): Likewise.
21197 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21200 * localedata/locales/pl_PL: Alternative month names added,
21201 primary month names are genitive now.
21202 * time/tst-strptime.c (day_tests): Actually use a genitive case
21203 of a month name in Polish language.
21205 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21208 * manual/locale.texi: Document ALTMON_1..12 constants for
21209 nl_langinfo. Specify when to use ALTMON instead of MON.
21210 * manual/time.texi (strftime, strptime): Document GNU extension
21211 permitting O modifier with %B and %b. Specify when to use
21214 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21217 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
21218 names, define them as the same as abbreviated month names explicitly.
21219 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
21220 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
21221 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
21222 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
21223 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
21224 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
21225 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
21226 _NL_WABALTMON_12): New enum constants.
21227 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
21228 wab_alt_mon, and ab_alt_mon_defined members.
21229 (time_output): Output ab_alt_mon and wab_alt_mon members.
21230 (time_read): Read them, initialize them as copies of abmon and wabmon
21231 respectively if they are missing, initialize ab_alt_mon_defined.
21232 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
21233 * locale/programs/locfile-kw.h: Regenerate.
21234 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
21235 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
21237 * time/strftime_l.c (a_altmonth, aam_len): New macros.
21238 [!COMPILE_WIDE] (ABALTMON_1): New macro.
21239 (__strftime_internal): Handle %Ob and %Oh formats.
21240 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
21241 (__strptime_internal): Handle %Ob and %Oh formats.
21242 * time/tst-strptime.c (day_tests): Add more tests to parse different
21243 forms of month names including the new %Ob format specifier.
21245 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21248 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
21249 define them as the same as primary full month names explicitly.
21250 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
21251 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
21252 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
21253 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
21254 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
21255 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
21256 _NL_WALTMON_12): New enum constants.
21257 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
21258 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
21260 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
21261 walt_mon, and alt_mon_defined members.
21262 (time_output): Output alt_mon and walt_mon members.
21263 (time_read): Read them, initialize them as copies of mon and wmon
21264 respectively if they are missing, initialize alt_mon_defined.
21265 * locale/programs/locfile-kw.gperf (alt_mon): Define.
21266 * locale/programs/locfile-kw.h: Regenerate.
21267 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
21268 * localedata/tst-langinfo.c (map): Add tests for the new constants
21269 ALTMON_1 .. ALTMON_12.
21270 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
21272 * time/strftime_l.c (f_altmonth): New macro.
21273 (__strftime_internal): Handle %OB format.
21274 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
21275 (__strptime_internal): Handle %OB format.
21276 * time/tst-strptime.c (day_tests): Add tests to parse different forms
21277 of month names including the new %OB format specifier.
21279 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21282 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
21283 from ABORT_TRANSACTION.
21284 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21285 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21286 ABORT_TRANSACTION_IMPL): Likewise.
21287 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21288 Linux code, but remove the code that aborts transactions.
21290 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21292 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21294 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21296 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21297 in date: "2004-14-09" should be "2004-09-14".
21298 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21299 "2003-15-09" should be "2003-09-15".
21301 2018-01-18 Arjun Shankar <arjun@redhat.com>
21307 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21309 (_int_memalign): check for integer overflow before calling
21311 * malloc/tst-malloc-too-large.c: New test.
21312 * malloc/Makefile: Add tst-malloc-too-large.
21314 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21316 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21317 in date: "2017-24-07" should be "2017-07-24".
21318 * localedata/locales/mai_IN: Likewise.
21319 * localedata/locales/mai_NP: Likewise.
21321 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21323 * po/ru.po: Update translations.
21325 2018-01-17 Joseph Myers <joseph@codesourcery.com>
21328 * sysdeps/hppa/backtrace.c: New file.
21330 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21333 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21334 align La_x86_64_retval to VEC_SIZE.
21336 2018-01-16 Joseph Myers <joseph@codesourcery.com>
21338 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21339 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21341 2018-01-16 Florian Weimer <fweimer@redhat.com>
21343 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21344 Move tst-thread-exit-clobber ...
21345 [$(CXX)] (tests-unsupported): ... to here.
21347 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21349 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21350 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21351 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21352 (_dl_aarch64_cap_flags): Update.
21353 (_DL_HWCAP_COUNT): Update.
21355 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21357 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21358 (_DL_HWCAP_LAST): Remove.
21359 (_DL_HWCAP_COUNT): Move to ...
21360 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21361 (_DL_HWCAP_COUNT): ... here.
21363 2018-01-16 Florian Weimer <fweimer@redhat.com>
21365 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21366 mode with GNU extensions.
21368 2018-01-15 Alan Hayward <alan.hayward@arm.com>
21370 * elf/elf.h (NT_ARM_SVE): Define.
21372 2018-01-15 Florian Weimer <fweimer@redhat.com>
21375 * nptl/tst-minstack-throw.cc: New file.
21376 * nptl/Makefile (tests): Add tst-minstack-throw.
21377 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21378 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21380 2018-01-15 Joseph Myers <joseph@codesourcery.com>
21382 * scripts/build-many-glibcs.py (Context.checkout): Default
21383 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21386 2018-01-13 Carlos O'Donell <carlos@redhat.com>
21389 * elf/elf.h (DF_1_STUB): Define.
21390 (DF_1_PIE): Define.
21392 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21396 Do not add 0.5 to integer or out-of-range arguments.
21398 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21400 * po/bg.po: Update translations.
21401 * po/cs.po: Likewise.
21402 * po/de.po: Likewise.
21403 * po/ko.po: Likewise.
21404 * po/pl.po: Likewise.
21405 * po/sv.po: Likewise.
21406 * po/uk.po: Likewise.
21407 * po/vi.po: Likewise.
21409 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21411 * aarch64/start.S (_start): Use __wrap_main.
21412 (__wrap_main): New local symbol.
21414 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21418 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21419 generic_getcwd if the path returned by getcwd syscall is not absolute.
21420 * io/tst-getcwd-abspath.c: New test.
21421 * io/Makefile (tests): Add tst-getcwd-abspath.
21423 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21425 * malloc/malloc.c (malloc_consolidate): Add size check.
21427 2018-01-12 Florian Weimer <fweimer@redhat.com>
21429 * support/write_message.c (write_message): Preserve errno.
21430 * support/check.c (print_failure): Likewise.
21431 * support/support_test_verify_impl.c (support_test_verify_impl):
21433 * support/support_test_compare_failure.c
21434 (support_test_compare_failure): Likewise.
21436 2018-01-12 Florian Weimer <fweimer@redhat.com>
21439 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21440 Prevent installation of libnsl.so.
21441 (libnsl-inhibit-o): Do not build (or install) static libraries.
21443 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21446 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21447 before the day number which may produce a double space.
21448 (date_fmt): Likewise.
21450 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21452 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21453 instead of fegetenv.
21455 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21458 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21459 comment to say exceptions are discarded.
21460 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21462 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21465 2018-01-11 Florian Weimer <fweimer@redhat.com>
21467 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21470 2018-01-11 Florian Weimer <fweimer@redhat.com>
21473 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21474 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21476 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21479 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21480 negative arguments in test for NaN or infinity argument.
21482 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21484 * po/libc.pot: Regenerate.
21486 2018-01-10 Florian Weimer <fweimer@redhat.com>
21489 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21490 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21492 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21494 * hurd/hurd/fd.h: Include <fcntl.h>
21495 (__hurd_at_flags): New function.
21496 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21497 with call to __hurd_at_flags.
21498 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21499 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21501 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21502 (__access_noerrno): Use __faccessat_common instead of access_common.
21503 (__access): Likewise.
21504 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21505 with a call to __faccessat.
21506 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21507 (__faccessat_common): ... this. Move implementation of __access into it when
21508 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21509 reauthenticate_cwdir_at helper to implement AT mechanism.
21510 (__faccessat_noerrno): New function, just calls __faccessat_common.
21511 (__faccessat): New function, just calls __faccessat_common.
21512 (faccessat): Define weak alias.
21514 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21517 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21518 (CFLAGS-s_fmaxmagl.c): New variable.
21519 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21522 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21523 long int for arguments of possibly overflowing addition or
21525 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21527 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21530 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21531 (CFLAGS-e_remainderl.c): New variable.
21534 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21536 (CFLAGS-s_cacoshl.c): Likewise.
21537 (CFLAGS-s_casinhl.c): Likewise.
21538 (CFLAGS-s_catanl.c): Likewise.
21539 (CFLAGS-s_catanhl.c): Likewise.
21540 (CFLAGS-s_cexpl.c): Likewise.
21541 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21542 (CFLAGS-s_csinhl.c): Likewise.
21543 (CFLAGS-s_clogl.c): Likewise.
21544 (CFLAGS-s_clog10l.c): Likewise.
21545 (CFLAGS-s_csinl.c): Likewise.
21546 (CFLAGS-s_csqrtl.c): Likewise.
21548 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21549 2017-01-09 Svante Signell <svante.signell@gmail.com>
21551 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21552 (_hurd_exec_paths): New function.
21553 * hurd/hurd.h (_hurd_exec): Deprecate function.
21554 (_hurd_exec_paths): Declare function.
21555 * hurd/Versions: Export _hurd_exec_paths.
21556 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21557 (__execve): Use __getcwd to build absolute path, and use
21558 _hurd_exec_paths instead of _hurd_exec.
21559 * sysdeps/mach/hurd/spawni.c: Likewise.
21560 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21563 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21565 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21566 test instead of failing in case of ENOENT returned by posix_openpt.
21568 2018-01-08 Florian Weimer <fweimer@redhat.com>
21570 resolv: Support binary labels in test framework.
21571 * support/resolv_test.c (struct to_be_freed): Remove.
21572 (struct compressed_name): New.
21573 (allocate_compressed_name, ascii_tolower)
21574 (compare_compressed_name): New functions.
21575 (struct resolv_response_builder): Update type of
21576 compression_offsets for use with tsearch. Rempve to_be_freed.
21577 (response_push_pointer_to_free): Remove function.
21578 (resolv_response_add_name): Rewrite using struct compressed_name
21579 and tsearch instead of hsearch_r.
21580 (response_builder_allocate): Remove initialization of
21581 compression_offsets.
21582 (response_builder_free): Update for removal of to_be_freed. Use
21583 tdestroy instead of hdestroy_r.
21584 * resolv/Makefile (tests): Add tst-resolv-binary.
21585 (tst-resolv-binary): Link with -lresolv -lpthread.
21587 2018-01-08 Florian Weimer <fweimer@redhat.com>
21589 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21590 time. Pass positive flag instead of negative flag to
21591 support_test_compare_failure.
21592 (support_test_compare_failure): Change negative parameter to
21594 * support/support_test_compare_failure.c (report)
21595 (support_test_compare_failure): Likewise.
21596 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21597 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21599 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21602 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21603 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21604 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21606 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21608 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21610 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21611 Add s_sincosf-sse2 and s_sincosf-fma.
21612 (CFLAGS-s_sincosf-fma.c): New.
21613 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21614 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21615 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21616 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21617 __sincosf is defined.
21619 2018-01-08 Florian Weimer <fweimer@redhat.com>
21621 * nptl/tst-thread-exit-clobber.cc: New file.
21622 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21624 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21625 (tests): Add tst-thread-exit-clobber.
21626 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21628 2018-01-08 Florian Weimer <fweimer@redhat.com>
21630 * support/check.h (support_static_assert): Define.
21631 (TEST_COMPARE): Use it.
21633 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21635 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21636 [!__RLIM_T_MATCHES_RLIM64_T]
21637 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21638 __getrlimit64. Add libc_hidden_weak.
21640 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21642 * elf/elf.h (R_RISCV_NONE): New define.
21643 (R_RISCV_32): Likewise.
21644 (R_RISCV_64): Likewise.
21645 (R_RISCV_RELATIVE): Likewise.
21646 (R_RISCV_COPY): Likewise.
21647 (R_RISCV_JUMP_SLOT): Likewise.
21648 (R_RISCV_TLS_DTPMOD32): Likewise.
21649 (R_RISCV_TLS_DTPMOD64): Likewise.
21650 (R_RISCV_TLS_DTPREL32): Likewise.
21651 (R_RISCV_TLS_DTPREL64): Likewise.
21652 (R_RISCV_TLS_TPREL32): Likewise.
21653 (R_RISCV_TLS_TPREL64): Likewise.
21654 * Makerules (make-link-multidir): Make directories before linking into
21656 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21658 (VDSO_HASH_LINUX_4_15): Likewise.
21659 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21660 in subdirectories of lib.
21661 * nptl/Makefile (/librt.so): Always depend on
21662 "$(shared-thread-library)".
21664 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21666 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21667 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21668 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21670 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21671 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21673 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21674 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21675 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21676 * sysdeps/gnu/glob-lstat-compat.c: New file.
21677 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21678 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21680 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21682 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21683 Reserve 16 chars to reloc_addr before calling _itoa_word.
21685 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21688 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21689 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21691 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21692 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21694 * resource/tst-getrlimit.c: Add copyright header.
21696 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21697 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21699 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21700 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21701 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21702 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21704 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21705 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21706 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21707 RLIM64_INFINITY): Fix values to match the kernel ones.
21708 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21709 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21710 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21711 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21712 getrlimit64@@GLIBC_2_27.
21713 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21715 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21716 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21717 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21718 setrlimit, getrlimit64 and setrlimit64.
21720 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21723 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21724 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21726 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21728 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21729 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21730 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21732 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21736 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21737 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21741 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21742 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21743 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21744 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21746 2018-01-04 Florian Weimer <fweimer@redhat.com>
21749 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21750 Align the stack before calling exit.
21751 * stdlib/tst-makecontext-align.c: New file.
21752 * stdlib/Makefile (tests): Add tst-makecontext-align.
21754 2018-01-04 Florian Weimer <fweimer@redhat.com>
21756 Add support for calling dlvsym from libc.so.
21757 * include/dlfcn.h (__libc_dlvsym): Declare.
21758 * elf/Makefile (tests-static-internal): Add
21759 tst-libc_dlvsym-static.
21760 (tests-internal): Add tst-libc_dlvsym.
21761 (modules-names): Add tst-libc_dlvsym-dso.
21762 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21763 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21764 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21765 object tst-libc_dlvsym-dso.so needs to be built before running
21767 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21768 * elf/Versions: Export __libc_dlvsym.
21769 * elf/dl-libc.c (struct do_dlvsym_args): New.
21770 (do_dlvsym, __libc_dlvsym): New functions.
21771 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21772 (_dl_open_hook2): New variable.
21773 (__libc_register_dl_open_hook): Set it.
21774 * elf/tst-libc_dlvsym-dso.c: New file.
21775 * elf/tst-libc_dlvsym-static.c: Likewise.
21776 * elf/tst-libc_dlvsym.c: Likewise.
21777 * elf/tst-libc_dlvsym.h: Likewise.
21779 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21781 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21782 include <sys/mount.h>.
21784 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21786 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21787 Add __NO_MATH_ERRNO__ check.
21789 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21791 * sysdeps/mips/mips32/libm-test-ulps: Update.
21792 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21794 2018-01-02 Florian Weimer <fweimer@redhat.com>
21796 * misc/tst-pselect.c: Add copyright header.
21798 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21800 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21802 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21804 (settrlimit): Rename into setrlimit.
21805 (__sttrlimit): Rename into __setrlimit.
21807 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21808 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21809 never defined in that case.
21811 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21813 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21815 * sysdeps/arm/libm-test-ulps: Update.
21817 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21818 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21820 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21822 * NEWS: Add cosf and sincosf to list of optimized functions.
21824 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21827 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21828 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21829 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21830 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21832 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21835 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21837 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21838 making a copy of it.
21840 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21842 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21843 trailing whitespace removed.
21844 * scripts/config.guess: Update to version 2018-01-01.
21845 * scripts/config.sub: Update to version 2018-01-01.
21846 * scripts/move-if-change: Update from gnulib.
21848 * NEWS: Update copyright dates.
21849 * catgets/gencat.c (print_version): Likewise.
21850 * csu/version.c (banner): Likewise.
21851 * debug/catchsegv.sh: Likewise.
21852 * debug/pcprofiledump.c (print_version): Likewise.
21853 * debug/xtrace.sh (do_version): Likewise.
21854 * elf/ldconfig.c (print_version): Likewise.
21855 * elf/ldd.bash.in: Likewise.
21856 * elf/pldd.c (print_version): Likewise.
21857 * elf/sotruss.sh: Likewise.
21858 * elf/sprof.c (print_version): Likewise.
21859 * iconv/iconv_prog.c (print_version): Likewise.
21860 * iconv/iconvconfig.c (print_version): Likewise.
21861 * locale/programs/locale.c (print_version): Likewise.
21862 * locale/programs/localedef.c (print_version): Likewise.
21863 * login/programs/pt_chown.c (print_version): Likewise.
21864 * malloc/memusage.sh (do_version): Likewise.
21865 * malloc/memusagestat.c (print_version): Likewise.
21866 * malloc/mtrace.pl: Likewise.
21867 * manual/libc.texinfo: Likewise.
21868 * nptl/version.c (banner): Likewise.
21869 * nscd/nscd.c (print_version): Likewise.
21870 * nss/getent.c (print_version): Likewise.
21871 * nss/makedb.c (print_version): Likewise.
21872 * posix/getconf.c (main): Likewise.
21873 * scripts/test-installation.pl: Likewise.
21874 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21876 * All files with FSF copyright notices: Update copyright dates
21877 using scripts/update-copyrights.
21878 * locale/programs/charmap-kw.h: Regenerated.
21879 * locale/programs/locfile-kw.h: Likewise.
21881 2017-12-31 Zack Weinberg <zackw@panix.com>
21883 * libio/bits/libio-ldbl.h: Correct check for improper
21884 inclusion. Add own multiple include guard.
21886 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21887 Dmitry V. Levin <ldv@altlinux.org>
21891 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21892 string token expansion. Check for NULL pointer or empty string possibly
21893 returned by expand_dynamic_string_token.
21894 (decompose_rpath): Check for empty path after dynamic string
21897 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21900 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21902 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21903 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21904 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21905 and PTRACE_SYSCALL.
21906 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21907 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21908 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21911 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21913 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21914 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21915 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21916 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21918 bits/ptrace-shared.h.
21919 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21920 <bits/ptrace-shared.h>.
21921 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21922 __ptrace_peeksiginfo_flags, ptrace): Remove.
21923 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21924 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21926 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21927 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21929 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21932 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21933 end of the loop. Improve comments.
21935 2017-12-29 Zack Weinberg <zackw@panix.com>
21938 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21939 might be set on success.
21941 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21944 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21945 is unchanged on success.
21947 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21949 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21951 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21952 expand_dynamic_string_token): Likewise.
21953 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21956 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21959 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21960 is set and name contains ':', and all code depending on these checks.
21962 2017-12-24 Zack Weinberg <zackw@panix.com>
21964 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21965 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21967 * libio/libio.h: Rename the original version of this file to
21968 libio/bits/libio.h. Error out if not included by stdio.h or the
21970 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21971 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21972 if not included by bits/libio.h or the stub _G_config.h.
21973 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21974 sysdeps/unix/sysv/linux/bits. Error out if not included by
21975 bits/libio.h or the stub _G_config.h.
21976 * libio/stdio.h: Include bits/libio.h, not libio.h.
21977 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21978 well as libio.h and _G_config.h.
21980 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21981 * libio/strfile.h, stdio-common/vfscanf.c
21982 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21983 Include stdio.h, not _G_config.h nor libio.h.
21984 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21985 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21987 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21989 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21992 * stdlib/getrandom.c (getrandom): Fix comment.
21993 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21995 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21998 * manual/arith.texi (strtoul): Fix a typo.
22001 * manual/arith.texi (finite): Fix the description of the return
22004 2017-12-22 Eric Blake <ebb9@byu.net>
22006 Avoid gcc warnings on cygwin
22007 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22008 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22009 Avoid unused variable.
22011 2017-12-22 Florian Weimer <fweimer@redhat.com>
22013 * io/Makefile (routines): Add copy_file_range.
22014 (tests): Add tst-copy_file_range.
22015 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22016 * io/Versions (GLIBC_2.27): Export copy_file_range.
22017 * io/copy_file_range-compat.c: New file.
22018 * io/copy_file_range.c: Likewise.
22019 * io/tst-copy_file_range-compat.c: Likewise.
22020 * io/tst-copy_file_range.c: Likewise.
22021 * manual/llio.texi (Copying File Data): New section.
22022 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22023 * support/Makefile (libsupport-routines): Add support-xfstat,
22024 xftruncate, xlseek.
22025 * support/support-xfstat.c: New file.
22026 * support/xftruncate.c: Likewise.
22027 * support/xlseek.c: Likewise.
22028 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22029 * sysdeps/unix/sysv/linux/**.abilist: Update.
22030 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22032 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22034 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22035 disable-multi-arch variant to aarch64-linux-gnu.
22037 2017-12-20 Joseph Myers <joseph@codesourcery.com>
22039 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22040 trailing whitespace removed.
22041 * scripts/config.guess: Update to version 2017-12-17.
22042 * scripts/config.sub: Update to version 2017-11-23.
22043 * scripts/install-sh: Update to version 2017-09-23.17.
22044 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22046 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22048 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22049 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22050 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22051 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22052 * sysdeps/tile/crtn.S: Likewise.
22053 * sysdeps/tile/dl-start.S (_start): Likewise.
22054 * sysdeps/tile/dl-trampoline.S: Likewise.
22055 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22056 * sysdeps/tile/start.S (_start): Likewise.
22057 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22058 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22059 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22060 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22061 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22062 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22063 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22065 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
22067 * sysdeps/tile/preconfigure: Remove tilegx folder.
22068 * sysdeps/tile/tilegx/Implies: Move definitions to ...
22069 * sysdeps/tile/Implies: ... here.
22070 * sysdeps/tile/tilegx/Makefile: Move rules to ...
22071 * sysdeps/tile/Makefile: ... here.
22072 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
22073 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
22074 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
22075 * sysdeps/tile/bits/wordsize.h: ... here.
22076 * sysdeps/tile/tilegx/*: Move to ...
22077 * sysdeps/tile/*: ... here.
22078 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
22079 * sysdeps/tile/tilegx32/Implies: ... here.
22080 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
22081 * sysdeps/tile/tilegx64/Implies: ... here.
22082 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
22084 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22085 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
22086 * sysdeps/unix/sysv/linux/tile/*: ... here.
22087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
22088 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
22089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
22090 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
22092 * README: Remove tilepro-*-linux-gnu from supported architecture.
22093 * scripts/build-many-glibcs.py: Likewise.
22094 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22095 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
22096 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
22097 elf_machine_matches_host, elf_machine_dynamic,
22098 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
22099 howto, elf_machine_rela): Likewise.
22100 * sysdeps/tile/dl-start.S (_start): Likewise.
22101 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
22102 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
22103 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
22104 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
22105 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
22106 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22108 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
22109 * sysdeps/tile/preconfigure: Likewise.
22110 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
22111 POINTER_CHK_GUARD): Likewise.
22112 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
22113 * sysdeps/tile/start.S (_start): Likewise.
22114 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
22116 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
22117 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
22119 * sysdeps/unix/sysv/linux/tile/bits/environments.h
22120 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
22121 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
22123 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
22124 * sysdeps/tile/tilepro/Implies: Remove file.
22125 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
22126 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
22127 * sysdeps/tile/tilepro/memchr.c: Likewise.
22128 * sysdeps/tile/tilepro/memcpy.S: Likewise.
22129 * sysdeps/tile/tilepro/memset.c: Likewise.
22130 * sysdeps/tile/tilepro/memusage.h: Likewise.
22131 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
22132 * sysdeps/tile/tilepro/strchr.c: Likewise.
22133 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
22134 * sysdeps/tile/tilepro/strlen.c: Likewise.
22135 * sysdeps/tile/tilepro/strrchr.c: Likewise.
22136 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
22137 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
22138 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22139 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
22140 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
22141 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22143 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
22144 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22145 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
22146 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
22147 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22148 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
22149 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
22150 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
22151 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
22152 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
22153 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
22154 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
22155 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
22156 tilepro mention in comment.
22158 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
22159 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
22160 * nptl/pthread_join_common.c: New file: common function used on
22161 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
22162 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
22163 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
22164 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22165 (cleanup): Move definition to pthread_join_common.c.
22166 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
22167 Remove superflous checks.
22168 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
22171 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
22173 * sysdeps/aarch64/libm-test-ulps: Update.
22175 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22177 * sysdeps/aarch64/memset.S (MEMSET): Define.
22179 2017-12-20 Florian Weimer <fweimer@redhat.com>
22182 nptl: Provide full implementation of pthread_self in libc.so.
22183 * nptl/Makefile (routines): Add pthread_self.
22184 (libpthread-routines): Replace pthread_self with
22185 compat-pthread_self.
22186 * nptl/forward.c (pthread_self): Remove.
22187 * nptl/nptl-init.c (pthread_functions): Do not initialize
22189 * nptl/pthread_self.c (pthread_self): Remove weak alias.
22190 * nptl/compat-pthread_self.c: New file.
22191 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
22192 Remove ptr_pthread_self.
22194 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
22196 * posix/regcomp.c: Fix spelling in comments.
22197 * posix/regex.h: Likewise.
22198 * posix/regex_internal.c: Likewise.
22199 * posix/regexec.c: Likewise.
22201 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22204 * math/Makefile [C++] (tests): Add test for iseqsig.
22205 * math/math.h [C++] (iseqsig): New implementation, which does
22206 not rely on __MATH_TG/__builtin_types_compatible_p.
22207 * math/test-math-iseqsig.cc: New file.
22208 * sysdeps/powerpc/powerpc64le/Makefile
22209 (CFLAGS-test-math-iseqsig.cc): New variable.
22211 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
22213 * elf/dl-load.c (is_trusted_path): Remove.
22214 (fillin_rpath): Remove check_trusted argument and its use,
22215 all callers changed.
22217 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22220 * Makeconfig (link-pie-before-libc): Replace -pie with
22221 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
22222 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
22223 (tst-dlopen-aout-no-pie): New.
22224 (LDFLAGS-tst-prelink): Removed.
22225 (tst-prelink-no-pie): New.
22226 (LDFLAGS-tst-main1): Removed.
22227 (tst-main1-no-pie): New.
22228 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
22229 (tst-gmon-no-pie): New.
22231 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22233 * manual/install.texi: Document that --enable-static-pie
22235 * INSTALL: Regenerated.
22237 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
22240 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
22243 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22247 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22251 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22253 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22254 <errno.h>. Include "eexp.tbl".
22255 (half): New constant.
22257 (__ieee754_exp): Rewrite.
22258 (__slowexp): Remove prototype.
22259 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22260 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22261 * sysdeps/i386/fpu/slowexp.c: Likewise.
22262 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22263 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22264 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22265 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22266 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22267 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22268 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22270 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22271 (CPPFLAGS-slowexp.c): Remove variable.
22272 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22273 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22274 (CFLAGS-slowexp-fma.c): Remove variable.
22275 (CFLAGS-slowexp-fma4.c): Likewise.
22276 (CFLAGS-slowexp-avx.c): Likewise.
22277 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22279 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22280 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22281 * math/Makefile (type-double-routines): Remove slowexp.
22282 * manual/probes.texi (slowexp_p6): Remove.
22283 (slowexp_p32): Likewise.
22285 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22287 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22290 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22292 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22296 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22298 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22299 <errno.h>. Include "eexp.tbl".
22300 (half): New constant.
22302 (__ieee754_exp): Rewrite.
22303 (__slowexp): Remove prototype.
22304 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22305 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22306 * sysdeps/i386/fpu/slowexp.c: Likewise.
22307 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22308 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22309 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22310 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22311 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22312 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22313 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22315 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22316 (CPPFLAGS-slowexp.c): Remove variable.
22317 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22318 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22319 (CFLAGS-slowexp-fma.c): Remove variable.
22320 (CFLAGS-slowexp-fma4.c): Likewise.
22321 (CFLAGS-slowexp-avx.c): Likewise.
22322 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22324 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22325 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22326 * math/Makefile (type-double-routines): Remove slowexp.
22327 * manual/probes.texi (slowexp_p6): Remove.
22328 (slowexp_p32): Likewise.
22330 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22331 James Clarke <jrtc27@jrtc27.com>
22334 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22337 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22340 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22343 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22346 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22347 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22348 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22349 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22352 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22355 * bits/types/__cancel_jmp_buf_tag.h: New file.
22356 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22357 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22358 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22359 * nptl/Makefile (headers): Add
22360 bits/types/__cancel_jmp_buf_tag.h.
22361 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22362 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22363 * sysdeps/nptl/pthread.h: Include
22364 <bits/types/__cancel_jmp_buf_tag.h>.
22365 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22367 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22369 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22371 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22372 --enable-static-pie variants to x86_64, x32 and i686.
22374 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22377 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22378 argument for attrubutes. All callers changed.
22379 (__inline_mathop1): Likewise. All callers changed.
22380 (__inline_mathop): Likewise. All callers changed.
22381 [__USE_MISC] (scalbn): Use __inline_forward instead of
22382 __inline_forward_c.
22383 [__USE_ISOC99] (scalbln): Likewise.
22384 [__USE_ISOC99] (nearbyint): Likewise.
22385 [__USE_ISOC99] (lrint): Likewise.
22386 [__USE_MISC] (scalbnf): Likewise.
22387 [__USE_ISOC99] (scalblnf): Likewise.
22388 [__USE_ISOC99] (nearbyintf): Likewise.
22389 [__USE_ISOC99] (lrintf): Likewise.
22390 [__USE_MISC] (scalbnl): Likewise.
22391 [__USE_ISOC99] (scalblnl): Likewise.
22392 [__USE_ISOC99] (nearbyintl): Likewise.
22393 [__USE_ISOC99] (lrintl): Likewise.
22394 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22395 __inline_mathop and __m81_defun changed.
22397 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22398 CPU or FPU for ARM hard-float configurations.
22400 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22402 * nptl/tst-attr3.c: Include <libc-diag.h>.
22403 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22405 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22407 * string/tester.c (test_strncat): Also disable -Warray-bounds
22408 warnings for two tests.
22410 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22413 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22414 $(cc-pie-default) == yes.
22415 * config.make.in (cc-pie-default): New.
22416 * configure.ac (libc_cv_pie_default): Renamed to ...
22417 (libc_cv_cc_pie_default): This.
22418 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22419 * configure: Regenerated.
22421 2017-12-18 Florian Weimer <fweimer@redhat.com>
22424 ld.so: Harden dl-libc/libdl hooks.
22425 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22426 (rtld_active): New function.
22427 * dlfcn/dladdr.c (__dladdr): Call it.
22428 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22429 * dlfcn/dlclose.c (__dlcose): Likewise.
22430 * dlfcn/dlerror.c (__dlerror): Likewise.
22431 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22432 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22433 * dlfcn/dlopen.c (__dlopen): Likewise.
22434 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22435 * dlfcn/dlsym.c (__dlsym): Likewise.
22436 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22437 * libio/vtables.c (_IO_vtable_check): Likewise.
22438 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22439 (__libc_dlclose): Likewise.
22440 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22443 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22446 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22447 buffers for readlink input and output.
22449 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22452 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22453 inhibit_stack_protector.
22456 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22457 inhibit_stack_protector.
22459 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22462 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22463 code and invocation.
22465 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22467 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22469 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22472 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22474 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22476 * sysdeps/s390/fpu/libm-test-ulps: Update.
22478 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22482 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22484 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22485 constants to s_sincosf.h file.
22486 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22487 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22489 * sysdeps/ieee754/flt-32/s_sincosf.h:
22492 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22495 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22498 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22501 * INSTALL: Regenerated.
22502 * Makeconfig (real-static-start-installed-name): New.
22503 (pic-default): Updated for --enable-static-pie.
22504 (pie-default): New for --enable-static-pie.
22505 (default-pie-ldflag): Likewise.
22506 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22507 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22508 Replace $(static-start-installed-name) with
22509 $(real-static-start-installed-name).
22510 (+prectorT): Updated for --enable-static-pie.
22511 (+postctorT): Likewise.
22512 (CFLAGS-.o): Add $(pie-default).
22513 (CFLAGS-.op): Likewise.
22514 * NEWS: Mention --enable-static-pie.
22515 * config.h.in (ENABLE_STATIC_PIE): New.
22516 * configure.ac (--enable-static-pie): New configure option.
22517 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22518 (have-static-pie): Likewise.
22519 Enable static PIE if linker supports --no-dynamic-linker.
22520 (ENABLE_STATIC_PIE): New AC_DEFINE.
22521 (enable-static-pie): New LIBC_CONFIG_VAR.
22522 * configure: Regenerated.
22523 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22524 gr$(start-installed-name) for --enable-static-pie.
22525 (extra-objs): Likewise.
22526 (install-lib): Likewise.
22527 (extra-objs): Add static-reloc.o and static-reloc.os
22528 ($(objpfx)$(start-installed-name)): Also depend on
22529 $(objpfx)static-reloc.o.
22530 ($(objpfx)r$(start-installed-name)): New.
22531 ($(objpfx)g$(start-installed-name)): Also depend on
22532 $(objpfx)static-reloc.os.
22533 ($(objpfx)gr$(start-installed-name)): New.
22534 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22536 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22538 * csu/static-reloc.c: New file.
22539 * elf/Makefile (routines): Add dl-reloc-static-pie.
22540 (elide-routines.os): Likewise.
22541 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22542 (tst-tls1-static-non-pie-no-pie): New.
22543 * elf/dl-reloc-static-pie.c: New file.
22544 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22545 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22546 STATIC_PIE_BOOTSTRAP.
22547 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22548 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22549 (tests-static): Likewise.
22550 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22551 (tst-gmon-static-no-pie): New.
22552 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22553 (CRT-tst-gmon-static-pie): Likewise.
22554 (tst-gmon-static-pie-ENV): Likewise.
22555 (tests-special): Likewise.
22556 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22557 (clean-tst-gmon-static-pie-data): Likewise.
22558 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22559 * gmon/tst-gmon-static-pie.c: New file.
22560 * manual/install.texi: Document --enable-static-pie.
22561 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22562 (_dl_get_dl_main_map): Likewise.
22563 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22564 * sysdeps/x86_64/configure.ac: Likewise.
22565 * sysdeps/i386/configure: Regenerated.
22566 * sysdeps/x86_64/configure: Likewise.
22567 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22568 (ASFLAGS-.op): Likewise.
22570 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22572 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22573 * posix/tst-mmap-offset.c (fname): Use /tmp.
22574 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22576 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22578 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22580 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22582 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22585 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22587 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22588 --with-float=hard for arm-linux-gnueabihf configurations.
22591 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22592 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22593 ($(mo-installed)): Use $(objpfx)%.mo.
22594 (realclean): Remove rule.
22596 * po/Makefile (linguas): Remove rule and dependencies.
22597 (linguas.mo): Likewise.
22598 (.PHONY): Do not depend on linguas and linguas.mo.
22599 (podir): Remove variable.
22600 (pofiles): Likewise.
22601 [$(pofiles)] (%.po): Remove rule.
22603 * sysdeps/sparc/sparc32/Makefile
22604 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22605 start-of-line whitespace in argument of echo.
22606 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22607 with whitespace. Generate __wrap_.udiv alias.
22608 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22609 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22610 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22611 * sysdeps/sparc/sparc32/urem.S: Likewise.
22613 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22615 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22616 for aligned inputs.
22618 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22620 * benchtests/bench-strcmp.c: Print output in JSON format.
22622 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22624 2017-12-14 Florian Weimer <fweimer@redhat.com>
22628 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22629 the expanded path string.
22631 2017-12-14 Florian Weimer <fweimer@redhat.com>
22635 * elf/dl-load.c (system_dirs): Update comment.
22636 (nsystem_dirs_len): Use array_length.
22637 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22639 2017-12-14 Florian Weimer <fweimer@redhat.com>
22641 Simplify compiling most of support/ outside of glibc.
22642 * support/check_addrinfo.c: Include <string.h>.
22643 * support/check_dns_packet.c: Likewise.
22644 * support/check_hostent.c: Likewise.
22645 * support/support_can_chroot.c: Include <support/xunistd.h>.
22646 * support/support_format_addrinfo.c: Include <stdlib.h>
22647 * support/support_format_dns_packet.c: Include <stdbool.h>.
22648 * support/support_format_hostent.c: Include <stdlib.h>.
22649 * support/support_format_netent.c: Likewise.
22650 * support/support_write_string.c: Include <support/xunistd.h>.
22651 * support/xdlfcn.c: Include <stddef.h>.
22653 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22655 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22657 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22658 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22660 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22661 (sysdeps_routines): Add memset-niagara7.
22662 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22664 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22666 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22667 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22668 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22669 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22670 Add niagara7 option.
22671 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22674 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22675 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22676 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22678 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22680 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22681 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22682 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22683 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22684 and __memmove_niagara7.
22685 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22686 Add niagara7 option.
22687 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22688 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22689 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22690 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22691 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22693 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22695 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22696 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22697 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22698 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22700 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22701 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22702 _dl_sparc_cap_flags array.
22703 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22705 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22707 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22708 time whenever possible.
22710 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22712 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22713 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22715 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22717 * soft-fp/fmadf4.c: Move to ....
22718 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22719 * soft-fp/fmasf4.c: Move to ....
22720 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22721 * soft-fp/fmatf4.c: Move to ....
22722 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22723 * sysdeps/ieee754/soft-fp/Makefile: New file.
22724 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22725 * sysdeps/arm/preconfigure: Regenerated.
22726 * sysdeps/arm/nofpu/Implies: New file.
22727 * sysdeps/arm/s_fma.c: Remove file.
22728 * sysdeps/arm/s_fmaf.c: Likewise.
22729 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22730 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22731 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22732 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22733 * sysdeps/microblaze/s_fma.c: Remove file.
22734 * sysdeps/microblaze/s_fmaf.c: Likewise.
22735 * sysdeps/mips/mips32/nofpu/Implies: New file.
22736 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22737 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22738 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22739 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22740 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22741 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22742 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22744 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22745 * sysdeps/nios2/s_fma.c: Remove file.
22746 * sysdeps/nios2/s_fmaf.c: Likewise.
22747 * sysdeps/sh/nofpu/Implies: New file.
22748 * sysdeps/sh/s_fma.c: Remove file.
22749 * sysdeps/sh/s_fmaf.c: Likewise.
22750 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22751 * sysdeps/tile/s_fma.c: Remove file.
22752 * sysdeps/tile/s_fmaf.c: Likewise.
22754 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22756 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22757 Add s_cosf-sse2 and s_cosf-fma.
22758 (CFLAGS-s_cosf-fma.c): New.
22759 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22760 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22761 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22763 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22765 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22767 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22769 * libio/Makefile (tests): Add tst-bz22415.
22770 (tst-bz22415-ENV): New rule.
22771 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22772 (tests-special): Add tst-bz22415-mem.out.
22773 ($(objpfx)tst-bz22415-mem.out): New rule.
22774 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22775 in case of a successful seek operation.
22776 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22777 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22778 buffer is required.
22779 * libio/tst-bz22415.c: New test.
22781 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22783 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22785 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22786 __IPC_64 to 0 to avoid IPC_64 being set.
22788 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22791 * math/bits/mathcalls.h (nextafter): Remove const.
22792 (nexttoward): Likewise.
22794 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22796 * configure.ac (--with-fp): Remove configure option.
22797 (with_fp_cond): New variable.
22798 (libc_cv_with_fp): New configure test. Use this variable instead
22800 * configure: Regenerated.
22801 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22802 * manual/install.texi (Configuring and compiling): Remove
22804 * INSTALL: Regenerated.
22805 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22806 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22807 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22808 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22809 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22810 use --without-fp to configure glibc.
22812 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22814 * manual/locale.texi (nl_langinfo): Fix a typo.
22816 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22819 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22821 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22823 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22824 (CFLAGS-argp-parse.c): Likewise.
22825 (CFLAGS-argp-fmtstream.c): Likewise.
22826 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22827 (CPPFLAGS-sha512-crypt.c): Likewise.
22828 (CPPFLAGS-md5-crypt.c): Likewise.
22829 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22830 (CFLAGS-stack_chk_fail_local.c): Likewise.
22831 (CFLAGS-backtrace.c): Likewise.
22832 (CFLAGS-sprintf_chk.c): Likewise.
22833 (CFLAGS-snprintf_chk.c): Likewise.
22834 (CFLAGS-vsprintf_chk.c): Likewise.
22835 (CFLAGS-vsnprintf_chk.c): Likewise.
22836 (CFLAGS-asprintf_chk.c): Likewise.
22837 (CFLAGS-vasprintf_chk.c): Likewise.
22838 (CFLAGS-obprintf_chk.c): Likewise.
22839 (CFLAGS-dprintf_chk.c): Likewise.
22840 (CFLAGS-vdprintf_chk.c): Likewise.
22841 (CFLAGS-printf_chk.c): Likewise.
22842 (CFLAGS-fprintf_chk.c): Likewise.
22843 (CFLAGS-vprintf_chk.c): Likewise.
22844 (CFLAGS-vfprintf_chk.c): Likewise.
22845 (CFLAGS-gets_chk.c): Likewise.
22846 (CFLAGS-fgets_chk.c): Likewise.
22847 (CFLAGS-fgets_u_chk.c): Likewise.
22848 (CFLAGS-fread_chk.c): Likewise.
22849 (CFLAGS-fread_u_chk.c): Likewise.
22850 (CFLAGS-swprintf_chk.c): Likewise.
22851 (CFLAGS-vswprintf_chk.c): Likewise.
22852 (CFLAGS-wprintf_chk.c): Likewise.
22853 (CFLAGS-fwprintf_chk.c): Likewise.
22854 (CFLAGS-vwprintf_chk.c): Likewise.
22855 (CFLAGS-vfwprintf_chk.c): Likewise.
22856 (CFLAGS-fgetws_chk.c): Likewise.
22857 (CFLAGS-fgetws_u_chk.c): Likewise.
22858 (CFLAGS-read_chk.c): Likewise.
22859 (CFLAGS-pread_chk.c): Likewise.
22860 (CFLAGS-pread64_chk.c): Likewise.
22861 (CFLAGS-recv_chk.c): Likewise.
22862 (CFLAGS-recvfrom_chk.c): Likewise.
22863 (CFLAGS-tst-longjmp_chk.c): Likewise.
22864 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22865 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22866 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22867 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22868 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22869 (CFLAGS-tst-chk1.c): Likewise.
22870 (CFLAGS-tst-chk2.c): Likewise.
22871 (CFLAGS-tst-chk3.c): Likewise.
22872 (CFLAGS-tst-chk4.cc): Likewise.
22873 (CFLAGS-tst-chk5.cc): Likewise.
22874 (CFLAGS-tst-chk6.cc): Likewise.
22875 (CFLAGS-tst-lfschk1.c): Likewise.
22876 (CFLAGS-tst-lfschk2.c): Likewise.
22877 (CFLAGS-tst-lfschk3.c): Likewise.
22878 (CFLAGS-tst-lfschk4.cc): Likewise.
22879 (CFLAGS-tst-lfschk5.cc): Likewise.
22880 (CFLAGS-tst-lfschk6.cc): Likewise.
22881 (CFLAGS-tst-ssp-1.c): Likewise.
22882 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22883 (CFLAGS-scandir64.c): Likewise.
22884 (CFLAGS-scandir-tail.c): Likewise.
22885 (CFLAGS-scandir64-tail.c): Likewise.
22886 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22887 (CFLAGS-dl-tunables.c): Likewise.
22888 (CFLAGS-dl-runtime.c): Likewise.
22889 (CFLAGS-dl-lookup.c): Likewise.
22890 (CFLAGS-dl-iterate-phdr.c): Likewise.
22891 (CFLAGS-vismain.c): Likewise.
22892 (CFLAGS-tst-linkall-static.c): Likewise.
22893 (CFLAGS-tst-linkall-static.c): Likewise.
22894 (CPPFLAGS-dl-load.c): Likewise.
22895 (CFLAGS-ldconfig.c): Likewise.
22896 (CFLAGS-dl-cache.c): Likewise.
22897 (CFLAGS-cache.c): Likewise.
22898 (CFLAGS-rtld.c): Likewise.
22899 (CFLAGS-multiload.c): Likewise.
22900 (CFLAGS-filtmod1.c): Likewise.
22901 (CFLAGS-tst-align.c): Likewise.
22902 (CFLAGS-tst-align2.c): Likewise.
22903 (CFLAGS-tst-alignmod.c): Likewise.
22904 (CFLAGS-tst-alignmod2.c): Likewise.
22905 (CPPFLAGS-tst-execstack.c): Likewise.
22906 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22907 (CFLAGS-tst-latepthreadmod.c): Likewise.
22908 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22909 (CFLAGS-getgrnam_r.c): Likewise.
22910 (CFLAGS-getgrent_r.c): Likewise.
22911 (CFLAGS-getgrent.c): Likewise.
22912 (CFLAGS-fgetgrent.c): Likewise.
22913 (CFLAGS-fgetgrent_r.c): Likewise.
22914 (CFLAGS-putgrent.c): Likewise.
22915 (CFLAGS-initgroups.c): Likewise.
22916 (CFLAGS-getgrgid.c): Likewise.
22917 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22918 (CFLAGS-getsgent.c): Likewise.
22919 (CFLAGS-fgetsgent.c): Likewise.
22920 (CFLAGS-fgetsgent_r.c): Likewise.
22921 (CFLAGS-putsgent.c): Likewise.
22922 (CFLAGS-getsgnam.c): Likewise.
22923 (CFLAGS-getsgnam_r.c): Likewise.
22924 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22925 (CFLAGS-iconv_charmap.c): Likewise.
22926 (CFLAGS-dummy-repertoire.c): Likewise.
22927 (CFLAGS-charmap.c): Likewise.
22928 (CFLAGS-linereader.c): Likewise.
22929 (CFLAGS-simple-hash.c): Likewise.
22930 (CFLAGS-gconv_conf.c): Likewise.
22931 (CFLAGS-iconvconfig.c): Likewise.
22932 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22933 (CFLAGS-gethstbyad.c): Likewise.
22934 (CFLAGS-gethstbynm_r.c): Likewise.
22935 (CFLAGS-gethstbynm.c): Likewise.
22936 (CFLAGS-gethstbynm2_r.c): Likewise.
22937 (CFLAGS-gethstbynm2.c): Likewise.
22938 (CFLAGS-gethstent_r.c): Likewise.
22939 (CFLAGS-gethstent.c): Likewise.
22940 (CFLAGS-rcmd.c): Likewise.
22941 (CFLAGS-getnetbynm_r.c): Likewise.
22942 (CFLAGS-getnetbynm.c): Likewise.
22943 (CFLAGS-getnetbyad_r.c): Likewise.
22944 (CFLAGS-getnetbyad.c): Likewise.
22945 (CFLAGS-getnetent_r.c): Likewise.
22946 (CFLAGS-getnetent.c): Likewise.
22947 (CFLAGS-getaliasent_r.c): Likewise.
22948 (CFLAGS-getaliasent.c): Likewise.
22949 (CFLAGS-getrpcent_r.c): Likewise.
22950 (CFLAGS-getrpcent.c): Likewise.
22951 (CFLAGS-getservent_r.c): Likewise.
22952 (CFLAGS-getservent.c): Likewise.
22953 (CFLAGS-getprtent_r.c): Likewise.
22954 (CFLAGS-getprtent.c): Likewise.
22955 (CFLAGS-either_ntoh.c): Likewise.
22956 (CFLAGS-either_hton.c): Likewise.
22957 (CFLAGS-getnetgrent.c): Likewise.
22958 (CFLAGS-getnetgrent_r.c): Likewise.
22959 (CFLAGS-tst-checks-posix.c): Likewise.
22960 (CFLAGS-tst-sockaddr.c): Likewise.
22961 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22962 (CFLAGS-tst-translit.c): Likewise.
22963 (CFLAGS-tst-gettext2.c): Likewise.
22964 (CFLAGS-tst-codeset.c): Likewise.
22965 (CFLAGS-tst-gettext3.c): Likewise.
22966 (CFLAGS-tst-gettext4.c): Likewise.
22967 (CFLAGS-tst-gettext5.c): Likewise.
22968 (CFLAGS-tst-gettext6.c): Likewise.
22969 * io/Makefile (CFLAGS-open.c): Likewise.
22970 (CFLAGS-open64.c): Likewise.
22971 (CFLAGS-creat.c): Likewise.
22972 (CFLAGS-creat64.c): Likewise.
22973 (CFLAGS-fcntl.c): Likewise.
22974 (CFLAGS-poll.c): Likewise.
22975 (CFLAGS-ppoll.c): Likewise.
22976 (CFLAGS-lockf.c): Likewise.
22977 (CFLAGS-statfs.c): Likewise.
22978 (CFLAGS-fstatfs.c): Likewise.
22979 (CFLAGS-statvfs.c): Likewise.
22980 (CFLAGS-fstatvfs.c): Likewise.
22981 (CFLAGS-fts.c): Likewise.
22982 (CFLAGS-fts64.c): Likewise.
22983 (CFLAGS-ftw.c): Likewise.
22984 (CFLAGS-ftw64.c): Likewise.
22985 (CFLAGS-lockf.c): Likewise.
22986 (CFLAGS-posix_fallocate.c): Likewise.
22987 (CFLAGS-posix_fallocate64.c): Likewise.
22988 (CFLAGS-fallocate.c): Likewise.
22989 (CFLAGS-fallocate64.c): Likewise.
22990 (CFLAGS-read.c): Likewise.
22991 (CFLAGS-write.c): Likewise.
22992 (CFLAGS-test-stat.c): Likewise.
22993 (CFLAGS-test-lfs.c): Likewise.
22994 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22995 (CFLAGS-fputc.c): Likewise.
22996 (CFLAGS-fputwc.c): Likewise.
22997 (CFLAGS-freopen64.c): Likewise.
22998 (CFLAGS-freopen.c): Likewise.
22999 (CFLAGS-fseek.c): Likewise.
23000 (CFLAGS-fseeko64.c): Likewise.
23001 (CFLAGS-fseeko.c): Likewise.
23002 (CFLAGS-ftello64.c): Likewise.
23003 (CFLAGS-ftello.c): Likewise.
23004 (CFLAGS-fwide.c): Likewise.
23005 (CFLAGS-genops.c): Likewise.
23006 (CFLAGS-getc.c): Likewise.
23007 (CFLAGS-getchar.c): Likewise.
23008 (CFLAGS-getwc.c): Likewise.
23009 (CFLAGS-getwchar.c): Likewise.
23010 (CFLAGS-iofclose.c): Likewise.
23011 (CFLAGS-iofflush.c): Likewise.
23012 (CFLAGS-iofgetpos64.c): Likewise.
23013 (CFLAGS-iofgetpos.c): Likewise.
23014 (CFLAGS-iofgets.c): Likewise.
23015 (CFLAGS-iofgetws.c): Likewise.
23016 (CFLAGS-iofputs.c): Likewise.
23017 (CFLAGS-iofputws.c): Likewise.
23018 (CFLAGS-iofread.c): Likewise.
23019 (CFLAGS-iofsetpos64.c): Likewise.
23020 (CFLAGS-iofsetpos.c): Likewise.
23021 (CFLAGS-ioftell.c): Likewise.
23022 (CFLAGS-iofwrite.c): Likewise.
23023 (CFLAGS-iogetdelim.c): Likewise.
23024 (CFLAGS-iogetline.c): Likewise.
23025 (CFLAGS-iogets.c): Likewise.
23026 (CFLAGS-iogetwline.c): Likewise.
23027 (CFLAGS-ioputs.c): Likewise.
23028 (CFLAGS-ioseekoff.c): Likewise.
23029 (CFLAGS-ioseekpos.c): Likewise.
23030 (CFLAGS-iosetbuffer.c): Likewise.
23031 (CFLAGS-iosetvbuf.c): Likewise.
23032 (CFLAGS-ioungetc.c): Likewise.
23033 (CFLAGS-ioungetwc.c): Likewise.
23034 (CFLAGS-oldfileops.c): Likewise.
23035 (CFLAGS-oldiofclose.c): Likewise.
23036 (CFLAGS-oldiofgetpos64.c): Likewise.
23037 (CFLAGS-oldiofgetpos.c): Likewise.
23038 (CFLAGS-oldiofsetpos64.c): Likewise.
23039 (CFLAGS-oldiofsetpos.c): Likewise.
23040 (CFLAGS-peekc.c): Likewise.
23041 (CFLAGS-putc.c): Likewise.
23042 (CFLAGS-putchar.c): Likewise.
23043 (CFLAGS-putwc.c): Likewise.
23044 (CFLAGS-putwchar.c): Likewise.
23045 (CFLAGS-rewind.c): Likewise.
23046 (CFLAGS-wfileops.c): Likewise.
23047 (CFLAGS-wgenops.c): Likewise.
23048 (CFLAGS-oldiofopen.c): Likewise.
23049 (CFLAGS-iofopen.c): Likewise.
23050 (CFLAGS-iofopen64.c): Likewise.
23051 (CFLAGS-oldtmpfile.c): Likewise.
23052 (CFLAGS-tst_putwc.c): Likewise.
23053 * locale/Makefile (CFLAGS-md5.c): Likewise.
23054 (CFLAGS-charmap.c): Likewise.
23055 (CFLAGS-locfile.c): Likewise.
23056 (CFLAGS-charmap-dir.c): Likewise.
23057 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23058 (CFLAGS-getpt.c): Likewise.
23059 (CFLAGS-pt_chown.c): Likewise.
23060 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23061 (CFLAGS-obstack.c): Likewise.
23062 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23063 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23064 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
23065 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
23066 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
23067 (CFLAGS-test-tgmath.c): Likewise.
23068 (CFLAGS-test-tgmath2.c): Likewise.
23069 (CFLAGS-test-tgmath-ret.c): Likewise.
23070 (CFLAGS-test-powl.c): Likewise.
23071 (CFLAGS-test-snan.c): Likewise.
23072 (CFLAGS-test-signgam-finite.c): Likewise.
23073 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23074 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23075 (CFLAGS-test-signgam-uchar.c): Likewise.
23076 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23077 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23078 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23079 (CFLAGS-test-signgam-uint.c): Likewise.
23080 (CFLAGS-test-signgam-uint-init.c): Likewise.
23081 (CFLAGS-test-signgam-uint-static.c): Likewise.
23082 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23083 (CFLAGS-test-signgam-ullong.c): Likewise.
23084 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23085 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23086 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23087 (CFLAGS-test-math-cxx11.cc): Likewise.
23088 (CFLAGS-test-math-isinff.cc): Likewise.
23089 (CFLAGS-test-math-iszero.cc): Likewise.
23090 (CFLAGS-test-math-issignaling.cc): Likewise.
23091 (CFLAGS-test-math-iscanonical.cc): Likewise.
23092 (CFLAGS-test-iszero-excess-precision.c): Likewise.
23093 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
23094 (CFLAGS-test-flt-eval-method.c): Likewise.
23095 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
23096 (CFLAGS-test-finite-macros.c): Likewise.
23097 * misc/Makefile (CFLAGS-select.c): Likewise.
23098 (CFLAGS-tsearch.c): Likewise.
23099 (CFLAGS-lsearch.c): Likewise.
23100 (CFLAGS-pselect.c): Likewise.
23101 (CFLAGS-readv.c): Likewise.
23102 (CFLAGS-writev.c): Likewise.
23103 (CFLAGS-preadv.c): Likewise.
23104 (CFLAGS-preadv64.c): Likewise.
23105 (CFLAGS-pwritev.c): Likewise.
23106 (CFLAGS-pwritev64.c): Likewise.
23107 (CFLAGS-preadv2.c): Likewise.
23108 (CFLAGS-preadv64v2.c): Likewise.
23109 (CFLAGS-pwritev2.c): Likewise.
23110 (CFLAGS-pwritev64v2.c): Likewise.
23111 (CFLAGS-usleep.c): Likewise.
23112 (CFLAGS-syslog.c): Likewise.
23113 (CFLAGS-error.c): Likewise.
23114 (CFLAGS-getpass.c): Likewise.
23115 (CFLAGS-mkstemp.c): Likewise.
23116 (CFLAGS-mkstemp64.c): Likewise.
23117 (CFLAGS-getsysstats.c): Likewise.
23118 (CFLAGS-getusershell.c): Likewise.
23119 (CFLAGS-err.c): Likewise.
23120 (CFLAGS-tst-tsearch.c): Likewise.
23121 (CFLAGS-msync.c): Likewise.
23122 (CFLAGS-fdatasync.c): Likewise.
23123 (CFLAGS-fsync.c): Likewise.
23124 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
23125 (CFLAGS-unwind.c): Likewise.
23126 (CFLAGS-unwind-forcedunwind.c): Likewise.
23127 (CFLAGS-pthread_cancel.c): Likewise.
23128 (CFLAGS-pthread_setcancelstate.c): Likewise.
23129 (CFLAGS-pthread_setcanceltype.c): Likewise.
23130 (CFLAGS-cancellation.c): Likewise.
23131 (CFLAGS-libc-cancellation.c): Likewise.
23132 (CFLAGS-pthread_exit.c): Likewise.
23133 (CFLAGS-forward.c): Likewise.
23134 (CFLAGS-pthread_testcancel.c): Likewise.
23135 (CFLAGS-pthread_join.c): Likewise.
23136 (CFLAGS-pthread_timedjoin.c): Likewise.
23137 (CFLAGS-pthread_once.c): Likewise.
23138 (CFLAGS-pthread_cond_wait.c): Likewise.
23139 (CFLAGS-sem_wait.c): Likewise.
23140 (CFLAGS-sem_timedwait.c): Likewise.
23141 (CFLAGS-fcntl.c): Likewise.
23142 (CFLAGS-lockf.c): Likewise.
23143 (CFLAGS-pread.c): Likewise.
23144 (CFLAGS-pread64.c): Likewise.
23145 (CFLAGS-pwrite.c): Likewise.
23146 (CFLAGS-pwrite64.c): Likewise.
23147 (CFLAGS-wait.c): Likewise.
23148 (CFLAGS-waitpid.c): Likewise.
23149 (CFLAGS-sigwait.c): Likewise.
23150 (CFLAGS-msgrcv.c): Likewise.
23151 (CFLAGS-msgsnd.c): Likewise.
23152 (CFLAGS-tcdrain.c): Likewise.
23153 (CFLAGS-open.c): Likewise.
23154 (CFLAGS-open64.c): Likewise.
23155 (CFLAGS-pause.c): Likewise.
23156 (CFLAGS-recv.c): Likewise.
23157 (CFLAGS-send.c): Likewise.
23158 (CFLAGS-accept.c): Likewise.
23159 (CFLAGS-sendto.c): Likewise.
23160 (CFLAGS-connect.c): Likewise.
23161 (CFLAGS-recvfrom.c): Likewise.
23162 (CFLAGS-recvmsg.c): Likewise.
23163 (CFLAGS-sendmsg.c): Likewise.
23164 (CFLAGS-close.c): Likewise.
23165 (CFLAGS-read.c): Likewise.
23166 (CFLAGS-write.c): Likewise.
23167 (CFLAGS-nanosleep.c): Likewise.
23168 (CFLAGS-sigsuspend.c): Likewise.
23169 (CFLAGS-msync.c): Likewise.
23170 (CFLAGS-fdatasync.c): Likewise.
23171 (CFLAGS-fsync.c): Likewise.
23172 (CFLAGS-pt-system.c): Likewise.
23173 (CFLAGS-tst-cleanup2.c): Likewise.
23174 (CFLAGS-tst-cleanupx2.c): Likewise.
23175 (CFLAGS-flockfile.c): Likewise.
23176 (CFLAGS-ftrylockfile.c): Likewise.
23177 (CFLAGS-funlockfile.c): Likewise.
23178 (CFLAGS-tst-initializers1.c): Likewise.
23179 (CFLAGS-tst-initializers1-c89.c): Likewise.
23180 (CFLAGS-tst-initializers1-c99.c): Likewise.
23181 (CFLAGS-tst-initializers1-c11.c): Likewise.
23182 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
23183 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
23184 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23185 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
23186 (CFLAGS-nscd_getgr_r.c): Likewise.
23187 (CFLAGS-nscd_gethst_r.c): Likewise.
23188 (CFLAGS-nscd_getai.c): Likewise.
23189 (CFLAGS-nscd_initgroups.c): Likewise.
23190 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
23191 (CFLAGS-pause.c): Likewise.
23192 (CFLAGS-pread.c): Likewise.
23193 (CFLAGS-pread64.c): Likewise.
23194 (CFLAGS-pwrite.c): Likewise.
23195 (CFLAGS-pwrite64.c): Likewise.
23196 (CFLAGS-sleep.c): Likewise.
23197 (CFLAGS-wait.c): Likewise.
23198 (CFLAGS-waitid.c): Likewise.
23199 (CFLAGS-waitpid.c): Likewise.
23200 (CFLAGS-getopt.c): Likewise.
23201 (CFLAGS-wordexp.c): Likewise.
23202 (CFLAGS-sysconf.c): Likewise.
23203 (CFLAGS-pathconf.c): Likewise.
23204 (CFLAGS-fpathconf.c): Likewise.
23205 (CFLAGS-spawn.c): Likewise.
23206 (CFLAGS-spawnp.c): Likewise.
23207 (CFLAGS-spawni.c): Likewise.
23208 (CFLAGS-glob.c): Likewise.
23209 (CFLAGS-glob64.c): Likewise.
23210 (CFLAGS-getconf.c): Likewise.
23211 (CFLAGS-nanosleep.c): Likewise.
23212 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
23213 (CFLAGS-getpwent.c): Likewise.
23214 (CFLAGS-getpw.c): Likewise.
23215 (CFLAGS-fgetpwent_r.c): Likewise.
23216 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
23217 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
23218 (CFLAGS-mq_timedreceive.c): Likewise.
23219 (CFLAGS-mq_timedsend.c): Likewise.
23220 (CFLAGS-clock_nanosleep.c): Likewise.
23221 (CFLAGS-librt-cancellation.c): Likewise.
23222 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
23223 (CFLAGS-getspent.c): Likewise.
23224 (CFLAGS-fgetspent.c): Likewise.
23225 (CFLAGS-fgetspent_r.c): Likewise.
23226 (CFLAGS-putspent.c): Likewise.
23227 (CFLAGS-getspnam.c): Likewise.
23228 (CFLAGS-getspnam_r.c): Likewise.
23229 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
23230 (CFLAGS-sigsuspend.c): Likewise.
23231 (CFLAGS-sigtimedwait.c): Likewise.
23232 (CFLAGS-sigwait.c): Likewise.
23233 (CFLAGS-sigwaitinfo.c): Likewise.
23234 (CFLAGS-sigreturn.c): Likewise.
23235 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23236 (CFLAGS-vfwprintf.c): Likewise.
23237 (CFLAGS-tmpfile.c): Likewise.
23238 (CFLAGS-tmpfile64.c): Likewise.
23239 (CFLAGS-tempname.c): Likewise.
23240 (CFLAGS-psignal.c): Likewise.
23241 (CFLAGS-vprintf.c): Likewise.
23242 (CFLAGS-cuserid.c): Likewise.
23243 (CFLAGS-errlist.c): Likewise.
23244 (CFLAGS-siglist.c): Likewise.
23245 (CFLAGS-scanf15.c): Likewise.
23246 (CFLAGS-scanf17.c): Likewise.
23247 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
23248 (CFLAGS-msort.c): Likewise.
23249 (CFLAGS-qsort.c): Likewise.
23250 (CFLAGS-system.c): Likewise.
23251 (CFLAGS-fmtmsg.c): Likewise.
23252 (CFLAGS-strfmon.c): Likewise.
23253 (CFLAGS-strfmon_l.c): Likewise.
23254 (CFLAGS-strfromd.c): Likewise.
23255 (CFLAGS-strfromf.c): Likewise.
23256 (CFLAGS-strfroml.c): Likewise.
23257 (CFLAGS-tst-bsearch.c): Likewise.
23258 (CFLAGS-tst-qsort.c): Likewise.
23259 (CFLAGS-tst-makecontext2.c): Likewise.
23260 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
23261 (CFLAGS-xnlm_prot.c): Likewise.
23262 (CFLAGS-xrstat.c): Likewise.
23263 (CFLAGS-xyppasswd.c): Likewise.
23264 (CFLAGS-xklm_prot.c): Likewise.
23265 (CFLAGS-xrex.c): Likewise.
23266 (CFLAGS-xsm_inter.c): Likewise.
23267 (CFLAGS-xmount.c): Likewise.
23268 (CFLAGS-xrusers.c): Likewise.
23269 (CFLAGS-xspray.c): Likewise.
23270 (CFLAGS-xnfs_prot.c): Likewise.
23271 (CFLAGS-xrquota.c): Likewise.
23272 (CFLAGS-xkey_prot.c): Likewise.
23273 (CFLAGS-auth_unix.c): Likewise.
23274 (CFLAGS-key_call.c): Likewise.
23275 (CFLAGS-pmap_rmt.c): Likewise.
23276 (CFLAGS-clnt_perr.c): Likewise.
23277 (CFLAGS-openchild.c): Likewise.
23278 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
23279 (CFLAGS-msgsnd.c): Likewise.
23280 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
23281 * time/Makefile (CFLAGS-tzfile.c): Likewise.
23282 (CFLAGS-tzset.c): Likewise.
23283 (CFLAGS-getdate.c): Likewise.
23284 (CFLAGS-test_time.c): Likewise.
23285 (CPPFLAGS-tst-tzname.c): Likewise.
23286 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23287 (CFLAGS-zic.c): Likewise.
23288 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23289 (CFLAGS-wcswidth.c): Likewise.
23290 (CFLAGS-wcstol.c): Likewise.
23291 (CFLAGS-wcstoul.c): Likewise.
23292 (CFLAGS-wcstoll.c): Likewise.
23293 (CFLAGS-wcstoull.c): Likewise.
23294 (CFLAGS-wcstod.c): Likewise.
23295 (CFLAGS-wcstold.c): Likewise.
23296 (CFLAGS-wcstof128.c): Likewise.
23297 (CFLAGS-wcstof.c): Likewise.
23298 (CFLAGS-wcstol_l.c): Likewise.
23299 (CFLAGS-wcstoul_l.c): Likewise.
23300 (CFLAGS-wcstoll_l.c): Likewise.
23301 (CFLAGS-wcstoull_l.c): Likewise.
23302 (CFLAGS-wcstod_l.c): Likewise.
23303 (CFLAGS-wcstold_l.c): Likewise.
23304 (CFLAGS-wcstof128_l.c): Likewise.
23305 (CFLAGS-wcstof_l.c): Likewise.
23306 (CPPFLAGS-tst-wchar-h.c): Likewise.
23307 (CPPFLAGS-wcstold_l.c): Likewise.
23309 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
23311 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23313 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23314 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23316 * manual/tunables.texi (Hardware Capability Tunables): Document
23317 glibc.tune.cached_memopt.
23318 * sysdeps/powerpc/cpu-features.c: New file.
23319 * sysdeps/powerpc/cpu-features.h: New file.
23320 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23321 _dl_powerpc_cpu_features.
23322 * sysdeps/powerpc/dl-tunables.list: New file.
23323 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23324 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23325 (INIT_ARCH): Initialize use_aligned_memopt.
23326 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23327 IS_IN(rtld))]: Restrict dl_platform_init availability and
23328 initialize CPU features used by tunables.
23329 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23330 Add memcpy-power8-cached.
23331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23332 __memcpy_power8_cached.
23333 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23334 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23337 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23339 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23340 (CFLAGS-noinl-tester.c): Likewise.
23341 (CFLAGS-tst-strlen.c): Likewise.
23342 (CFLAGS-stratcliff.c): Likewise.
23343 (CFLAGS-test-ffs.c): Likewise.
23344 (CFLAGS-tst-inlcall.c): Likewise.
23345 (CFLAGS-tst-xbzero-opt.c): Likewise.
23346 (CFLAGS-memcpy.c): Likewise.
23347 (CFLAGS-wordcopy.c): Likewise.
23349 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23351 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23352 Store r15 on stack and add cfi rule.
23353 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23356 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
23359 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23362 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23364 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23365 Add s_sinf-sse2 and s_sinf-fma.
23366 (CFLAGS-s_sinf-fma.c): New.
23367 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23368 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23369 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23371 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23373 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23375 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23378 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23379 part of result to imaginary part of argument if it is zero and the
23380 real part of the argument is not finite.
23381 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23382 of result to real part of argument if it is zero and the imaginary
23383 part of the argument is not finite.
23385 2017-12-07 Mike FABIAN <mfabian@redhat.com>
23388 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23389 and to the list of locales to be built for testing.
23390 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23391 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23392 and build the collation rules upon that.
23394 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23396 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23397 * manual/math.texi (Mathematics): Document support for _Float32.
23398 * math/Makefile (test-types): Add float32.
23399 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23400 * stdlib/Versions (GLIBC_2.27): Likewise.
23401 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23402 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23403 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23404 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23405 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23406 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23407 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23408 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23409 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23410 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23411 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23412 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23413 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23414 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23415 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23416 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23417 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23418 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23419 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23420 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23421 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23422 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23424 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23425 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23426 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23427 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23428 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23446 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23447 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23448 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23449 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23450 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23451 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23452 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23453 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23454 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23455 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23464 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23465 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23466 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23467 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23468 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23469 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23470 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23471 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23473 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23475 * stdlib/strtof.c: Include <bits/floatn.h>
23476 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23477 and later undefine as macro. Define as weak alias if
23479 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23480 and later undefine as macro. Define as weak alias if
23482 * stdlib/strtof_l.c: Include <bits/floatn.h>
23483 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23484 and later undefine as macro. Define as weak alias if
23486 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23487 and later undefine as macro. Define as weak alias if
23490 * stdlib/strfromf.c: Include <bits/floatn.h>.
23491 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23492 and later undefine as macro and define as weak alias.
23494 * math/test-float32.h: New file.
23496 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23497 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23498 (libm_alias_float_other_r): Create f32 alias.
23499 (libm_alias_float_r): Use semicolon before call to
23500 libm_alias_float_other_r.
23502 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23503 second argument to libm_alias_float_other.
23504 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23505 second argument to libm_alias_float_other.
23506 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23507 argument to libm_alias_float_other.
23510 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23511 real part of result for argument 0 + i * NaN.
23512 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23513 results for tests of 0 + i * NaN.
23515 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23517 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23519 2017-12-06 David S. Miller <davem@davemloft.net>
23521 * sysdeps/sparc/fpu/libm-test-ulps: Update
23522 exp_{downward,towardzero,upward} ulps.
23524 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23526 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23529 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23531 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23538 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23541 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23542 and to the list of locales to be built for testing.
23543 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23544 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23545 and build the collation rules upon that.
23547 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23549 * NEWS: Add sinf to list of optimized functions.
23551 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23553 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23554 (__HAVE_FLOAT32X): Likewise.
23555 * manual/math.texi (Mathematics): Document support for _Float64
23557 * math/Makefile (test-types): Add float64 and float32x.
23558 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23560 * stdlib/Versions (GLIBC_2.27): Likewise.
23561 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23562 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23563 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23564 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23565 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23566 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23568 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23569 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23570 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23571 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23572 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23573 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23575 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23576 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23577 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23578 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23579 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23580 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23581 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23582 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23584 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23585 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23586 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23587 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23588 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23605 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23606 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23607 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23608 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23609 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23610 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23611 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23612 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23613 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23614 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23623 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23624 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23625 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23626 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23627 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23628 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23629 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23630 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23632 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23634 * bits/floatn-common.h: Include <bits/long-double.h>.
23635 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23636 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23637 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23638 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23639 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23640 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23641 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23642 (__builtin_huge_valf64): Use __builtin_huge_vall.
23643 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23644 (__builtin_inff64): Use __builtin_infl.
23645 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23646 (__builtin_nanf64): Use __builtin_nanl.
23647 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23648 (__builtin_nansf64): Use __builtin_nansl.
23650 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23651 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23652 Carlos O'Donnell <carlos@redhat.com>
23654 * elf/dl-tunables.list: Add elision parameters.
23655 * manual/tunables.texi: Add entries about elision tunable.
23656 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23657 Add callback functions to dynamically enable/disable elision.
23658 Add multiple callbacks functions to set elision parameters.
23659 Deleted __libc_enable_secure check.
23660 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23661 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23662 * configure: Regenerated.
23663 * configure.ac: Option enable_lock_elision was deleted.
23664 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23665 * config.make.in: Remove references to enable_lock_elision.
23666 * manual/install.texi: Elision configure option was removed.
23667 * INSTALL: Regenerated to remove enable_lock_elision.
23669 Disable elision so it can verify error case for destroying a mutex.
23670 * sysdeps/powerpc/nptl/elide.h:
23671 Cleanup ENABLE_LOCK_ELISION check.
23672 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23673 * sysdeps/s390/configure: Regenerated.
23674 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23675 * nptl/tst-mutex8.c:
23676 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23677 * sysdeps/powerpc/powerpc32/sysdep.h:
23678 Deleted all ENABLE_LOCK_ELISION checks.
23679 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23680 * sysdeps/powerpc/sysdep.h: Likewise.
23681 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23682 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23683 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23684 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23685 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23686 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23687 enable-lock-elision.
23689 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23691 * stdlib/strtod.c: Include <bits/floatn.h>.
23692 (BUILD_DOUBLE): New macro.
23693 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23694 (strtof64): Define and later undefine as macro. Define as weak
23695 alias if [!USE_WIDE_CHAR].
23696 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23697 (wcstof64): Define and later undefine as macro. Define as weak
23698 alias if [USE_WIDE_CHAR].
23699 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23700 (strtof32x): Define and later undefine as macro. Define as weak
23701 alias if [!USE_WIDE_CHAR].
23702 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23703 (wcstof32x): Define and later undefine as macro. Define as weak
23704 alias if [USE_WIDE_CHAR].
23705 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23706 (BUILD_DOUBLE): New macro.
23707 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23708 (strtof64_l): Define and later undefine as macro. Define as weak
23709 alias if [!USE_WIDE_CHAR].
23710 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23711 (wcstof64_l): Define and later undefine as macro. Define as weak
23712 alias if [USE_WIDE_CHAR].
23713 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23714 (strtof32x_l): Define and later undefine as macro. Define as weak
23715 alias if [!USE_WIDE_CHAR].
23716 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23717 (wcstof32x_l): Define and later undefine as macro. Define as weak
23718 alias if [USE_WIDE_CHAR].
23720 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23722 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23723 (reduced): Use ones as double instead of integer.
23725 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23727 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23729 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23731 * stdlib/strfromd.c: Include <bits/floatn.h>.
23732 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23733 and later undefine as macro and define as weak alias.
23734 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23737 * math/test-float32x.h: New file.
23738 * math/test-float64.h: Likewise.
23740 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23741 (libm_alias_double_other_r_f64): New macro.
23742 (libm_alias_double_other_r_f32x): Likewise.
23743 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23744 libm_alias_double_other_r_f32x.
23745 (libm_alias_double_r): Use semicolon before call to
23746 libm_alias_double_other_r.
23747 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23749 (libm_alias_double_other_r_f64): New macro.
23750 (libm_alias_double_other_r_f32x): Likewise.
23751 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23752 libm_alias_double_other_r_f32x.
23754 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23756 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23758 (SINF_FUNC): Likewise. Replace floor with simple casts.
23760 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23763 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23764 and to the list of locales to be built for testing.
23765 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23766 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23767 and build the collation rules upon that.
23769 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23771 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23772 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23773 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23774 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23775 instead of __insn__xxx.
23776 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23777 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23778 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23779 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23780 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23781 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23783 2017-12-05 Florian Weimer <fweimer@redhat.com>
23785 Linux: Implement interfaces for memory protection keys
23786 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23788 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23789 * support/xunistd.h (xsysconf): Declare.
23790 * support/xraise.c: New file.
23791 * support/xsigaction.c: Likewise.
23792 * support/xsignal.c: Likewise.
23793 * support/xsysconf.c: Likewise.
23794 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23795 pkey_set, pkey_get, pkey_mprotect.
23796 [misc] (tests): Add tst-pkey.
23797 (tst-pkey): Link with -lpthread.
23798 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23799 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23800 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23801 (PKEY_DISABLE_WRITE): Define.
23802 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23804 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23805 (SEGV_PKUERR): Add.
23806 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23807 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23808 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23809 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23811 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23812 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23813 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23814 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23815 * sysdeps/unix/sysv/linux/**.abilist: Update.
23817 2017-12-05 Florian Weimer <fweimer@redhat.com>
23819 * support/tst-test_compare.c (subprocess): Use long long instead
23820 of long argument for consistent type width across 32-bit and
23821 64-bit architectures.
23822 (do_test): Adjust expected output.
23824 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23826 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23827 (cosf): Define using libm_alias_float.
23828 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23829 (fabsf): Define using libm_alias_float.
23830 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23831 (fmaf): Define using libm_alias_float.
23832 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23833 (rintf): Define using libm_alias_float.
23834 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23835 (sinf): Define using libm_alias_float.
23836 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23837 <libm-alias-float.h>.
23838 (modff): Define using libm_alias_float.
23839 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23840 <libm-alias-float.h>.
23841 (logbf): Define using libm_alias_float.
23842 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23843 <libm-alias-float.h>.
23844 (ceilf): Define using libm_alias_float.
23845 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23846 <libm-alias-float.h>.
23847 (copysignf): Define using libm_alias_float.
23848 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23849 <libm-alias-float.h>.
23850 (floorf): Define using libm_alias_float.
23851 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23852 <libm-alias-float.h>.
23853 (llrintf): Define using libm_alias_float.
23854 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23855 <libm-alias-float.h>.
23856 (llroundf): Define using libm_alias_float.
23857 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23858 <libm-alias-float.h>.
23859 (lrintf): Define using libm_alias_float.
23860 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23861 <libm-alias-float.h>.
23862 (lroundf): Define using libm_alias_float.
23863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23864 <libm-alias-float.h>.
23865 (nearbyintf): Define using libm_alias_float.
23866 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23867 <libm-alias-float.h>.
23868 (rintf): Define using libm_alias_float.
23869 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23870 <libm-alias-float.h>.
23871 (roundf): Define using libm_alias_float.
23872 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23873 <libm-alias-float.h>.
23874 (truncf): Define using libm_alias_float.
23875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23876 Include <libm-alias-float.h>.
23877 (ceilf): Define using libm_alias_float.
23878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23879 Include <libm-alias-float.h>.
23880 (copysignf): Define using libm_alias_float.
23881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23882 Include <libm-alias-float.h>.
23883 (floorf): Define using libm_alias_float.
23884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23885 Include <libm-alias-float.h>.
23886 (llrintf): Define using libm_alias_float.
23887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23888 Include <libm-alias-float.h>.
23889 (llroundf): Define using libm_alias_float.
23890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23891 Include <libm-alias-float.h>.
23892 (logbf): Define using libm_alias_float.
23893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23894 Include <libm-alias-float.h>.
23895 (lrintf): Define using libm_alias_float.
23896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23897 Include <libm-alias-float.h>.
23898 (lroundf): Define using libm_alias_float.
23899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23900 Include <libm-alias-float.h>.
23901 (modff): Define using libm_alias_float.
23902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23903 Include <libm-alias-float.h>.
23904 (roundf): Define using libm_alias_float.
23905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23906 Include <libm-alias-float.h>.
23907 (truncf): Define using libm_alias_float.
23908 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23909 <libm-alias-float.h>.
23910 (llrintf): Define using libm_alias_float.
23911 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23912 <libm-alias-float.h>.
23913 (llroundf): Define using libm_alias_float.
23914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23915 <libm-alias-float.h>.
23916 (ceilf): Define using libm_alias_float.
23917 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23918 <libm-alias-float.h>.
23919 (floorf): Define using libm_alias_float.
23920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23921 <libm-alias-float.h>.
23922 (llroundf): Define using libm_alias_float.
23923 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23924 <libm-alias-float.h>.
23925 (lroundf): Define using libm_alias_float.
23926 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23927 <libm-alias-float.h>.
23928 (roundf): Define using libm_alias_float.
23929 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23930 <libm-alias-float.h>.
23931 (truncf): Define using libm_alias_float.
23932 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23933 <libm-alias-float.h>.
23934 (copysignf): Define using libm_alias_float.
23935 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23936 <libm-alias-float.h>.
23937 (llrintf): Define using libm_alias_float.
23938 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23939 <libm-alias-float.h>.
23940 (llroundf): Define using libm_alias_float.
23941 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23942 <libm-alias-float.h>.
23943 (lrintf): Define using libm_alias_float.
23944 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23945 <libm-alias-float.h>.
23946 (lroundf): Define using libm_alias_float.
23947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23948 <libm-alias-float.h>.
23949 (ceilf): Define using libm_alias_float.
23950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23951 <libm-alias-float.h>.
23952 (copysignf): Define using libm_alias_float.
23953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23954 <libm-alias-float.h>.
23955 (cosf): Define using libm_alias_float.
23956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23957 <libm-alias-float.h>.
23958 (floorf): Define using libm_alias_float.
23959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23960 <libm-alias-float.h>.
23961 (llrintf): Define using libm_alias_float.
23962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23963 <libm-alias-float.h>.
23964 (llroundf): Define using libm_alias_float.
23965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23966 <libm-alias-float.h>.
23967 (logbf): Define using libm_alias_float.
23968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23969 <libm-alias-float.h>.
23970 (modff): Define using libm_alias_float.
23971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23972 <libm-alias-float.h>.
23973 (roundf): Define using libm_alias_float.
23974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23975 <libm-alias-float.h>.
23976 (sinf): Define using libm_alias_float.
23977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23978 <libm-alias-float.h>.
23979 (truncf): Define using libm_alias_float.
23980 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23981 <libm-alias-float.h>.
23982 (ceilf): Define using libm_alias_float.
23983 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23984 <libm-alias-float.h>.
23985 (copysignf): Define using libm_alias_float.
23986 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23987 <libm-alias-float.h>.
23988 (floorf): Define using libm_alias_float.
23989 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23990 <libm-alias-float.h>.
23991 (llrintf): Define using libm_alias_float.
23992 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23993 <libm-alias-float.h>.
23994 (llroundf): Define using libm_alias_float.
23995 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23996 <libm-alias-float.h>.
23997 (nearbyintf): Define using libm_alias_float.
23998 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23999 <libm-alias-float.h>.
24000 (rintf): Define using libm_alias_float.
24001 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24002 <libm-alias-float.h>.
24003 (roundf): Define using libm_alias_float.
24004 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24005 <libm-alias-float.h>.
24006 (truncf): Define using libm_alias_float.
24007 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24008 <libm-alias-float.h>.
24009 (ceilf): Define using libm_alias_float.
24010 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24011 <libm-alias-float.h>.
24012 (floorf): Define using libm_alias_float.
24013 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24014 <libm-alias-float.h>.
24015 (llroundf): Define using libm_alias_float.
24016 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24017 <libm-alias-float.h>.
24018 (roundf): Define using libm_alias_float.
24019 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24020 <libm-alias-float.h>.
24021 (truncf): Define using libm_alias_float.
24022 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24023 <libm-alias-float.h>.
24024 (copysignf): Define using libm_alias_float.
24025 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24026 <libm-alias-float.h>.
24027 (llrintf): Define using libm_alias_float.
24028 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24029 <libm-alias-float.h>.
24030 (llroundf): Define using libm_alias_float.
24031 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24032 <libm-alias-float.h>.
24033 (cosf): Define using libm_alias_float.
24034 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24035 <libm-alias-float.h>.
24036 (llrintf): Define using libm_alias_float.
24037 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24038 <libm-alias-float.h>.
24039 (llroundf): Define using libm_alias_float.
24040 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24041 <libm-alias-float.h>.
24042 (sinf): Define using libm_alias_float.
24044 2017-12-04 Florian Weimer <fweimer@redhat.com>
24046 * support/check.h (TEST_COMPARE): Define.
24047 (support_test_compare_failure): Declare.
24048 * support/Makefile (libsupport-routines): Add
24049 support_test_compare_failure.
24050 (tests): Add tst-test_compare.
24051 * support /support_test_compare_failure.c: New file.
24052 * support/tst-test_compare.c: Likewise.
24054 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24057 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24058 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24059 available, this rewrite of the collation rules does reproduce
24060 the test file in the same order.
24062 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24065 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
24066 digraphs in the month and day names. Using single code points for
24067 digraphs is deprecated. While there are dedicated Unicode
24068 codepoints, for the digraphs, these are included for backwards
24069 compatibility and modern texts use a sequence of Basic Latin
24070 characters. See: https://www.unicode.org/faq/ligature_digraph.html
24071 This makes the month and day names agree exactly with CLDR now,
24072 CLDR does not use the single code points for the digraphs either.
24074 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
24076 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
24078 2017-12-04 Joseph Myers <joseph@codesourcery.com>
24080 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
24083 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
24085 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
24086 Define only for libc.so.
24088 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
24090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24091 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
24092 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
24093 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
24094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24096 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24099 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
24101 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
24104 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
24105 PREINIT_FUNCTION_WEAK is nonzero.
24106 (gmon_initializer): New function. Put procedure label for it in
24107 .init_array section.
24108 (_init): Don't call PREINIT_FUNCTION.
24109 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
24110 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
24111 value when map argument is null.
24113 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
24114 depi instruction from PIC pc-relative sequence.
24115 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
24116 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
24117 (elf_machine_load_address): Likewise.
24118 (elf_machine_runtime_setup): Likewise.
24120 2017-12-02 Joseph Myers <joseph@codesourcery.com>
24122 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
24123 <libm-alias-double.h>.
24124 (logb): Define using libm_alias_double.
24125 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24126 <libm-alias-double.h>.
24127 (copysign): Define using libm_alias_double.
24128 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
24129 <libm-alias-double.h>.
24130 (llrint): Define using libm_alias_double.
24131 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
24132 <libm-alias-double.h>.
24133 (llround): Define using libm_alias_double.
24134 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24135 <libm-alias-double.h>.
24136 (lrint): Define using libm_alias_double.
24137 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24138 <libm-alias-double.h>.
24139 (lround): Define using libm_alias_double.
24140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24141 Include <libm-alias-double.h>.
24142 (copysign): Define using libm_alias_double.
24143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
24144 Include <libm-alias-double.h>.
24145 (llrint): Define using libm_alias_double.
24146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
24147 Include <libm-alias-double.h>.
24148 (llround): Define using libm_alias_double.
24149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
24150 <libm-alias-double.h>.
24151 (logb): Define using libm_alias_double.
24152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
24153 Include <libm-alias-double.h>.
24154 (lrint): Define using libm_alias_double.
24155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
24156 Include <libm-alias-double.h>.
24157 (lround): Define using libm_alias_double.
24158 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
24159 <libm-alias-double.h>.
24160 (llrint): Define using libm_alias_double.
24161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24162 <libm-alias-double.h>.
24163 (llround): Define using libm_alias_double.
24164 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24165 <libm-alias-double.h>.
24166 (llround): Define using libm_alias_double.
24167 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24168 <libm-alias-double.h>.
24169 (lround): Define using libm_alias_double.
24170 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24171 <libm-alias-double.h>.
24172 (copysign): Define using libm_alias_double.
24173 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
24174 <libm-alias-double.h>.
24175 (llrint): Define using libm_alias_double.
24176 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24177 <libm-alias-double.h>.
24178 (llround): Define using libm_alias_double.
24179 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24180 <libm-alias-double.h>.
24181 (lrint): Define using libm_alias_double.
24182 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24183 <libm-alias-double.h>.
24184 (lround): Define using libm_alias_double.
24185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
24186 <libm-alias-double.h>.
24187 (copysign): Define using libm_alias_double.
24188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
24189 <libm-alias-double.h>.
24190 (llrint): Define using libm_alias_double.
24192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
24193 <libm-alias-double.h>.
24194 (llround): Define using libm_alias_double.
24195 (lround): Likewise.
24196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
24197 <libm-alias-double.h>.
24198 (logb): Define using libm_alias_double.
24199 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24200 <libm-alias-double.h>.
24201 (copysign): Define using libm_alias_double.
24202 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24203 <libm-alias-double.h>.
24204 (llrint): Define using libm_alias_double.
24206 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
24207 <libm-alias-double.h>.
24208 (llround): Define using libm_alias_double.
24209 (lround): Likewise.
24210 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24211 <libm-alias-double.h>.
24212 (llround): Define using libm_alias_double.
24213 (lround): Likewise.
24214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24215 <libm-alias-double.h>.
24216 (copysign): Define using libm_alias_double.
24217 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24218 <libm-alias-double.h>.
24219 (llrint): Define using libm_alias_double.
24221 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24222 <libm-alias-double.h>.
24223 (llround): Define using libm_alias_double.
24224 (lround): Likewise.
24225 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24226 <libm-alias-double.h>.
24227 (llrint): Define using libm_alias_double.
24229 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24230 <libm-alias-double.h>.
24231 (llround): Define using libm_alias_double.
24232 (lround): Likewise.
24234 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24237 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
24238 compat symbol based on llround.
24240 * sysdeps/powerpc/power7/fpu/s_logb.c
24241 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
24242 symbol based on __logb, not on logb.
24243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
24244 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
24246 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24248 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
24249 (rint): Define using libm_alias_double.
24250 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
24251 <libm-alias-double.h>.
24252 (modf): Define using libm_alias_double.
24253 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
24254 <libm-alias-double.h>.
24255 (ceil): Define using libm_alias_double.
24256 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
24257 <libm-alias-double.h>.
24258 (floor): Define using libm_alias_double.
24259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
24260 <libm-alias-double.h>.
24261 (nearbyint): Define using libm_alias_double.
24262 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
24263 <libm-alias-double.h>.
24264 (rint): Define using libm_alias_double.
24265 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
24266 <libm-alias-double.h>.
24267 (round): Define using libm_alias_double.
24268 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
24269 <libm-alias-double.h>.
24270 (trunc): Define using libm_alias_double.
24271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
24272 <libm-alias-double.h>.
24273 (ceil): Define using libm_alias_double.
24274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
24275 Include <libm-alias-double.h>.
24276 (floor): Define using libm_alias_double.
24277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
24278 <libm-alias-double.h>.
24279 (modf): Define using libm_alias_double.
24280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
24281 Include <libm-alias-double.h>.
24282 (round): Define using libm_alias_double.
24283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
24284 Include <libm-alias-double.h>.
24285 (trunc): Define using libm_alias_double.
24286 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24287 <libm-alias-double.h>.
24288 (ceil): Define using libm_alias_double.
24289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24290 <libm-alias-double.h>.
24291 (floor): Define using libm_alias_double.
24292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24293 <libm-alias-double.h>.
24294 (round): Define using libm_alias_double.
24295 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24296 <libm-alias-double.h>.
24297 (trunc): Define using libm_alias_double.
24298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24299 <libm-alias-double.h>.
24300 (ceil): Define using libm_alias_double.
24301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24302 <libm-alias-double.h>.
24303 (floor): Define using libm_alias_double.
24304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24305 <libm-alias-double.h>.
24306 (modf): Define using libm_alias_double.
24307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24308 <libm-alias-double.h>.
24309 (round): Define using libm_alias_double.
24310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24311 <libm-alias-double.h>.
24312 (trunc): Define using libm_alias_double.
24313 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24314 <libm-alias-double.h>.
24315 (ceil): Define using libm_alias_double.
24316 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24317 <libm-alias-double.h>.
24318 (floor): Define using libm_alias_double.
24319 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24320 <libm-alias-double.h>.
24321 (nearbyint): Define using libm_alias_double.
24322 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24323 <libm-alias-double.h>.
24324 (rint): Define using libm_alias_double.
24325 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24326 <libm-alias-double.h>.
24327 (round): Define using libm_alias_double.
24328 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24329 <libm-alias-double.h>.
24330 (trunc): Define using libm_alias_double.
24331 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24332 <libm-alias-double.h>.
24333 (ceil): Define using libm_alias_double.
24334 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24335 <libm-alias-double.h>.
24336 (floor): Define using libm_alias_double.
24337 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24338 <libm-alias-double.h>.
24339 (round): Define using libm_alias_double.
24340 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24341 <libm-alias-double.h>.
24342 (trunc): Define using libm_alias_double.
24344 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24345 (fabs): Define using libm_alias_double.
24346 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24347 (fma): Define using libm_alias_double.
24348 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24349 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24351 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24353 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24355 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24357 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24358 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24359 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24362 due redirect macro.
24364 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24366 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24368 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24370 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24371 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24372 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24373 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24376 (libm-sysdep_routines): Add s_nearbyintf-generic and
24377 s_nearbyint-generic.
24378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24391 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24402 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24413 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24424 (sysdep_calls): New rule.
24425 (sysdep_routines): Use sysdep_calls as base.
24426 (libm-sysdep_routines): Add generic rule for symbols shared with
24427 libc. Add s_copysign-generic and s_copysign-generic objects.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24437 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24440 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24441 the list of locales to be built for testing.
24442 * localedata/is_IS.UTF-8.in: New file.
24443 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24446 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24448 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24449 <libm-alias-float.h>.
24450 (fabsf): Define using libm_alias_float.
24452 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24454 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24456 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24458 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24459 <libm-alias-float.h>.
24460 (fabsf): Define using libm_alias_float.
24461 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24462 <libm-alias-float.h>.
24463 (lrintf): Define using libm_alias_float.
24464 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24465 <libm-alias-float.h>.
24466 (rintf): Define using libm_alias_float.
24468 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24469 <libm-alias-double.h>.
24470 (fabs): Define using libm_alias_double.
24471 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24472 <libm-alias-double.h>.
24473 (lrint): Define using libm_alias_double.
24474 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24475 <libm-alias-double.h>.
24476 (rint): Define using libm_alias_double.
24478 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24479 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24480 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24481 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24482 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24483 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24484 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24485 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24486 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24487 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24488 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24489 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24490 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24491 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24492 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24493 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24494 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24495 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24497 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24498 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24499 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24501 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24502 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24503 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24505 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24506 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24507 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24508 s_expm1_template.c.
24509 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24510 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24511 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24513 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24514 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24515 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24516 s_floor_template.c.
24517 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24518 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24519 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24520 s_frexp_template.c.
24521 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24522 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24523 s_lrint_template.c.
24524 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24525 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24526 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24528 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24529 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24530 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24531 s_nearbyint_template.c.
24532 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24533 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24534 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24535 s_remquo_template.c.
24536 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24537 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24538 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24540 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24541 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24542 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24544 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24545 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24546 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24547 s_sincos_template.c.
24548 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24549 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24550 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24552 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24553 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24554 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24556 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24557 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24558 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24559 s_trunc_template.c.
24560 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24561 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24562 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24563 s_atan.c instead of including s_atan.c.
24564 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24565 s_atanf.c instead of including s_atanf.c.
24566 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24567 s_atanl.c instead of including s_atanl.c.
24568 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24569 instead of s_atan.c.
24570 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24571 instead of s_atanf.c.
24572 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24573 instead of s_atanl.c.
24575 * scripts/update-copyrights: Do not handle intl/plural.c
24578 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24581 * configure.ac (BISON): Require to be present.
24582 * configure: Regenerated.
24583 * intl/Makefile (generated): Add plural.c.
24584 [$(BISON) != no]: Make code unconditional.
24585 (plural.c): Change rule to $(objpfx)plural.c.
24586 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24587 * intl/plural.c: Remove.
24588 * manual/install.texi (Tools for Compilation): Document bison as
24590 * INSTALL: Regenerated.
24592 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24594 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24595 <libm-alias-double.h>.
24596 (llrint): Define using libm_alias_double.
24597 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24598 <libm-alias-float.h>.
24599 (llrintf): Define using libm_alias_float.
24600 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24601 <libm-alias-ldouble.h>.
24602 (llrintl): Define using libm_alias_ldouble.
24604 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24605 declare_mgen_alias instead of weak_alias.
24606 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24607 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24608 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24610 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24612 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24614 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24615 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24616 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24618 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24619 Add submul_1-generic.
24620 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24621 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24622 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24624 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24625 Add addmul_1-generic.
24626 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24627 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24628 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24630 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24632 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24633 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24634 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24636 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24638 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24639 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24640 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24642 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24644 According to CLDR, collation rules for Serbian and Bosnian
24645 should be the same as for Croatian.
24648 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24649 and to the list of locales to be built for testing.
24650 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24651 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24652 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24653 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24655 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24657 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24658 to make test case pass.
24659 * localedata/hr_HR.UTF-8.in: Add more test strings.
24661 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24663 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24665 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24667 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24668 the list of locales to built for testing.
24669 * localedata/hr_HR.UTF-8.in: New file.
24671 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24674 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24676 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24677 CLDR (except use ligatures for the digraphs, CLDR does not use
24678 the ligatures), add first_workday, some fixes in the date and time
24680 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24682 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24683 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24684 Add int_p_cs_precedes and int_n_cs_precedes.
24685 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24686 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24688 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24689 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24691 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24692 and lang_lib. Change postal_fmt.
24694 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24696 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24698 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24699 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24700 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24701 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24702 * sysdeps/generic/setjmpP.h: New file.
24703 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24704 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24705 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24706 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24707 Add jmp_buf-ssp.sym.
24708 (tests): Add tst-saved_mask-1.
24710 2017-11-30 Arjun Shankar <arjun@redhat.com>
24714 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24715 instead of request2size.
24717 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24720 (__lllrint): Remove alias.
24721 (lllrint): Likewise.
24722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24723 (__lllrintf): Likewise.
24724 (lllrintf): Likewise.
24726 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24727 <libm-alias-float.h>.
24728 (copysignf): Define using libm_alias_float.
24729 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24730 <libm-alias-float.h>.
24731 (fabsf): Define using libm_alias_float.
24732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24733 Include <libm-alias-float.h>.
24734 (copysignf): Define using libm_alias_float.
24735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24736 <libm-alias-float.h>.
24737 (fabsf): Define using libm_alias_float.
24738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24739 <libm-alias-float.h>.
24740 (fdimf): Define using libm_alias_float.
24741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24742 <libm-alias-float.h>.
24743 (fmaf): Define using libm_alias_float.
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24745 <libm-alias-float.h>.
24746 (llrintf): Define using libm_alias_float.
24747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24748 Include <libm-alias-float.h>.
24749 (nearbyintf): Define using libm_alias_float.
24750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24751 <libm-alias-float.h>.
24752 (rintf): Define using libm_alias_float.
24753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24754 <libm-alias-float.h>.
24755 (llrintf): Define using libm_alias_float.
24756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24757 <libm-alias-float.h>.
24758 (lrintf): Define using libm_alias_float.
24759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24760 <libm-alias-float.h>.
24761 (nearbyintf): Define using libm_alias_float.
24762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24763 <libm-alias-float.h>.
24764 (rintf): Define using libm_alias_float.
24765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24766 <libm-alias-float.h>.
24767 (ceilf): Define using libm_alias_float.
24768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24769 <libm-alias-float.h>.
24770 (floorf): Define using libm_alias_float.
24771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24772 <libm-alias-float.h>.
24773 (fmaf): Define using libm_alias_float.
24774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24775 <libm-alias-float.h>.
24776 (lrintf): Define using libm_alias_float.
24777 (llrintf): Likewise.
24778 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24779 <libm-alias-float.h>.
24780 (nearbyintf): Define using libm_alias_float.
24781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24782 <libm-alias-float.h>.
24783 (rintf): Define using libm_alias_float.
24784 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24785 <libm-alias-float.h>.
24786 (truncf): Define using libm_alias_float.
24787 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24788 <libm-alias-float.h>.
24789 (copysignf): Define using libm_alias_float.
24790 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24791 <libm-alias-float.h>.
24792 (fabsf): Define using libm_alias_float.
24793 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24794 <libm-alias-float.h>.
24795 (lrintf): Define using libm_alias_float.
24796 (llrintf): Likewise.
24797 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24798 <libm-alias-float.h>.
24799 (nearbyintf): Define using libm_alias_float.
24800 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24801 <libm-alias-float.h>.
24802 (rintf): Define using libm_alias_float.
24804 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24806 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24807 <libm-alias-double.h>.
24808 (copysign): Define using libm_alias_double.
24809 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24810 <libm-alias-double.h>.
24811 (fabs): Define using libm_alias_double.
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24813 Include <libm-alias-double.h>.
24814 (copysign): Define using libm_alias_double.
24815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24816 <libm-alias-double.h>.
24817 (fabs): Define using libm_alias_double.
24818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24819 <libm-alias-double.h>.
24820 (fdim): Define using libm_alias_double.
24821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24822 <libm-alias-double.h>.
24823 (fma): Define using libm_alias_double.
24824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24825 <libm-alias-double.h>.
24826 (llrint): Define using libm_alias_double.
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24828 Include <libm-alias-double.h>.
24829 (nearbyint): Define using libm_alias_double.
24830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24831 <libm-alias-double.h>.
24832 (rint): Define using libm_alias_double.
24833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24834 <libm-alias-double.h>.
24835 (fabs): Define using libm_alias_double.
24836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24837 <libm-alias-double.h>.
24838 (llrint): Define using libm_alias_double.
24839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24840 <libm-alias-double.h>.
24841 (nearbyint): Define using libm_alias_double.
24842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24843 <libm-alias-double.h>.
24844 (rint): Define using libm_alias_double.
24845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24846 <libm-alias-double.h>.
24847 (ceil): Define using libm_alias_double.
24848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24849 <libm-alias-double.h>.
24850 (floor): Define using libm_alias_double.
24851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24852 <libm-alias-double.h>.
24853 (fma): Define using libm_alias_double.
24854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24855 <libm-alias-double.h>.
24856 (lrint): Define using libm_alias_double.
24857 (llrint): Likewise.
24858 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24859 <libm-alias-double.h>.
24860 (nearbyint): Define using libm_alias_double.
24861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24862 <libm-alias-double.h>.
24863 (rint): Define using libm_alias_double.
24864 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24865 <libm-alias-double.h>.
24866 (trunc): Define using libm_alias_double.
24867 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24868 <libm-alias-double.h>.
24869 (copysign): Define using libm_alias_double.
24870 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24871 <libm-alias-double.h>.
24872 (fabs): Define using libm_alias_double.
24873 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24874 <libm-alias-double.h>.
24875 (lrint): Define using libm_alias_double.
24876 (llrint): Likewise.
24877 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24878 <libm-alias-double.h>.
24879 (nearbyint): Define using libm_alias_double.
24880 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24881 <libm-alias-double.h>.
24882 (rint): Define using libm_alias_double.
24885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24887 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24889 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24890 SPARC --disable-multi-arch glibc variants.
24892 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24893 <libm-alias-float.h>.
24894 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24896 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24897 <libm-alias-float.h>.
24898 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24900 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24901 <libm-alias-float.h>.
24902 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24904 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24905 <libm-alias-float.h>.
24906 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24908 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24909 <libm-alias-float.h>.
24910 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24912 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24913 <libm-alias-float.h>.
24914 (ceilf): Define using libm_alias_float.
24915 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24916 <libm-alias-float.h>.
24917 (floorf): Define using libm_alias_float.
24918 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24919 <libm-alias-float.h>.
24920 (fmaf): Define using libm_alias_float.
24921 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24922 <libm-alias-float.h>.
24923 (nearbyintf): Define using libm_alias_float.
24924 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24925 <libm-alias-float.h>.
24926 (rintf): Define using libm_alias_float.
24927 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24928 <libm-alias-float.h>.
24929 (truncf): Define using libm_alias_float.
24930 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24931 (copysignf): Define using libm_alias_float.
24932 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24933 (cosf): Define using libm_alias_float.
24934 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24935 (fabsf): Define using libm_alias_float.
24936 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24937 (fmaxf): Define using libm_alias_float.
24938 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24939 (fminf): Define using libm_alias_float.
24940 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24941 (llrintf): Define using libm_alias_float.
24942 [!__ILP32__] (lrintf): Likewise.
24943 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24944 (sincosf): Define using libm_alias_float.
24945 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24946 (sinf): Define using libm_alias_float.
24947 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24948 (lrintf): Define using libm_alias_float.
24950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24951 <libm-alias-double.h>.
24952 (atan): Define using libm_alias_double.
24953 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24954 <libm-alias-double.h>.
24955 (ceil): Define using libm_alias_double.
24956 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24957 <libm-alias-double.h>.
24958 (floor): Define using libm_alias_double.
24959 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24960 <libm-alias-double.h>.
24961 (fma): Define using libm_alias_double.
24962 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24963 <libm-alias-double.h>.
24964 (nearbyint): Define using libm_alias_double.
24965 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24966 <libm-alias-double.h>.
24967 (rint): Define using libm_alias_double.
24968 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24969 <libm-alias-double.h>.
24970 (sin): Define using libm_alias_double.
24972 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24973 <libm-alias-double.h>.
24974 (tan): Define using libm_alias_double.
24975 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24976 <libm-alias-double.h>.
24977 (trunc): Define using libm_alias_double.
24978 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24979 (copysign): Define using libm_alias_double.
24980 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24981 (fabs): Define using libm_alias_double.
24982 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24983 (fmax): Define using libm_alias_double.
24984 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24985 (fmin): Define using libm_alias_double.
24986 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24987 (llrint): Define using libm_alias_double.
24988 [!__ILP32__] (lrint): Likewise.
24989 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24990 (lrint): Define using libm_alias_double.
24992 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24995 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24997 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24998 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24999 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25000 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25005 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25007 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25012 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25015 (libm-sysdep_routines): Add s_nearbyint-generic and
25016 s_nearbyintf-generic objects.
25017 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25018 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25019 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25020 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25021 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25022 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25024 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25025 Add s_finitef-generic and s_finite-generic objects.
25026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25029 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25030 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25031 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25033 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25034 Add s_isinff-generic and s_isinf-generic objects.
25035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25043 Add s_isnanf-generic and s_isnan-generic objects.
25044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25051 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25053 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25055 (sysdep_routines): Use sysdep_calls as base.
25056 (libm-sysdep_routines): Add generic rule for symbols shared with
25057 libc. Add s_signbit-generic and s_signbitf-generic objects.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25065 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25067 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
25068 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
25069 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
25070 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
25071 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
25072 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
25073 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
25074 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
25075 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
25076 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
25077 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
25078 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
25079 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
25080 libm_alias_float_r.
25081 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
25082 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
25084 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
25085 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
25086 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
25087 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
25088 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
25089 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
25090 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
25091 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
25092 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
25093 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
25095 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
25097 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
25098 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
25099 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
25100 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
25101 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
25102 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
25103 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
25104 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
25105 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
25106 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
25107 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
25108 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
25109 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
25110 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
25111 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
25112 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
25113 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
25114 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
25115 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
25117 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
25118 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
25119 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
25120 * sysdeps/ia64/fpu/w_lgammaf_main.c
25121 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
25122 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
25124 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25125 Alexandre Oliva <aoliva@redhat.com>
25128 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
25129 * localedata/fr_CA.UTF-8.in: New file with test data for backward
25131 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
25133 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
25134 * localedata/locales/de_DE (LC_COLLATE): Likewise.
25135 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
25136 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
25137 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
25138 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
25139 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
25140 instead of “ifdef DIACRIT_BACKWARD”.
25142 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25144 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
25145 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
25146 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
25147 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
25148 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
25149 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
25150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
25151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
25152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
25153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
25154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
25155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
25156 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
25157 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
25158 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
25159 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25160 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
25161 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
25162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25163 ($(have-as-vis3) == yes): Remove conditional.
25164 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
25166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
25168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
25170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
25172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
25174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
25175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
25176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
25177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
25178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
25179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
25180 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
25181 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
25183 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25185 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
25186 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
25187 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
25188 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
25189 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
25190 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
25191 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
25192 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
25193 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
25194 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
25195 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
25196 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
25197 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
25198 libm_alias_double_r.
25199 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
25201 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
25202 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
25203 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
25204 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
25205 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
25206 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
25207 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
25208 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
25209 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
25210 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
25211 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
25213 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
25215 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
25216 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
25217 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
25218 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
25219 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
25220 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
25221 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
25222 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
25223 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
25224 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
25225 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
25226 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
25227 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
25228 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
25229 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
25230 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
25231 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
25232 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
25234 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
25235 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
25236 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
25237 * sysdeps/ia64/fpu/w_lgamma_main.c
25238 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
25239 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
25241 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
25243 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
25244 address of $global$ into %dp register earlier. Use pc-relative
25245 instruction sequence for PIC case.
25247 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25249 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
25250 (asinhf): Define using libm_alias_float.
25251 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
25252 (atanf): Define using libm_alias_float.
25253 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
25254 (cbrtf): Define using libm_alias_float.
25255 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
25256 (ceilf): Define using libm_alias_float.
25257 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25258 (copysignf): Define using libm_alias_float.
25259 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
25260 (expm1f): Define using libm_alias_float.
25261 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
25262 (fabsf): Define using libm_alias_float.
25263 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
25264 (floorf): Define using libm_alias_float.
25265 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25266 (fmaxf): Define using libm_alias_float.
25267 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
25268 (fminf): Define using libm_alias_float.
25269 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
25270 (frexpf): Define using libm_alias_float.
25271 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25272 (llrintf): Define using libm_alias_float.
25273 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
25274 (logbf): Define using libm_alias_float.
25275 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25276 (lrintf): Define using libm_alias_float.
25277 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
25278 (nearbyintf): Define using libm_alias_float.
25279 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
25280 (remquof): Define using libm_alias_float.
25281 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
25282 (rintf): Define using libm_alias_float.
25283 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
25284 (truncf): Define using libm_alias_float.
25285 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25286 <libm-alias-float.h>.
25287 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25289 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25290 <libm-alias-float.h>.
25291 (expf): Define using libm_alias_float, or libm_alias_float_other
25293 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25294 <libm-alias-float.h>.
25295 (log2f): Define using libm_alias_float, or libm_alias_float_other
25297 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25298 <libm-alias-float.h>.
25299 (logf): Define using libm_alias_float, or libm_alias_float_other
25301 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25302 <libm-alias-float.h>.
25303 (powf): Define using libm_alias_float, or libm_alias_float_other
25305 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25306 <libm-alias-float.h>.
25307 (cosf): Define using libm_alias_float.
25308 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25309 <libm-alias-float.h>.
25310 (sincosf): Define using libm_alias_float.
25311 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25312 <libm-alias-float.h>.
25313 (sinf): Define using libm_alias_float.
25314 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25315 (fmaxf): Define using libm_alias_float.
25316 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25317 (fminf): Define using libm_alias_float.
25318 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25319 <libm-alias-float.h>.
25320 (fmaf): Define using libm_alias_float.
25322 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25323 (asinh): Define using libm_alias_double.
25324 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25325 (atan): Define using libm_alias_double.
25326 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25327 (cbrt): Define using libm_alias_double.
25328 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25329 (ceil): Define using libm_alias_double.
25330 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25331 (copysign): Define using libm_alias_double.
25332 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25333 (expm1): Define using libm_alias_double.
25334 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25335 (fabs): Define using libm_alias_double.
25336 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25337 (fdim): Define using libm_alias_double.
25338 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25339 (floor): Define using libm_alias_double.
25340 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25341 (fmax): Define using libm_alias_double.
25342 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25343 (fmin): Define using libm_alias_double.
25344 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25345 (frexp): Define using libm_alias_double.
25346 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25347 (llrint): Define using libm_alias_double.
25348 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25349 (logb): Define using libm_alias_double.
25350 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25351 (lrint): Define using libm_alias_double.
25352 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25353 (nearbyint): Define using libm_alias_double.
25354 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25355 (remquo): Define using libm_alias_double.
25356 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25357 (rint): Define using libm_alias_double.
25358 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25359 (trunc): Define using libm_alias_double.
25360 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25361 (fmax): Define using libm_alias_double.
25362 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25363 (fmin): Define using libm_alias_double.
25364 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25365 (fma): Define using libm_alias_double.
25367 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25370 * elf/dl-hwcaps.c (ROUND): Removed.
25371 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25372 and ELF_NOTE_NEXT_OFFSET.
25373 * elf/dl-load.c (ROUND): Removed.
25374 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25375 * elf/readelflib.c (ROUND): Removed.
25376 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25377 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25378 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25379 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25381 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25383 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25384 [!__fmaf] (fmaf): Define using libm_alias_float.
25386 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25387 [!__fma] (fma): Define using libm_alias_double.
25388 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25390 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25393 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25394 and implement the collation rules for cs from CLDR on top of that.
25395 * Makefile: Add cs_CZ.UTF-8 to test-input.
25396 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25398 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25400 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25402 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25403 Icarus Sparry <icarus.w.sparry@intel.com>
25405 * benchtests/Makefile:Add BENCHSET to allow subsets of
25406 benchmarks to be run.
25407 * benchtests/README: Add documentation for: Running subsets of
25410 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25412 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25413 range of tests names.
25415 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25416 result from property and remove "max", min" and "mean" from
25417 required properties based on benchtests/bench-skeleton.c.
25419 2017-11-28 Florian Weimer <fweimer@redhat.com>
25422 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25423 due to Internet requirement.
25424 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25426 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25428 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25430 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25431 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25432 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25433 (sysdep_routines): Add memset-ultra1.
25434 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25436 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25437 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25438 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25439 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25440 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25441 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25442 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25445 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25447 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25448 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25449 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25450 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25451 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25452 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25453 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25455 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25456 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25457 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25458 (sysdep_routines): Add memcpy-ultra1.
25459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25460 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25462 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25464 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25465 (cfloat_versions): Take function argument without trailing 'f'.
25466 Call libm_alias_float_other.
25467 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25468 * sysdeps/alpha/fpu/cargf.c: Likewise.
25469 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25470 * sysdeps/alpha/fpu/conjf.c: Likewise.
25471 * sysdeps/alpha/fpu/crealf.c: Likewise.
25472 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25473 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25474 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25475 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25476 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25477 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25478 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25479 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25480 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25481 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25482 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25483 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25484 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25485 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25486 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25487 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25488 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25489 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25490 (clog10f): Use libm_alias_float_other.
25491 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25492 (ceilf): Define using libm_alias_float.
25493 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25494 (copysignf): Define using libm_alias_float.
25495 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25496 (fabsf): Define using libm_alias_float.
25497 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25498 (floorf): Define using libm_alias_float.
25499 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25500 (fmaxf): Define using libm_alias_float.
25501 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25502 (fminf): Define using libm_alias_float.
25503 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25504 (lrintf): Define using libm_alias_float.
25505 (llrintf): Likewise.
25506 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25507 (lroundf): Define using libm_alias_float.
25508 (llroundf): Likewise.
25509 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25510 (rintf): Define using libm_alias_float.
25511 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25512 (truncf): Define using libm_alias_float.
25514 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25515 (ceilf): Define using libm_alias_float.
25516 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25517 (floorf): Define using libm_alias_float.
25518 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25519 (fmaf): Define using libm_alias_float.
25520 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25521 (fmaxf): Define using libm_alias_float.
25522 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25523 (fminf): Define using libm_alias_float.
25524 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25525 (llrintf): Define using libm_alias_float.
25526 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25527 (llroundf): Define using libm_alias_float.
25528 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25529 (lrintf): Define using libm_alias_float.
25530 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25531 (lroundf): Define using libm_alias_float.
25532 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25533 <libm-alias-float.h>.
25534 (nearbyintf): Define using libm_alias_float.
25535 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25536 (rintf): Define using libm_alias_float.
25537 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25538 (roundf): Define using libm_alias_float.
25539 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25540 (truncf): Define using libm_alias_float.
25542 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25543 (ceil): Define using libm_alias_double.
25544 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25545 (copysign): Define using libm_alias_double.
25546 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25547 (fabs): Define using libm_alias_double.
25548 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25549 (floor): Define using libm_alias_double.
25550 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25551 (fmax): Define using libm_alias_double.
25552 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25553 (fmin): Define using libm_alias_double.
25554 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25555 (lrint): Define using libm_alias_double.
25556 (llrint): Likewise.
25557 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25558 (lround): Define using libm_alias_double.
25559 (llround): Likewise.
25560 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25561 (rint): Define using libm_alias_double.
25562 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25563 (trunc): Define using libm_alias_double.
25565 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25566 (libm_alias_double_r): Add semicolon after weak_alias call.
25568 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25570 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25571 (ceil): Define using libm_alias_double.
25572 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25573 (floor): Define using libm_alias_double.
25574 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25575 (fma): Define using libm_alias_double.
25576 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25577 (fmax): Define using libm_alias_double.
25578 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25579 (fmin): Define using libm_alias_double.
25580 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25581 (llrint): Define using libm_alias_double.
25582 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25583 (llround): Define using libm_alias_double.
25584 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25585 (lrint): Define using libm_alias_double.
25586 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25587 (lround): Define using libm_alias_double.
25588 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25589 (nearbyint): Define using libm_alias_double.
25590 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25591 (rint): Define using libm_alias_double.
25592 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25593 (round): Define using libm_alias_double.
25594 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25595 (trunc): Define using libm_alias_double.
25597 2017-11-27 Florian Weimer <fweimer@redhat.com>
25599 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25600 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25601 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25602 (tests): Add tst-mlock2.
25603 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25605 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25606 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25607 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25608 for mlock. Document mlock2.
25610 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25612 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25613 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25615 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25617 * sysdeps/x86/Makeconfig: New file.
25618 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25619 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25620 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25621 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25622 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25623 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25624 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25626 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25627 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25628 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25629 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25630 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25631 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25632 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25633 * manual/math.texi (Mathematics): Document support for _Float64x.
25634 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25635 * stdlib/Versions (GLIBC_2.27): Likewise.
25636 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25637 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25638 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25639 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25640 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25641 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25642 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25643 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25644 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25645 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25646 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25647 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25652 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25653 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25654 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25655 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25656 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25657 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25658 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25659 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25660 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25661 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25662 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25663 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25664 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25665 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25667 2017-11-27 Andreas Schwab <schwab@suse.de>
25669 * elf/Makefile (dl-routines): Add dl-sort-maps.
25670 * elf/dl-sort-maps.c: New file.
25671 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25672 (_dl_sort_maps): Declare.
25673 * elf/dl-fini.c (_dl_sort_fini): Remove.
25674 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25675 * elf/dl-close.c (_dl_close_worker): Likewise.
25676 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25678 * elf/dl-open.c (dl_open_worker): Likewise.
25680 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25682 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25683 using libm_alias_float128.
25684 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25686 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25688 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25689 (setpayloadsigf128): Likewise.
25690 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25692 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25695 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25696 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25697 -mfloat128 to CFLAGS.
25699 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25701 (CFLAGS-libm-test-support-float64x.c): New variable.
25702 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25703 $(f128-loader-link) to gnulib-tests.
25705 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25706 (libm_alias_float128_other_r): If
25707 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25709 (libm_alias_float128_r): Add semicolon after weak_alias call.
25710 * sysdeps/generic/libm-alias-ldouble.h
25711 (libm_alias_ldouble_other_r_f128): New macro.
25712 (libm_alias_ldouble_other_r_f64x): Likewise.
25713 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25714 and libm_alias_ldouble_other_r_f64x.
25715 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25716 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25717 (libm_alias_ldouble_other_r_f128): New macro.
25718 (libm_alias_ldouble_other_r_f64x): Likewise.
25719 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25720 and libm_alias_ldouble_other_r_f64x.
25722 * stdlib/strfroml.c: Always include <stdlib.h>.
25723 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25724 undefine as macro and define as weak alias.
25725 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25726 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25728 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25729 Define and later undefine as macro and define as weak alias.
25731 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25732 Define and later undefine as macro. Define as weak alias if
25734 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25735 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25736 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25737 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25738 Define and later undefine as macro. Define as weak alias if
25740 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25741 Define and later undefine as macro. Define as weak alias if
25743 * sysdeps/ieee754/float128/strtof128_l.c
25744 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25745 Define and later undefine as macro. Define as weak alias if
25747 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25748 Define and later undefine as macro. Define as weak alias if
25750 * sysdeps/ieee754/ldbl-128/strtold_l.c
25751 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25752 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25753 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25754 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25755 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25756 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25757 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25758 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25759 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25760 * sysdeps/ieee754/ldbl-96/strtold_l.c
25761 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25762 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25763 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25764 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25766 * math/test-float64x.h: New file.
25767 * math/Makefile (type-float64x-yes): New variable.
25768 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25770 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25771 function-like macro.
25772 (min_of_type_): Likewise.
25773 (min_of_type_l): Likewise.
25774 (min_of_type_f128): Likewise.
25775 (min_of_type): Pass () as last argument of __MATH_TG.
25777 * stdlib/tst-strtod-round-skeleton.c
25778 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25781 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25782 for combinations of long double with _Float64 and _Float64x.
25784 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25785 (__DECL_SIMD_cosf32): Likewise.
25786 (__DECL_SIMD_cosf64): Likewise.
25787 (__DECL_SIMD_cosf32x): Likewise.
25788 (__DECL_SIMD_cosf64x): Likewise.
25789 (__DECL_SIMD_cosf128x): Likewise.
25790 (__DECL_SIMD_sinf16): Likewise.
25791 (__DECL_SIMD_sinf32): Likewise.
25792 (__DECL_SIMD_sinf64): Likewise.
25793 (__DECL_SIMD_sinf32x): Likewise.
25794 (__DECL_SIMD_sinf64x): Likewise.
25795 (__DECL_SIMD_sinf128x): Likewise.
25796 (__DECL_SIMD_sincosf16): Likewise.
25797 (__DECL_SIMD_sincosf32): Likewise.
25798 (__DECL_SIMD_sincosf64): Likewise.
25799 (__DECL_SIMD_sincosf32x): Likewise.
25800 (__DECL_SIMD_sincosf64x): Likewise.
25801 (__DECL_SIMD_sincosf128x): Likewise.
25802 (__DECL_SIMD_logf16): Likewise.
25803 (__DECL_SIMD_logf32): Likewise.
25804 (__DECL_SIMD_logf64): Likewise.
25805 (__DECL_SIMD_logf32x): Likewise.
25806 (__DECL_SIMD_logf64x): Likewise.
25807 (__DECL_SIMD_logf128x): Likewise.
25808 (__DECL_SIMD_expf16): Likewise.
25809 (__DECL_SIMD_expf32): Likewise.
25810 (__DECL_SIMD_expf64): Likewise.
25811 (__DECL_SIMD_expf32x): Likewise.
25812 (__DECL_SIMD_expf64x): Likewise.
25813 (__DECL_SIMD_expf128x): Likewise.
25814 (__DECL_SIMD_powf16): Likewise.
25815 (__DECL_SIMD_powf32): Likewise.
25816 (__DECL_SIMD_powf64): Likewise.
25817 (__DECL_SIMD_powf32x): Likewise.
25818 (__DECL_SIMD_powf64x): Likewise.
25819 (__DECL_SIMD_powf128x): Likewise.
25821 * stdlib/Versions (libc): Move entries for wcstof128 and
25822 wcstof128_l to ....
25823 * wcsmbs/Versions (libc): ... here.
25824 Include <float128-abi.h>.
25826 2017-11-24 Florian Weimer <fweimer@redhat.com>
25828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25829 bits/mman-shared.h.
25830 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25831 <bits/mman-shared.h>.
25832 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25834 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25835 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25836 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25837 <bits/mman-shared.h>.
25839 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25842 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25843 posix_memalign/free.
25844 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25846 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25849 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25850 and implement the collation rules for pl from CLDR on top of that.
25851 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25852 of locales to be built for testing.
25853 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25855 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25857 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25858 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25859 libm_alias_ldouble_other.
25860 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25861 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25862 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25863 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25864 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25865 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25866 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25867 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25868 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25869 libm_alias_ldouble_r.
25870 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25871 libm_alias_ldouble_other.
25872 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25873 (log10l): Likewise.
25874 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25875 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25876 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25877 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25878 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25879 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25880 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25881 (atan2l): Likewise.
25882 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25883 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25884 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25885 libm_alias_ldouble.
25886 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25888 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25889 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25890 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25892 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25893 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25894 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25895 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25896 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25897 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25898 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25899 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25900 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25901 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25902 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25903 libm_alias_ldouble.
25904 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25905 libm_alias_ldouble_other.
25906 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25907 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25908 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25909 libm_alias_ldouble.
25910 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25911 libm_alias_ldouble_other.
25912 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25913 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25914 * sysdeps/ia64/fpu/w_lgammal_main.c
25915 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25916 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25918 2017-11-23 Florian Weimer <fweimer@redhat.com>
25920 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25921 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25922 alike. Remove freeres marker.
25923 * malloc/arena.c (arena_thread_freeres): Call
25924 tcache_thread_shutdown.
25926 2017-11-23 Florian Weimer <fweimer@redhat.com>
25929 Export nscd hash function as __nss_hash.
25930 * include/nss.h (__nss_hash): Declare.
25931 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25933 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25934 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25936 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25937 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25938 * nss/Makefiles (routines): Add nss_hash.
25939 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25940 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25941 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25942 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25944 2017-11-23 Florian Weimer <fweimer@redhat.com>
25947 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25948 Return error code, not -1.
25949 * signal/tst-sigwait-eintr.c: New file.
25950 * signal/Makefile (tests): Add tst-sigwait-eintr.
25952 2017-11-23 Florian Weimer <fweimer@redhat.com>
25954 Linux: Add memfd_create system call wrapper
25955 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25957 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25958 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25959 [__USE_GNU] (memfd_create): Declare.
25960 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25961 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25962 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25963 * sysdeps/unix/sysv/linux/**.abilist: Update.
25964 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25966 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25968 * localedata/gen-locale.sh: Fix typo in variable name.
25970 * resolv/res_debug.c (p_secstodate): Condition definition on
25971 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25972 directly as __p_secstodate, and as a compat symbol. Do not use
25973 libresolv_hidden_def.
25974 * resolv/resolv.h (p_secstodate): Remove macro and function
25976 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25977 using p_secstodate.
25978 * include/resolv.h (__p_secstodate): Do not use
25979 libresolv_hidden_proto.
25980 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25981 (tests-internal): ... here.
25982 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25983 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25984 and declare and use __p_secstodate and use compat_symbol_reference
25986 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25987 implementation returning 77.
25990 * resolv/res_debug.c: Include <libc-diag.h>.
25991 (p_secstodate): Assert time_t at least as wide as u_long. On
25992 overflow, use integer seconds since the epoch as output, or use
25993 "<overflow>" as output and set errno to EOVERFLOW if integer
25994 seconds since the epoch would be 14 or more characters.
25995 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25997 * resolv/tst-p_secstodate.c: New file.
25998 * resolv/Makefile (tests): Add tst-p_secstodate.
25999 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26001 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26002 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26003 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26005 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26007 * posix/regcomp.c (init_word_char): Add comments.
26009 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26012 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26013 strlen to compute length of ut_user and set trailing NUL byte of
26016 2017-11-21 Mike FABIAN <mfabian@redhat.com>
26019 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26020 using “copy "iso14651_t1"” and then implementing the
26021 collation rules for lv from CLDR on top of that.
26022 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26023 of locales to be built for testing.
26024 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26027 2017-11-21 Joseph Myers <joseph@codesourcery.com>
26029 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26030 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26031 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26032 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26033 [__USE_MISC] (MADV_HWPOISON): New macro.
26034 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26036 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26038 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26039 -Wmissing-braces on GCC 4.9.
26041 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26043 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26044 * sysdeps/s390/s390-32/start.S (_start): Likewise
26045 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26046 (thread_start): Likewise.
26047 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26048 (thread_start): Likewise.
26049 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26050 (__makecontext_ret): Likewise.
26051 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26052 (__makecontext_ret): Likewise.
26054 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26056 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26057 __wcschrnul): Remove attribute_hidden.
26059 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26061 regex: don't assume uint64_t or uint32_t
26062 This avoids -Werror=overflow errors for 32-bit systems in
26063 the 64-bit case. Problem reported by Joseph Myers in:
26064 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
26065 Also, when this code is used in Gnulib it ports to platforms
26066 that lack uint64_t and uint32_t. The C standard doesn't guarantee
26067 them, and on some 32-bit compilers there is no uint64_t.
26068 Problem reported by Gianluigi Tiesi in:
26069 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
26070 * posix/regcomp.c (init_word_char): Don't assume that the types
26071 uint64_t and uint32_t exist. Adapted from Gnulib patch
26072 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
26073 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
26075 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
26077 * sysdeps/aarch64/memset-reg.h: New file.
26078 * sysdeps/aarch64/memset.S: Use it.
26079 (__memset): Rename to MEMSET macro.
26080 [ZVA_MACRO]: Use zva_macro.
26081 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26082 Add memset_generic and memset_falkor.
26083 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26084 (__libc_ifunc_impl_list): Add memset ifuncs.
26085 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
26086 local variable zva_size.
26087 * sysdeps/aarch64/multiarch/memset.c: New file.
26088 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
26089 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
26090 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
26091 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
26092 (DCZID_DZP_MASK): New macro.
26093 (DCZID_BS_MASK): Likewise.
26094 (init_cpu_features): Read and set zva_size.
26095 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
26096 (struct cpu_features): New member zva_size.
26098 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
26099 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
26100 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
26102 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
26103 backwards. Fix timing computation.
26104 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
26105 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
26106 on memset by N at a time. Fix timing computation.
26108 2017-11-20 Florian Weimer <fweimer@redhat.com>
26110 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
26111 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
26113 2017-11-19 Florian Weimer <fweimer@redhat.com>
26115 manual: Document mprotect
26116 * manual/memory.texi (Memory Protection): New section.
26117 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
26118 documentation of PROT_* flags and reference the Memory Protection
26121 2017-11-19 Florian Weimer <fweimer@redhat.com>
26123 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
26124 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
26125 (Scatter-Gather): ... to here. Remove misleading comment.
26127 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
26129 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
26132 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
26133 when /proc/<pid>/setgroups does not exist.
26135 2017-11-18 Florian Weimer <fweimer@redhat.com>
26137 * sysdeps/unix/sysv/linux/tst-ttyname.c
26138 (become_root_in_mount_ns): Remove.
26139 (do_in_chroot_1): Call support_enter_mount_namespace.
26140 (do_in_chroot_2): Likewise.
26141 (do_test): Call support_become_root early.
26143 2017-11-18 Florian Weimer <fweimer@redhat.com>
26145 * support/namespace.h (support_enter_mount_namespace): Declare.
26146 * support/support_enter_mount_namespace.c: New file.
26147 * support/Makefile (libsupport-routines): Add
26148 support_enter_mount_namespace.
26150 2017-11-18 Florian Weimer <fweimer@redhat.com>
26152 * support/temp_file.c (support_create_temp_directory): Use
26153 test_dir and do not rely on the presence of the XXXXXX suffix.
26154 * support/temp_file.h (support_create_temp_directory): Update
26156 * support/tst-xreadlink.c (do_test): Adjust.
26157 * support/support_chroot.c (support_chroot_create): Likewise.
26159 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26161 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
26163 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
26166 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26168 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26169 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26170 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26171 (ceill): Define using libm_alias_ldouble.
26172 * sysdeps/x86_64/fpu/s_copysignl.S: Include
26173 <libm-alias-ldouble.h>.
26174 (copysignl): Define using libm_alias_ldouble.
26175 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26176 (fabsl): Define using libm_alias_ldouble.
26177 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26178 (floorl): Define using libm_alias_ldouble.
26179 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26180 (fmaxl): Define using libm_alias_ldouble.
26181 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26182 (fminl): Define using libm_alias_ldouble.
26183 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26184 (llrintl): Define using libm_alias_ldouble.
26185 (lrintl): Likewise.
26186 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
26187 <libm-alias-ldouble.h>.
26188 (nearbyintl): Define using libm_alias_ldouble.
26189 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26190 (truncl): Define using libm_alias_ldouble.
26191 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
26192 <libm-alias-ldouble.h>.
26193 (lrintl): Define using libm_alias_ldouble.
26195 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26196 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26197 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
26198 (asinhl): Define using libm_alias_ldouble.
26199 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
26200 (atanl): Define using libm_alias_ldouble.
26201 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
26202 (cbrtl): Define using libm_alias_ldouble.
26203 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26204 (ceill): Define using libm_alias_ldouble.
26205 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
26206 (copysignl): Define using libm_alias_ldouble.
26207 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26208 (fabsl): Define using libm_alias_ldouble.
26209 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26210 (floorl): Define using libm_alias_ldouble.
26211 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26212 (fmaxl): Define using libm_alias_ldouble.
26213 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26214 (fminl): Define using libm_alias_ldouble.
26215 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
26216 (frexpl): Define using libm_alias_ldouble.
26217 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26218 (llrintl): Define using libm_alias_ldouble.
26219 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
26220 (logbl): Define using libm_alias_ldouble.
26221 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
26222 (lrintl): Define using libm_alias_ldouble.
26223 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
26224 (nearbyintl): Define using libm_alias_ldouble.
26225 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
26226 (nextafterl): Define using libm_alias_ldouble.
26227 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
26228 (remquol): Define using libm_alias_ldouble.
26229 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
26230 (rintl): Define using libm_alias_ldouble.
26231 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26232 (truncl): Define using libm_alias_ldouble.
26233 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26234 (fmaxl): Define using libm_alias_ldouble.
26235 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26236 (fminl): Define using libm_alias_ldouble.
26238 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
26239 to C syntax instead of availability and properties of types.
26240 * bits/floatn.h [!__ASSEMBLER]: Likewise.
26241 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
26242 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
26243 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
26244 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
26245 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
26247 2017-11-17 Florian Weimer <fweimer@redhat.com>
26249 support_become_root: Enable file creation in namespaces.
26250 * support/support_become_root.c (setup_mapping): New function.
26251 (support_become_root): Call it.
26253 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26255 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
26258 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26260 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
26261 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
26263 2017-11-16 Joseph Myers <joseph@codesourcery.com>
26265 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
26267 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26270 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26272 * INSTALL: Fix botched up regeneration.
26274 * NEWS: Update sourceare link to https.
26275 * configure.ac: Likewise.
26276 * crypt/md5test-giant.c: Likewise.
26277 * dlfcn/bug-atexit1.c: Likewise.
26278 * dlfcn/bug-atexit2.c: Likewise.
26279 * localedata/README: Likewise.
26280 * malloc/tst-mallocfork.c: Likewise.
26281 * manual/install.texi: Likewise.
26282 * nptl/tst-pthread-getattr.c: Likewise.
26283 * stdio-common/tst-fgets.c: Likewise.
26284 * stdio-common/tst-fwrite.c: Likewise.
26285 * sunrpc/Makefile: Likewise.
26286 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26287 * wcsmbs/tst-mbrtowc2.c: Likewise.
26288 * configure: Regenerate.
26289 * INSTALL: Regenerate.
26291 2017-11-15 Martin Sebor <msebor@redhat.com>
26293 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26294 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26295 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26297 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26300 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26301 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26304 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26305 Defer is_pty check until end of the function.
26306 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26309 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26310 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26311 (ttyname): Likewise.
26312 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26313 (__ttyname_r): Likewise.
26315 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26318 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26320 * manual/terminal.texi (Is It a Terminal):
26321 Mention ENODEV for ttyname and ttyname_r.
26323 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26325 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26326 constant and macro.
26328 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26329 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26330 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26331 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26332 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26333 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26335 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26337 * signal/sigrelse.c (sigrelse): Optimize implementation.
26339 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26340 (__sigpause): Rely on __sigsuspend to implement single thread
26341 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26343 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26345 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26346 kernel version to 4.14.
26348 2017-11-15 Steve Ellcey <sellcey@cavium.com>
26351 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26352 Check if ifname is too long.
26354 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26356 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26358 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26360 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26361 was accidentally lost.
26363 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26365 * localedata/locales/az_IR: Add standard copyright header.
26367 2017-11-15 Florian Weimer <fweimer@redhat.com>
26370 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26371 not just the top one. Output a new "subheaps" statistic.
26373 2017-11-15 Florian Weimer <fweimer@redhat.com>
26376 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26377 under the per-arena lock.
26378 * malloc/Makefile (tests): Add tst-malloc_info.
26379 (tst-malloc_info): Link with libpthread.
26380 * malloc/tst-malloc_info.c: New file.
26382 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26385 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26386 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26387 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26388 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26389 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26390 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26391 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26392 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26393 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26394 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26395 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26396 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26397 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26398 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26399 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26400 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26401 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26402 (__floating_type): Likewise.
26403 (__real_integer_type): Likewise.
26404 (__complex_integer_type): Likewise.
26405 (__expr_is_real): Likewise.
26406 (__tgmath_real_type_sub): Likewise.
26407 (__tgmath_real_type): Likewise.
26408 (__tgmath_complex_type_sub): Likewise.
26409 (__tgmath_complex_type): Likewise.
26410 (__TGMATH_F128): Likewise.
26411 (__TGMATH_CF128): Likewise.
26412 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26414 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26415 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26417 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26419 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26420 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26421 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26422 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26424 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26425 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26427 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26428 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26429 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26431 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26432 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26433 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26437 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26439 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26440 for stpncpy calls for GCC 8.
26441 (test_strncat): Disable -Wstringop-truncation warning for strncat
26442 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26443 strncat call for GCC 7.
26444 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26446 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26449 * string/bug-strncat1.c: Include <libc-diag.h>.
26450 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26452 2017-11-13 Claude Paroz <claude@2xlibre.net>
26455 * localedata/locales/aa_DJ: Improved readibility by replacing
26456 <Uxxxx> sequences in the ASCII printable range by their ASCII
26457 character equivalents.
26458 * localedata/locales/aa_ER: Likewise.
26459 * localedata/locales/aa_ER@saaho: Likewise.
26460 * localedata/locales/aa_ET: Likewise.
26461 * localedata/locales/af_ZA: Likewise.
26462 * localedata/locales/agr_PE: Likewise.
26463 * localedata/locales/ak_GH: Likewise.
26464 * localedata/locales/am_ET: Likewise.
26465 * localedata/locales/anp_IN: Likewise.
26466 * localedata/locales/ar_AE: Likewise.
26467 * localedata/locales/ar_BH: Likewise.
26468 * localedata/locales/ar_DZ: Likewise.
26469 * localedata/locales/ar_EG: Likewise.
26470 * localedata/locales/ar_IN: Likewise.
26471 * localedata/locales/ar_IQ: Likewise.
26472 * localedata/locales/ar_JO: Likewise.
26473 * localedata/locales/ar_KW: Likewise.
26474 * localedata/locales/ar_LB: Likewise.
26475 * localedata/locales/ar_LY: Likewise.
26476 * localedata/locales/ar_MA: Likewise.
26477 * localedata/locales/ar_OM: Likewise.
26478 * localedata/locales/ar_QA: Likewise.
26479 * localedata/locales/ar_SA: Likewise.
26480 * localedata/locales/ar_SD: Likewise.
26481 * localedata/locales/ar_SS: Likewise.
26482 * localedata/locales/ar_SY: Likewise.
26483 * localedata/locales/ar_TN: Likewise.
26484 * localedata/locales/ar_YE: Likewise.
26485 * localedata/locales/as_IN: Likewise.
26486 * localedata/locales/ast_ES: Likewise.
26487 * localedata/locales/ayc_PE: Likewise.
26488 * localedata/locales/az_AZ: Likewise.
26489 * localedata/locales/az_IR: Likewise.
26490 * localedata/locales/be_BY: Likewise.
26491 * localedata/locales/be_BY@latin: Likewise.
26492 * localedata/locales/bem_ZM: Likewise.
26493 * localedata/locales/ber_DZ: Likewise.
26494 * localedata/locales/ber_MA: Likewise.
26495 * localedata/locales/bg_BG: Likewise.
26496 * localedata/locales/bhb_IN: Likewise.
26497 * localedata/locales/bho_IN: Likewise.
26498 * localedata/locales/bi_VU: Likewise.
26499 * localedata/locales/bn_BD: Likewise.
26500 * localedata/locales/bn_IN: Likewise.
26501 * localedata/locales/bo_CN: Likewise.
26502 * localedata/locales/bo_IN: Likewise.
26503 * localedata/locales/br_FR: Likewise.
26504 * localedata/locales/brx_IN: Likewise.
26505 * localedata/locales/bs_BA: Likewise.
26506 * localedata/locales/byn_ER: Likewise.
26507 * localedata/locales/ca_AD: Likewise.
26508 * localedata/locales/ca_ES: Likewise.
26509 * localedata/locales/ca_FR: Likewise.
26510 * localedata/locales/ca_IT: Likewise.
26511 * localedata/locales/ce_RU: Likewise.
26512 * localedata/locales/chr_US: Likewise.
26513 * localedata/locales/cmn_TW: Likewise.
26514 * localedata/locales/crh_UA: Likewise.
26515 * localedata/locales/cs_CZ: Likewise.
26516 * localedata/locales/csb_PL: Likewise.
26517 * localedata/locales/cv_RU: Likewise.
26518 * localedata/locales/cy_GB: Likewise.
26519 * localedata/locales/da_DK: Likewise.
26520 * localedata/locales/de_AT: Likewise.
26521 * localedata/locales/de_BE: Likewise.
26522 * localedata/locales/de_CH: Likewise.
26523 * localedata/locales/de_DE: Likewise.
26524 * localedata/locales/de_IT: Likewise.
26525 * localedata/locales/de_LI: Likewise.
26526 * localedata/locales/de_LU: Likewise.
26527 * localedata/locales/doi_IN: Likewise.
26528 * localedata/locales/dv_MV: Likewise.
26529 * localedata/locales/dz_BT: Likewise.
26530 * localedata/locales/el_CY: Likewise.
26531 * localedata/locales/el_GR: Likewise.
26532 * localedata/locales/en_AG: Likewise.
26533 * localedata/locales/en_AU: Likewise.
26534 * localedata/locales/en_BW: Likewise.
26535 * localedata/locales/en_CA: Likewise.
26536 * localedata/locales/en_DK: Likewise.
26537 * localedata/locales/en_GB: Likewise.
26538 * localedata/locales/en_HK: Likewise.
26539 * localedata/locales/en_IE: Likewise.
26540 * localedata/locales/en_IL: Likewise.
26541 * localedata/locales/en_IN: Likewise.
26542 * localedata/locales/en_NG: Likewise.
26543 * localedata/locales/en_NZ: Likewise.
26544 * localedata/locales/en_PH: Likewise.
26545 * localedata/locales/en_SG: Likewise.
26546 * localedata/locales/en_US: Likewise.
26547 * localedata/locales/en_ZA: Likewise.
26548 * localedata/locales/en_ZM: Likewise.
26549 * localedata/locales/en_ZW: Likewise.
26550 * localedata/locales/eo: Likewise.
26551 * localedata/locales/es_AR: Likewise.
26552 * localedata/locales/es_BO: Likewise.
26553 * localedata/locales/es_CL: Likewise.
26554 * localedata/locales/es_CO: Likewise.
26555 * localedata/locales/es_CR: Likewise.
26556 * localedata/locales/es_CU: Likewise.
26557 * localedata/locales/es_DO: Likewise.
26558 * localedata/locales/es_EC: Likewise.
26559 * localedata/locales/es_ES: Likewise.
26560 * localedata/locales/es_GT: Likewise.
26561 * localedata/locales/es_HN: Likewise.
26562 * localedata/locales/es_MX: Likewise.
26563 * localedata/locales/es_NI: Likewise.
26564 * localedata/locales/es_PA: Likewise.
26565 * localedata/locales/es_PE: Likewise.
26566 * localedata/locales/es_PR: Likewise.
26567 * localedata/locales/es_PY: Likewise.
26568 * localedata/locales/es_SV: Likewise.
26569 * localedata/locales/es_US: Likewise.
26570 * localedata/locales/es_UY: Likewise.
26571 * localedata/locales/es_VE: Likewise.
26572 * localedata/locales/et_EE: Likewise.
26573 * localedata/locales/eu_ES: Likewise.
26574 * localedata/locales/eu_ES@euro: Likewise.
26575 * localedata/locales/fa_IR: Likewise.
26576 * localedata/locales/ff_SN: Likewise.
26577 * localedata/locales/fi_FI: Likewise.
26578 * localedata/locales/fil_PH: Likewise.
26579 * localedata/locales/fo_FO: Likewise.
26580 * localedata/locales/fr_BE: Likewise.
26581 * localedata/locales/fr_CA: Likewise.
26582 * localedata/locales/fr_CH: Likewise.
26583 * localedata/locales/fr_FR: Likewise.
26584 * localedata/locales/fr_LU: Likewise.
26585 * localedata/locales/fur_IT: Likewise.
26586 * localedata/locales/fy_DE: Likewise.
26587 * localedata/locales/fy_NL: Likewise.
26588 * localedata/locales/ga_IE: Likewise.
26589 * localedata/locales/gd_GB: Likewise.
26590 * localedata/locales/gez_ER: Likewise.
26591 * localedata/locales/gez_ET: Likewise.
26592 * localedata/locales/gl_ES: Likewise.
26593 * localedata/locales/gu_IN: Likewise.
26594 * localedata/locales/gv_GB: Likewise.
26595 * localedata/locales/ha_NG: Likewise.
26596 * localedata/locales/hak_TW: Likewise.
26597 * localedata/locales/he_IL: Likewise.
26598 * localedata/locales/hi_IN: Likewise.
26599 * localedata/locales/hif_FJ: Likewise.
26600 * localedata/locales/hne_IN: Likewise.
26601 * localedata/locales/hr_HR: Likewise.
26602 * localedata/locales/hsb_DE: Likewise.
26603 * localedata/locales/ht_HT: Likewise.
26604 * localedata/locales/hu_HU: Likewise.
26605 * localedata/locales/hy_AM: Likewise.
26606 * localedata/locales/i18n: Likewise.
26607 * localedata/locales/ia_FR: Likewise.
26608 * localedata/locales/id_ID: Likewise.
26609 * localedata/locales/ig_NG: Likewise.
26610 * localedata/locales/ik_CA: Likewise.
26611 * localedata/locales/is_IS: Likewise.
26612 * localedata/locales/it_CH: Likewise.
26613 * localedata/locales/it_IT: Likewise.
26614 * localedata/locales/iu_CA: Likewise.
26615 * localedata/locales/ja_JP: Likewise.
26616 * localedata/locales/ka_GE: Likewise.
26617 * localedata/locales/kk_KZ: Likewise.
26618 * localedata/locales/kl_GL: Likewise.
26619 * localedata/locales/kn_IN: Likewise.
26620 * localedata/locales/ko_KR: Likewise.
26621 * localedata/locales/kok_IN: Likewise.
26622 * localedata/locales/ks_IN: Likewise.
26623 * localedata/locales/ks_IN@devanagari: Likewise.
26624 * localedata/locales/ku_TR: Likewise.
26625 * localedata/locales/kw_GB: Likewise.
26626 * localedata/locales/ky_KG: Likewise.
26627 * localedata/locales/lb_LU: Likewise.
26628 * localedata/locales/lg_UG: Likewise.
26629 * localedata/locales/li_BE: Likewise.
26630 * localedata/locales/li_NL: Likewise.
26631 * localedata/locales/lij_IT: Likewise.
26632 * localedata/locales/ln_CD: Likewise.
26633 * localedata/locales/lo_LA: Likewise.
26634 * localedata/locales/lt_LT: Likewise.
26635 * localedata/locales/lv_LV: Likewise.
26636 * localedata/locales/lzh_TW: Likewise.
26637 * localedata/locales/mag_IN: Likewise.
26638 * localedata/locales/mai_IN: Likewise.
26639 * localedata/locales/mg_MG: Likewise.
26640 * localedata/locales/mhr_RU: Likewise.
26641 * localedata/locales/mi_NZ: Likewise.
26642 * localedata/locales/mk_MK: Likewise.
26643 * localedata/locales/ml_IN: Likewise.
26644 * localedata/locales/mn_MN: Likewise.
26645 * localedata/locales/mni_IN: Likewise.
26646 * localedata/locales/mr_IN: Likewise.
26647 * localedata/locales/ms_MY: Likewise.
26648 * localedata/locales/mt_MT: Likewise.
26649 * localedata/locales/my_MM: Likewise.
26650 * localedata/locales/nan_TW: Likewise.
26651 * localedata/locales/nan_TW@latin: Likewise.
26652 * localedata/locales/nb_NO: Likewise.
26653 * localedata/locales/nds_DE: Likewise.
26654 * localedata/locales/nds_NL: Likewise.
26655 * localedata/locales/ne_NP: Likewise.
26656 * localedata/locales/nhn_MX: Likewise.
26657 * localedata/locales/niu_NU: Likewise.
26658 * localedata/locales/niu_NZ: Likewise.
26659 * localedata/locales/nl_AW: Likewise.
26660 * localedata/locales/nl_BE: Likewise.
26661 * localedata/locales/nl_NL: Likewise.
26662 * localedata/locales/nn_NO: Likewise.
26663 * localedata/locales/nr_ZA: Likewise.
26664 * localedata/locales/nso_ZA: Likewise.
26665 * localedata/locales/oc_FR: Likewise.
26666 * localedata/locales/om_ET: Likewise.
26667 * localedata/locales/om_KE: Likewise.
26668 * localedata/locales/or_IN: Likewise.
26669 * localedata/locales/os_RU: Likewise.
26670 * localedata/locales/pa_IN: Likewise.
26671 * localedata/locales/pa_PK: Likewise.
26672 * localedata/locales/pap_AW: Likewise.
26673 * localedata/locales/pap_CW: Likewise.
26674 * localedata/locales/pl_PL: Likewise.
26675 * localedata/locales/ps_AF: Likewise.
26676 * localedata/locales/pt_BR: Likewise.
26677 * localedata/locales/pt_PT: Likewise.
26678 * localedata/locales/quz_PE: Likewise.
26679 * localedata/locales/raj_IN: Likewise.
26680 * localedata/locales/ro_RO: Likewise.
26681 * localedata/locales/ru_RU: Likewise.
26682 * localedata/locales/ru_UA: Likewise.
26683 * localedata/locales/rw_RW: Likewise.
26684 * localedata/locales/sa_IN: Likewise.
26685 * localedata/locales/sat_IN: Likewise.
26686 * localedata/locales/sc_IT: Likewise.
26687 * localedata/locales/sd_IN: Likewise.
26688 * localedata/locales/sd_IN@devanagari: Likewise.
26689 * localedata/locales/se_NO: Likewise.
26690 * localedata/locales/sgs_LT: Likewise.
26691 * localedata/locales/shs_CA: Likewise.
26692 * localedata/locales/si_LK: Likewise.
26693 * localedata/locales/sid_ET: Likewise.
26694 * localedata/locales/sk_SK: Likewise.
26695 * localedata/locales/sl_SI: Likewise.
26696 * localedata/locales/sm_WS: Likewise.
26697 * localedata/locales/so_DJ: Likewise.
26698 * localedata/locales/so_ET: Likewise.
26699 * localedata/locales/so_KE: Likewise.
26700 * localedata/locales/so_SO: Likewise.
26701 * localedata/locales/sq_AL: Likewise.
26702 * localedata/locales/sq_MK: Likewise.
26703 * localedata/locales/sr_ME: Likewise.
26704 * localedata/locales/sr_RS: Likewise.
26705 * localedata/locales/sr_RS@latin: Likewise.
26706 * localedata/locales/ss_ZA: Likewise.
26707 * localedata/locales/st_ZA: Likewise.
26708 * localedata/locales/sv_FI: Likewise.
26709 * localedata/locales/sv_SE: Likewise.
26710 * localedata/locales/sw_KE: Likewise.
26711 * localedata/locales/sw_TZ: Likewise.
26712 * localedata/locales/szl_PL: Likewise.
26713 * localedata/locales/ta_IN: Likewise.
26714 * localedata/locales/ta_LK: Likewise.
26715 * localedata/locales/tcy_IN: Likewise.
26716 * localedata/locales/te_IN: Likewise.
26717 * localedata/locales/tg_TJ: Likewise.
26718 * localedata/locales/th_TH: Likewise.
26719 * localedata/locales/the_NP: Likewise.
26720 * localedata/locales/ti_ER: Likewise.
26721 * localedata/locales/ti_ET: Likewise.
26722 * localedata/locales/tig_ER: Likewise.
26723 * localedata/locales/tk_TM: Likewise.
26724 * localedata/locales/tl_PH: Likewise.
26725 * localedata/locales/tn_ZA: Likewise.
26726 * localedata/locales/to_TO: Likewise.
26727 * localedata/locales/tpi_PG: Likewise.
26728 * localedata/locales/tr_CY: Likewise.
26729 * localedata/locales/tr_TR: Likewise.
26730 * localedata/locales/ts_ZA: Likewise.
26731 * localedata/locales/tt_RU: Likewise.
26732 * localedata/locales/tt_RU@iqtelif: Likewise.
26733 * localedata/locales/ug_CN: Likewise.
26734 * localedata/locales/uk_UA: Likewise.
26735 * localedata/locales/unm_US: Likewise.
26736 * localedata/locales/ur_IN: Likewise.
26737 * localedata/locales/ur_PK: Likewise.
26738 * localedata/locales/uz_UZ: Likewise.
26739 * localedata/locales/uz_UZ@cyrillic: Likewise.
26740 * localedata/locales/ve_ZA: Likewise.
26741 * localedata/locales/vi_VN: Likewise.
26742 * localedata/locales/wa_BE: Likewise.
26743 * localedata/locales/wae_CH: Likewise.
26744 * localedata/locales/wal_ET: Likewise.
26745 * localedata/locales/wo_SN: Likewise.
26746 * localedata/locales/xh_ZA: Likewise.
26747 * localedata/locales/yi_US: Likewise.
26748 * localedata/locales/yo_NG: Likewise.
26749 * localedata/locales/yue_HK: Likewise.
26750 * localedata/locales/yuw_PG: Likewise.
26751 * localedata/locales/zh_CN: Likewise.
26752 * localedata/locales/zh_HK: Likewise.
26753 * localedata/locales/zh_SG: Likewise.
26754 * localedata/locales/zh_TW: Likewise.
26755 * localedata/locales/zu_ZA: Likewise.
26757 2017-11-13 Florian Weimer <fweimer@redhat.com>
26759 * support/next_to_fault.h, support/next_to_fault.c: New files.
26760 * support/Makefile (libsupport-routines): Add next_to_fault.
26761 * resolv/tst-inet_pton.c (struct next_to_fault)
26762 (next_to_fault_allocate, next_to_fault_free): Remove.
26763 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26765 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26767 * elf/dl-support.c: Include <dl-procruntime.c>.
26768 * include/link.h: Include <link_map.h>.
26769 * sysdeps/generic/dl-procruntime.c: New file.
26770 * sysdeps/generic/link_map.h: Likewise.
26771 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26772 the writable ld.so namespace.
26774 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26776 timezone: pacify GCC -Wstringop-truncation
26777 Problem reported by Martin Sebor in:
26778 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26779 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26781 2017-11-12 Florian Weimer <fweimer@redhat.com>
26783 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26785 (tests): Add tst-xreadlink.
26786 * support/support.h (xstrndup): Declare.
26787 * support/xunistd.h (xunlink, xreadlink): Declare.
26788 * support/temp_file.h (support_create_temp_directory): Declare.
26789 * support/temp_file.c (support_create_temp_directory): New function.
26790 * support/support_chroot.c (support_chroot_create): Use it.
26791 * support/xreadlink.c: New file.
26792 * support/xstrndup.c: Likewise.
26793 * support/xunlink.c: Likewise.
26794 * support/tst-xreadlink.c: Likewise.
26796 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26798 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26800 2017-11-11 Florian Weimer <fweimer@redhat.com>
26804 * resolv/res_comp.c (printable_string, binary_hnok)
26805 (binary_leading_dash): New functions.
26806 (res_hnok): Reimplement using these functions and ns_name_pton.
26807 (res_ownok): Likewise.
26808 (res_mailok): Reimplement using printable_string, ns_name_pton and
26810 (res_dnok): Reimplement using printable_string and ns_name_pton.
26811 * resolv/tst-res_hnok.c (tests): Add additional tests.
26812 (LETTERDIGITS, PRINTABLE): Define.
26813 (do_test): Adjust one_char results.
26815 2017-11-11 Florian Weimer <fweimer@redhat.com>
26818 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26819 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26821 2017-11-11 Florian Weimer <fweimer@redhat.com>
26823 * resolv/tst-ns_name_pton.c: New file.
26824 * resolv/Makefile (tests): Add tst-ns_name_pton.
26825 (tst-ns_name_pton): Link against libresolv.
26827 2017-11-11 Florian Weimer <fweimer@redhat.com>
26829 * resolv/tst-res_hnok.c: New file.
26830 * resolv/Makefile (tests): Add tst-res_hnok.
26831 (tst-res_hnok): Link against libresolv.
26833 2017-11-11 Florian Weimer <fweimer@redhat.com>
26835 * resolv/tst-resolv-network.c: Use test framework instead explicit
26838 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26840 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26841 <jmp_buf-macros.h>.
26842 [!_ISOMAC] (STR_HELPER): New.
26843 [!_ISOMAC] (STR): Likewise.
26844 [!_ISOMAC] (TEST_SIZE): Likewise.
26845 [!_ISOMAC] (TEST_ALIGN): Likewise.
26846 [!_ISOMAC] (TEST_OFFSET): Likewise.
26847 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26848 field offsets of jmp_buf as well as sigjmp_buf.
26849 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26850 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26851 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26852 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26853 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26854 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26855 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26856 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26857 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26858 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26860 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26862 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26867 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26868 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26869 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26870 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26871 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26876 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26877 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26878 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26880 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26884 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26886 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26888 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26890 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26892 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26894 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26896 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26897 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26898 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26899 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26900 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26901 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26902 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26903 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26904 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26905 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26906 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26907 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26908 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26909 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26910 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26911 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26912 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26913 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26914 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26915 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26916 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26917 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26918 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26919 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26920 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26921 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26922 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26923 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26924 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26925 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26926 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26927 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26928 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26929 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26930 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26931 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26932 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26933 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26934 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26935 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26936 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26937 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26938 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26939 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26940 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26941 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26942 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26943 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26944 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26945 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26946 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26947 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26948 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26949 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26950 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26951 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26952 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26953 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26954 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26955 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26956 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26957 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26958 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26959 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26960 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26961 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26962 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26963 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26964 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26965 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26966 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26967 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26968 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26969 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26970 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26972 * stdlib/tst-strtod.h (F16): New macro.
26978 (IF_FLOAT16): Likewise.
26979 (IF_FLOAT32): Likewise.
26980 (IF_FLOAT64): Likewise.
26981 (IF_FLOAT32X): Likewise.
26982 (IF_FLOAT64X): Likewise.
26983 (IF_FLOAT128X): Likewise.
26984 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26985 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26986 (STRTOD_TEST_FOREACH): Likewise.
26987 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26988 (CHOOSE_f64): Likewise.
26989 (CHOOSE_f32x): Likewise.
26990 (CHOOSE_f64x): Likewise.
26992 2017-11-07 Andreas Schwab <schwab@suse.de>
26994 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26996 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26999 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27001 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27004 2017-11-07 Claude Paroz <claude@2xlibre.net>
27007 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27009 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27011 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27014 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27017 * nptl/allocatestack.c (allocate_stack): Check if
27018 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27019 __PTHREAD_MUTEX_HAVE_PREV is defined.
27020 * nptl/descr.h (pthread): Likewise.
27021 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27023 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27024 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27025 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27026 * sysdeps/nptl/bits/thread-shared-types.h
27027 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27029 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27030 of __WORDSIZE for internal layout.
27031 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27032 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27033 instead of __WORDSIZE whether to use an union for __spins and __list
27035 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27037 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27038 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27040 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27041 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27043 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27044 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27046 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27047 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27049 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27050 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27052 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27053 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27055 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27056 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27058 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27059 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27061 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27062 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27064 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
27065 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27067 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
27068 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27070 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
27071 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27073 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
27074 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27076 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
27077 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27079 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
27080 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27083 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
27085 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
27086 checks for expected input type size.
27087 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27088 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27090 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27091 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
27092 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27093 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
27094 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27095 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
27096 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
27097 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
27098 superflous runtime assert check.
27099 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
27101 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
27103 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27105 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
27107 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
27109 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
27111 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
27112 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
27113 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27115 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27117 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
27119 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
27121 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27123 * nptl/pthread_attr_setinheritsched.c
27124 (__pthread_attr_setinheritsched): Likewise.
27125 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
27127 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
27129 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
27130 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
27131 __old_pthread_attr_setstack): Likewise.
27132 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27134 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27136 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
27138 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27139 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
27141 * nptl/tst-typesizes.c: Remove file.
27143 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
27144 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
27145 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
27146 checks for internal pthread_mutex_t offsets.
27147 * sysdeps/aarch64/nptl/pthread-offsets.h
27148 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
27149 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
27150 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
27151 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
27152 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
27153 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
27154 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
27155 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
27156 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
27157 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
27158 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
27159 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
27160 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
27161 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
27162 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
27163 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
27164 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
27165 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
27167 2017-11-07 Florian Weimer <fweimer@redhat.com>
27169 * bits/mman-linux.h: Move ...
27170 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
27172 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
27175 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27177 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
27178 Redefine STRNLEN as __strnlen_power8.
27180 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27182 * signal/sighold.c (sighold): Optimize implementation.
27184 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
27185 __NR_rt_sigqueueinfo.
27187 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27189 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
27190 assume __NR_rt_sigtimedwait.
27191 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
27192 and add LIBC_CANCEL_HANDLED for cancellation marking.
27193 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27195 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27196 (sysdeps_routines): Add memchr_noneon.
27197 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
27198 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
27199 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
27200 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
27201 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
27202 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
27203 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
27205 * sysdeps/arm/arm-ifunc.h: New file.
27206 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
27207 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
27208 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
27209 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
27210 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
27211 (__memcpy_neon): Avoid create hidden alias.
27212 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
27213 (__memcpy_vfp): Likewise.
27214 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27215 (sysdep_routines): Add memcpy_arm.
27216 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
27218 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
27221 * Makerules (make-link-multidir): New.
27222 * config.make.in (multidir): New.
27223 * configure.ac (libc_cv_multidir): New. AC_SUBST.
27224 * configure: Regenerated.
27225 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
27226 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
27227 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
27230 2017-11-06 Joseph Myers <joseph@codesourcery.com>
27233 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
27234 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
27236 2017-11-04 Mike FABIAN <mfabian@redhat.com>
27238 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
27241 2017-11-04 Florian Weimer <fweimer@redhat.com>
27243 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
27245 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27247 * math/math.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 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
27252 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
27253 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
27254 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27255 (__MATH_TG_F32): New macro.
27256 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27257 (__MATH_TG_F64X): Likewise.
27258 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27259 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
27261 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
27263 * po/de.po: Update translations.
27264 * po/ru.po: Likewise.
27266 2017-11-03 Florian Weimer <fweimer@redhat.com>
27268 * manual/filesys.texi (Hard Links): Document linkat.
27270 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27272 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
27273 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27274 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27275 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27276 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27277 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27278 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
27279 the same as _Float128.
27280 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27281 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27282 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27285 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27287 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27289 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27291 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27292 (strtof32x): Likewise.
27293 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27294 (strtof64x): Likewise.
27295 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27296 (strtof128x): Likewise.
27297 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27298 (strfromf16): Likewise.
27299 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27300 (strfromf32): Likewise.
27301 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27302 (strfromf64): Likewise.
27303 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27304 (strfromf32x): Likewise.
27305 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27306 (strfromf64x): Likewise.
27307 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27308 (strfromf128x): Likewise.
27309 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27310 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27311 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27312 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27313 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27314 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27316 2017-11-03 Richard Henderson <rth@twiddle.net>
27318 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27320 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27322 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27324 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27326 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27327 DT_TLSDESC_GOT initialization.
27328 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27329 (_dl_tlsdesc_resolve_hold): Likewise.
27330 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27331 (_dl_tlsdesc_resolve_hold): Likewise.
27332 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27333 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27335 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27337 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27339 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27342 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27343 non-lazily for R_ARM_TLS_DESC.
27345 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27348 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27349 R_ARM_TLS_DESC case.
27350 (elf_machine_lazy_rel): Remove the prelink check.
27352 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27354 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27355 DT_TLSDESC_GOT initialization.
27356 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27357 (_dl_tlsdesc_resolve_rela): Likewise.
27358 (_dl_tlsdesc_resolve_hold): Likewise.
27359 (_dl_tlsdesc_undefweak): Remove ldar.
27360 (_dl_tlsdesc_dynamic): Likewise.
27361 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27362 (_dl_tlsdesc_resolve_rela): Likewise.
27363 (_dl_tlsdesc_resolve_hold): Likewise.
27364 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27365 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27366 (_dl_tlsdesc_resolve_rela): Likewise.
27367 (_dl_tlsdesc_resolve_hold): Likewise.
27369 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27371 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27372 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27374 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27376 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27377 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27379 2017-11-02 Joseph Myers <joseph@codesourcery.com>
27381 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27383 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27384 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27385 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27386 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27387 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27388 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27389 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27390 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27391 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27392 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27393 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27395 2017-11-02 Mike FABIAN <mfabian@redhat.com>
27398 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27399 * localedata/locales/tpi_PG: Add standard header.
27401 2017-11-02 Florian Weimer <fweimer@redhat.com>
27403 test-errno-linux: quotactl can fail with EPERM in containers.
27404 * sysdeps/unix/sysv/linux/test-errno-linux.c
27405 (LIST, LIST_FORWARD): New macros.
27406 (check_error_in_list): New function.
27407 (test_wrp_rv): Accept list of permitted error codes.
27408 (test_wrp_rv2): Remove.
27409 (test_wrp): Call test_wrp_rv with list of error codes.
27410 (test_wrp2): Accept list of error codes.
27411 (do_test): Adjust. Allow EPERM for quotactl.
27413 2017-11-02 Florian Weimer <fweimer@redhat.com>
27415 * stdio-common/bug16.c (do_test): Use array_length.
27416 * stdio-common/errlist.c (_sys_nerr): Likewise.
27417 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27418 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27419 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27420 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27421 (do_test): Use array_length.
27422 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27423 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27424 * stdio-common/tst-printf-round.c (do_test): Likewise.
27425 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27426 (CHECK): Use array_length.
27427 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27428 * stdio-common/tstscanf.c (main): Likewise.
27429 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27431 2017-11-02 Florian Weimer <fweimer@redhat.com>
27433 Add array_length and array_end macros.
27434 * include/array_length.h: New file.
27436 2017-11-02 Florian Weimer <fweimer@redhat.com>
27439 * posix/tst-glob-tilde.c (do_noescape): New variable.
27440 (one_test): Process it.
27441 (do_test): Set do_noescape. Add unescaping test case.
27443 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27446 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27447 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27448 with appropriate macros defined and undefined.
27449 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27450 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27451 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27452 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27453 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27454 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27455 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27456 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27457 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27458 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27461 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27462 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27463 that for long double. Do not condition define and undefine of
27464 _Mdouble_complex_ on [__CFLOAT128].
27466 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27468 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27469 of <sysdeps/generic/sysdep.h>.
27470 (ALIGNARG): Removed.
27471 (ASM_SIZE_DIRECTIVE): Likewise.
27474 (ENTRY_CHK): Likewise.
27475 (END_CHK): Likewise.
27476 (syscall_error): Likewise.
27477 (mcount): Likewise.
27478 (PSEUDO_END): Likewise.
27480 (atom_text_section): Likewise.
27481 * sysdeps/x86/sysdep.h: New file.
27482 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27483 of <sysdeps/generic/sysdep.h>.
27484 (ALIGNARG): Removed.
27485 (ASM_SIZE_DIRECTIVE): Likewise.
27488 (ENTRY_CHK): Likewise.
27489 (END_CHK): Likewise.
27490 (syscall_error): Likewise.
27491 (mcount): Likewise.
27492 (PSEUDO_END): Likewise.
27494 (atom_text_section): Likewise.
27496 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27498 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27499 category of LC_CTYPE set to "i18n:2012".
27500 * localedata/locales/i18n_ctype: Regenerate.
27502 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27504 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27505 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27506 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27507 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27509 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27510 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27512 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27514 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27517 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27519 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27521 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27523 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27524 (CMPLXF32X): Likewise.
27525 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27526 (CMPLXF64X): Likewise.
27527 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27528 (CMPLXF128X): Likewise.
27531 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27532 (__MATH_EVAL_FMT2): Define to add 0.0f.
27534 2017-10-31 Alan Modra <amodra@gmail.com>
27536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27552 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27553 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27554 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27555 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27556 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27557 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27558 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27559 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27561 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27562 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27563 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27564 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27565 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27566 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27567 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27568 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27569 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27570 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27571 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27572 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27573 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27574 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27578 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27579 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27580 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27581 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27582 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27583 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27584 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27585 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27586 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27587 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27588 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27589 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27590 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27591 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27592 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27593 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27594 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27595 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27596 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27597 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27598 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27599 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27600 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27601 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27602 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27603 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27604 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27605 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27606 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27609 include sysdep.h and math_ldbl_opt.h.
27611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27612 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27638 2017-10-31 Alan Modra <amodra@gmail.com>
27640 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27641 string/strncase_l.c, not string/strncase.c.
27642 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27643 (libc_hidden_def): Redefine.
27645 2017-10-31 Alan Modra <amodra@gmail.com>
27647 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27648 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27649 (__strcasecmp): Don't define.
27651 2017-10-31 Alan Modra <amodra@gmail.com>
27653 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27655 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27656 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27657 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27659 2017-10-31 Alan Modra <amodra@gmail.com>
27661 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27664 2017-10-31 Alan Modra <amodra@gmail.com>
27666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27667 Redefine only when SHARED.
27669 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27671 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27672 Include <bits/math-finite.h> with appropriate macros defined and
27674 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27675 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27676 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27677 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27678 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27680 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27681 [!_Mlong_double_] (_Mlong_double_): Likewise.
27682 [!_Mfloat16_] (_Mfloat16_): Likewise.
27683 [!_Mfloat32_] (_Mfloat32_): Likewise.
27684 [!_Mfloat64_] (_Mfloat64_): Likewise.
27685 [!_Mfloat128_] (_Mfloat128_): Likewise.
27686 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27687 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27688 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27689 (_Mdouble_): Define without indirection through those macros.
27690 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27691 [!_Mfloat128_] (_Mfloat128_): Likewise.
27692 [_Mlong_double_] (_Mlong_double_): Likewise.
27693 (_Mdouble_): Define without indirection through those macros.
27694 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27695 not add -D_Mlong_double_=double.
27696 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27697 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27699 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27701 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27703 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27705 * sysdeps/x86/libc-start.c: Reformat.
27707 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27710 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27711 (1): Renamed to ...
27714 (L(Src2)): Likewise.
27715 (L(1)): Renamed to ...
27718 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27720 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27721 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27722 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27723 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27724 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27725 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27726 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27727 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27728 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27729 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27730 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27731 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27732 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27733 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27734 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27735 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27736 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27737 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27738 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27739 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27740 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27741 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27742 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27743 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27744 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27745 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27746 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27747 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27748 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27749 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27750 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27751 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27752 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27753 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27754 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27755 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27756 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27757 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27758 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27759 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27760 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27761 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27762 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27763 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27764 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27765 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27766 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27767 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27768 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27769 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27770 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27771 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27772 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27773 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27774 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27775 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27776 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27777 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27778 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27779 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27780 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27781 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27782 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27783 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27784 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27785 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27787 2017-10-30 Florian Weimer <fweimer@redhat.com>
27789 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27791 * io/tst-mkdirat.c (do_test): Likewise.
27792 * io/tst-mkfifoat.c (do_test): Likewise.
27793 * io/tst-mknodat.c (do_test): Likewise.
27794 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27795 * locale/programs/locale.c (select_dirs): Likewise.
27796 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27797 * posix/bug-glob2.c (my_readdir): Likewise.
27798 * posix/tst-dir.c (main): Likewise.
27799 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27800 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27802 2017-10-30 Florian Weimer <fweimer@redhat.com>
27804 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27807 2017-10-30 Florian Weimer <fweimer@redhat.com>
27809 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27810 Convert to support/test-driver.c.
27811 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27812 New macro parameters.
27813 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27814 * posix/tst-gnuglob.c: New file.
27815 * posix/tst-gnuglob64.c: Likewise.
27816 * posix/Makefile (tests): Add tst-gnuglob64.
27818 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27821 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27822 and use a better translation for March in “mon”.
27823 * localedata/locales/csb_PL: Use more ASCII to improve the
27824 readability of the source.
27826 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27829 * localedata/locales/km_KH: Use ASCII as much
27830 as possible for better readability of the source and
27831 remove useless comments.
27832 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27833 was commented out and apparently wrong anyway because it was
27834 using Lao characters. If Buddhist era should be used
27835 for km_KH, a native speaker should write the correct formaat
27837 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27838 (According to CLDR, the first weekday for Cambodia is Sunday).
27839 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27840 (These were using Lao characters which must be wrong. If we get
27841 the correct data from a native speaker, we could add it back, until
27842 then it is better not to have name_mr and name_mrs at all than
27845 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27847 * locale/loadlocale.c: Correct size of
27848 _nl_value_type_LC_<category> arrays.
27850 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27852 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27853 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27854 with appropriate macros defined and undefined.
27855 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27856 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27857 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27858 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27859 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27861 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27863 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27866 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27868 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27869 with lowercase letters to make it agree with CLDR.
27871 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27874 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27875 first letters of yesstr and nostr in yesexpr and noexpr,
27876 not for the full words.
27877 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27878 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27879 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27880 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27881 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27882 first letters of yesstr and nostr in yesexpr and noexpr,
27883 until now only English was matched in yesexpr and noexpr.
27884 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27885 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27886 fil but not for tl. As tl and fil are very similar, using fil
27887 is probably better than using English.
27889 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27892 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27893 in yesstr and nostr.
27895 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27897 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27898 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27899 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27901 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27903 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27905 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27907 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27908 (SNANF128X): Likewise.
27910 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27911 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27912 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27913 (HUGE_VAL_F32): Likewise.
27914 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27915 (HUGE_VAL_F64): Likewise.
27916 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27917 (HUGE_VAL_F32X): Likewise.
27918 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27919 (HUGE_VAL_F64X): Likewise.
27920 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27921 (HUGE_VAL_F128X): Likewise.
27923 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27925 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27926 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27927 for the br_FR locale.
27929 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27932 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27934 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27936 * locale/programs/record-status.h: Define globals, and function
27937 prototypes. Move function bodies...
27938 * locale/programs/record-status.c: ... to here. New file.
27939 * iconv/Makefile (iconv_prog-modules): Add record-status.
27940 * locale/Makefile (lib-modules): Likewise.
27941 * iconv/iconv_prog.c: Remove verbose.
27942 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27943 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27944 record a warning about ASCII compatibility.
27945 * locale/programs/ld-monetary.c (monetary_finish): If
27946 warn_int_curr_symbol is true then record a warning about the symbol
27947 not being in our ISO 4217 list.
27948 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27949 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27950 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27951 (OPT_NO_WARN): Define.
27952 (OPT_WARN): Define.
27953 (options): Add entry for --no-warnings, and --warnings.
27954 (set_warnings): New function to enable/disable warnings.
27955 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27956 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27957 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27958 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27959 Pass flags to generate_locale.
27960 (generate_locale): Accept new flag argument and pass it to localedef
27962 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27963 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27965 * localedata/Makefile (test-input-data): Use full file name.
27966 * localedata/da_DK.in: Rename to...
27967 * localedata/da_DK.ISO-8859-1.in: ...this.
27968 * localedata/de_DE.in: Rename to...
27969 * localedata/de_DE.ISO-8859-1.in: ...this.
27970 * localedata/en_US.in: Rename to...
27971 * localedata/en_US.ISO-8859-1.in: ...this.
27972 * localedata/fr_FR.in: Rename to...
27973 * localedata/fr_FR.UTF-8.in: ... this.
27974 * localedata/hr_HR.in: Rename to...
27975 * localedata/hr_HR.ISO-8859-2.in: ...this.
27976 * localedata/hu_HU.in: Rename to...
27977 * localedata/hu_HU.UTF-8.in: ...this.
27978 * localedata/si_LK.in: Rename to...
27979 * localedata/si_LK.UTF-8.in: ...this.
27980 * localedata/sv_SE.in: Rename to...
27981 * localedata/sv_SE.ISO-8859-1.in: ...this.
27982 * localedata/tr_TR.in: Rename to...
27983 * localedata/tr_TR.UTF-8.in: ...this.
27984 * localedata/uk_UA.in: Rename to...
27985 * localedata/uk_UA.UTF-8.in: ...this.
27986 * localedata/sort-test.sh: Test file is locale name with the
27989 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27990 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27992 * localedata/locales/i18n_ctype: Regenerate.
27993 * localedata/locales/tr_TR: Likewise.
27994 * localedata/locales/translit_circle: Likewise.
27995 * localedata/locales/translit_cjk_compat: Likewise.
27996 * localedata/locales/translit_combining: Likewise.
27997 * localedata/locales/translit_compat: Likewise.
27998 * localedata/locales/translit_font: Likewise.
27999 * localedata/locales/translit_fraction: Likewise.
28001 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28003 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28004 lxvd2x/stxvd2x with lvx/stvx.
28005 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28007 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28009 * include/alloc_buffer.h: Replace "if if " with "if " in
28011 * sysdeps/mips/memcpy.S: Likkewise.
28012 * sysdeps/mips/memset.S: Likewise.
28013 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28015 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28017 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28020 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28023 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28024 yesexpr and noexpr.
28025 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28026 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28027 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28028 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28029 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28030 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28031 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28033 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28035 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28036 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28037 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28038 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28039 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28040 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28041 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28042 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28043 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28044 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28045 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28046 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28048 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28050 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28051 as possible for better readability of the source.
28052 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28053 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28054 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28055 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28056 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28057 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28058 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28059 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28060 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28061 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28062 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28063 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28064 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
28065 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
28066 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
28067 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
28068 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
28069 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
28070 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
28071 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
28072 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
28073 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
28074 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
28075 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
28076 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
28077 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
28078 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
28079 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
28080 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
28081 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
28082 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
28083 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28084 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
28085 * localedata/locales/en_US (LC_MESSAGES): Likewise.
28086 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
28087 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
28088 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
28089 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
28090 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
28091 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
28092 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
28093 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
28094 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
28095 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
28096 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
28097 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
28098 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
28099 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
28100 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
28101 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
28102 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
28103 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
28104 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
28105 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28106 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28107 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
28108 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
28109 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28110 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
28111 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
28112 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
28113 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
28114 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
28115 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
28116 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
28117 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
28118 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
28119 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
28120 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
28121 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
28122 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
28123 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
28124 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
28125 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
28126 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28127 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
28128 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
28129 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
28130 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
28131 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
28132 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
28133 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
28134 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
28135 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28136 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
28137 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
28138 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
28139 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28140 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
28141 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
28142 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
28143 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
28144 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28145 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
28146 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
28147 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28148 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
28149 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28150 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
28151 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
28152 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
28153 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
28154 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
28155 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
28156 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
28157 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
28158 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
28159 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
28160 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
28161 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
28162 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
28163 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
28164 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28165 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
28166 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
28167 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
28168 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
28169 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
28170 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
28171 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
28172 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
28173 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
28174 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
28175 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
28176 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
28177 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
28178 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
28179 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
28180 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
28181 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
28182 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
28183 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
28184 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
28185 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
28186 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
28187 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
28188 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
28189 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
28190 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
28191 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
28192 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
28193 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
28194 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
28195 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
28196 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
28197 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28198 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
28199 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
28200 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
28201 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
28202 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
28203 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
28204 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
28205 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
28206 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28207 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
28208 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
28209 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
28210 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
28211 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
28212 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
28213 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
28214 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
28215 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
28216 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
28217 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28218 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
28219 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
28220 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
28221 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
28222 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28223 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28224 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28225 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
28227 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28229 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
28230 (Use first letters of yesstr and nostr correctly instead of using
28233 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28235 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
28236 (Use first letters of yesstr and nostr correctly).
28238 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28240 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
28241 also check for the first characters of yesstr and nostr.
28242 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
28243 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
28245 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28247 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
28248 also check for Chinese characters.
28250 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28252 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
28253 match also for the contents of yesstr and nostr. As the first letter
28254 of yesstr and nostr is equal, checking only for the first letter
28257 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28259 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
28260 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
28262 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28264 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
28265 of main contributor.
28267 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28269 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
28270 instead of using English.
28272 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28274 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
28275 by including the first letters of nostr and yesexpr in the regexp.
28276 Also make it more readable by using ASCII where possible.
28278 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28280 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
28281 the first letter of nostr in the regexp. It agrees with CLDR now.
28282 Also make it more readable by using ASCII where possible.
28284 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28286 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28287 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28288 these strings contain a U+17D6 (which somewhat looks like a colon)
28289 instead of a real colon to separate the full words for “yes”
28290 and “no” from the single letter responses.
28292 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28294 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28295 it agree with CLDR (include the first letter of yesstr).
28296 Also make it more readable by using ASCII where possible.
28298 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28300 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28301 and improve yesexpr and noexpr. The yesstr and nostr apparently
28302 came from CLDR. And CLDR has a bug there: these strings contain
28303 a U+0903 (which looks like a colon) instead of a real colon
28304 to separate the full words for “yes” and “no” from the single
28307 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28309 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28310 letters of the full yesstr and nostr in yesexpr and noexpr.
28312 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28314 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28315 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28316 * localedata/locales/an_ES: Make source more readable by using ASCII
28319 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28322 * localedata/locales/yuw_PG: New file.
28323 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28324 * locale/iso-639.def: Add Yau (Uruwa).
28326 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28328 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28330 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28332 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28333 (__libc_realloc): Likewise.
28334 (_mid_memalign): Likewise.
28335 (__libc_calloc): Likewise.
28337 2017-10-23 Mike FABIAN <mfabian@redhat.com>
28339 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28340 by adding the generic +1 and -0 as in all other locales.
28341 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28342 day names and make it more readable by using ASCII where possible.
28344 2017-10-24 Joseph Myers <joseph@codesourcery.com>
28346 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28347 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28349 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28351 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28352 WNOHANG in waitpid call.
28354 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28356 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28357 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28359 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28360 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28361 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28362 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28363 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28364 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28365 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28366 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28369 2017-10-23 Michael Collison <michael.collison@arm.com>
28371 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28372 with __builtin_sqrt.
28373 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28374 with __builtin_sqrtf.
28375 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28376 with __builtin_ceil.
28377 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28378 with __builtin_ceilf.
28379 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28380 with __builtin_floor.
28381 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28382 with __builtin_floorf.
28383 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28384 with __builtin_fma.
28385 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28386 with __builtin_fmaf.
28387 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28388 with __builtin_fmax.
28389 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28390 with __builtin_fmaxf.
28391 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28392 with __builtin_fmin.
28393 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28394 with __builtin_fminf.
28395 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28396 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28397 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28398 with builtin_rint and conversion to int.
28399 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28400 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28401 with builtin_llround.
28402 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28403 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28404 with builtin_rint and conversion to long int.
28405 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28406 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28407 with builtin_lround.
28408 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28409 with builtin_lroundf.
28410 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28411 statements with __builtin_nearbyint.
28412 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28413 statements with __builtin_nearbyintf.
28414 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28415 with __builtin_rint.
28416 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28417 with __builtin_rintf.
28418 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28419 with __builtin_round.
28420 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28421 with __builtin_roundf.
28422 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28423 with __builtin_trunc.
28424 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28425 with __builtin_truncf.
28426 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28427 and s_l[l]round[f].c too.
28429 2017-10-23 Alan Modra <amodra@gmail.com>
28431 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28432 Adjust stack after restoring regs. Add missing LR cfi_restore.
28434 2017-10-23 Alan Modra <amodra@gmail.com>
28436 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28437 Move LR save and frame setup/teardown and LR restore to
28438 immediately around memset call. Provide cfi.
28440 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28442 * sysdeps/i386/fpu/e_powf.S: Removed.
28443 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28444 * sysdeps/i386/fpu/w_powf.c: Likewise.
28445 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28446 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28447 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28449 (CFLAGS-e_powf-sse2.c): New.
28450 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28451 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28453 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28455 * sysdeps/i386/fpu/e_log2f.S: Removed.
28456 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28457 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28458 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28459 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28460 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28462 (CFLAGS-e_log2f-sse2.c): New.
28463 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28464 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28466 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28468 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28470 (CFLAGS-e_powf-fma.c): New.
28471 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28472 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28474 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28476 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28478 (CFLAGS-e_log2f-fma.c): New.
28479 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28480 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28482 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28484 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28486 (CFLAGS-e_logf-fma.c): New.
28487 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28488 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28490 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28492 * sysdeps/i386/fpu/e_logf.S: Removed.
28493 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28494 * sysdeps/i386/fpu/w_logf.c: Likewise.
28495 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28496 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28497 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28498 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28500 (CFLAGS-e_logf-sse2.c): New.
28501 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28502 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28504 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28506 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28507 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28508 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28509 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28510 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28512 (CFLAGS-e_exp2f-sse2.c): New.
28513 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28514 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28516 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28518 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28520 (CFLAGS-e_exp2f-fma.c): New.
28521 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28522 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28524 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28526 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28527 * sysdeps/i386/fpu/e_expf.S: Likewise.
28528 * sysdeps/i386/fpu/math_errf.c: Likewise.
28529 * sysdeps/i386/fpu/w_expf.c: Likewise.
28530 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28531 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28532 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28533 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28534 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28535 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28536 Remove e_expf-ia32.
28537 (CFLAGS-e_expf-sse2.c): New.
28538 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28539 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28541 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28543 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28544 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28545 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28546 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28548 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28550 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28551 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28553 (__redirect_expf): This.
28554 (SYMBOL_NAME): Changed to expf.
28555 (__ieee754_expf): Renamed to ...
28557 (__GI___expf): This.
28558 (__ieee754_expf): Add strong_alias.
28559 (__expf_finite): Likewise.
28561 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28563 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28566 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28569 2017-10-21 Florian Weimer <fweimer@redhat.com>
28571 * posix/Makefile (tests): Add tst-glob-tilde.
28572 (tests-special): Add tst-glob-tilde-mem.out
28573 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28574 (tst-glob-tilde-mem.out): Add mtrace check.
28575 * posix/tst-glob-tilde.c: New file.
28577 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28579 * bits/floatn-common.h: New file.
28580 * math/Makefile (headers): Add bits/floatn-common.h.
28581 * bits/floatn.h: Include <bits/floatn-common.h>.
28582 * sysdeps/ia64/bits/floatn.h: Likewise.
28583 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28584 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28585 * sysdeps/powerpc/bits/floatn.h: Likewise.
28586 * sysdeps/x86/bits/floatn.h: Likewise.
28588 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28590 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28591 indicates whether compiler emits an warning for alias for
28592 functions with incompatible types.
28595 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28596 the auxiliary process is terminated by a signal before calling _exit
28599 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28602 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28604 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28605 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28606 and bit_arch_XSAVEC_Usable if needed.
28607 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28608 and bit_arch_Use_dl_runtime_resolve_opt.
28609 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28611 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28612 (bit_arch_Prefer_No_AVX512): Updated.
28613 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28614 (bit_arch_XSAVEC_Usable): New.
28615 (STATE_SAVE_OFFSET): Likewise.
28616 (STATE_SAVE_MASK): Likewise.
28617 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28618 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28619 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28620 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28621 (index_arch_XSAVEC_Usable): New.
28622 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28623 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28624 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28626 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28627 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28628 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28629 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28630 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28631 _dl_runtime_resolve_xsavec.
28632 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28634 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28635 instead of VEC_SIZE.
28636 (REGISTER_SAVE_BND0): Removed.
28637 (REGISTER_SAVE_BND1): Likewise.
28638 (REGISTER_SAVE_BND3): Likewise.
28639 (REGISTER_SAVE_RAX): Always defined to 0.
28641 (_dl_runtime_resolve_avx): Likewise.
28642 (_dl_runtime_resolve_avx_slow): Likewise.
28643 (_dl_runtime_resolve_avx_opt): Likewise.
28644 (_dl_runtime_resolve_avx512): Likewise.
28645 (_dl_runtime_resolve_avx512_opt): Likewise.
28646 (_dl_runtime_resolve_sse): Likewise.
28647 (_dl_runtime_resolve_sse_vex): Likewise.
28649 (_dl_runtime_resolve_fxsave): Likewise.
28650 (USE_XSAVE): Likewise.
28651 (_dl_runtime_resolve_xsave): Likewise.
28652 (USE_XSAVEC): Likewise.
28653 (_dl_runtime_resolve_xsavec): Likewise.
28654 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28656 (_dl_runtime_resolve_avx512_opt): Likewise.
28657 (_dl_runtime_resolve_avx): Likewise.
28658 (_dl_runtime_resolve_avx_opt): Likewise.
28659 (_dl_runtime_resolve_sse): Likewise.
28660 (_dl_runtime_resolve_sse_vex): Likewise.
28661 (_dl_runtime_resolve_fxsave): New.
28662 (_dl_runtime_resolve_xsave): Likewise.
28663 (_dl_runtime_resolve_xsavec): Likewise.
28665 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28669 * posix/glob.c (__glob): Fix one-byte overflow.
28671 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28673 * malloc/malloc.c (sysdep-cancel.h): Add include.
28675 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28677 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28679 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28681 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28682 (tests): Remove $(objpfx)ga_test depdendency.
28683 * resolv/ga_test.c: Remove file.
28685 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28688 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28689 * localedata/locales/kab_DZ: New file.
28691 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28693 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28694 _dl_relocate_static_pie instead of _dl_start to compute load
28695 address in static PIE.
28697 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28699 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28701 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28704 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28705 * localedata/locales/shn_MM: New file.
28707 2017-10-20 Florian Weimer <fweimer@redhat.com>
28710 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28711 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28712 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28713 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28714 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28715 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28717 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28719 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28721 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28723 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28726 * sysdeps/mips/bits/long-double.h: Move to ....
28727 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28729 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28731 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28733 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28734 H.J. Lu <hongjiu.lu@intel.com>
28737 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28738 GLRO(dl_platform) to NULL.
28739 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28740 (modules-names): Add tst-platformmod-1 and
28741 x86_64/tst-platformmod-2.
28742 (CFLAGS-tst-platform-1.c): New.
28743 (CFLAGS-tst-platformmod-1.c): Likewise.
28744 (CFLAGS-tst-platformmod-2.c): Likewise.
28745 (LDFLAGS-tst-platformmod-2.so): Likewise.
28746 ($(objpfx)tst-platform-1): Likewise.
28747 ($(objpfx)tst-platform-1.out): Likewise.
28748 (tst-platform-1-ENV): Likewise.
28749 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28750 * sysdeps/x86_64/tst-platform-1.c: New file.
28751 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28752 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28754 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28757 * locale/iso-639.def: Add Karbi.
28758 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28759 * localedata/locales/mjw_IN: New file.
28761 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28763 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28764 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28765 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28766 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28767 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28768 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28769 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28771 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28772 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28773 * manual/math.texi (Mathematics): Document additional architecture
28774 support for _Float128.
28775 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28776 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28777 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28778 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28779 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28780 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28781 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28782 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28783 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28784 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28785 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28786 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28788 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28789 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28791 2017-10-18 Renlin Li <renlin.li@arm.com>
28793 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28794 _DYNAMIC symbol to calculate load address.
28796 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28798 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28799 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28801 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28802 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28804 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28807 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28808 and improve readability by using more ASCII.
28809 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28810 and improve readability by using more ASCII.
28812 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28814 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28815 not all targets support atomics on bool.
28817 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28819 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28820 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28822 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28823 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28824 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28825 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28826 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28827 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28829 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28831 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28834 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28837 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28838 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28839 (do_check_remalloced_chunk): Fix build bug.
28840 (do_check_malloc_state): Add assert that checks arena->top.
28841 (malloc_consolidate): Remove initialization.
28842 (int_mallinfo): Remove call to malloc_consolidate.
28843 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28845 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28847 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28848 (have_fastchunks): Remove.
28849 (clear_fastchunks): Remove.
28850 (set_fastchunks): Remove.
28851 (malloc_state): Add have_fastchunks.
28852 (malloc_init_state): Use have_fastchunks.
28853 (do_check_malloc_state): Remove incorrect invariant checks.
28854 (_int_malloc): Use have_fastchunks.
28855 (_int_free): Likewise.
28856 (malloc_consolidate): Likewise.
28858 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28860 * malloc/malloc.c (tcache_put): Inline.
28861 (tcache_get): Inline.
28863 2017-10-17 Jordi Mallach <jordi@gnu.org>
28865 Aurelien Jarno <aurelien@aurel32.net>
28867 * localedata/locales/ca_ES@valencia: New file.
28868 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28870 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28873 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28876 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28878 * scripts/build-many-glibcs.py (Context.add_all_configs):
28879 Add arm-linux-gnueabihf multiarch extra_glibcs.
28881 * sysdeps/generic/ifunc-init.h: New file.
28882 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28884 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28887 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28888 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28889 * stdlib/tst-strfmon_l.c: adapt test case.
28891 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28893 * sysdeps/generic/float128-abi.h: New file.
28894 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28895 non-__prefixed symbols to ....
28896 * math/Versions: ... here. Include <float128-abi.h>.
28897 * stdlib/Versions ... and here. Include <float128-abi.h>
28899 2017-10-16 Florian Weimer <fweimer@redhat.com>
28901 * version.h (VERSION): Switch to ".9000" as the development
28904 2017-10-16 Florian Weimer <fweimer@redhat.com>
28907 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28908 compat_symbol_reference to access non-default version.
28910 2017-10-16 Florian Weimer <fweimer@redhat.com>
28912 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28914 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28916 * include/shlib-compat.h (compat_symbol_reference): Update
28919 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28921 * math/Makefile (test-types): Add
28922 $(type-float128-$(float128-alias-fcts)).
28923 * math/test-float128.h (TYPE_STR): Define conditional on
28924 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28925 (ULP_IDX): Likewise.
28926 (ULP_I_IDX): Likewise.
28928 * stdlib/strtold.c: Include <bits/floatn.h>
28929 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28930 and later undefine as macro. Define as weak alias if
28932 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28933 and later undefine as macro. Define as weak alias if
28935 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28936 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28937 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28938 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28939 Define and later undefine as macro. Define as weak alias if
28941 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28943 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28944 Define and later undefine as macro. Define as weak alias if
28946 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28947 Define and later undefine as macro. Define as weak alias if
28950 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28952 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28953 record_verbose messages.
28955 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28958 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28959 to silence -O3 -Wall warning with GCC 7.
28961 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28963 * Makeconfig (+link-static-before-libc): Use the first of
28964 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28965 * gmon/Makefile (tests): Add tst-gmon-static.
28966 (tests-static): Likewise.
28967 (CFLAGS-tst-gmon-static.c): New.
28968 (CRT-tst-gmon-static): Likewise.
28969 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28970 (tst-gmon-static-ENV): Likewise.
28971 (tests-special): Likewise.
28972 ($(objpfx)tst-gmon-static.out): Likewise.
28973 (clean-tst-gmon-static-data): Likewise.
28974 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28975 * gmon/tst-gmon-static-gprof.sh: New file.
28976 * gmon/tst-gmon-static.c: Likewise.
28978 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28981 * locale/programs/linereader.c (get_string): Don't warn on
28982 non-symbolic character.
28985 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28989 * locale/programs/record-status.h: New file
28990 * locale/programs/locale.c: Add comment.
28991 * locale/programs/charmap-dir.c: Don't include error.h.
28992 (charmap_opendir): Use record_error.
28993 * locale/programs/charmap.c: Don't include error.h.
28994 (charmap_read): Use record_error, and record_warning.
28995 (parse_charmap): Likewise.
28996 * locale/programs/ld-address.c: Don't include error.h.
28997 (address_finish): Use record_error, and record_warning.
28998 * locale/programs/ld-collate.c: Don't include error.h.
28999 (collate_finish): Use record_error, and record_error_at_line.
29000 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29001 (ctype_class_new): Likewise.
29002 (ctype_map_new): Likewise.
29003 (set_one_default): Likewise.
29004 (set_class_defaults): Likewise.
29005 (translit_flatten): Likewise.
29006 (allocate_arrays): Use record_error, and record_verbose.
29007 * locale/programs/ld-identification.c: Don't include error.h.
29008 (indentation_finish): Use record_error and record_warning.
29009 * locale/programs/ld-measurement.c: Don't include error.h.
29010 (measurement_finish): Use record_error.
29011 * locale/programs/ld-messages.c
29012 (message_finish): Likewise.
29013 * locale/programs/ld-monetary.c
29014 (monetary_finish): Likewise.
29015 * locale/programs/ld-name.c (name_finish): Use record_error
29016 and record_warning.
29017 * locale/programs/ld-numeric.c
29018 (numeric_finish): Use record_error.
29019 * locale/programs/ld-paper.c: Don't include error.h.
29020 (paper_finish): Use record_error.
29021 * locale/programs/ld-telephone.c: Don't include error.h.
29022 (telephone_finish): Use record_error.
29023 * locale/programs/ld-time.c (time_finish): Likewise.
29024 * locale/programs/linereader.h (lr_error): Make inline func.
29025 * locale/programs/localedef.c: Define recorded_warning_count,
29026 and recorded_error_count.
29027 (main): Use record_error. Use recorded_error_count and
29028 recorded_warning_count to issue correct error returns.
29029 (add_to_readlist): Use record_error.
29030 (find_locale): Likewise.
29031 (load_locale): Likewise.
29032 * locale/programs/localedef.h: Remove be_quiet
29033 and WITH_CUR_LOCALE.
29034 * locale/programs/locarchive.c (compare_from_file): Use
29036 * locale/programs/locfile.c (write_locale_data): Use
29038 * locale/programs/repertoire.c: Dont include error.h.
29039 (repertoire_complain): Use record_error.
29040 * localedata/tst-fmon.sh: Expect failures from localedef.
29041 * localedata/tst-locale.sh: Likewise.
29042 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29044 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29045 (REPORTS): Likewise.
29047 (i18n): Rename to...
29048 (i18n_ctype): ...this.
29049 (i18n-report): Rename to...
29050 (i18n_ctype-report): ...this.
29051 * localedata/locales/i18n_ctype: Regenerate.
29052 * localedata/locales/i18n: copy i18n_ctype.
29054 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29056 * stdlib/strfroml.c: Include <bits/floatn.h>.
29057 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29058 Define before include of <stdlib.h> and undefine afterwards, then
29059 define as weak alias.
29061 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29062 Undefine and restore default definition. Use
29063 libm_alias_ldouble_other.
29065 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
29068 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
29071 2017-10-13 James Clarke <jrtc27@jrtc27.com>
29073 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29074 Assign sym_map to be map for local symbols, as TLS relocations
29075 use sym_map to determine whether the symbol is defined and to
29076 extract the TLS information.
29077 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29080 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29083 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
29084 (math_force_eval): Add powerpc version.
29087 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
29089 (do_test): Likewise.
29090 * stdio-common/tst-printf.sh: Likewise.
29091 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
29092 ifdef clause in order to set the carry bit right. Replace r0 by
29093 0 without changing the behavior.
29095 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29097 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
29098 <libm-alias-ldouble.h>.
29099 (fabsl): Define using libm_alias_ldouble.
29100 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
29101 <libm-alias-ldouble.h>.
29102 (fabsl): Define using libm_alias_ldouble.
29104 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
29105 Remove conditional code.
29107 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
29108 Rename to __clog10_internal_l.
29109 (__clog10_internal_l): Define aliases using
29110 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
29113 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29115 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
29116 * benchtests/sincosf-inputs: New file.
29117 * benchtests/cosf-inputs: New file.
29118 * benchtests/sinf-inputs: New file.
29120 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
29122 * posix/tst-spawn.c (do_test): Wait for both children.
29124 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
29127 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
29128 tests-pie): Add tst-gmon-pie.
29129 (CFLAGS-tst-gmon-pie.c): New.
29130 (CRT-tst-gmon-pie): Likewise.
29131 (tst-gmon-pie-ENV): Likewise.
29132 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
29133 ($(objpfx)tst-gmon-pie.out): Likewise.
29134 (clean-tst-gmon-pie-data): Likewise.
29135 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
29136 * gmon/gmon.c [PIC]: Include <link.h>.
29137 [PIC] (callback): New function.
29138 (write_hist): Add an argument for load address. Subtract load
29140 (write_call_graph): Likewise.
29141 (write_gmon): Call __dl_iterate_phdr to get load address, pass
29142 it to write_hist and write_call_graph.
29143 * gmon/tst-gmon-pie.c: New file.
29145 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29147 * math/Makefile (test-types-basic): New variable.
29148 (test-types): Likewise.
29149 (libm-test-support): Use $(test-types) instead of $(types).
29150 (libm-tests-base-normal): Likewise.
29151 (libm-tests-base-finite): Likewise.
29152 (libm-tests-base-inline): Likewise.
29153 (generated): Likewise.
29154 ($(objpfx)libm-test-support-$(t).c): Likewise.
29155 (libm-tests-for-type iterator): Likewise.
29156 (libm-test-support iterator): Likewise.
29157 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
29158 (ulp_idx): Use ULP_IDX.
29159 * math/test-ldouble.h: Include <float.h>.
29160 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
29161 (ULP_IDX): New macro.
29162 (ULP_I_IDX): Likewise.
29163 * math/test-double.h (ULP_IDX): Likewise.
29164 (ULP_I_IDX): Likewise.
29165 * math/test-float.h (ULP_IDX): Likewise.
29166 (ULP_I_IDX): Likewise.
29167 * math/test-float128.h (ULP_IDX): Likewise.
29168 (ULP_I_IDX): Likewise.
29170 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29172 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
29173 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29174 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29175 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
29176 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29177 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
29178 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
29179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29180 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29181 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29182 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
29183 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29184 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29186 (SINGLE_THREAD_BY_GLOBAL): Define.
29187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29189 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29191 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29193 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29195 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
29196 (SINGLE_THREAD_BY_GLOBAL): Likewise.
29197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29200 2017-10-11 Andreas Schwab <schwab@suse.de>
29202 * nis/Makefile (aux): Remove.
29203 * nscd/Makefile (aux): Add nscd_hash.
29204 (nscd-modules): Likewise.
29205 ($(objpfx)nscd): Don't depend on libnsl.
29206 * nscd/nscd_hash.c: New file.
29207 * nscd/nscd_hash.h: Likewise.
29208 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
29209 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
29210 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
29211 instead of <nis/rpcsvc/nis.h>.
29212 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
29214 2017-10-11 Florian Weimer <fweimer@redhat.com>
29217 Avoid large NSS buffers with many addresses, aliases.
29218 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
29219 using dynarrays and struct alloc_buffer.
29220 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
29221 (tst-nss-files-hosts-multi): Link with -ldl.
29222 * nss/tst-nss-files-hosts-multi.c: New file.
29224 2017-10-11 Florian Weimer <fweimer@redhat.com>
29227 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
29228 scratch_buffer. Eliminate gotos.
29230 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29232 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
29233 libm_alias_ldouble_other.
29234 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
29235 undefine and redefine.
29236 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29237 (exp10l): Do not define here.
29238 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
29239 (weak_alias): Undefine and redefine.
29240 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
29241 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29242 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
29243 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
29245 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
29246 [!__fma] (fma): Define using libm_alias_double.
29247 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
29248 [!__fmaf] (fmaf): Define using libm_alias_float.
29249 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
29250 (fmal): Define using libm_alias_ldouble.
29252 2017-10-10 Joseph Myers <joseph@codesourcery.com>
29254 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
29256 (libm_alias_double_other): Likewise.
29257 (libm_alias_double_r): Use libm_alias_double_other_r.
29258 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
29260 (libm_alias_float_other): Likewise.
29261 (libm_alias_float_r): Use libm_alias_float_other_r.
29262 * sysdeps/generic/libm-alias-float128.h
29263 (libm_alias_float128_other_r): New macro.
29264 (libm_alias_float128_other): Likewise.
29265 (libm_alias_float128_r): Use libm_alias_float128_other_r.
29266 * sysdeps/generic/libm-alias-ldouble.h
29267 (libm_alias_ldouble_other_r): New macro.
29268 (libm_alias_ldouble_other): Likewise.
29269 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29270 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
29271 (libm_alias_double_other_r): New macro.
29272 (libm_alias_double_other): Likewise.
29273 (libm_alias_double_r): Use libm_alias_double_other_r.
29274 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
29275 (libm_alias_ldouble_other_r): New macro.
29276 (libm_alias_ldouble_other): Likewise.
29277 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29278 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
29279 [!USE_AS_COMPAT]: Use libm_alias_double_other.
29280 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
29281 [!USE_AS_COMPAT]: Use libm_alias_float_other.
29282 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
29283 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
29284 * math/w_exp2f.c: Use libm_alias_float_other.
29285 * math/w_expf.c: Likewise.
29286 * math/w_log2f.c: Likewise.
29287 * math/w_logf.c: Likewise.
29288 * math/w_powf.c: Likewise.
29289 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29290 [!__exp2f]: Use libm_alias_float_other.
29291 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29292 [!__expf]: Use libm_alias_float_other.
29293 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29294 [!__log2f]: Use libm_alias_float_other.
29295 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29296 [!__logf]: Use libm_alias_float_other.
29297 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29298 [!__powf]: Use libm_alias_float_other.
29300 2017-10-10 Florian Weimer <fweimer@redhat.com>
29302 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29304 (_nss_files_gethostbyname3_r): Call it.
29306 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29308 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29309 error. Remove default definition of declare_mgen_alias.
29310 [!declare_mgen_alias_r]: Likewise.
29311 * sysdeps/generic/math-type-macros-double.h
29312 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29313 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29314 (declare_mgen_alias_r): Likewise.
29315 * sysdeps/generic/math-type-macros-float128.h
29316 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29317 * sysdeps/generic/math-type-macros-ldouble.h
29318 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29319 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29321 (declare_mgen_alias_r_s): Likewise.
29322 (declare_mgen_alias_r): Likewise.
29323 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29324 (lgamma_r): Define using libm_alias_double_r.
29325 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29326 (lgammaf_r): Define using libm_alias_float_r.
29327 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29328 (lgammal_r): Define using libm_alias_ldouble_r.
29329 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29330 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29332 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29334 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29335 extern declaration.
29337 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29339 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29341 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
29344 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29345 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29346 * math/Makefile (test-math-cxx11): New test.
29347 * math/test-math-cxx11.cc: New file.
29349 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29351 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29353 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29354 call to allocate the slave pty file descriptor.
29356 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29358 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29359 [!__fma] (fma): Define using libm_alias_double.
29360 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29361 [!__fma] (fma): Define using libm_alias_double.
29363 * sysdeps/ieee754/float128/float128_private.h: Include
29364 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29365 (libm_alias_ldouble_r): Undefine and redefine.
29366 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29367 <libm-alias-ldouble.h>.
29368 (asinhl): Define using libm_alias_ldouble.
29369 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29370 <libm-alias-ldouble.h>.
29371 (atanl): Define using libm_alias_ldouble.
29372 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29373 <libm-alias-ldouble.h>.
29374 (cbrtl): Define using libm_alias_ldouble.
29375 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29376 <libm-alias-ldouble.h>.
29377 (ceill): Define using libm_alias_ldouble.
29378 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29379 <libm-alias-ldouble.h>.
29380 (copysignl): Define using libm_alias_ldouble.
29381 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29382 <libm-alias-ldouble.h>.
29383 (cosl): Define using libm_alias_ldouble.
29384 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29385 <libm-alias-ldouble.h>.
29386 (erfl): Define using libm_alias_ldouble.
29388 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29389 <libm-alias-ldouble.h>.
29390 (expm1l): Define using libm_alias_ldouble.
29391 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29392 <libm-alias-ldouble.h>.
29393 (fabsl): Define using libm_alias_ldouble.
29394 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29395 <libm-alias-ldouble.h>.
29396 (floorl): Define using libm_alias_ldouble.
29397 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29398 <libm-alias-ldouble.h>.
29399 (fmal): Define using libm_alias_ldouble.
29400 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29401 <libm-alias-ldouble.h>.
29402 (frexpl): Define using libm_alias_ldouble.
29403 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29404 libm_alias_ldouble.
29405 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29406 <libm-alias-ldouble.h>.
29407 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29408 libm_alias_ldouble.
29409 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29410 <libm-alias-ldouble.h>.
29411 (getpayloadl): Define using libm_alias_ldouble.
29412 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29413 <libm-alias-ldouble.h>.
29414 (llrintl): Define using libm_alias_ldouble.
29415 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29416 <libm-alias-ldouble.h>.
29417 (llroundl): Define using libm_alias_ldouble.
29418 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29419 <libm-alias-ldouble.h>.
29420 (logbl): Define using libm_alias_ldouble.
29421 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29422 <libm-alias-ldouble.h>.
29423 (lrintl): Define using libm_alias_ldouble.
29424 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29425 <libm-alias-ldouble.h>.
29426 (lroundl): Define using libm_alias_ldouble.
29427 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29428 <libm-alias-ldouble.h>.
29429 (modfl): Define using libm_alias_ldouble.
29430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29431 <libm-alias-ldouble.h>.
29432 (nearbyintl): Define using libm_alias_ldouble.
29433 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29434 <libm-alias-ldouble.h>.
29435 (nextafterl): Define using libm_alias_ldouble.
29436 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29437 <libm-alias-ldouble.h>.
29438 (nextupl): Define using libm_alias_ldouble.
29439 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29440 <libm-alias-ldouble.h>.
29441 (remquol): Define using libm_alias_ldouble.
29442 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29443 <libm-alias-ldouble.h>.
29444 (rintl): Define using libm_alias_ldouble.
29445 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29446 <libm-alias-ldouble.h>.
29447 (roundevenl): Define using libm_alias_ldouble.
29448 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29449 <libm-alias-ldouble.h>.
29450 (roundl): Define using libm_alias_ldouble.
29451 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29452 using libm_alias_ldouble.
29453 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29454 <libm-alias-ldouble.h>.
29455 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29456 Define using libm_alias_ldouble.
29457 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29458 <libm-alias-ldouble.h>.
29459 (sincosl): Define using libm_alias_ldouble.
29460 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29461 <libm-alias-ldouble.h>.
29462 (sinl): Define using libm_alias_ldouble.
29463 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29464 <libm-alias-ldouble.h>.
29465 (tanhl): Define using libm_alias_ldouble.
29466 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29467 <libm-alias-ldouble.h>.
29468 (tanl): Define using libm_alias_ldouble.
29469 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29470 <libm-alias-ldouble.h>.
29471 (totalorderl): Define using libm_alias_ldouble.
29472 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29473 <libm-alias-ldouble.h>.
29474 (totalordermagl): Define using libm_alias_ldouble.
29475 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29476 <libm-alias-ldouble.h>.
29477 (truncl): Define using libm_alias_ldouble.
29478 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29479 libm_alias_ldouble.
29480 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29481 libm_alias_ldouble.
29482 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29483 <libm-alias-ldouble.h>.
29484 (weak_alias): Do not undefine and redefine.
29485 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29486 (copysignl): Define with long_double_symbol only if [IS_IN
29488 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29489 <libm-alias-ldouble.h>.
29490 (weak_alias): Do not undefine and redefine.
29491 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29492 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29493 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29494 <libm-alias-ldouble.h>.
29495 (weak_alias): Do not undefine and redefine.
29496 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29497 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29498 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29499 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29502 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29505 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29508 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29509 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29510 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29511 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29512 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29513 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29514 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29515 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29516 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29517 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29518 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29519 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29520 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29521 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29523 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29526 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29527 (tcache_thread_freeres): Set tcache_shutting_down before
29528 freeing the tcache.
29529 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29530 * malloc/tst-malloc-tcache-leak.c: New file.
29532 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29534 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29535 back to powerpc32 file.
29536 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29537 (memrchr): Add __memrchr_power8 to ifunc list.
29538 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29539 extra bytes for unaligned inputs.
29541 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29543 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29544 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29545 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29546 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29547 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29549 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29551 * sysdeps/arm/libm-test-ulps: Update.
29553 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29554 <libm-alias-ldouble.h>.
29555 (asinhl): Define using libm_alias_ldouble.
29556 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29557 <libm-alias-ldouble.h>.
29558 (cbrtl): Define using libm_alias_ldouble.
29559 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29560 <libm-alias-ldouble.h>.
29561 (copysignl): Define using libm_alias_ldouble.
29562 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29563 <libm-alias-ldouble.h>.
29564 (cosl): Define using libm_alias_ldouble.
29565 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29566 <libm-alias-ldouble.h>.
29567 (erfl): Define using libm_alias_ldouble.
29569 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29570 <libm-alias-ldouble.h>.
29571 (fmal): Define using libm_alias_ldouble.
29572 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29573 <libm-alias-ldouble.h>.
29574 (frexpl): Define using libm_alias_ldouble.
29575 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29576 libm_alias_ldouble.
29577 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29578 <libm-alias-ldouble.h>.
29579 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29580 libm_alias_ldouble.
29581 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29582 <libm-alias-ldouble.h>.
29583 (getpayloadl): Define using libm_alias_ldouble.
29584 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29585 <libm-alias-ldouble.h>.
29586 (llrintl): Define using libm_alias_ldouble.
29587 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29588 <libm-alias-ldouble.h>.
29589 (llroundl): Define using libm_alias_ldouble.
29590 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29591 <libm-alias-ldouble.h>.
29592 (lrintl): Define using libm_alias_ldouble.
29593 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29594 <libm-alias-ldouble.h>.
29595 (lroundl): Define using libm_alias_ldouble.
29596 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29597 <libm-alias-ldouble.h>.
29598 (modfl): Define using libm_alias_ldouble.
29599 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29600 <libm-alias-ldouble.h>.
29601 (nextupl): Define using libm_alias_ldouble.
29602 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29603 <libm-alias-ldouble.h>.
29604 (remquol): Define using libm_alias_ldouble.
29605 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29606 <libm-alias-ldouble.h>.
29607 (roundevenl): Define using libm_alias_ldouble.
29608 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29609 <libm-alias-ldouble.h>.
29610 (roundl): Define using libm_alias_ldouble.
29611 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29612 using libm_alias_ldouble.
29613 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29614 <libm-alias-ldouble.h>.
29615 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29616 <libm-alias-ldouble.h>.
29617 (setpayloadsigl): Define using libm_alias_ldouble.
29618 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29619 <libm-alias-ldouble.h>.
29620 (sincosl): Define using libm_alias_ldouble.
29621 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29622 <libm-alias-ldouble.h>.
29623 (sinl): Define using libm_alias_ldouble.
29624 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29625 <libm-alias-ldouble.h>.
29626 (tanhl): Define using libm_alias_ldouble.
29627 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29628 <libm-alias-ldouble.h>.
29629 (tanl): Define using libm_alias_ldouble.
29630 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29631 <libm-alias-ldouble.h>.
29632 (totalorderl): Define using libm_alias_ldouble.
29633 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29634 <libm-alias-ldouble.h>.
29635 (totalordermagl): Define using libm_alias_ldouble.
29636 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29637 libm_alias_ldouble.
29638 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29639 libm_alias_ldouble.
29641 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29643 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29645 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29646 (__libc_ifunc_impl_list): Likewise.
29647 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29648 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29650 * benchtests/bench-memmove-walk.c: New file.
29651 * benchtests/Makefile (string-benchset): Add it.
29653 * benchtests/bench-memset-walk.c: New file.
29654 * benchtests/Makefile (string-benchset): Add it.
29656 * benchtests/bench-memcpy-walk.c: New file.
29657 * benchtests/Makefile (string-benchset): Add it.
29659 2017-10-05 Florian Weimer <fweimer@redhat.com>
29661 nscd: Eliminate compilation time dependency in the build output.
29662 * nscd/nscd_stat.c (STATDATA_VERSION)
29663 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29664 (STATDATA_VERSION_FULL): New macro definitions.
29665 (compilation): Remove.
29666 (struct statdata): Adjust version member.
29667 (send_stats): Set version from STATDATA_VERSION_FULL.
29668 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29670 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29672 * configure.ac (--enable-add-ons): Remove option.
29673 (machine): Do not mention add-ons in comment.
29674 (LIBC_PRECONFIGURE): Likewise.
29675 (add_ons): Remove variable and sanity checks and logic to locate
29677 (add_ons_automatic): Remove variable.
29678 (configured_add_ons): Likewise.
29679 (add_ons_sfx): Likewise.
29680 (add_ons_pfx): Likewise.
29681 (add_on_subdirs): Likewise.
29682 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29683 consideration of add-ons in Implies handling.
29684 (sysdeps_add_ons): Likewise.
29685 * configure: Regenerated.
29686 * libidn/configure.ac: Remove.
29687 * libidn/configure: Likewise.
29688 * sysdeps/unix/inet/configure.ac: New file.
29689 * sysdeps/unix/inet/configure: New generated file.
29690 * sysdeps/unix/inet/Subdirs: Add libidn.
29691 * Makeconfig (sysdeps-srcdirs): Remove variable.
29692 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29693 ($(common-objpfx)config.status): Do not depend on add-on files.
29694 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29696 (all-subdirs): Do not include $(add-on-subdirs).
29697 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29698 * config.make.in (add-ons): Remove variable.
29699 (add-on-subdirs): Likewise.
29700 (sysdeps-add-ons): Likewise.
29701 * manual/Makefile (add-chapters): Remove.
29702 ($(objpfx)texis): Do not depend on $(add-chapters).
29703 (nonexamples): Do not handle $(add-chapters).
29704 (examples): Do not handle $(add-ons).
29705 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29707 * manual/install.texi (Installation): Do not mention add-ons.
29708 (--enable-add-ons): Do not document configure option.
29709 * INSTALL: Regenerated.
29710 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29711 * manual/maint.texi (Hierarchy Conventions): Do not mention
29713 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29715 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29717 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29718 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29720 2017-10-05 Andreas Schwab <schwab@suse.de>
29723 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29724 (_IO_flush_all_lockp): Always lock list_all_lock.
29725 (_IO_flush_all_linebuffered): Likewise.
29726 (_IO_unbuffer_all): Likewise.
29728 2017-10-05 Florian Weimer <fweimer@redhat.com>
29731 Do not flush stdio streams on abort.
29732 * stdlib/abort.c (fflush): Remove macro definition.
29733 (abort): Remove stages related to stdio flushing.
29735 2017-10-05 Florian Weimer <fweimer@redhat.com>
29737 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29739 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29741 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29743 2017-10-05 Florian Weimer <fweimer@redhat.com>
29745 * support/support_format_hostent.c (support_format_hostent): Add
29746 more error information for NETDB_INTERNAL.
29748 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29750 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29751 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29752 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29753 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29754 AC_DEFINE if multi-arch is enabled.
29755 * sysdeps/i386/configure: Regenerated.
29757 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29759 * Makeconfig (+link-static-before-libc): Use
29760 $(DEFAULT-LDFLAGS-$(@F)).
29761 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29762 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29763 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29765 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29767 * elf/Makefile (tests): Add tst-main1.
29768 (modules-names): Add tst-main1mod.
29769 ($(objpfx)tst-main1): New.
29770 (CRT-tst-main1): Likewise.
29771 (LDFLAGS-tst-main1): Likewise.
29772 (LDLIBS-tst-main1): Likewise.
29773 (tst-main1mod.so-no-z-defs): Likewise.
29774 * elf/tst-main1.c: New file.
29775 * elf/tst-main1mod.c: Likewise.
29777 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29779 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29781 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29783 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29784 (fma): Define using libm_alias_double.
29785 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29786 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29788 (fmal): Do not define as compat symbol here.
29789 * sysdeps/alpha/fpu/s_fma.c: New file.
29791 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29793 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29795 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29798 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29800 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29802 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29803 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29804 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29805 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29807 Include <math_ldbl_opt.h>
29808 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29810 (compat_symbol): Undefine and redefine.
29811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29813 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29814 (compat_symbol): Undefine and redefine.
29815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29816 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29817 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29818 GLIBC_2_1 for libm.
29819 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29820 GLIBC_2.0 copysignl symbol.
29821 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29822 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29824 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29826 2017-10-04 Florian Weimer <fweimer@redhat.com>
29828 * scripts/check-local-headers.sh: Ignore nspr4 header file
29829 directory in addition to nspr.
29831 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29834 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29835 * configure: Regenerate.
29836 * crypt/Makefile (nss-cpp-flags): New variable.
29837 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29838 (CPPFLAGS-md5-crypt.c): Use it.
29839 * scripts/check-local-headers.sh: Ignore nspr header file
29842 2017-10-04 Andreas Schwab <schwab@suse.de>
29844 * nis/Makefile (services): Remove compat.
29845 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29846 ($(objpfx)libnss_compat.so): Remove rule.
29847 * nis/Versions (libnss_compat): Remove.
29848 * nss/Makefile (services): Add compat.
29849 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29850 * nss/Versions (libnss_compat): Define.
29851 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29852 Don't include <rpc/types.h>. Replace bool_t by bool.
29853 * nss/nss_compat/compat-initgroups.c: Likewise.
29854 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29855 instead of <rpcsrv/ypclnt.h>.
29856 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29857 yp_get_default_domain.
29858 * nss/nss_compat/compat-pwd.c: Likewise.
29859 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29860 yp_get_default_domain.
29861 * nss/nss_compat/nisdomain.c: New file.
29862 * nss/nss_compat/nisdomain.h: Likewise.
29864 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29867 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29868 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29870 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29873 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29874 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29876 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29878 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29879 "movl main@GOTOFF(%ebx), %eax".
29881 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29883 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29884 allow undefined _DYNAMIC in PIE libc.a.
29885 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29888 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29890 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29893 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29895 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29898 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29900 * math/test-math-iscanonical.cc (error): Replace bool with int.
29902 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29904 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29905 (modf): Define using libm_alias_double, only if [!__modf].
29906 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29907 <libm-alias-double.h>.
29908 (modf): Define using libm_alias_double, only if [!__modf].
29909 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29910 compat symbol here.
29911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29912 (weak_alias): Do not undefine and redefine.
29913 (strong_alias): Likewise.
29914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29915 (weak_alias): Likewise.
29916 (strong_alias): Likewise.
29918 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29919 (logb): Define using libm_alias_double, only if [!__logb].
29920 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29921 <libm-alias-double.h>.
29922 (logb): Define using libm_alias_double, only if [!__logb].
29923 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29925 (weak_alias): Do not undefine and redefine.
29926 (strong_alias): Likewise.
29927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29928 (weak_alias): Likewise.
29929 (strong_alias): Likewise.
29931 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29933 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29934 Check SHARED instead PIC.
29936 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29938 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29939 [!__fmaf] (fmaf): Define using libm_alias_float.
29941 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29942 (frexp): Define using libm_alias_double.
29943 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29944 <libm-alias-double.h>.
29945 (frexp): Define using libm_alias_double.
29946 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29947 compat symbol here.
29949 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29952 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29953 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29954 (CFLAGS-test-math-iscanonical.cc): New variable.
29955 * math/test-math-iscanonical.cc: New file.
29956 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29957 Provide a C++ implementation based on function overloading,
29958 rather than using __MATH_TG, which uses C-only builtins.
29959 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29961 * sysdeps/powerpc/powerpc64le/Makefile
29962 (CFLAGS-test-math-iscanonical.cc): New variable.
29964 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29966 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29967 (ceil): Define using libm_alias_double.
29968 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29969 (floor): Define using libm_alias_double.
29970 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29971 <libm-alias-double.h>.
29972 (llround): Define using libm_alias_double.
29973 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29974 <libm-alias-double.h>.
29975 (lround): Define using libm_alias_double.
29976 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29977 <libm-alias-double.h>.
29978 (nearbyint): Define using libm_alias_double.
29979 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29980 <libm-alias-double.h>.
29981 (remquo): Define using libm_alias_double.
29982 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29983 (rint): Define using libm_alias_double.
29984 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29985 (round): Define using libm_alias_double.
29986 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29987 (trunc): Define using libm_alias_double.
29988 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29989 <libm-alias-double.h>.
29990 (ceil): Define using libm_alias_double.
29991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29992 <libm-alias-double.h>.
29993 (floor): Define using libm_alias_double.
29994 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29995 <libm-alias-double.h>.
29996 (llround): Define using libm_alias_double.
29997 [_LP64] (lround): Likewise.
29998 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29999 <libm-alias-double.h>.
30000 [!_LP64] (lround): Define using libm_alias_double.
30001 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30002 <libm-alias-double.h>.
30003 (nearbyint): Define using libm_alias_double.
30004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30005 <libm-alias-double.h>.
30006 (remquo): Define using libm_alias_double.
30007 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30008 <libm-alias-double.h>.
30009 (rint): Define using libm_alias_double.
30010 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30011 <libm-alias-double.h>.
30012 (round): Define using libm_alias_double.
30013 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30014 <libm-alias-double.h>.
30015 (trunc): Define using libm_alias_double.
30016 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30017 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30018 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30019 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30020 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30021 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30022 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30023 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30024 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30026 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30028 * math/w_remainder.c: New file.
30029 * math/w_remainderf.c: New file.
30030 * math/w_remainderl.c: New file.
30032 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30034 * elf/rtld.c (BOOTSTRAP_MAP): New.
30035 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30036 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30038 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30040 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30043 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30045 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30046 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30047 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30048 rtld_hidden_data_ver): Define to empty.
30049 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30050 __assert_perror_fail): Likewise.
30051 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30052 (__rewinddir): Likewise.
30053 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30054 (__profile_frequency): Likewise.
30055 * include/setjmp.h (__sigsetjmp): Likewise.
30056 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30057 __libc_sigaction): Likewise.
30058 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30059 not set hidden attribute.
30060 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30061 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30062 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30063 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30064 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
30065 __fxstatat64): Likewise.
30066 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30067 (__uname): Likewise.
30068 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30069 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
30070 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
30071 (NO_RTLD_HIDDEN): Set.
30072 * sysdeps/mach/hurd/configure: Refresh.
30073 * config.h.in: Refresh.
30075 2017-10-02 Joseph Myers <joseph@codesourcery.com>
30077 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
30078 (atan): Define using libm_alias_double.
30079 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
30080 (tan): Define using libm_alias_double.
30081 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
30082 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
30084 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
30085 define as weak alias of __atan. Do not define any aliases if
30087 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
30088 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
30089 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
30090 as weak alias of __tan. Do not define any aliases if [__tan].
30091 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
30092 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
30093 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
30095 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
30096 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
30097 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
30098 and define as weak alias of __atan.
30099 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
30101 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
30102 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
30103 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
30104 define as weak alias of __tan.
30106 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30108 * math/w_lgamma.c: New file.
30109 * math/w_lgammaf.c: New file.
30110 * math/w_lgammal.c: New file.
30112 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30114 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
30115 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
30116 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
30117 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
30118 * sysdeps/ieee754/flt-32/w_logf.c: New file.
30119 * sysdeps/ieee754/flt-32/w_powf.c: New file.
30120 * sysdeps/i386/fpu/w_log2f.c: New file.
30121 * sysdeps/i386/fpu/w_logf.c: New file.
30122 * sysdeps/i386/fpu/w_powf.c: New file.
30123 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
30124 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
30125 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
30127 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30128 H.J. Lu <hongjiu.lu@intel.com>
30130 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
30131 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
30132 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
30133 * sysdeps/ieee754/flt-32/w_expf.c: New file.
30134 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
30136 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
30137 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
30138 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
30139 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
30140 * sysdeps/i386/fpu/w_exp2f.c: New file.
30141 * sysdeps/i386/fpu/w_expf.c: New file.
30142 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
30143 * sysdeps/x86_64/fpu/w_expf.c: New file.
30145 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30147 * math/Versions (logf): New libm symbol at GLIBC_2.27.
30150 * math/w_log2f.c: New file.
30151 * math/w_logf.c: New file.
30152 * math/w_powf.c: New file.
30153 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
30154 * math/w_logf_compat.c (__logf_compat): Likewise.
30155 * math/w_powf_compat.c (__powf_compat): Likewise.
30156 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
30157 * sysdeps/ia64/fpu/e_logf.S: Likewise.
30158 * sysdeps/ia64/fpu/e_powf.S: Likewise.
30159 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30160 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30161 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30162 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30163 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30164 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30165 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30166 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30167 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30168 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30169 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30170 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30179 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30180 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30181 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30182 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30183 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30188 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30189 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30190 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30192 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30194 * sysdeps/powerpc/powerpc64/multiarch/Makefile
30195 (sysdep_routines): Add memrchr_power8.
30196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30197 (memrchr): Add __memrchr_power8 to list of memrchr functions.
30198 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
30200 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30201 (memrchr): Add __memrchr_power8 to ifunc list.
30202 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
30204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30207 * sysdeps/unix/sysv/linux/posix_fadvise64.c
30208 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
30210 * sysdeps/unix/sysv/linux/posix_fallocate64.c
30211 (__posix_fallocate64_l64): Likewise.
30213 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30216 * sysdeps/unix/sysv/linux/sched_setaffinity.c
30217 (__sched_setaffinity_new): Add libc_hidden_proto and
30220 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30223 * include/glob.h (__glob64): Add libc_hidden_proto.
30224 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
30227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30230 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
30233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30236 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
30238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30241 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
30244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30247 * csu/version.c (__libc_print_version): Add attribute_hidden.
30249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30252 * include/libc-internal.h (__init_misc): Add attribute_hidden.
30254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30257 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
30259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30262 * nscd/nscd_helper.c (__nis_hash): New prototype.
30264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30267 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
30268 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
30270 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30271 * termios/tcgetattr.c (__tcgetattr): Likewise.
30273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30276 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
30277 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
30278 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
30279 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
30280 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
30282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30285 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30287 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30290 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30291 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30296 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30298 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30301 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30302 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30304 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30307 * include/ifreq.h: New file.
30308 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30309 (__ifreq): Likewise.
30310 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30311 (__ifreq): Likewise.
30313 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30316 * include/idna.h: New file.
30317 * inet/getnameinfo.c: Include <idna.h> instead of
30319 (__idna_to_unicode_lzlz): Removed.
30320 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30322 (__idna_to_ascii_lz): Removed.
30323 (__idna_to_unicode_lzlz): Likewise.
30325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30328 * include/plural-exp.h: New file.
30329 * intl/plural-exp.c: Include <plural-exp.h> instead of
30332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30335 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30336 "getsourcefilter.h".
30337 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30338 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30339 "getsourcefilter.h".
30340 (__get_sol): Removed.
30342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30345 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30347 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30349 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30352 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30358 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30363 * include/search.h (__tdestroy): Add libc_hidden_proto.
30364 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30369 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30374 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30380 * include/signal.h (__kill): Add libc_hidden_proto.
30381 (__sigblock): Likewise.
30382 (__sigprocmask): Likewise.
30383 (__sigaltstack): Likewise.
30384 * signal/kill.c (__kill): Add libc_hidden_def.
30385 * signal/sigblock.c (__sigblock): Likewise.
30386 * signal/sigprocmask.c (__sigprocmask): Likewise.
30387 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30388 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30389 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30390 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30391 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30393 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30395 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30396 (__sigprocmask): Likewise.
30397 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30399 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30400 (__sigprocmask): Likewise.
30401 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30404 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30407 * include/string.h (__strsep): Add libc_hidden_proto.
30408 * string/strsep.c (__strsep): Add libc_hidden_def.
30410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30413 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30415 (__spawni): Likewise.
30417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30420 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30421 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30427 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30429 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30432 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30433 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30434 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30435 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30436 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30438 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30439 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30444 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30445 (__dcigettext): Likewise.
30447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30450 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30452 (__get_nprocs): Likewise.
30453 (__get_phys_pages): Likewise.
30454 (__get_avphys_pages): Likewise.
30455 (__get_child_max): Add attribute_hidden.
30456 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30457 (__get_nprocs): Likewise.
30458 (__get_phys_pages): Likewise.
30459 (__get_avphys_pages): Likewise.
30460 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30462 (__get_nprocs): Likewise.
30463 (__get_phys_pages): Likewise.
30464 (__get_avphys_pages): Likewise.
30465 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30467 (__get_nprocs_conf): Likewise.
30468 (__get_phys_pages): Likewise.
30469 (__get_avphys_pages): Likewise.
30471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30474 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30476 (__netlink_close): Likewise.
30477 (__netlink_free_handle): Likewise.
30478 (__netlink_request): Likewise.
30480 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30483 * include/rpc/rpc.h (__rpc_thread_variables): Add
30485 (__rpc_thread_svc_cleanup): Likewise.
30486 (__rpc_thread_clnt_cleanup): Likewise.
30487 (__rpc_thread_key_cleanup): Likewise.
30489 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30492 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30493 (__writev): Likewise.
30494 * misc/readv.c (__readv): Add libc_hidden_def.
30495 * misc/writev.c (__writev): Likewise.
30496 * sysdeps/posix/readv.c (__readv): Likewise.
30497 * sysdeps/posix/writev.c (__writev): Likewise.
30498 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30499 (__readv): Likewise.
30500 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30501 (__writev): Likewise.
30503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30506 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30507 (__regcomp): Add libc_hidden_proto.
30508 (__regexec): Likewise.
30509 (__regfree): Likewise.
30510 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30511 (__regfree): Likewise.
30512 * posix/regexec.c (__regexec): Likewise.
30514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30517 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30518 (__getutent): Likewise.
30519 (__getutid): Likewise.
30520 (__getutline): Likewise.
30521 (__pututline): Likewise.
30522 (__getutent_r): Likewise.
30523 (__getutid_r): Likewise.
30524 (__getutline_r): Likewise.
30525 (__utmpname): Add attribute_hidden.
30526 (__setutent): Likewise.
30527 (__endutent): Likewise.
30528 * login/getutent.c (__getutent): Add libc_hidden_def.
30529 * login/getutent_r.c (__getutent_r): Likewise.
30530 (__pututline): Likewise.
30531 * login/getutid.c (__getutid): Likewise.
30532 * login/getutid_r.c (__getutid_r): Likewise.
30533 * login/getutline.c (__getutline): Likewise.
30534 * login/getutline_r.c (__getutline_r): Likewise.
30535 * login/updwtmp.c (__updwtmp): Likewise.
30537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30540 * include/dirent.h (__opendir): Always add attribute_hidden.
30541 (__fdopendir): Likewise.
30542 (__closedir): Likewise.
30543 (__readdir): Likewise.
30544 (__readdir64): Add libc_hidden_proto.
30545 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30546 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30547 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30548 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30554 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30555 * include/netdb.h (__gethostbyaddr_r): Likewise.
30556 (__gethostbyname_r): Likewise.
30557 (__gethostbyname2_r): Likewise.
30558 (__getnetbyaddr_r): Likewise.
30559 (__getnetbyname_r): Likewise.
30560 (__getservbyname_r): Likewise.
30561 (__getservbyport_r): Likewise.
30562 (__getprotobyname_r): Likewise.
30563 (__getprotobynumber_r): Likewise.
30564 (__getnetgrent_r): Likewise.
30565 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30566 (__getrpcbynumber_r): Likewise.
30567 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30572 * include/stdio.h (__fcloseall): Add attribute_hidden.
30573 (__getline): Likewise.
30574 (__path_search): Likewise.
30575 (__gen_tempname): Likewise.
30576 (__libc_message): Likewise.
30577 (__flockfile): Likewise.
30578 (__funlockfile): Likewise.
30579 (__fxprintf): Likewise.
30580 (__fxprintf_nocancel): Likewise.
30582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30585 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30586 (__sgetsgent_r): Likewise.
30588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30591 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30592 (__statfs64): Likewise.
30593 (__fstatfs64): Likewise.
30594 * include/sys/statvfs.h (__statvfs64): Likewise.
30595 (__fstatvfs64): Likewise.
30596 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30597 (__statfs_filesize_max): Likewise.
30598 (__statfs_symlinks): Likewise.
30599 (__statfs_chown_restricted): Likewise.
30601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30604 * include/time.h (__tzstring): Add attribute_hidden.
30605 (__tzfile_read): Likewise.
30606 (__tzfile_compute): Likewise.
30607 (__tzfile_default): Likewise.
30608 (__tzset_parse_tz): Likewise.
30609 (__offtime): Likewise.
30610 (__asctime_r): Likewise.
30611 (__tzset): Likewise.
30612 (__tz_convert): Likewise.
30613 (__getdate_r): Likewise.
30614 (__getclktck): Likewise.
30616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30619 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30620 (__nscd_unmap): Likewise.
30621 (__nscd_cache_search): Likewise.
30622 (__nscd_get_nl_timestamp): Likewise.
30623 (__nscd_getpwnam_r): Likewise.
30624 (__nscd_getpwuid_r): Likewise.
30625 (__nscd_getgrnam_r): Likewise.
30626 (__nscd_getgrgid_r): Likewise.
30627 (__nscd_gethostbyname_r): Likewise.
30628 (__nscd_gethostbyname2_r): Likewise.
30629 (__nscd_gethostbyaddr_r): Likewise.
30630 (__nscd_getai): Likewise.
30631 (__nscd_getgrouplist): Likewise.
30632 (__nscd_getservbyname_r): Likewise.
30633 (__nscd_getservbyport_r): Likewise.
30634 (__nscd_innetgr): Likewise.
30635 (__nscd_setnetgrent): Likewise.
30637 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30640 * include/gmp.h: Declare internal functions only if _ISOMAC is
30642 (__mpn_extract_double): Add attribute_hidden.
30643 (__mpn_extract_long_double): Likewise.
30644 (__mpn_extract_float128): Likewise.
30645 (__mpn_construct_float): Likewise.
30646 (__mpn_construct_double): Likewise.
30647 (__mpn_construct_long_double): Likewise.
30648 (__mpn_construct_float128): Likewise.
30649 (mpn_add_1): Likewise.
30650 (mpn_addmul_1): Likewise.
30651 (mpn_add_n): Likewise.
30652 (mpn_cmp): Likewise.
30653 (mpn_divrem): Likewise.
30654 (mpn_lshift): Likewise.
30655 (mpn_mul): Likewise.
30656 (mpn_mul_1): Likewise.
30657 (mpn_rshift): Likewise.
30658 (mpn_sub_1): Likewise.
30659 (mpn_submul_1): Likewise.
30660 (mpn_sub_n): Likewise.
30662 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30665 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30666 (__wcscat): Likewise.
30667 (__btowc): Likewise.
30668 (__wcrtomb): Likewise.
30669 (__mbsrtowcs): Likewise.
30670 (__wcsrtombs): Likewise.
30671 (__mbsnrtowcs): Likewise.
30672 (__wcsnrtombs): Likewise.
30673 (__wcsncpy): Likewise.
30674 (__wcpncpy): Likewise.
30675 (__wmemcpy): Likewise.
30676 (__wmempcpy): Likewise.
30677 (__wmemmove): Likewise.
30678 (__wcschrnul): Likewise.
30679 (__vfwscanf): Likewise.
30680 (__vswprintf): Likewise.
30681 (__fwprintf): Likewise.
30682 (__vfwprintf): Likewise.
30684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30687 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30688 (__getgrgid_r): Likewise.
30689 (__getgrnam_r): Likewise.
30690 * include/pwd.h (__getpwuid_r): Likewise.
30691 (__getpwnam_r): Likewise.
30692 (__fgetpwent_r): Likewise.
30693 * include/shadow.h (__getspnam_r): Likewise.
30694 (__sgetspent_r): Likewise.
30695 (__fgetspent_r): Likewise.
30697 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30700 * include/unistd.h (__access): Add attribute_hidden.
30701 (__lseek64): Likewise.
30702 (__libc_pread64): Likewise.
30703 (__pipe2): Likewise.
30704 (__sleep): Likewise.
30705 (__chdir): Likewise.
30706 (__fchdir): Likewise.
30707 (__getcwd): Likewise.
30708 (__rmdir): Likewise.
30709 (__execvpe): Likewise.
30710 (__execve): Likewise.
30711 (__setsid): Likewise.
30712 (__getuid): Likewise.
30713 (__geteuid): Likewise.
30714 (__getgid): Likewise.
30715 (__getegid): Likewise.
30716 (__getgroups): Likewise.
30717 (__group_member): Likewise.
30718 (__ttyname_r): Likewise.
30719 (__isatty): Likewise.
30720 (__readlink): Likewise.
30721 (__unlink): Likewise.
30722 (__gethostname): Likewise.
30723 (__profil): Likewise.
30724 (__getdtablesize): Likewise.
30726 (__ftruncate): Likewise.
30727 (__ftruncate64): Likewise.
30729 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30732 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30733 * argp/argp-fs-xinl.c: Likewise.
30734 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30735 * argp/argp-parse.c: Include <argp.h>.
30736 * argp/argp-xinl.c: Likewise.
30737 * include/argp-fmtstream.h: New file.
30738 * include/argp.h (__argp_error): Add attribute_hidden.
30739 (__argp_failure): Likewise.
30740 (__argp_input): Likewise.
30741 (__argp_state_help): Likewise.
30743 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30746 * include/wchar.h (____wcstof_l_internal): New prototype.
30747 (____wcstod_l_internal): Likewise.
30748 (____wcstold_l_internal): Likewise.
30749 (____wcstol_l_internal): Likewise.
30750 (____wcstoul_l_internal): Likewise.
30751 (____wcstoll_l_internal): Likewise.
30752 (____wcstoull_l_internal): Likewise.
30753 (____wcstof128_l_internal): Likewise.
30754 * sysdeps/ieee754/float128/wcstof128.c
30755 (____wcstof128_l_internal): Removed.
30756 * sysdeps/ieee754/float128/wcstof128_l.c
30757 (____wcstof128_l_internal): Likewise.
30758 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30759 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30760 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30761 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30762 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30763 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30764 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30765 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30766 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30767 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30772 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30773 instead of <sys/statvfs.h>.
30774 (__internal_statvfs): Removed.
30775 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30776 instead of <sys/statvfs.h>.
30777 (__internal_statvfs64): Removed.
30778 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30779 "internal_statvfs.h" instead of <sys/statvfs.h>.
30780 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30781 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30782 instead of <sys/statvfs.h>.
30783 (__internal_statvfs): Removed.
30784 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30785 instead of <sys/statvfs.h>.
30786 (__internal_statvfs64): Removed.
30788 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30791 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30792 (__gconv_close): Likewise.
30793 (__gconv): Likewise.
30794 (__gconv_find_transform): Likewise.
30795 (__gconv_lookup_cache): Likewise.
30796 (__gconv_compare_alias_cache): Likewise.
30797 (__gconv_load_cache): Likewise.
30798 (__gconv_get_path): Likewise.
30799 (__gconv_close_transform): Likewise.
30800 (__gconv_release_cache): Likewise.
30801 (__gconv_find_shlib): Likewise.
30802 (__gconv_release_shlib): Likewise.
30803 (__gconv_get_builtin_trans): Likewise.
30804 (__gconv_compare_alias): Likewise.
30805 * include/dlfcn.h (_dlerror_run): Likewise.
30806 * include/stdio.h (__fortify_fail_abort): Likewise.
30807 * include/time.h (__tz_compute): Likewise.
30808 (__strptime_internal): Likewise.
30809 * intl/gettextP.h (_nl_find_domain): Likewise.
30810 (_nl_load_domain): Likewise.
30811 (_nl_find_msg): Likewise.
30812 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30813 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30814 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30815 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30816 (__gai_find_request): Likewise.
30817 (__gai_remove_request): Likewise.
30818 (__gai_notify): Likewise.
30819 (__gai_notify_only): Likewise.
30820 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30821 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30822 (_dl_non_dynamic_init): Likewise.
30823 (_dl_aux_init): Likewise.
30824 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30825 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30827 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30828 (__wcsmbs_clone_conv): Likewise.
30829 (__wcsmbs_named_conv): Likewise.
30831 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30834 * include/stdlib.h (__random): Add attribute_hidden.
30835 (__random_r): Likewise.
30836 (__srandom_r): Likewise.
30837 (__initstate_r): Likewise.
30838 (__setstate_r): Likewise.
30839 (__erand48_r): Likewise.
30840 (__nrand48_r): Likewise.
30841 (__jrand48_r): Likewise.
30842 (__srand48_r): Likewise.
30843 (__seed48_r): Likewise.
30844 (__lcong48_r): Likewise.
30845 (__drand48_iterate): Likewise.
30846 (__setenv): Likewise.
30847 (__unsetenv): Likewise.
30848 (__clearenv): Likewise.
30849 (__ptsname_r): Likewise.
30850 (__posix_openpt): Likewise.
30851 (__add_to_environ): Likewise.
30852 (__realpath): Add libc_hidden_proto.
30853 (__ecvt_r): Likewise.
30854 (__fcvt_r): Likewise.
30855 (__qecvt_r): Likewise.
30856 (__qfcvt_r): Likewise.
30857 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30858 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30860 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30863 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30864 * include/time.h (__mktime_internal): Likewise.
30865 * libio/iolibio.h (__fopen_internal): Likewise.
30867 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30869 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30871 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30872 Correct offset used to restore PIC register.
30874 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30877 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30878 code to load address of __getcontext_ret when generating PIC code.
30880 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30882 * elf/Makefile (tests-static-internal): Add
30883 tst-tls1-static-non-pie.
30884 (LDFLAGS-tst-tls1-static-non-pie): New.
30885 * elf/tst-tls1-static-non-pie.c: New file.
30887 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30889 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30890 (asinh): Define using libm_alias_double.
30891 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30892 (cbrt): Define using libm_alias_double.
30893 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30894 <libm-alias-double.h>.
30895 (copysign): Define using libm_alias_double.
30896 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30897 (erf): Define using libm_alias_double.
30899 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30900 (expm1): Define using libm_alias_double.
30901 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30902 (fabs): Define using libm_alias_double.
30903 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30905 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30906 <libm-alias-double.h>.
30907 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30909 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30910 <libm-alias-double.h>.
30911 (getpayload): Define using libm_alias_double.
30912 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30913 <libm-alias-double.h>.
30914 (llrint): Define using libm_alias_double.
30915 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30916 (lrint): Define using libm_alias_double.
30917 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30918 <libm-alias-double.h>.
30919 (nextup): Define using libm_alias_double.
30920 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30921 <libm-alias-double.h>.
30922 (roundeven): Define using libm_alias_double.
30923 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30925 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30926 <libm-alias-double.h>.
30927 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30928 using libm_alias_double.
30929 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30930 (cos): Define using libm_alias_double.
30932 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30933 <libm-alias-double.h>.
30934 (sincos): Define using libm_alias_double.
30935 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30936 (tanh): Define using libm_alias_double.
30937 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30938 <libm-alias-double.h>.
30939 (totalorder): Define using libm_alias_double.
30940 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30941 <libm-alias-double.h>.
30942 (totalordermag): Define using libm_alias_double.
30943 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30945 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30947 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30948 <libm-alias-double.h>.
30949 (getpayload): Define using libm_alias_double.
30950 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30951 <libm-alias-double.h>.
30952 (roundeven): Define using libm_alias_double.
30953 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30954 <libm-alias-double.h>.
30955 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30956 <libm-alias-double.h>.
30957 (totalorder): Define using libm_alias_double.
30958 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30959 <libm-alias-double.h>.
30960 (totalordermag): Define using libm_alias_double.
30961 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30962 libc compat symbol here.
30963 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30964 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30965 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30966 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30967 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30968 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30969 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30970 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30971 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30972 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30974 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30976 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30977 _dl_relocate_static_pie instead of _dl_start to compute load
30978 address in static PIE. Return 0 if _DYNAMIC is undefined for
30981 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30983 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30984 _DYNAMIC is undefined for static executable.
30986 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30988 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30990 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30994 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30996 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30997 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30998 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30999 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31000 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31001 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31002 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31003 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31004 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31005 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31006 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31007 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31008 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31009 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31011 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31012 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31014 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31016 * math/bits/cmathcalls.h (cimag): Remove inline.
31017 (creal): Remove inline.
31018 (conj): Remove inline.
31020 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31022 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31023 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31024 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31025 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31026 (issignalingf_inline): Likewise.
31027 (POWF_LOG2_TABLE_BITS): Likewise.
31028 (POWF_LOG2_POLY_ORDER): Likewise.
31029 (POWF_SCALE_BITS): Likewise.
31030 (POWF_SCALE): Likewise.
31031 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31032 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31033 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31035 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31037 * math/Makefile (type-float-routines): Add e_log2f_data.
31038 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31039 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31040 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31041 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31042 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31043 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31044 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31046 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31048 * math/Makefile (type-float-routines): Add e_logf_data.
31049 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31050 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31051 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31052 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31053 * sysdeps/i386/fpu/e_logf_data.c: New file.
31054 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31055 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31057 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31059 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31060 undefined _DYNAMIC in PIE libc.a.
31061 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31064 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31066 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
31067 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
31068 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
31069 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
31070 (__signbit): Remove.
31071 (__signbitl): Remove.
31072 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
31073 (__signbit): Remove.
31074 (__signbitl): Remove.
31075 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
31076 (__signbit): Remove.
31077 (__signbitl): Remove.
31078 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
31079 (__signbit): Remove.
31080 (__signbitl): Remove.
31081 * sysdeps/tile/bits/mathinline.h: Delete file.
31082 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
31083 (__signbit): Remove.
31084 (__signbitl): Remove.
31086 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31088 * math/math.h: Improve handling of C99 isgreater macros.
31089 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
31090 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
31091 * sysdeps/powerpc/bits/mathinline.h: Likewise.
31092 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31093 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
31095 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
31097 * sysdeps/aarch64/libm-test-ulps: Update.
31099 2017-09-28 Joseph Myers <joseph@codesourcery.com>
31102 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31103 math_opt_barrier on argument when doing arithmetic on it.
31104 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31105 Likewise. Use math_force_eval not math_opt_barrier after
31107 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
31108 math_opt_barrier on argument when doing arithmetic on it.
31109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31112 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
31114 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
31116 (__freeifaddrs): Likewise.
31118 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31120 * include/dirent.h (__dirfd): New declaration.
31121 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
31123 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
31124 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
31125 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
31126 * include/unistd.h (__revoke): New declaration.
31127 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
31129 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
31130 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
31132 * include/dirent.h (__seekdir): New declaration.
31133 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
31134 redefine as weak alias.
31135 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
31137 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
31138 and use libc_hidden_def on them.
31139 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
31141 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
31142 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
31143 instead of getifaddrs and freeifaddrs.
31145 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31148 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
31149 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
31150 (__dso_handle): Remove declaration.
31151 * dlfcn/tstatexit.c (__dso_handle): Removed.
31152 (main): Don't check __dso_handle.
31153 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
31154 (main): Don't check __dso_handle.
31155 * include/dso_handle.h: New file.
31156 * malloc/mtrace.c: Include <dso_handle.h>.
31157 (mtrace): Pass __dso_handle directly.
31158 * nptl/pthread_atfork.c: Include <dso_handle.h>.
31159 (__dso_handle): Remove declaration.
31160 (__pthread_atfork): Pass __dso_handle directly.
31161 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
31162 (__dso_handle): Removed.
31163 * posix/wordexp-test.c: Include <dso_handle.h>.
31164 (__dso_handle): Remove declaration.
31165 (__app_register_atfork): Pass __dso_handle directly.
31166 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
31167 (__dso_handle): Remove declaration.
31168 (at_quick_exit): Pass __dso_handle directly.
31169 * stdlib/atexit.c: Include <dso_handle.h>.
31170 (__dso_handle): Remove declaration.
31171 (atexit): Pass __dso_handle directly.
31172 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
31173 (__dso_handle): Removed.
31175 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31177 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
31180 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
31182 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
31183 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
31184 values to correct default value for given type.
31186 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31189 * elf/Makefile (tests): Add tst-debug1.
31190 ($(objpfx)tst-debug1): New.
31191 ($(objpfx)tst-debug1.out): Likewise.
31192 ($(objpfx)tst-debug1mod1.so): Likewise.
31193 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
31194 with p_filesz == 0.
31195 * elf/tst-debug1.c: New file.
31197 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31199 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
31200 Define using __ifunc.
31202 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31204 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
31207 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31210 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
31212 2017-09-26 Florian Weimer <fweimer@redhat.com>
31214 * resolv/Makefile (tests-internal): Fix typo in comment.
31216 2017-09-26 Florian Weimer <fweimer@redhat.com>
31218 * resolv/nss_dns/dns-host.c: Fix typo in comment.
31220 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31222 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
31223 Use an union instead of a max_align_t array for __space,
31224 so that __space is the same size on all platforms.
31225 * malloc/scratch_buffer_grow_preserve.c
31226 (__libc_scratch_buffer_grow_preserve): Likewise.
31229 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
31231 * posix/Makefile (routines): Add glob-lstat-compat and
31232 glob64-lstat-compat.
31233 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
31234 * posix/glob-lstat-compat.c: New file.
31235 * posix/glob64-lstat-compat.c: Likewise.
31236 * posix/tst-glob_lstat_compat.c: Likewise.
31237 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
31238 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
31239 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
31240 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
31242 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
31243 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31244 * posix/glob.c (glob_lstat): New function.
31245 (glob): Rename to __glob and add versioned symbol to 2.27.
31246 (glob_in_dir): Use glob_lstat.
31247 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
31248 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
31249 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
31251 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
31252 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
31253 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
31254 gl_lstat on glob call.
31255 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
31256 and glob64 symbols.
31257 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31258 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
31259 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
31260 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
31261 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
31262 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
31263 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
31264 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
31265 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
31266 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31267 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31268 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
31271 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
31273 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31275 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
31276 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31277 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
31279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
31280 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
31281 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
31282 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
31284 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31286 * configure.ac (AS): Require binutils 2.25 or later.
31287 * configure: Regenerated.
31289 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31292 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31295 2017-09-25 DJ Delorie <dj@redhat.com>
31298 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31301 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31303 * sysdeps/ieee754/dbl-64/sincos32.h
31304 [SINCCOS32_H]: Remove define.
31305 [SINCOS32_H]: Define.
31307 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31309 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31311 * math/w_exp2f.c: New file.
31312 * math/w_expf.c: New file.
31313 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31314 * math/w_expf_compat.c (__expf_compat): Likewise.
31315 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31316 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31317 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31318 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31319 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31320 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31321 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31322 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31323 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31324 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31325 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31326 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31327 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31328 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31337 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31338 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31339 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31340 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31341 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31346 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31347 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31348 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31350 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31352 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31353 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31354 (roundtoint, converttoint): Likewise.
31355 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31356 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31357 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31358 * sysdeps/ieee754/flt-32/math_config.h: New file.
31359 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31360 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31361 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31362 * sysdeps/i386/fpu/math_errf.c: New file.
31363 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31364 * sysdeps/ia64/fpu/math_errf.c: New file.
31365 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31366 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31368 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31370 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31371 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31372 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31373 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31374 to make sure that these symbols are defined.
31375 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31377 (__need_NULL): Do not define.
31378 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31380 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31381 CMGROUP_MAX, cmsgcred): Do not define.
31382 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31384 * bits/socket.h: Likewise.
31385 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31386 __gettimeofday instead of gettimeofday.
31387 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31388 instead of settimeofday.
31390 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31392 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31393 (asinhf): Define using libm_alias_float.
31394 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31395 (atanf): Define using libm_alias_float.
31396 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31397 (cbrtf): Define using libm_alias_float.
31398 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31399 (ceilf): Define using libm_alias_float.
31400 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31401 <libm-alias-float.h>.
31402 (copysignf): Define using libm_alias_float.
31403 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31404 (cosf): Define using libm_alias_float.
31405 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31406 (erff): Define using libm_alias_float.
31408 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31409 (expm1f): Define using libm_alias_float.
31410 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31411 (fabsf): Define using libm_alias_float.
31412 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31413 (floorf): Define using libm_alias_float.
31414 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31415 (frexpf): Define using libm_alias_float.
31416 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31418 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31419 <libm-alias-float.h>.
31420 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31422 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31423 <libm-alias-float.h>.
31424 (getpayloadf): Define using libm_alias_float.
31425 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31426 <libm-alias-float.h>.
31427 (llrintf): Define using libm_alias_float.
31428 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31429 <libm-alias-float.h>.
31430 (llroundf): Define using libm_alias_float.
31431 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31432 (logbf): Define using libm_alias_float.
31433 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31434 (lrintf): Define using libm_alias_float.
31435 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31436 (lroundf): Define using libm_alias_float.
31437 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31438 (modff): Define using libm_alias_float.
31439 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31440 <libm-alias-float.h>.
31441 (nearbyintf): Define using libm_alias_float.
31442 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31443 <libm-alias-float.h>.
31444 (nextafterf): Define using libm_alias_float.
31445 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31446 <libm-alias-float.h>.
31447 (nextupf): Define using libm_alias_float.
31448 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31449 <libm-alias-float.h>.
31450 (remquof): Define using libm_alias_float.
31451 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31452 (rintf): Define using libm_alias_float.
31453 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31454 <libm-alias-float.h>.
31455 (roundevenf): Define using libm_alias_float.
31456 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31457 (roundf): Define using libm_alias_float.
31458 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31459 using libm_alias_float.
31460 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31461 <libm-alias-float.h>.
31462 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31463 Define using libm_alias_float.
31464 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31465 <libm-alias-float.h>.
31466 (sincosf): Define using libm_alias_float.
31467 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31468 (sinf): Define using libm_alias_float.
31469 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31470 (tanf): Define using libm_alias_float.
31471 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31472 (tanhf): Define using libm_alias_float.
31473 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31474 <libm-alias-float.h>.
31475 (totalorderf): Define using libm_alias_float.
31476 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31477 <libm-alias-float.h>.
31478 (totalordermagf): Define using libm_alias_float.
31479 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31480 (truncf): Define using libm_alias_float.
31481 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31483 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31486 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31489 math/math.h: Let fpclassify use the builtin in C++ mode, even
31490 when optimazing for size.
31492 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31494 * csu/Makefile (generated): Do not add version-info.h.
31495 (before-compile): Likewise.
31496 (all-Banner-files): Remove variable.
31497 ($(objpfx)version-info.h): Remove rule.
31498 * csu/version.c (banner): Do not include "version-info.h".
31499 * libidn/Banner: Remove.
31500 * manual/contrib.texi (Simon Josefsson): New entry.
31502 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31504 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31505 Remove conditionals on LDBL_MANT_DIG.
31506 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31507 (__ieee754_lgammal_r): Likewise.
31509 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31513 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31514 _Float128 and L(). Replace _Float128 with long double and L(x)
31515 with xL, throughout the file.
31516 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31517 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31518 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31519 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31521 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31524 sysdeps/ieee754/ldbl-128ibm.
31525 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31526 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31527 of including it. Keep _Float128 and L() intact. These will be
31528 reviewed by a separate patch.
31529 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31530 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31531 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31532 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31534 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31537 (__finitef128): Define to __redirect___finitef128.
31538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31539 (__isinff128): Define to __redirect___isinff128.
31540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31541 (__isnanf128): Define to __redirect___isnanf128.
31543 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31545 * sysdeps/powerpc/powerpc64le/Makefile
31546 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31547 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31549 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31550 Carlos O'Donell <carlos@redhat.com>
31553 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31554 * stdlib/test-dlclose-exit-race.c: New file.
31555 * stdlib/test-dlclose-exit-race-helper.c: New file.
31556 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31558 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31560 * crypt/Banner: Remove file.
31561 * nptl/Banner: Likewise.
31562 * resolv/Banner: Likewise.
31563 * soft-fp/Banner: Likewise.
31564 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31565 ($(objpfx)version.d): Remove dependency on banner.h.
31566 ($(objpfx)version.os): Likewise.
31567 * nptl/version.c (banner): Do not include banner.h.
31568 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31569 Jelinek and BIND code.
31571 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31572 Carlos O'Donell <carlos@redhat.com>
31574 * support/xdlfcn.h: New file.
31575 * support/xdlfcn.c: New file.
31576 * support/Makefile (libsupport-routines): Add xdlfcn.
31577 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31579 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31582 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31583 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31584 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31585 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31586 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31587 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31588 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31589 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31591 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31592 Ricky Zhou <rickyz@google.com>
31593 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31596 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31598 (__new_exitfn): Fail registration when we finished at_exit processing.
31599 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31600 * stdlib/on_exit.c (__on_exit): Likewise.
31601 * stdlib/exit.c (__exit_funcs_done): New variable.
31602 (__run_exit_handlers): Use __exit_funcs_lock.
31603 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31605 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31606 (test-cxa_atexit-race, test-on_exit-race): New tests.
31607 * stdlib/test-atexit-race-common.c: New file.
31608 * stdlib/test-atexit-race.c: New file.
31609 * stdlib/test-at_quick_exit-race.c: New file.
31610 * stdlib/test-cxa_atexit-race.c: New file.
31611 * stdlib/test-on_exit-race.c: New file.
31613 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31615 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31616 * benchtests/exp2f-inputs: Copy of expf-inputs.
31617 * benchtests/log2f-inputs: Copy of logf-inputs.
31619 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31621 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31622 Explicitly take address of first element of array arguments in
31623 call to INLINE_SYSCALL.
31625 2017-09-19 Andreas Schwab <schwab@suse.de>
31628 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31630 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31632 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31633 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31634 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31635 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31636 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31637 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31638 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31639 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31640 * posix/Makefile (tests): Add tst-fexecve.
31641 * posix/tst-fexecve.c: New file.
31643 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31645 * benchtests/Makefile: Add logf benchmark.
31646 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31648 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31650 * benchtests/Makefile: Add expf benchmark.
31651 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31653 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31655 * csu/Makefile: Add -funwind-tables to libc-start.c.
31656 * debug/Makefile: Add -funwind-tables to backtrace.c.
31657 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31658 * sysdeps/arm/Makefile: Likewise.
31659 * sysdeps/i386/Makefile: Likewise.
31660 * sysdeps/m68k/Makefile: Likewise.
31661 * sysdeps/mips/Makefile: Likewise.
31662 * sysdeps/nios2/Makefile: Likewise.
31663 * sysdeps/sh/Makefile: Likewise.
31664 * sysdeps/sparc/Makefile: Likewise.
31666 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31668 * benchtests/Makefile (bench-math): Add trunc and truncf.
31669 (CFLAGS-bench-trunc.c): New variable.
31670 (CFLAGS-bench-truncf.c): Likewise.
31671 * benchtests/trunc-inputs: New file.
31672 * benchtests/truncf-inputs: Likewise.
31674 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31676 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31678 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31680 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31681 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31683 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31684 (exp10l): Define as weak alias.
31685 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31686 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31688 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31689 (remainderl): Define as weak alias.
31691 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31692 (fmal): Define using libm_alias_ldouble.
31693 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31694 (acoshl): Define using libm_alias_ldouble.
31695 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31696 (acosl): Define using libm_alias_ldouble.
31697 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31698 (asinl): Define using libm_alias_ldouble.
31699 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31700 (atan2l): Define using libm_alias_ldouble.
31701 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31702 (atanhl): Define using libm_alias_ldouble.
31703 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31704 (coshl): Define using libm_alias_ldouble.
31705 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31706 (exp10l): Define using libm_alias_ldouble.
31707 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31708 (exp2l): Define using libm_alias_ldouble.
31709 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31710 (expl): Define using libm_alias_ldouble.
31711 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31712 (fmodl): Define using libm_alias_ldouble.
31713 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31714 (hypotl): Define using libm_alias_ldouble.
31715 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31716 (j0l): Define using libm_alias_ldouble.
31718 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31719 (j1l): Define using libm_alias_ldouble.
31721 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31722 (jnl): Define using libm_alias_ldouble.
31724 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31725 (log10l): Define using libm_alias_ldouble.
31726 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31727 (log2l): Define using libm_alias_ldouble.
31728 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31729 (logl): Define using libm_alias_ldouble.
31730 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31731 (powl): Define using libm_alias_ldouble.
31732 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31733 (remainderl): Define using libm_alias_ldouble.
31734 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31735 (sinhl): Define using libm_alias_ldouble.
31736 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31737 (sqrtl): Define using libm_alias_ldouble.
31738 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31739 (tgammal): Define using libm_alias_ldouble.
31740 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31741 (exp10l): Do not use long_double_symbol here.
31742 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31743 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31744 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31745 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31746 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31747 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31748 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31749 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31750 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31751 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31752 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31753 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31754 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31755 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31756 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31757 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31758 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31759 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31760 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31761 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31762 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31763 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31765 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31767 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31768 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31770 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31772 * io/read.c (read): Add libc_hidden_weak.
31773 * sysdeps/mach/hurd/read.c (read): Likewise.
31774 * io/write.c (write): Likewise.
31775 * sysdeps/mach/hurd/write.c (write): Likewise.
31776 * io/pread64.c (__pread64): Likewise.
31777 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31778 * posix/pread64.c (__pread64): Add libc_hidden_def.
31780 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31782 * benchtests/scripts/compare_strings.py: New option -g.
31783 (draw_graph): Print a message that a graph is being generated.
31784 (process_results): Generate graph only if -g is passed.
31785 (main): Process option -g.
31787 * benchtests/scripts/compare_strings.py (process_results):
31788 Better spacing for output.
31790 * benchtests/scripts/compare_strings.py: Use argparse.
31791 * benchtests/README: Document existence of compare_strings.py.
31793 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31795 * math/s_fma.c: Include <libm-alias-double.h>.
31796 (fma): Define using libm_alias_double.
31797 * math/s_nextafter.c: Include <libm-alias-double.h>.
31798 (nextafter): Define using libm_alias_double.
31799 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31800 (acos): Define using libm_alias_double.
31801 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31802 (aocsh): Define using libm_alias_double.
31803 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31804 (asin): Define using libm_alias_double.
31805 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31806 (atan2): Define using libm_alias_double.
31807 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31808 (atanh): Define using libm_alias_double.
31809 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31810 (cosh): Define using libm_alias_double.
31811 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31812 (exp10): Define using libm_alias_double.
31813 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31814 (exp2): Define using libm_alias_double.
31815 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31816 (exp): Define using libm_alias_double.
31817 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31818 (fmod): Define using libm_alias_double.
31819 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31820 (hypot): Define using libm_alias_double.
31821 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31822 (j0): Define using libm_alias_double.
31824 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31825 (j1): Define using libm_alias_double.
31827 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31828 (jn): Define using libm_alias_double.
31830 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31831 (log10): Define using libm_alias_double.
31832 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31833 (log2): Define using libm_alias_double.
31834 * math/w_log_compat.c: Include <libm-alias-double.h>.
31835 (log): Define using libm_alias_double.
31836 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31837 (pow): Define using libm_alias_double.
31838 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31839 (remainder): Define using libm_alias_double.
31840 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31841 (sinh): Define using libm_alias_double.
31842 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31843 (sqrt): Define using libm_alias_double.
31844 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31845 (tgamma): Define using libm_alias_double.
31846 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31847 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31848 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31849 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31850 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31851 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31852 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31853 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31854 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31855 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31856 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31857 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31858 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31859 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31860 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31861 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31862 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31863 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31864 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31865 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31866 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31867 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31868 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31869 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31870 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31872 * math/e_acoshl.c: Remove.
31873 * math/e_acosl.c: Likewise.
31874 * math/e_asinl.c: Likewise.
31875 * math/e_atan2l.c: Likewise.
31876 * math/e_atanhl.c: Likewise.
31877 * math/e_coshl.c: Likewise.
31878 * math/e_expl.c: Likewise.
31879 * math/e_fmodl.c: Likewise.
31880 * math/e_gammal_r.c: Likewise.
31881 * math/e_hypotl.c: Likewise.
31882 * math/e_j0l.c: Likewise.
31883 * math/e_j1l.c: Likewise.
31884 * math/e_jnl.c: Likewise.
31885 * math/e_lgammal_r.c: Likewise.
31886 * math/e_log10l.c: Likewise.
31887 * math/e_log2l.c: Likewise.
31888 * math/e_logl.c: Likewise.
31889 * math/e_powl.c: Likewise.
31890 * math/e_rem_pio2l.c: Likewise.
31891 * math/e_sinhl.c: Likewise.
31892 * math/e_sqrtf128.c: Likewise.
31893 * math/e_sqrtl.c: Likewise.
31894 * math/k_cosl.c: Likewise.
31895 * math/k_sinl.c: Likewise.
31896 * math/k_tanl.c: Likewise.
31897 * math/s_asinhl.c: Likewise.
31898 * math/s_atanl.c: Likewise.
31899 * math/s_cbrtl.c: Likewise.
31900 * math/s_erfl.c: Likewise.
31901 * math/s_expm1l.c: Likewise.
31902 * math/s_log1pl.c: Likewise.
31903 * math/s_tanhl.c: Likewise.
31905 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31909 [$(subdir) = math] (sysdep_calls): New variable. Has the
31910 previous contents of sysdep_routines, but re-sorted..
31911 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31913 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31914 defined in sysdep_calls and replace by the respective m_* names.
31915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31916 (compat_symbol): Undefine to avoid duplicated compat symbols in
31919 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31921 * math/s_fmaf.c: Include <libm-alias-float.h>.
31922 (fmaf): Define using libm_alias_float.
31923 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31924 (acosf): Define using libm_alias_float.
31925 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31926 (acoshf): Define using libm_alias_float.
31927 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31928 (asinf): Define using libm_alias_float.
31929 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31930 (atan2f): Define using libm_alias_float.
31931 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31932 (atanhf): Define using libm_alias_float.
31933 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31934 (coshf): Define using libm_alias_float.
31935 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31936 (exp10f): Define using libm_alias_float.
31937 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31938 (fmodf): Define using libm_alias_float.
31939 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31940 (hypotf): Define using libm_alias_float.
31941 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31942 (j0f): Define using libm_alias_float.
31944 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31945 (j1f): Define using libm_alias_float.
31947 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31948 (jnf): Define using libm_alias_float.
31950 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31951 (log10f): Define using libm_alias_float.
31952 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31953 (log2f): Define using libm_alias_float.
31954 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31955 (logf): Define using libm_alias_float.
31956 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31957 (powf): Define using libm_alias_float.
31958 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31959 (remainderf): Define using libm_alias_float.
31960 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31961 (sinhf): Define using libm_alias_float.
31962 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31963 (sqrtf): Define using libm_alias_float.
31964 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31965 (tgammaf): Define using libm_alias_float.
31967 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31969 * include/math.h (roundeven): Change hidden_proto call to
31971 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31973 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31974 (y0): Rename to __y0 and define as weak alias.
31975 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31976 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31978 (y0f): Rename to __y0f and define as weak alias.
31979 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31981 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31982 (y1): Rename to __y1 and define as weak alias.
31983 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31984 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31986 (y1f): Rename to __y1f and define as weak alias.
31987 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31989 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31990 (yn): Rename to __yn and define as weak alias.
31991 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31992 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31994 (ynf): Rename to __ynf and define as weak alias.
31995 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31996 (fromfp): Define as weak alias.
31997 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31998 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31999 (fromfpx): Define as weak alias.
32000 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32001 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32002 __getpayload and define as weak alias.
32003 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32004 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32005 __roundeven and define as weak alias.
32006 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32007 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32009 (setpayload): Define as weak alias.
32010 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32011 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32013 (setpayloadsig): Define as weak alias.
32014 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32015 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32016 __totalorder and define as weak alias.
32017 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32018 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32019 to __totalordermag and define as weak alias.
32020 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32021 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32022 (ufromfp): Define as weak alias.
32023 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32024 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32026 (ufromfpx): Define as weak alias.
32027 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32028 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32029 Rename to __getpayload and define as weak alias.
32030 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32031 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32032 Rename to __roundeven and define as weak alias.
32033 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32034 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32035 Rename to __totalorder and define as weak alias.
32036 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32037 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32038 (totalordermag): Rename to __totalordermag and define as weak
32040 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32041 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32043 (__roundevenl): Likewise.
32044 (__totalorderl): Likewise.
32045 (__totalordermagl): Likewise
32046 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32048 (fromfpf128): Define as weak alias.
32049 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32051 (fromfpxf128): Define as weak alias.
32052 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32054 (setpayloadf128): Define as weak alias.
32055 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32056 __setpayloadsigf128.
32057 (setpayloadsigf128): Define as weak alias.
32058 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32060 (ufromfpf128): Define as weak alias.
32061 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32063 (ufromfpxf128): Define as weak alias.
32064 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
32065 (fromfpf): Define as weak alias.
32066 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
32068 (fromfpxf): Define as weak alias.
32069 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
32070 __getpayloadf and define as weak alias.
32071 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
32072 __roundevenf and define as weak alias.
32073 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
32075 (setpayloadf): Define as weak alias.
32076 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
32078 (setpayloadsigf): Define as weak alias.
32079 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
32080 __totalorderf and define as weak alias.
32081 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
32082 Rename to __totalordermagf and define as weak alias.
32083 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
32085 (ufromfpf): Define as weak alias.
32086 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
32088 (ufromfpxf): Define as weak alias.
32089 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
32091 (fromfpl): Define as weak alias.
32092 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
32094 (fromfpxl): Define as weak alias.
32095 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
32096 to __getpayloadl and define as weak alias.
32097 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
32098 __roundevenl and define as weak alias.
32099 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
32101 (setpayloadl): Define as weak alias.
32102 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
32104 (setpayloadsigl): Define as weak alias.
32105 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
32106 to __totalorderl and define as weak alias.
32107 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
32108 Rename to __totalordermagl and define as weak alias.
32109 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
32111 (ufromfpl): Define as weak alias.
32112 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
32114 (ufromfpxl): Define as weak alias.
32115 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
32117 (fromfpl): Define as weak alias.
32118 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
32120 (fromfpxl): Define as weak alias.
32121 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
32122 Rename to __getpayloadl and define as weak alias.
32123 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
32124 to __roundevenl and define as weak alias. Call __roundeven
32125 instead of roundeven.
32126 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
32128 (setpayloadl): Define as weak alias.
32129 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
32131 (setpayloadsigl): Define as weak alias.
32132 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
32133 Rename to __totalorderl and define as weak alias.
32134 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
32135 Rename to __totalordermagl and define as weak alias.
32136 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
32138 (ufromfpl): Define as weak alias.
32139 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
32141 (ufromfpxl): Define as weak alias.
32142 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
32144 (fromfpl): Define as weak alias.
32145 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
32147 (fromfpxl): Define as weak alias.
32148 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
32149 __getpayloadl and define as weak alias.
32150 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
32151 __roundevenl and define as weak alias.
32152 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
32154 (setpayloadl): Define as weak alias.
32155 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
32157 (setpayloadsigl): Define as weak alias.
32158 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
32159 __totalorderl and define as weak alias.
32160 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
32161 Rename to __totalordermagl and define as weak alias.
32162 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
32164 (ufromfpl): Define as weak alias.
32165 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
32167 (ufromfpxl): Define as weak alias.
32169 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
32171 * benchtests/bench-string.h (realloc_bufs): New function.
32172 (test_init): Call it.
32173 * benchtests/bench-memset-large.c (do_test): Likewise.
32174 * benchtests/bench-memset.c (do_test): Likewise.
32176 * benchtests/bench-memset-large.c: Print output in JSON
32178 * benchtests/bench-memset.c: Likewise.
32180 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32183 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
32184 * iconvdata/Makefile: Add IBM858.
32185 * iconvdata/gconv-modules: Likewise.
32186 * iconvdata/tst-tables.sh: Likewise.
32187 * iconvdata/ibm858.c: New file.
32188 * localedata/charmaps/IBM858: Likewise.
32190 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
32193 * locales/niu_NZ (LC_TIME): copy "niu_NU".
32194 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
32196 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32199 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
32200 and add tel_int_fmt.
32202 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32204 * sysdeps/generic/libm-alias-float128.h: New file.
32205 * sysdeps/generic/math-type-macros-float128.h: Include
32206 <libm-alias-float128.h>.
32207 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32209 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32211 * sysdeps/generic/libm-alias-ldouble.h: New file.
32212 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
32213 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
32214 * sysdeps/generic/math-type-macros-ldouble.h: Include
32215 <libm-alias-ldouble.h>.
32216 [!declare_mgen_alias] (declare_mgen_alias): Define to use
32217 libm_alias_ldouble.
32219 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
32221 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
32222 * math/w_exp_compat.c: ... here.
32223 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
32224 * math/w_expf_compat.c: ... here.
32225 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
32226 * math/w_expl_compat.c: ... here.
32227 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
32228 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
32229 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
32230 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32232 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32234 * math/w_scalbln_template.c (strong_alias): Do not undefine and
32236 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
32238 (ldexpl): Only define as compat symbol for libc, not libm.
32239 (scalbnl): Define as compat symbol for libc here.
32240 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
32241 define for [IS_IN (libc)].
32242 (__ldexpl_2): Remove alias.
32243 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
32244 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
32245 name in long_double_symbol call.
32246 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
32247 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32248 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32249 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
32250 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
32252 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
32253 Define as compat symbol.
32255 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32257 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
32258 * sysdeps/unix/sysv/linux/alpha/Makefile
32259 [$(subdir) = csu] (sysdep_routines): Remove rule.
32261 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32263 * sysdeps/generic/libm-alias-double.h: New file.
32264 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
32265 * sysdeps/generic/math-type-macros-double.h: Include
32266 <libm-alias-double.h>.
32267 [declare_mgen_alias] (declare_mgen_alias): Define to use
32269 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
32270 (M_LIBM_NEED_COMPAT): Remove macro.
32271 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
32272 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
32273 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
32275 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32276 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32277 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32278 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32279 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32280 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32281 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32282 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32283 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32284 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32285 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32286 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32287 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32288 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32289 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32290 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32291 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32292 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32293 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32294 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32295 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32296 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32297 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32298 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32299 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32300 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32301 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32302 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32303 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32305 (declare_mgen_alias): New macro.
32306 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32307 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32309 (M_LIBM_NEED_COMPAT): Remove macro.
32310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32311 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32312 <first-versions.h>.
32313 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32314 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32316 2017-09-12 Joseph Myers <joseph@codesourcery.com>
32318 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32319 (declare_mgen_alias_2): Remove.
32320 * sysdeps/generic/math-type-macros-double.h
32321 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32323 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32325 (ldexp): Define with declare_mgen_alias.
32326 (scalbn): Likewise.
32328 2017-09-12 Steve Ellcey <sellcey@cavium.com>
32330 * grp/initgroups.c: Include config.h.
32331 (DEFAULT_CONFIG): New macro.
32332 (internal_getgrouplist): Use DEFAULT_CONFIG.
32333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32334 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32335 (DEFAULT_DEFCONFIG): New macro.
32336 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32337 * nss/grp-lookup.c: Include config.h
32338 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32339 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32340 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32341 * manual/nss.texi: Update default values section.
32343 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32346 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32348 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32349 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32350 Handle MathVec_Prefer_No_AVX512.
32351 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32352 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32355 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32357 * posix/sched_primax.c (__sched_get_priority_max): Add
32359 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32360 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32361 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32362 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32363 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32364 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32365 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32366 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32369 2017-09-11 Joseph Myers <joseph@codesourcery.com>
32371 * sysdeps/generic/libm-alias-float.h: New file.
32372 * sysdeps/generic/math-type-macros-float.h: Include
32373 <libm-alias-float.h>.
32374 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32376 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32379 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32380 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32381 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32382 (HWCAP_IMPORTANT): Likewise.
32383 (HWCAP_X86_64): New enum.
32384 (HWCAP_X86_AVX512_1): Updated.
32385 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32386 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32387 (modules-names): Add x86_64/tst-x86_64mod-1.
32388 (LDFLAGS-tst-x86_64mod-1.so): New.
32389 ($(objpfx)tst-x86_64-1): Likewise.
32390 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32391 (tst-x86_64-1-clean): Likewise.
32392 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32393 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32395 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32397 * po/sv.po: Update translations.
32398 * po/fr.po: Likewise.
32400 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32402 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32404 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32406 * elf/rtld-Rules: Fix $(error) use.
32408 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32411 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32412 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32413 * localedata/locales/bn_BD: “Bengali” was still used in some
32414 comments. Change it to “Bangla”.
32416 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32418 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32420 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32422 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32423 thunderx2t99p1 to list of cpu names.
32424 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32425 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32427 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32429 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32430 Use strcmp instead of tunable_is_name.
32432 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32434 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32435 (F_GET_RW_HINT): New macro.
32436 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32437 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32438 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32439 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32440 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32441 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32442 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32443 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32444 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32447 (F_ADD_SEALS): New macro.
32448 [__USE_GNU] (F_GET_SEALS): Likewise.
32449 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32450 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32451 [__USE_GNU] (F_SEAL_GROW): Likewise.
32452 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32454 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32456 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32457 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32458 * posix/glob_internal.h (__glob_pattern_type):
32459 * posix/glob.c (glob):
32460 * posix/glob_pattern_p.c (__glob_pattern_p):
32463 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32464 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32465 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32466 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32467 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32469 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32470 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32471 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32472 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32473 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32474 * sysdeps/wordsize-64/glob.c: Likewise.
32475 * sysdeps/wordsize-64/glob64.c: Likewise.
32476 * sysdeps/wordsize-64/globfree.c: Likewise.
32477 * sysdeps/wordsize-64/globfree64.c: Likewise.
32478 * sysdeps/unix/sysv/linux/glob.c: New file.
32479 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32480 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32481 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32482 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32483 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32484 adds !GLOB_NO_OLD_VERSION as an extra condition.
32485 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32486 using relative path instead of absolute one.
32487 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32488 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32489 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32490 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32491 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32492 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32495 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32496 (glob): Use the same scratch buffer for both getlogin_r and
32497 getpwnam_r. Don’t require preallocation of the login name. This
32498 simplifies storage allocation, and corrects the handling of
32502 * posix/glob.c (glob): Port recent patches to platforms
32503 lacking getpwnam_r.
32504 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32505 returns an error number rather than setting errno.
32507 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32508 instead of GCC extension.
32509 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32510 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32511 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32515 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32516 * posix/bug-glob1.c: Remove file.
32517 * posix/tst-glob_symlinks.c: New file.
32518 * posix/glob.c (__lstat64): New macro.
32519 (is_dir): New function.
32520 (glob, glob_in_dir): Match symlinks even if they are dangling.
32521 (link_stat, link_exists_p): Remove. All uses removed.
32525 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32526 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32531 * posix/Makefile (routines): Add globfree, globfree64, and
32533 * posix/flexmember.h: New file.
32534 * posix/glob_internal.h: Likewise.
32535 * posix/glob_pattern_p.c: Likewise.
32536 * posix/globfree.c: Likewise.
32537 * posix/globfree64.c: Likewise.
32538 * sysdeps/gnu/globfree64.c: Likewise.
32539 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32540 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32541 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32542 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32543 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32544 * sysdeps/wordsize-64/globfree.c: Likewise.
32545 * sysdeps/wordsize-64/globfree64.c: Likewise.
32546 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32547 [NDEBUG): Remove comments.
32548 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32549 (dirent_type): New type. Use uint_fast8_t not
32550 uint8_t, as C99 does not require uint8_t.
32551 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32552 (struct readdir_result): Use dirent_type. Do not define skip_entry
32553 unless it is needed; this saves a byte on platforms lacking d_ino.
32554 (readdir_result_type, readdir_result_skip_entry):
32555 New functions, replacing ...
32556 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32557 these functions, which were removed. This makes the callers
32558 easier to read. All callers changed.
32559 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32560 (size_add_wrapv, glob_use_alloca): New static functions.
32561 (glob, glob_in_dir): Check for size_t overflow in several places,
32562 and fix some size_t checks that were not quite right.
32563 Remove old code using SHELL since Bash no longer
32565 (glob, prefix_array): Separate MS code better.
32566 (glob_in_dir): Remove old Amiga and VMS code.
32567 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32569 (glob_in_dir): Do not rely on undefined behavior in accessing
32570 struct members beyond their bounds. Use a flexible array member
32572 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32573 0/1. Caller changed.
32574 (glob): Fix memory leaks.
32575 * posix/glob64 (globfree64): Move to separate file.
32576 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32577 (globfree64): Remove hidden alias.
32578 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32580 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32582 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32584 Move compat code to separate file.
32585 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32588 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32590 * resolv/tst-resolv-qtypes.c (domain): Changed to
32591 "const char domain[] =".
32593 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32595 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32598 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32599 (TCP_MD5SIG_EXT): Likewise.
32600 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32601 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32602 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32604 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32606 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32608 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32610 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32613 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32615 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32617 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32618 before assuming that the file is empty. Avoid testing buffer content
32621 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32624 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32626 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32628 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32630 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32632 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32634 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32636 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32639 2017-09-06 Florian Weimer <fweimer@redhat.com>
32641 * malloc/dynarray_emplace_enlarge.c
32642 (__libc_dynarray_emplace_enlarge): Add missing else.
32644 2017-09-06 Florian Weimer <fweimer@redhat.com>
32647 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32648 case of failure to obtain the global conf object.
32650 2017-09-06 Florian Weimer <fweimer@redhat.com>
32653 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32654 dynarray allocation failure.
32656 2017-09-06 Florian Weimer <fweimer@redhat.com>
32658 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32659 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32660 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32662 (response): Call them. Add 'p', '6' flag processing.
32663 (test_reverse): New function.
32664 (test_get2_any): Call it.
32665 (test_no_inet6): Add 'p' test.
32666 (test_inet6): Likewise.
32668 2017-09-06 Florian Weimer <fweimer@redhat.com>
32670 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32671 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32673 (test_gai): Adjust query names. Add additional tests.
32674 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32675 test_get2. Adjust query names. Add additional tests.
32676 (test_no_inet6): New function, extracted from threadfunc.
32677 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32678 Add additional tests.
32680 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32683 * localedata/unicode-gen/utf8_gen.py: Set the width for
32684 characters with Prepended_Concatenation_Mark property to 1
32685 * localedata/charmaps/UTF-8: Updated using the improved script.
32687 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32690 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32691 use the range notation for all ranges of neighbouring characters
32692 with the same width.
32694 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32696 * sysdeps/generic/math-type-macros-double.h: Include
32697 <math-svid-compat.h>.
32698 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32699 * sysdeps/generic/math-type-macros-float.h: Include
32700 <math-svid-compat.h>.
32701 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32702 * sysdeps/generic/math-type-macros-ldouble.h: Include
32703 <math-svid-compat.h>.
32704 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32705 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32707 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32708 * math/w_acosf_compat.c: Likewise.
32709 * math/w_acosh_compat.c: Likewise.
32710 * math/w_acoshf_compat.c: Likewise.
32711 * math/w_acoshl_compat.c: Likewise.
32712 * math/w_acosl_compat.c: Likewise.
32713 * math/w_asin_compat.c: Likewise.
32714 * math/w_asinf_compat.c: Likewise.
32715 * math/w_asinl_compat.c: Likewise.
32716 * math/w_atan2_compat.c: Likewise.
32717 * math/w_atan2f_compat.c: Likewise.
32718 * math/w_atan2l_compat.c: Likewise.
32719 * math/w_atanh_compat.c: Likewise.
32720 * math/w_atanhf_compat.c: Likewise.
32721 * math/w_atanhl_compat.c: Likewise.
32722 * math/w_cosh_compat.c: Likewise.
32723 * math/w_coshf_compat.c: Likewise.
32724 * math/w_coshl_compat.c: Likewise.
32725 * math/w_exp10_compat.c: Likewise.
32726 * math/w_exp10f_compat.c: Likewise.
32727 * math/w_exp10l_compat.c: Likewise.
32728 * math/w_exp2_compat.c: Likewise.
32729 * math/w_exp2f_compat.c: Likewise.
32730 * math/w_exp2l_compat.c: Likewise.
32731 * math/w_fmod_compat.c: Likewise.
32732 * math/w_fmodf_compat.c: Likewise.
32733 * math/w_fmodl_compat.c: Likewise.
32734 * math/w_hypot_compat.c: Likewise.
32735 * math/w_hypotf_compat.c: Likewise.
32736 * math/w_hypotl_compat.c: Likewise.
32737 * math/w_j0_compat.c: Likewise.
32738 * math/w_j0f_compat.c: Likewise.
32739 * math/w_j0l_compat.c: Likewise.
32740 * math/w_j1_compat.c: Likewise.
32741 * math/w_j1f_compat.c: Likewise.
32742 * math/w_j1l_compat.c: Likewise.
32743 * math/w_jn_compat.c: Likewise.
32744 * math/w_jnf_compat.c: Likewise.
32745 * math/w_jnl_compat.c: Likewise.
32746 * math/w_lgamma_r_compat.c: Likewise.
32747 * math/w_lgammaf_r_compat.c: Likewise.
32748 * math/w_lgammal_r_compat.c: Likewise.
32749 * math/w_log10_compat.c: Likewise.
32750 * math/w_log10f_compat.c: Likewise.
32751 * math/w_log10l_compat.c: Likewise.
32752 * math/w_log2_compat.c: Likewise.
32753 * math/w_log2f_compat.c: Likewise.
32754 * math/w_log2l_compat.c: Likewise.
32755 * math/w_log_compat.c: Likewise.
32756 * math/w_logf_compat.c: Likewise.
32757 * math/w_logl_compat.c: Likewise.
32758 * math/w_pow_compat.c: Likewise.
32759 * math/w_powf_compat.c: Likewise.
32760 * math/w_powl_compat.c: Likewise.
32761 * math/w_remainder_compat.c: Likewise.
32762 * math/w_remainderf_compat.c: Likewise.
32763 * math/w_remainderl_compat.c: Likewise.
32764 * math/w_sinh_compat.c: Likewise.
32765 * math/w_sinhf_compat.c: Likewise.
32766 * math/w_sinhl_compat.c: Likewise.
32767 * math/w_sqrt_compat.c: Likewise.
32768 * math/w_sqrtf_compat.c: Likewise.
32769 * math/w_sqrtl_compat.c: Likewise.
32770 * math/w_tgamma_compat.c: Likewise.
32771 * math/w_tgammaf_compat.c: Likewise.
32772 * math/w_tgammal_compat.c: Likewise.
32773 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32774 [LIBM_SVID_COMPAT].
32775 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32776 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32777 [LIBM_SVID_COMPAT].
32778 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32779 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32780 [LIBM_SVID_COMPAT].
32781 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32782 * sysdeps/i386/fpu/w_sqrt.c: New file.
32783 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32784 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32785 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32786 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32787 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32788 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32789 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32790 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32791 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32792 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32793 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32794 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32795 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32796 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32797 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32798 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32799 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32800 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32801 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32802 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32803 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32804 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32805 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32806 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32807 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32808 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32809 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32810 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32811 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32812 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32813 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32814 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32815 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32816 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32817 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32818 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32819 * sysdeps/ia64/fpu/w_log.c: Likewise.
32820 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32821 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32822 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32823 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32824 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32825 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32826 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32827 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32828 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32829 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32830 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32831 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32832 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32833 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32834 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32835 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32836 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32837 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32838 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32839 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32840 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32841 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32842 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32843 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32844 [LIBM_SVID_COMPAT].
32845 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32846 * sysdeps/ieee754/k_standard.c: Likewise.
32847 * sysdeps/ieee754/k_standardf.c: Likewise.
32848 * sysdeps/ieee754/k_standardl.c: Likewise.
32849 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32850 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32851 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32852 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32853 long_double_symbol call on [LIBM_SVID_COMPAT].
32854 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32855 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32856 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32857 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32858 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32859 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32860 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32861 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32862 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32863 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32864 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32865 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32866 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32867 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32868 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32869 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32870 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32871 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32872 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32873 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32874 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32875 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32877 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32879 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32880 * malloc/tst-mallocstate.c: Convert from test-skeleton
32881 to test-driver. Ifdef code using TEST_COMPAT macro.
32882 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32883 * math/test-matherr.c: Likewise.
32885 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32888 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32889 comparing word with byte-swapped constant.
32891 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32894 * locale/iso-639.def: add Miskito.
32895 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32896 * localedata/locales/miq_NI: New file.
32898 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32901 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32902 (__mkdir): Likewise.
32903 * io/chmod.c (__chmod): Add libc_hidden_def.
32904 * io/mkdir.c (__mkdir): Likewise.
32905 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32906 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32907 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32908 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32910 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32912 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32916 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32917 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32919 2017-09-04 Florian Weimer <fweimer@redhat.com>
32921 * math/math.h: Issue warning if log is defined.
32923 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32925 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32926 kernel version to 4.13.
32928 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32930 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32931 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32933 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32934 just <bits/types.h>.
32935 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32936 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32937 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32938 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32939 * misc/preadv2.c: Include <errno.h>.
32940 * misc/preadv64v2.c: Include <errno.h>.
32941 * misc/pwritev2.c: Include <errno.h>.
32942 * misc/pwritev64v2.c: Include <errno.h>.
32943 * sysdeps/posix/preadv2.c: Include <errno.h>.
32944 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32945 Fix <unistd.h> inclusion.
32946 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32947 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32948 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32949 __strtoul_internal): New functions.
32950 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32951 * sysdeps/posix/system.c: Include <sigsetops.h>.
32952 * sysdeps/mach/hurd/i386/Makefile
32953 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32954 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32955 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32956 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32957 __feraiseexcept_renamed to feraiseexcept instead of
32958 __GI_feraiseexcept.
32959 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32960 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32961 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32962 RWF_NOWAIT): Define to 0 if undefined already.
32963 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32965 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32966 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32968 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32970 * manual/math.texi (pow10): Do not document.
32971 (pow10f): Likewise.
32972 (pow10l): Likewise.
32973 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32974 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32975 * math/libm-test-exp10.inc (pow10_test): Remove.
32976 (do_test): Do not call pow10.
32977 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32978 [NO_LONG_DOUBLE] (pow10l): Likewise.
32979 * math/w_exp10f_compat.c (pow10f): Likewise.
32980 * math/w_exp10l_compat.c (pow10l): Likewise.
32981 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32982 (pow10): Make into compat symbol.
32983 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32984 (pow10f): Make into compat symbol.
32985 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32986 (pow10l): Make into compat symbol.
32987 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32989 (CFLAGS-nldbl-pow10.c): Remove variable..
32990 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32991 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32992 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32993 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32994 Undefine and redefine.
32995 (pow10l): Make into compat symbol.
32996 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32997 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32998 * sysdeps/arm/libm-test-ulps: Likewise.
32999 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33000 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33001 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33002 * sysdeps/microblaze/libm-test-ulps: Likewise.
33003 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33004 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33005 * sysdeps/nios2/libm-test-ulps: Likewise.
33006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33007 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33008 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33009 * sysdeps/sh/libm-test-ulps: Likewise.
33010 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33011 * sysdeps/tile/libm-test-ulps: Likewise.
33012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33014 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33016 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33018 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33020 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33021 "../ChangeLog.old/ChangeLog.8".
33022 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33023 "../ChangeLog.old/ChangeLog.14".
33025 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33027 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33030 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33032 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33034 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33036 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33037 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33039 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33041 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33042 32 atexit handlers.
33044 2017-09-01 Zack Weinberg <zackw@panix.com>
33046 * math/math.h (HUGE_VAL): Improve commentary.
33048 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33049 Andreas Schwab <schwab@suse.de>
33052 * include/stdio.h (__gen_tempfd): New function.
33053 * stdio-common/Makefile (routines): Add gentempfd.
33054 * stdio-common/gentempfd.c: New file.
33055 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33056 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33057 unnamed file first.
33059 2017-09-01 Florian Weimer <fweimer@redhat.com>
33063 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33064 result to determine success or failure, not the errno value.
33065 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
33066 (tst-nss-files-hosts-erange): Link with -ldl.
33067 * nss/tst-nss-files-hosts-erange.c: New file.
33068 * nss/tst-resolv-basic.c (response): Handle nodata.example.
33069 (do_test): Add NO_DATA tests.
33070 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
33071 (do_test): Call it.
33073 2017-09-01 Florian Weimer <fweimer@redhat.com>
33076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
33077 coming from gethostbyname2_r.
33079 2017-09-01 Florian Weimer <fweimer@redhat.com>
33081 * support/namespace.h (struct support_chroot_configuration): Add
33083 (struct support_chroot): Add path_hosts, path_host_conf.
33084 * support/support_chroot.c (write_file): New function.
33085 (support_chroot_create): Call it to process /etc/resolv.conf,
33086 /etc/hosts, /etc/host.conf.
33087 (support_chroot_free): Update.
33089 2017-09-01 Florian Weimer <fweimer@redhat.com>
33091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
33092 status indicates it is set.
33094 2017-09-01 Florian Weimer <fweimer@redhat.com>
33097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
33098 function lookup failures more reliable.
33100 2017-09-01 Florian Weimer <fweimer@redhat.com>
33102 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
33103 (getcanonname): Likewise.
33104 (gaih_inet): Likewise.
33106 2017-09-01 Florian Weimer <fweimer@redhat.com>
33108 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
33109 (getcanonname): Likewise.
33110 (gaih_inet): Likewise.
33112 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33113 Richard Henderson <rth@twiddle.net>
33115 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
33116 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
33117 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
33118 (IREG_SIZE, OREG_SIZE): New macros.
33119 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
33120 (IREG_SIZE, OREG_SIZE): New macros.
33121 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
33122 (IREG_SIZE): New macro.
33123 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
33124 (IREG_SIZE): New macro.
33125 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
33127 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
33128 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33129 (__CONCATX): Handle exceptions correctly on large values that may
33131 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
33132 Initialize if not already set.
33133 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33135 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33137 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
33138 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
33140 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
33142 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
33144 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
33146 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
33148 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
33150 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
33152 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
33153 (NO_CANCELLATION): Likewise.
33154 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
33156 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
33158 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
33160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
33161 (NO_CANCELLATION): Likewise.
33162 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
33163 (NO_CANCELLATION): Likewise.
33164 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
33166 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
33168 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
33170 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
33172 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
33174 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
33175 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
33177 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33179 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
33182 2017-08-31 Florian Weimer <fweimer@redhat.com>
33184 * include/libc-symbols.h (internal_function): Remove.
33186 2017-08-31 Florian Weimer <fweimer@redhat.com>
33188 * stdlib/fmtmsg.c (internal_addseverity): Remove
33191 2017-08-31 Florian Weimer <fweimer@redhat.com>
33193 * stdio-common/printf_fp.c (group_number): Remove
33195 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
33197 2017-08-31 Florian Weimer <fweimer@redhat.com>
33199 * posix/fnmatch.c (internal_function): Remove definition.
33200 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
33201 * posix/regcomp.c (peek_token, init_word_char)
33202 (duplicate_node_closure, fetch_token, peek_token)
33203 (peek_token_bracket, build_range_exp, build_collating_symbol):
33205 * posix/regex_internal.c (re_string_construct_common)
33206 (create_ci_newstate, create_cd_newstate, re_string_allocate)
33207 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
33208 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
33209 (re_string_translate_buffer, re_string_reconstruct)
33210 (re_string_peek_byte_case, re_string_fetch_byte_case)
33211 (re_string_destruct, re_string_context_at, re_node_set_alloc)
33212 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
33213 (re_node_set_add_intersect, re_node_set_init_union)
33214 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
33215 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
33216 (re_dfa_add_node, calc_state_hash, re_acquire_state)
33217 (re_acquire_state_context): Likewise.
33218 * posix/regex_internal.h (internal_function): Remove definition.
33219 (re_string_realloc_buffers, build_wcs_buffer)
33220 (build_wcs_upper_buffer, build_upper_buffer)
33221 (re_string_translate_buffer, re_string_context_at)
33222 (re_string_char_size_at, re_string_wchar_at)
33223 (re_string_elem_size_at): Likewise.
33224 * posix/regexec.c (match_ctx_init, match_ctx_clean)
33225 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
33226 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
33227 (re_search_internal, re_search_2_stub, re_search_stub)
33228 (re_copy_regs, prune_impossible_nodes, check_matching)
33229 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
33230 (free_fail_stack_return, sift_states_iter_mb)
33231 (sift_states_backward, build_sifted_states)
33232 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
33233 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
33234 (check_subexp_limits, sift_states_bkref, merge_state_array)
33235 (find_recover_state, transit_state, merge_state_with_log)
33236 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
33237 (transit_state_mb, transit_state_bkref, get_subexp)
33238 (get_subexp_sub, find_subexp_node, check_arrival)
33239 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
33240 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
33241 (check_node_accept_bytes, find_collation_sequence_value)
33242 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
33243 (acquire_init_state_context, check_halt_node_context)
33244 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
33245 (sub_epsilon_src_nodes): Likewise.
33246 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
33247 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
33248 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
33249 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
33250 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
33251 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
33252 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
33253 * sysdeps/posix/ttyname.c (getttyname): Likewise.
33254 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
33255 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
33256 (PREADV): Likewise.
33257 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
33258 (PREADV): Likewise.
33259 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
33260 (PWRITEV): Likewise.
33261 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
33262 (PWRITEV): Likewise.
33263 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
33264 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
33266 2017-08-31 Florian Weimer <fweimer@redhat.com>
33268 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
33269 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
33270 Remove internal_function.
33271 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33272 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
33273 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
33274 (__deallocate_stack, __libc_pthread_init)
33275 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
33276 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
33277 (__libc_disable_asynccancel, __librt_disable_asynccancel):
33279 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
33280 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
33281 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
33283 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
33284 (__pthread_mutex_unlock_usercnt): Likewise.
33286 2017-08-31 Florian Weimer <fweimer@redhat.com>
33288 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33289 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33290 (fts_safe_changedir): Remove internal_function.
33291 * io/ftw.c (internal_function): Remove definition.
33292 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33294 2017-08-31 Florian Weimer <fweimer@redhat.com>
33296 * inet/deadline.c (__deadline_current_time)
33297 (__deadline_from_timeval, __deadline_to_ms): Remove
33299 * inet/getnameinfo.c (nrl_domainname): Likewise.
33300 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33301 * inet/inet6_option.c (add_pad): Likewise.
33302 * inet/net-internal.h (__deadline_current_time)
33303 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33304 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33305 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33306 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33308 2017-08-31 Joseph Myers <joseph@codesourcery.com>
33310 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33311 include <bits/nan.h>.
33312 * math/Makefile (headers): Remove bits/nan.h.
33313 * bits/nan.h: Remove.
33314 * sysdeps/ieee754/bits/nan.h: Likewise.
33315 * sysdeps/mips/bits/nan.h: Likewise.
33317 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33318 not include <bits/inf.h>.
33319 * math/Makefile (headers): Remove bits/inf.h.
33320 * bits/inf.h: Remove.
33321 * sysdeps/ieee754/bits/inf.h: Likewise.
33323 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33324 bits/huge_vall.h or bits/huge_val_flt128.h.
33325 (HUGE_VAL): Define directly here.
33326 [__USE_ISOC99] (HUGE_VALF): Likewise.
33327 [__USE_ISOC99] (HUGE_VALL): Likewise.
33328 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33329 (HUGE_VAL_F128): Likewise.
33330 * math/Makefile (headers): Remove bits/huge_val.h,
33331 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33332 * bits/huge_val.h: Remove.
33333 * bits/huge_val_flt128.h: Likewise.
33334 * bits/huge_valf.h: Likewise.
33335 * bits/huge_vall.h: Likewise.
33336 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33337 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33338 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33339 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33340 * sysdeps/sh/bits/huge_val.h: Likewise.
33341 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33342 * sysdeps/x86/bits/huge_vall.h: Likewise.
33344 2017-08-31 Florian Weimer <fweimer@redhat.com>
33346 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33348 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33350 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33351 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33352 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33353 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33354 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33355 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33356 * elf/dl-libc.c (dlerror_run): Likewise.
33357 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33358 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33359 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33360 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33362 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33363 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33364 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33365 * elf/dl-profile.c (_dl_start_profile): Likewise.
33366 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33367 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33369 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33370 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33371 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33372 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33373 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33374 (_dl_allocate_tls_storage): Likewise.
33375 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33376 (_dl_check_all_versions): Likewise.
33377 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33378 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33379 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33380 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33381 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33382 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33383 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33384 internal_function from __dl_start.
33385 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33386 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33387 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33388 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33389 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33390 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33391 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33392 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33393 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33394 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33395 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33396 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33397 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33398 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33399 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33401 (struct rtld_global_ro): Remove internal_function from the
33402 _dl_lookup_symbol_x member.
33403 (_dl_symbol_value): Remove. No longer defined anywhere.
33404 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33406 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33407 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33408 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33409 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33410 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33411 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33412 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33413 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33414 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33415 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33416 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33417 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33419 2017-08-31 Florian Weimer <fweimer@redhat.com>
33421 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33422 Remove internal_function.
33423 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33425 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33428 2017-08-31 Florian Weimer <fweimer@redhat.com>
33430 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33431 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33432 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33434 2017-08-31 Florian Weimer <fweimer@redhat.com>
33436 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33437 (__gai_enqueue_request): Remove internal_function.
33438 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33439 (__gai_remove_request, __gai_notify, __gai_notify_only)
33440 (__gai_sigqueue): Likewise.
33441 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33442 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33443 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33444 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33447 2017-08-31 Florian Weimer <fweimer@redhat.com>
33449 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33450 * include/dirent.h (__opendirat, __getdents, __getdents64)
33451 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33452 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33453 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33454 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33456 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33458 2017-08-31 Florian Weimer <fweimer@redhat.com>
33460 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33462 (GETCWD_RETURN_TYPE): Likewise.
33464 2017-08-31 Florian Weimer <fweimer@redhat.com>
33466 * include/time.h (__tz_compute, __strptime_internal): Remove
33468 * time/strptime_l.c (__strptime_internal): Likewise.
33469 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33471 2017-08-31 Florian Weimer <fweimer@redhat.com>
33473 * iconv/gconv.c (__gconv): Remove internal_function.
33474 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33475 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33476 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33477 (__gconv_release_cache): Likewise.
33478 * iconv/gconv_close.c (__gconv_close): Likewise.
33479 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33480 (read_conf_file, __gconv_get_path): Likewise.
33481 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33482 (__gconv_release_step, gen_steps, increment_counter)
33483 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33484 (__gconv_close_transform, free_modules_db): Likewise.
33485 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33487 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33488 (__gconv_find_transform, __gconv_lookup_cache)
33489 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33490 (__gconv_close_transform, __gconv_release_cache)
33491 (__gconv_loaded_object, __gconv_release_shlib)
33492 (__gconv_compare_alias): Likewise.
33493 * iconv/gconv_open.c (__gconv_open): Likewise.
33494 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33495 * iconv/iconvconfig.c (add_module): Likewise.
33496 * intl/dcigettext.c (plural_lookup, guess_category_value)
33497 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33498 * intl/eval-plural.h (plural_eval): Likewise.
33499 * intl/finddomain.c (_nl_find_domain): Likewise.
33500 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33501 (_nl_load_domain, _nl_find_msg): Likewise.
33502 (internal_function): Remove definition.
33503 * intl/loadinfo.h (internal_function): Likewise.
33504 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33506 * intl/localealias.c (internal_function): Remove definition.
33507 (read_alias_file): Remove internal_function.
33508 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33509 * intl/plural-exp.h (internal_function): Remove definition.
33510 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33512 * intl/plural.c: Regenerate.
33513 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33514 * locale/coll-lookup.c (__collidx_table_lookup)
33515 (__collseq_table_lookup): Likewise.
33516 * locale/coll-lookup.h (__collidx_table_lookup)
33517 (__collseq_table_lookup): Likewise.
33518 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33519 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33520 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33521 (_nl_unload_locale): Likewise.
33522 * locale/localeinfo.h (struct __locale_data): Remove
33523 internal_function from cleanup member.
33524 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33525 (_nl_remove_locale, _nl_load_locale_from_archive)
33526 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33527 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33528 (_nl_cleanup_time): Remove internal_function.
33529 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33530 (_nl_parse_alt_digit): Likewise.
33531 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33532 (_nl_select_era_entry): Likewise.
33533 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33534 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33535 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33536 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33537 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33539 2017-08-31 Florian Weimer <fweimer@redhat.com>
33541 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33542 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33543 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33544 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33546 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33547 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33548 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33549 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33551 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33553 2017-08-31 Florian Weimer <fweimer@redhat.com>
33555 * misc/getttyent.c (skip, value): Remove internal_function.
33556 * misc/syslog.c (openlog_internal): Likewise.
33557 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33559 2017-08-31 Florian Weimer <fweimer@redhat.com>
33561 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33562 (__nss_rewrite_field): Remove internal_function.
33563 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33564 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33565 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33566 * nss/nsswitch.c (nss_parse_file, nss_getline)
33567 (nss_parse_service_list, nss_new_service): Likewise.
33568 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33569 * nss/valid_field.c (__nss_valid_field): Likewise.
33570 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33572 2017-08-31 Florian Weimer <fweimer@redhat.com>
33574 * malloc/arena.c (__malloc_fork_lock_parent)
33575 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33576 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33577 internal_function from defintions.
33578 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33579 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33580 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33581 internal_function from declarations.
33582 * malloc/malloc.c (internal_function): Do not define.
33583 (mem2mem_check): Remove internal_function from declaration.
33584 (munmap_chunk, mremap_chunk): Remove internal_function.
33585 * malloc/mtrace.c (tr_where): Likewise.
33587 2017-08-31 Florian Weimer <fweimer@redhat.com>
33589 * include/rpc/pmap_clnt.h (__get_socket): Remove
33591 * sunrpc/auth_des.c (synchronize): Likewise.
33592 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33593 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33594 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33595 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33596 (key_call): Likewise.
33597 * sunrpc/pm_getport.c (__get_socket): Likewise.
33598 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33599 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33600 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33601 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33602 (invalidate): Likewise.
33603 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33604 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33605 (set_input_fragment, get_input_bytes): Likewise.
33607 2017-08-31 Florian Weimer <fweimer@redhat.com>
33609 * malloc/malloc.c (_int_free): Remove locked variable and related
33612 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33615 * Makerules (build-module-helper-objlist): Filter out
33616 $(elf-objpfx)sofini.os.
33617 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33620 2017-08-31 Florian Weimer <fweimer@redhat.com>
33622 * libio/fcloseall.c: Assume weak_alias is defined.
33623 * libio/feof.c: Likewise.
33624 * libio/fileno.c: Likewise.
33625 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33626 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33628 (_IO_file_open): Call __open directly.
33629 (_IO_new_file_sync): Assume ESPIPE is defined.
33630 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33631 (_IO_new_file_write): Call __write directly.
33632 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33633 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33634 * libio/genops.c: Assume _LIBC is defined.
33635 (save_for_backup): Remove internal_function.
33636 * libio/getc.c: Assume weak_alias is defined.
33637 * libio/getwc.c: Likewise.
33638 * libio/iofclose.c: Assume _LIBC is defined.
33639 * libio/iofdopen.c: Likewise.
33640 (_IO_fcntl): Remove macro definition.
33641 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33642 Call __fcntl directly.
33643 * libio/iofflush.c: Assume weak_alias is defined.
33644 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33646 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33647 * libio/iofgets.c: Likewise.
33648 * libio/iofopen.c: Assume _LIBC is defined.
33649 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33650 * libio/iofputs.c: Assume weak_alias is defined.
33651 * libio/iofread.c: Likewise.
33652 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33653 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33654 * libio/ioftell.c: Assume weak_alias is defined.
33655 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33656 * libio/iofwide.c: Assume _LIBC is defined.
33657 (_IO_fwide): Drop SHARED conditional because it is implied by
33659 * libio/iofwrite.c: Assume weak_alias is defined.
33660 * libio/iogetdelim.c: Likewise.
33661 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33662 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33663 (_IO_getwline): Call __wmemcpy directly.
33664 * libio/iopopen.c: Assume _LIBC is defined.
33665 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33666 (_IO_close): Remove macro definitions.
33667 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33669 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33671 * libio/ioputs.c: Assume weak_alias is defined.
33672 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33673 * libio/iosetbuffer.c: Assume weak_alias is defined.
33674 * libio/iosetvbuf.c: Likewise.
33675 * libio/ioungetc.c: Likewise.
33676 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33677 libc_hidden_def, libc_hidden_weak, NULL are defined.
33678 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33679 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33681 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33683 (_IO_old_file_init_internal): Drop SHARED conditional because it
33684 is implied by SHLIB_COMPAT.
33685 (_IO_old_file_fopen): Call __open directly.
33686 (_IO_old_file_sync): Assume ESPIPE is defined.
33687 (_IO_old_file_write): Call __write directly.
33688 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33689 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33690 Call __fcntl directly.
33691 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33692 (_IO_old_fgetpos): Assume EIO is defined.
33693 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33694 (_IO_old_fgetpos64): Assume EIO is defined.
33695 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33696 (_IO_old_fsetpos): Assume EIO is defined.
33697 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33698 (_IO_old_fsetpos64): Assume EIO is defined.
33699 * libio/oldiopopen.c: Assume _LIBC is defined.
33700 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33701 (_IO_close): Remove macro definitions.
33702 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33704 (_IO_old_proc_close): Call __close, __waitpid directly.
33705 * libio/put.c: Assume weak_alias is defined.
33706 * libio/stdfiles.c: Assume _LIBC is defined.
33707 * libio/stdio.c: Likewise.
33708 * libio/wfileops.c: Likewise.
33709 (_IO_wfile_sync): Assume ESPIPE is defined.
33710 * libio/wgenops.c: Assume _LIBC is defined.
33711 (save_for_wbackup): Remove internal_function.
33713 2017-08-31 Florian Weimer <fweimer@redhat.com>
33715 * malloc/malloc.c (top_check): Change return type to void. Remove
33717 * malloc/hooks.c (top_check): Likewise.
33718 (malloc_check, realloc_check, memalign_check): Adjust.
33720 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33723 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33724 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33725 sigcontext and namespace requirements.
33726 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33727 * sysdeps/m68k/sys/ucontext.h: Likewise.
33728 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33729 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33730 <bits/sigcontext.h>.
33731 (__ctx): Define earlier.
33732 (mcontext_t): Define structure contents rather than using struct
33734 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33735 __glibc_reserved1 instead of __reserved.
33736 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33737 <bits/sigcontext.h>.
33738 (__ctx): Define earlier.
33739 (mcontext_t): Define structure contents rather than using struct
33741 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33742 mcontext_t instead of struct sigcontext.
33743 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33744 <bits/sigcontext.h>.
33745 (__ctx): Define earlier.
33746 (mcontext_t): Define structure contents rather than using struct
33748 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33749 <bits/sigcontext.h>.
33750 (__ctx): Define earlier.
33751 (mcontext_t): Define structure contents rather than using struct
33753 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33754 mcontext_t instead of struct sigcontext.
33755 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33756 mcontext_t instead of struct sigcontext.
33757 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33758 <bits/sigcontext.h>.
33759 (__ctx): New macro.
33760 (struct __ia64_fpreg_mcontext): New type.
33761 (mcontext_t): Define structure contents rather than using struct
33763 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33764 (uc_sigmask): Define using __ctx.
33765 (uc_stack): Likewise.
33766 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33767 <bits/sigcontext.h>.
33768 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33769 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33770 <bits/sigcontext.h>.
33771 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33772 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33773 <bits/sigcontext.h>.
33774 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33775 <bits/sigcontext.h>.
33776 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33777 <bits/sigcontext.h>.
33778 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33779 <bits/sigcontext.h>.
33780 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33781 <bits/sigcontext.h>.
33782 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33783 <bits/sigcontext.h>.
33784 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33785 <bits/sigcontext.h>.
33786 (__ctx): Define earlier.
33787 (mcontext_t): Define structure contents rather than using struct
33789 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33790 <bits/sigcontext.h>. Include <bits/types.h>.
33791 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33792 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33793 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33794 (test-xfail-UNIX98/signal.h/conform): Likewise.
33795 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33796 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33797 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33798 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33799 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33800 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33801 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33802 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33803 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33805 2017-08-30 Florian Weimer <fweimer@redhat.com>
33807 * malloc/dynarray_emplace_enlarge.c
33808 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33809 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33810 * malloc/tst-dynarray.c (test_long_overflow): New function.
33811 (do_test): Call it.
33813 2017-08-30 Florian Weimer <fweimer@redhat.com>
33815 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33816 (set_arena_corrupt): Remove definitions.
33817 (mtrim): Do not check for corrupt arena.
33818 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33821 2017-08-30 Florian Weimer <fweimer@redhat.com>
33824 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33826 (ptmalloc_init): Do not set or use check_action.
33827 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33828 call to malloc_printerr. Remove return statement.
33829 (free_check): Likewise. Remove arena unlock.
33830 (top_check): Update comment. Adjust call to malloc_printerr.
33831 Remove heap repair code.
33832 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33833 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33834 (sysmalloc): Adjust call to malloc_printerr.
33835 (munmap_chunk, __libc_realloc): Likewise. Remove return
33837 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33838 Remove errout label and corresponding gotos.
33839 (_int_free): Likewise. Remove arena unlock.
33840 (do_set_mallopt_check): Do not set check_action.
33841 (malloc_printerr): Adjust parameter list. Do not mark arena as
33843 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33845 * manual/probes.texi (Memory Allocation Probes): Remove
33846 memory_mallopt_check_action.
33848 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33850 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33851 Use pointer to uint64_t instead of long int for sp.
33853 2017-08-30 Florian Weimer <fweimer@redhat.com>
33856 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33857 without printing a backtrace. Do not leak any information in the
33859 * manual/memory.texi (Heap Consistency Checking): Update.
33860 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33862 2017-08-30 Florian Weimer <fweimer@redhat.com>
33864 Do not scale NPTL tests with available number of CPUs.
33865 * nptl/tst-cond16.c (count): Set to constant value of 8.
33866 * nptl/tst-cond18.c (count): Likewise.
33868 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33871 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33872 Define to take a second argument that is a macro that
33873 concatentates a suffix, not the suffix itself.
33874 (__CONCAT_d): New macro.
33875 (__CONCAT_f): Likewise.
33876 (__CONCAT_l): Likewise.
33878 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33880 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33883 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33884 Aurelien Jarno <aurelien@aurel32.net>
33885 Maciej W. Rozycki <macro@imgtec.com>
33888 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33889 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33890 `mips16-syscall6' and `mips16-syscall7'.
33891 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33892 (CFLAGS-mips16-syscall7.c): Remove.
33893 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33894 Remove `__mips16_syscall5', `__mips16_syscall6' and
33895 `__mips16_syscall7'.
33896 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33897 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33898 `__mips_syscall_return'.
33899 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33900 (__mips16_syscall1): Likewise.
33901 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33902 (__mips16_syscall2): Likewise.
33903 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33904 (__mips16_syscall3): Likewise.
33905 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33906 (__mips16_syscall4): Likewise.
33907 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33909 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33911 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33913 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33914 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33915 `__mips16_syscall5'. Remove prototype.
33916 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33917 `__mips16_syscall6'. Remove prototype.
33918 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33919 `__mips16_syscall7'. Remove prototype.
33920 (__nomips16, __mips16_syscall_return): Move to...
33921 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33922 (__nomips16, __mips_syscall_return): ... here.
33923 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33924 `__mips16_syscall_return' to `__mips_syscall_return'.
33925 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33926 `internal_syscall##nr'.
33927 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33928 `internal_syscall##nr'.
33929 (FORCE_FRAME_POINTER): Remove.
33930 (__mips_syscall5): New prototype.
33931 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33932 (__mips_syscall6): New prototype.
33933 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33934 (__mips_syscall7): New prototype.
33935 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33936 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33937 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33938 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33939 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33940 (sysdep_routines): Add libc-do-syscall.
33941 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33942 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33944 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33947 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33948 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33949 (advise_stack_range): New function.
33950 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33951 stack non required to advise_stack_range at allocatestack.c
33953 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33955 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33957 2017-08-29 Florian Weimer <fweimer@redhat.com>
33960 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33961 __end_fct. Mangle __end_fct after setting it to NULL.
33962 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33963 (modules-names, modules-names-tests): Add
33964 tst-gconv-init-failure-mod.
33965 (gconv-modules): New target.
33966 (tst-gconv-init-failure-mod.so): Link against libsupport.
33967 (tst-gconv-init-failure): Depend on gconv-modules,
33968 tst-gconv-init-failure-mod.so.
33969 * iconv/tst-gconv-init-failure-mod.c: New file.
33970 * iconv/tst-gconv-init-failure.c: Likewise.
33971 * iconv/test-gconv-modules: Likewise.
33973 2017-08-29 Florian Weimer <fweimer@redhat.com>
33976 * iconv/gconv_db.c (free_derivation): Remove redundant
33978 (gen_steps): Unconditionally mangle __btowc_fct after
33980 (increment_counter): Likewise. Do not call init_fct for internal
33983 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33986 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33987 (_MSUF_): Remove macro.
33988 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33990 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33991 (__REDIRFROM_X): New macro.
33992 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33994 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33995 (__REDIRTO_X): Likewise.
33996 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33998 (__MATH_REDIRCALL_2): Likewise.
33999 (__MATH_REDIRCALL_INTERNAL): Likewise.
34000 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34001 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34002 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34003 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34004 * math/test-finite-macros.c: New file.
34005 * math/Makefile (tests): Add test-finite-macros.
34006 (CFLAGS-test-finite-macros.c): New variable.
34008 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
34009 Jeff Law <law@redhat.com>
34012 Mangle NULL pointers in iconv/gconv.
34013 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34014 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34015 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34016 is non-NULL before demangling the end_fct. Check for NULL
34017 end_fct after demangling.
34018 (__gconv_release_step): Demangle the end_fct before checking
34019 it for NULL. Remove assert on __shlibc_handle != NULL.
34020 (gen_steps): Don't check btowc_fct for NULL before mangling.
34021 Demangle init_fct before checking for NULL.
34022 (increment_counter): Likewise.
34023 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34024 end_fct for NULL before mangling.
34025 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34028 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
34031 * locale/iso-639.def: add Morisyen.
34033 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34036 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34037 (iszero): New C++ implementation that does not use
34038 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34039 signaling nans are enabled, since __builtin_types_compatible_p
34040 is a C-only feature.
34041 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34042 defined, include ieee754_float128.h for access to the union and
34043 member ieee854_float128.ieee.
34044 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34045 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34046 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34047 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34048 options of test-math-zero on powerpc64le.
34050 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34052 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34053 Change double to float.
34055 2017-08-28 Joseph Myers <joseph@codesourcery.com>
34057 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34059 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34060 conditional code; define contents only for [LIBM_SVID_COMPAT].
34062 2017-08-28 Florian Weimer <fweimer@redhat.com>
34064 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
34065 (abi-lp64_be-options): Remove.
34066 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
34067 (abi-hard-options): Likewise.
34068 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
34069 (abi-o32_hard-options, abi-o32_soft_2008-options)
34070 (abi-o32_hard_2008-options, abi-n32_soft-options)
34071 (abi-n32_hard-options, abi-n32_soft_2008-options)
34072 (abi-n32_hard_2008-options, abi-n64_soft-options)
34073 (abi-n64_hard-options, abi-n64_soft_2008-options)
34074 (abi-n64_hard_2008-options): Likewise.
34075 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
34076 (abi-64-v1-options, abi-64-v2-options): Likewise.
34077 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
34078 (abi-64-options): Likewise.
34079 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
34080 (abi-64-options): Likewise.
34081 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
34082 (abi-64-options): Likewise.
34083 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
34084 (abi-64-options, abi-x32-options): Likewise.
34086 2017-08-28 Florian Weimer <fweimer@redhat.com>
34088 Store supported list of SYS_* system calls in the source tree.
34089 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
34090 (bits/syscall.h): Generate from list file.
34091 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
34092 [$(subdir) = misc] (tests): Add tst-syscall-list.
34093 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
34094 [$(subdir) = misc] (tst-syscall-list-macros.list)
34095 [$(subdir) = misc] (tst-syscall-list-nr.list)
34096 (tst-syscall-list-sys.list): Helper targets for new
34097 tst-syscall-list test.
34098 [$(subdir) = misc] (tst-syscall-list.out): Run test script
34099 tst-syscall-list.sh.
34100 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
34101 target. Do not include bits/syscall.d.
34102 [$(subdir) = misc] (generated): Do not update.
34103 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
34104 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
34105 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
34106 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
34108 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34110 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
34111 (tst-cxa_atexit, tst-on_exit): Likewise.
34112 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
34113 tst-cxa_atexit, and tst-on_exit.
34114 * stdlib/tst-atexit-common.c: New file.
34115 * stdlib/tst-atexit.c: New file.
34116 * stdlib/tst-at_quick_exit.c: New file.
34117 * stdlib/tst-cxa_atexit.c: New file.
34118 * stdlib/tst-on_exit.c: New file.
34120 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
34122 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
34123 * mach/stack_chk_fail_local.c: New file.
34124 * hurd/stack_chk_fail_local.c: New file.
34125 * mach/Machrules ($(interface-library)-routines): Add
34126 stack_chk_fail_local.
34127 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
34128 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
34129 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
34130 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
34131 * hurd/Makefile (CFLAGS-hurdstartup.o,
34132 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
34134 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
34136 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34137 (index_cpu_*, index_arch_*): Removed.
34139 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
34141 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
34142 Use uint64_t instead of unsigned long.
34144 2017-08-25 Joseph Myers <joseph@codesourcery.com>
34146 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
34147 [__HAVE_DISTINCT_FLOAT128].
34149 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
34150 of <bits/math-finite.h>.
34151 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
34152 inclusion of <bits/math-finite.h>.
34153 * math/bits/math-finite.h (__REDIRTO_X): Do not define
34154 conditionally on [__MATH_DECLARING_LDOUBLE && defined
34155 __NO_LONG_DOUBLE_MATH].
34156 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
34157 (__MATH_REDIRCALL_2): Likewise.
34158 (__MATH_REDIRCALL_INTERNAL): Likewise.
34159 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34160 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
34161 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
34165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
34167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
34169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
34171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
34173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
34175 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34176 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34177 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34178 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
34180 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
34181 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
34182 w_sqrtf_compat-ppc32.
34184 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34186 * math/math.h [defined __cplusplus] (issignaling): In the long
34187 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
34188 is not defined. Call __issignaling, otherwise.
34190 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34192 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
34193 syscall definitions and replace __builtin_expect with __glibc_likely.
34194 * sysdeps/unix/syscall-template.S: Update comment about cancellable
34196 (SYSCALL_CANCELLABLE): Removedefinition
34197 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
34199 (PSEUDO_END): Likewise.
34200 [IS_IN (libpthread)] (CENABLE): Likewise.
34201 [IS_IN (libpthread)] (CDISABLE): Likewise.
34202 [IS_IN (libc)] (CENABLE): Likewise.
34203 [IS_IN (libc)] (CENABLE): Likewise.
34204 [IS_IN (librt)] (CDISABLE): Likewise.
34205 [IS_IN (librt)] (CDISABLE): Likewise.
34206 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34207 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
34209 (PSEUDO_END): Likewise.
34210 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
34211 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
34212 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34213 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34214 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34215 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34216 (CENABLE): Likewise.
34217 (CDISABLE): Likewise.
34218 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34219 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
34221 (PSEUDO_END): Likewise.
34222 [IS_IN (libpthread)] (CENABLE): Likewise.
34223 [IS_IN (libpthread)] (CDISABLE): Likewise.
34224 [IS_IN (libc)] (CENABLE): Likewise.
34225 [IS_IN (libc)] (CENABLE): Likewise.
34226 [IS_IN (librt)] (CDISABLE): Likewise.
34227 [IS_IN (librt)] (CDISABLE): Likewise.
34228 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34229 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
34231 (PSEUDO_END): Likewise.
34232 [IS_IN (libpthread)] (CENABLE): Likewise.
34233 [IS_IN (libpthread)] (CDISABLE): Likewise.
34234 [IS_IN (libc)] (CENABLE): Likewise.
34235 [IS_IN (libc)] (CENABLE): Likewise.
34236 [IS_IN (librt)] (CDISABLE): Likewise.
34237 [IS_IN (librt)] (CDISABLE): Likewise.
34238 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34239 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
34241 (PSEUDO_END): Likewise.
34242 [IS_IN (libpthread)] (CENABLE): Likewise.
34243 [IS_IN (libpthread)] (CDISABLE): Likewise.
34244 [IS_IN (libc)] (CENABLE): Likewise.
34245 [IS_IN (libc)] (CENABLE): Likewise.
34246 [IS_IN (librt)] (CDISABLE): Likewise.
34247 [IS_IN (librt)] (CDISABLE): Likewise.
34248 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34249 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
34251 (PSEUDO_END): Likewise.
34252 [IS_IN (libpthread)] (CENABLE): Likewise.
34253 [IS_IN (libpthread)] (CDISABLE): Likewise.
34254 [IS_IN (libc)] (CENABLE): Likewise.
34255 [IS_IN (libc)] (CENABLE): Likewise.
34256 [IS_IN (librt)] (CDISABLE): Likewise.
34257 [IS_IN (librt)] (CDISABLE): Likewise.
34258 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34259 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
34261 (PSEUDO_END): Likewise.
34262 [IS_IN (libpthread)] (CENABLE): Likewise.
34263 [IS_IN (libpthread)] (CDISABLE): Likewise.
34264 [IS_IN (libc)] (CENABLE): Likewise.
34265 [IS_IN (libc)] (CENABLE): Likewise.
34266 [IS_IN (librt)] (CDISABLE): Likewise.
34267 [IS_IN (librt)] (CDISABLE): Likewise.
34268 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34269 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
34271 (PSEUDO_END): Likewise.
34272 [IS_IN (libpthread)] (CENABLE): Likewise.
34273 [IS_IN (libpthread)] (CDISABLE): Likewise.
34274 [IS_IN (libc)] (CENABLE): Likewise.
34275 [IS_IN (libc)] (CENABLE): Likewise.
34276 [IS_IN (librt)] (CDISABLE): Likewise.
34277 [IS_IN (librt)] (CDISABLE): Likewise.
34278 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34279 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
34281 (PSEUDO_END): Likewise.
34282 [IS_IN (libpthread)] (CENABLE): Likewise.
34283 [IS_IN (libpthread)] (CDISABLE): Likewise.
34284 [IS_IN (libc)] (CENABLE): Likewise.
34285 [IS_IN (libc)] (CENABLE): Likewise.
34286 [IS_IN (librt)] (CDISABLE): Likewise.
34287 [IS_IN (librt)] (CDISABLE): Likewise.
34288 (SINGLE_THREAD_P): Likewise.
34289 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34291 (PSEUDO_END): Likewise.
34292 [IS_IN (libpthread)] (CENABLE): Likewise.
34293 [IS_IN (libpthread)] (CDISABLE): Likewise.
34294 [IS_IN (libc)] (CENABLE): Likewise.
34295 [IS_IN (libc)] (CENABLE): Likewise.
34296 [IS_IN (librt)] (CDISABLE): Likewise.
34297 [IS_IN (librt)] (CDISABLE): Likewise.
34298 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34299 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34301 (PSEUDO_END): Likewise.
34302 [IS_IN (libpthread)] (CENABLE): Likewise.
34303 [IS_IN (libpthread)] (CDISABLE): Likewise.
34304 [IS_IN (libc)] (CENABLE): Likewise.
34305 [IS_IN (libc)] (CENABLE): Likewise.
34306 [IS_IN (librt)] (CDISABLE): Likewise.
34307 [IS_IN (librt)] (CDISABLE): Likewise.
34308 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34309 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34310 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34311 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34314 (PSEUDO_END): Likewise.
34315 [IS_IN (libpthread)] (CENABLE): Likewise.
34316 [IS_IN (libpthread)] (CDISABLE): Likewise.
34317 [IS_IN (libc)] (CENABLE): Likewise.
34318 [IS_IN (libc)] (CENABLE): Likewise.
34319 [IS_IN (librt)] (CDISABLE): Likewise.
34320 [IS_IN (librt)] (CDISABLE): Likewise.
34321 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34324 (PSEUDO_END): Likewise.
34325 [IS_IN (libpthread)] (CENABLE): Likewise.
34326 [IS_IN (libpthread)] (CDISABLE): Likewise.
34327 [IS_IN (libc)] (CENABLE): Likewise.
34328 [IS_IN (libc)] (CENABLE): Likewise.
34329 [IS_IN (librt)] (CDISABLE): Likewise.
34330 [IS_IN (librt)] (CDISABLE): Likewise.
34331 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34332 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34334 (PSEUDO_END): Likewise.
34335 [IS_IN (libpthread)] (CENABLE): Likewise.
34336 [IS_IN (libpthread)] (CDISABLE): Likewise.
34337 [IS_IN (libc)] (CENABLE): Likewise.
34338 [IS_IN (libc)] (CENABLE): Likewise.
34339 [IS_IN (librt)] (CDISABLE): Likewise.
34340 [IS_IN (librt)] (CDISABLE): Likewise.
34341 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34344 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34345 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34347 (PSEUDO_END): Likewise.
34348 [IS_IN (libpthread)] (CENABLE): Likewise.
34349 [IS_IN (libpthread)] (CDISABLE): Likewise.
34350 [IS_IN (libc)] (CENABLE): Likewise.
34351 [IS_IN (libc)] (CENABLE): Likewise.
34352 [IS_IN (librt)] (CDISABLE): Likewise.
34353 [IS_IN (librt)] (CDISABLE): Likewise.
34354 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34355 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34357 (PSEUDO_END): Likewise.
34358 [IS_IN (libpthread)] (CENABLE): Likewise.
34359 [IS_IN (libpthread)] (CDISABLE): Likewise.
34360 [IS_IN (libc)] (CENABLE): Likewise.
34361 [IS_IN (libc)] (CENABLE): Likewise.
34362 [IS_IN (librt)] (CDISABLE): Likewise.
34363 [IS_IN (librt)] (CDISABLE): Likewise.
34364 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34366 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34368 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34370 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34372 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34374 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34377 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34378 middle and outer with size_t instead of int. Repleace %d and
34379 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34380 "MAX (outer, nchars - 64)" to support unsigned outer and
34381 nchars. Also exit loop when outer == 0.
34383 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34385 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34386 * include/signal.h (__sigsuspend_nocancel): Likewise.
34387 * include/time.h (__nanosleep_nocancel): Likewise.
34388 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34389 * login/utmp_file.c: Include non cancellable syscall header.
34390 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34393 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34395 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34396 .byte sequences with AVX512F instructions.
34397 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34398 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34399 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34400 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34402 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34405 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34406 Steve Ellcey <sellcey@cavium.com>
34408 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34409 Use PTR_REG macro in cmp instruction.
34411 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34413 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34414 Change the return type of the ifunc resolver to match the return
34415 type of the target function.
34417 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34419 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34420 (preadv64): Likewise.
34421 (pwrite64(: Likewise.
34422 (pwritev64): Likewise.
34424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34425 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34426 (LOAD_ARGS_0): Likewise.
34427 (LOAD_ARGS_1): Likewise.
34428 (LOAD_ARGS_2): Likewise.
34429 (LOAD_ARGS_3): Likewise.
34430 (LOAD_ARGS_4): Likewise.
34431 (LOAD_ARGS_5): Likewise.
34432 (LOAD_ARGS_6): Likewise.
34433 (LOAD_REGS_0): Likewise.
34434 (LOAD_REGS_1): Likewise.
34435 (LOAD_REGS_2): Likewise.
34436 (LOAD_REGS_3): Likewise.
34437 (LOAD_REGS_4): Likewise.
34438 (LOAD_REGS_5): Likewise.
34439 (LOAD_REGS_6): Likewise.
34440 (ASM_ARGS_0): Likewise.
34441 (ASM_ARGS_1): Likewise.
34442 (ASM_ARGS_2): Likewise.
34443 (ASM_ARGS_3): Likewise.
34444 (ASM_ARGS_4): Likewise.
34445 (ASM_ARGS_5): Likewise.
34446 (ASM_ARGS_6): Likewise.
34447 (LOAD_ARGS_TYPES_1): Likewise.
34448 (LOAD_ARGS_TYPES_2): Likewise.
34449 (LOAD_ARGS_TYPES_3): Likewise.
34450 (LOAD_ARGS_TYPES_4): Likewise.
34451 (LOAD_ARGS_TYPES_5): Likewise.
34452 (LOAD_ARGS_TYPES_6): Likewise.
34453 (LOAD_REGS_TYPES_1): Likewise.
34454 (LOAD_REGS_TYPES_2): Likewise.
34455 (LOAD_REGS_TYPES_3): Likewise.
34456 (LOAD_REGS_TYPES_4): Likewise.
34457 (LOAD_REGS_TYPES_5): Likewise.
34458 (LOAD_REGS_TYPES_6): Likewise.
34459 (TYPEFY): New define.
34460 (ARGIFY): Likewise.
34461 (internal_syscall0): Likewise.
34462 (internal_syscall1): Likewise.
34463 (internal_syscall2): Likewise.
34464 (internal_syscall3): Likewise.
34465 (internal_syscall4): Likewise.
34466 (internal_syscall5): Likewise.
34467 (internal_syscall6): Likewise.
34468 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34469 (INTERNAL_SYSCALL_NCS): Remove define.
34470 (internal_syscall1): Add define.
34472 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34474 * math/w_remainder_compat.c: Remove duplicate inclusion of
34475 math-svid-compat.h.
34476 * math/w_remainderf_compat.c: Likewise.
34477 * math/w_remainderl_compat.c: Likewise.
34479 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34483 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34486 * math/tgmath.h (__floating_type): Simplify definitions.
34487 (__real_integer_type): New macro.
34488 (__complex_integer_type): Likewise.
34489 (__expr_is_real): Likewise.
34490 (__tgmath_real_type_sub): Update comment to describe handling of
34492 (__tgmath_complex_type_sub): New macro.
34493 (__tgmath_complex_type): Likewise.
34494 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34495 (__TGMATH_CF128): Use __expr_is_real.
34496 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34498 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34499 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34500 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34503 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34505 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34507 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34509 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34512 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34513 nanosleep_not_cancel with __nanosleep_nocancel.
34514 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34515 (__nanosleep_nocancel): New macro.
34516 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34518 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34520 (__nanosleep_nocancel): New prototype.
34522 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34523 pause_not_cancel with __pause_nocancel.
34524 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34525 (__pause_nocancel): New macro.
34526 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34528 (__pause_nocancel): New prototype.
34529 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34531 2017-08-22 Martin Sebor <msebor@redhat.com>
34533 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34534 to return a pointer to the same type as the target function.
34536 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34540 * include/printf.h (__printf_fphex): Add attribute_hidden.
34541 (__guess_grouping): New prototype.
34542 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34543 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34544 libc_hidden_proto and libc_hidden_def.
34545 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34546 (__vstrfmon_l): Remove the third argument passed to
34549 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34551 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34552 definition for issignaling that does not rely on __MATH_TG,
34553 since __MATH_TG uses __builtin_types_compatible_p, which is only
34554 available in C mode.
34555 (CFLAGS-test-math-issignaling.cc): New variable.
34556 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34557 * math/test-math-issignaling.cc: New test for C++ implementation
34558 of type-generic issignaling.
34559 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34560 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34561 options of test-math-issignaling on powerpc64le.
34563 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34565 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34567 (hidden_proto): Likewise.
34568 (hidden_tls_proto): Likewise.
34569 (__hidden_proto): Likewise.
34571 2017-08-22 Florian Weimer <fweimer@redhat.com>
34573 math: Statically link tests of internal functionality.
34574 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34576 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34577 (gmp-objs): Remove assignment.
34578 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34580 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34583 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34585 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34587 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34590 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34591 variable definitions above inclusion of ../Rules.
34593 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34595 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34596 case calling __builtin_unreachable.
34598 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34600 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34601 __waitpid_nocancel.
34602 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34603 (__waitpid_nocancel): New macro.
34604 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34606 (__waitpid_nocancel): Replace macro with a function.
34607 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34610 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34612 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34613 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34615 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34616 __writev_nocancel_nostatus.
34617 (write_call_graph): Likewise.
34618 (write_bb_counts): Likewise.
34619 * resolv/herror.c (herror): Likewise.
34620 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34622 (__writev_nocancel_nostatus): New macro.
34623 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34625 (__writev_nocancel_nostatus): New function.
34627 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34630 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34632 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34634 (hidden_proto): Likewise.
34635 (hidden_tls_proto): Likewise.
34636 (__hidden_proto): Likewise.
34639 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34640 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34651 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34652 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34653 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34654 GLIBC_2.0 sqrtl symbol.
34656 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34657 [__USE_MISC] (_LIB_VERSION): Likewise.
34658 [__USE_MISC] (struct exception): Likewise.
34659 [__USE_MISC] (matherr): Likewise.
34660 [__USE_MISC] (DOMAIN): Likewise.
34661 [__USE_MISC] (SING): Likewise.
34662 [__USE_MISC] (OVERFLOW): Likewise.
34663 [__USE_MISC] (UNDERFLOW): Likewise.
34664 [__USE_MISC] (TLOSS): Likewise.
34665 [__USE_MISC] (PLOSS): Likewise.
34666 [__USE_MISC] (HUGE): Likewise.
34667 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34668 * math/math-svid-compat.h: New file.
34669 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34671 * include/math.h [!_ISOMAC] (__matherr): Remove.
34672 * manual/arith.texi (FP Exceptions): Do not document matherr.
34673 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34674 (tests-internal): New variable.
34675 (install-lib): Do not add libieee.a.
34676 (non-lib.a): Likewise.
34677 (extra-objs): Do not add libieee.a and ieee-math.o.
34678 (CPPFLAGS-s_lib_version.c): Remove variable.
34679 ($(objpfx)libieee.a): Remove rule.
34680 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34681 * math/ieee-math.c: Remove.
34682 * math/libm-test-support.c (matherr): Remove.
34683 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34684 and license notices. Include <math-svid-compat.h> and
34686 (matherr): Undefine as macro. Use compat_symbol_reference.
34687 (_LIB_VERSION): Likewise.
34688 * math/test-matherr-2.c: New file.
34689 * math/test-matherr-3.c: Likewise.
34690 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34692 (__kernel_standard_f): Likewise.
34693 (__kernel_standard_l): Likewise.
34694 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34695 <math_private.h>. Include <math-svid-compat.h>.
34696 (_LIB_VERSION): Undefine as macro.
34697 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34698 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34699 [LIBM_SVID_COMPAT], use compat_symbol.
34700 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34701 <math_private.h>. Include <math-svid-compat.h>.
34702 (matherr): Undefine as macro.
34703 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34705 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34706 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34707 compat_symbol_reference.
34708 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34709 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34710 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34711 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34712 (MATHERR_D): Remove declaration.
34713 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34714 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34715 [LIBM_BUILD] (pmatherrf): Likewise.
34716 [LIBM_BUILD] (pmatherr): Likewise.
34717 [LIBM_BUILD] (pmatherrl): Likewise.
34718 (DOMAIN): Likewise.
34720 (OVERFLOW): Likewise.
34721 (UNDERFLOW): Likewise.
34724 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34725 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34727 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34728 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34730 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34731 * math/w_acos_compat.c: Likewise.
34732 * math/w_acosf_compat.c: Likewise.
34733 * math/w_acosh_compat.c: Likewise.
34734 * math/w_acoshf_compat.c: Likewise.
34735 * math/w_acoshl_compat.c: Likewise.
34736 * math/w_acosl_compat.c: Likewise.
34737 * math/w_asin_compat.c: Likewise.
34738 * math/w_asinf_compat.c: Likewise.
34739 * math/w_asinl_compat.c: Likewise.
34740 * math/w_atan2_compat.c: Likewise.
34741 * math/w_atan2f_compat.c: Likewise.
34742 * math/w_atan2l_compat.c: Likewise.
34743 * math/w_atanh_compat.c: Likewise.
34744 * math/w_atanhf_compat.c: Likewise.
34745 * math/w_atanhl_compat.c: Likewise.
34746 * math/w_cosh_compat.c: Likewise.
34747 * math/w_coshf_compat.c: Likewise.
34748 * math/w_coshl_compat.c: Likewise.
34749 * math/w_exp10_compat.c: Likewise.
34750 * math/w_exp10f_compat.c: Likewise.
34751 * math/w_exp10l_compat.c: Likewise.
34752 * math/w_exp2_compat.c: Likewise.
34753 * math/w_exp2f_compat.c: Likewise.
34754 * math/w_exp2l_compat.c: Likewise.
34755 * math/w_fmod_compat.c: Likewise.
34756 * math/w_fmodf_compat.c: Likewise.
34757 * math/w_fmodl_compat.c: Likewise.
34758 * math/w_hypot_compat.c: Likewise.
34759 * math/w_hypotf_compat.c: Likewise.
34760 * math/w_hypotl_compat.c: Likewise.
34761 * math/w_j0_compat.c: Likewise.
34762 * math/w_j0f_compat.c: Likewise.
34763 * math/w_j0l_compat.c: Likewise.
34764 * math/w_j1_compat.c: Likewise.
34765 * math/w_j1f_compat.c: Likewise.
34766 * math/w_j1l_compat.c: Likewise.
34767 * math/w_jn_compat.c: Likewise.
34768 * math/w_jnf_compat.c: Likewise.
34769 * math/w_jnl_compat.c: Likewise.
34770 * math/w_lgamma_main.c: Likewise.
34771 * math/w_lgamma_r_compat.c: Likewise.
34772 * math/w_lgammaf_main.c: Likewise.
34773 * math/w_lgammaf_r_compat.c: Likewise.
34774 * math/w_lgammal_main.c: Likewise.
34775 * math/w_lgammal_r_compat.c: Likewise.
34776 * math/w_log10_compat.c: Likewise.
34777 * math/w_log10f_compat.c: Likewise.
34778 * math/w_log10l_compat.c: Likewise.
34779 * math/w_log2_compat.c: Likewise.
34780 * math/w_log2f_compat.c: Likewise.
34781 * math/w_log2l_compat.c: Likewise.
34782 * math/w_log_compat.c: Likewise.
34783 * math/w_logf_compat.c: Likewise.
34784 * math/w_logl_compat.c: Likewise.
34785 * math/w_pow_compat.c: Likewise.
34786 * math/w_powf_compat.c: Likewise.
34787 * math/w_powl_compat.c: Likewise.
34788 * math/w_remainder_compat.c: Likewise.
34789 * math/w_remainderf_compat.c: Likewise.
34790 * math/w_remainderl_compat.c: Likewise.
34791 * math/w_scalb_compat.c: Likewise.
34792 * math/w_scalbf_compat.c: Likewise.
34793 * math/w_scalbl_compat.c: Likewise.
34794 * math/w_sinh_compat.c: Likewise.
34795 * math/w_sinhf_compat.c: Likewise.
34796 * math/w_sinhl_compat.c: Likewise.
34797 * math/w_sqrt_compat.c: Likewise.
34798 * math/w_sqrtf_compat.c: Likewise.
34799 * math/w_sqrtl_compat.c: Likewise.
34800 * math/w_tgamma_compat.c: Likewise.
34801 * math/w_tgammaf_compat.c: Likewise.
34802 * math/w_tgammal_compat.c: Likewise.
34803 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34804 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34805 * sysdeps/ieee754/k_standard.c: Likewise.
34806 * sysdeps/ieee754/k_standardf.c: Likewise.
34807 * sysdeps/ieee754/k_standardl.c: Likewise.
34808 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34809 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34810 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34811 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34812 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34813 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34814 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34815 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34816 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34821 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34822 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34823 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34824 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34826 2017-08-21 Florian Weimer <fweimer@redhat.com>
34829 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34830 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34831 Move before inclusion of ../Rules.
34833 2017-08-21 Florian Weimer <fweimer@redhat.com>
34836 * assert/assert.h (assert): Use static_cast (bool) for C++.
34837 Use the ternary operator in the warning branch for GNU C.
34838 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34839 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34840 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34841 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34842 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34844 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34847 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34848 (__syscall_clock_gettime): Add attribute_hidden.
34849 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34850 (__start_context): Likewise.
34852 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34854 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34856 (hidden_proto): Likewise.
34857 (hidden_tls_proto): Likewise.
34858 (__hidden_proto): Likewise.
34860 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34862 * include/libc-symbols.h (attribute_hidden): Enable hidden
34863 visibility in libc.a compiled with PIE.
34865 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34868 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34869 Add attribute_hidden.
34871 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34874 * Makerules (all-nonlib): Add $(others-extras).
34875 * catgets/Makefile (others-extras): New.
34876 * elf/Makefile (others-extras): Likewise.
34877 * nss/Makefile (others-extras): Likewise.
34879 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34882 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34883 * elf/dl-open.c: Include <libc-internal.h>.
34884 (__libc_multiple_libcs): Removed.
34885 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34887 * include/libc-internal.h (__libc_multiple_libcs): New.
34888 * misc/sbrk.c: Include <libc-internal.h>.
34889 (__libc_multiple_libcs): Removed.
34891 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34894 * grp/initgroups.c (__nss_group_database): Removed.
34895 (__nss_initgroups_database): Likewise.
34896 * nscd/gai.c (__nss_hosts_database): Likewise.
34897 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34898 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34899 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34900 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34901 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34902 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34904 * nss/nsswitch.c (__nss_database_custom): Define only if
34905 USE_NSCD is defined.
34906 (__nss_configure_lookup): Use __nss_database_custom only if
34907 USE_NSCD is defined.
34908 * nss/nsswitch.h (__nss_database_custom): Declare only if
34909 USE_NSCD is defined. Add attribute_hidden.
34910 (__nss_setent): Add attribute_hidden.
34911 (__nss_endent): Likewise.
34912 (__nss_getent_r): Likewise.
34913 (__nss_getent): Likewise.
34914 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34916 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34919 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34920 libc_hidden_proto and libc_hidden_def.
34922 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34925 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34926 Add libc_hidden_proto.
34927 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34928 Add libc_hidden_def.
34930 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34933 * gmon/Makefile (routines): Remove bb_init_func and
34935 (elide-routines.os): Removed.
34936 * gmon/bb_exit_func.c: Likewise.
34937 * gmon/bb_init_func.c: Likewise.
34938 * include/sys/gmon.h (__bb): Likewise.
34939 (__bb_init_func): Likewise.
34940 (__bb_exit_func): Likewise.
34941 * sysdeps/alpha/bb_init_func.S: Likewise.
34943 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34945 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34946 * include/setjmp.h (____longjmp_chk): Here. Add
34949 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34952 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34954 (__strspn_sse2): Likewise.
34956 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34958 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34959 (close_not_cancel_no_status): Likewise.
34960 (__close_nocancel): New macro.
34961 (__close_nocancel_nostatus): Likewise.
34962 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34964 (close_not_cancel): Likewise.
34965 (close_not_cancel_no_status): Likewise.
34966 (__close_nocancel): New prototype.
34967 (__close_nocancel_nostatus): New function.
34968 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34969 * catgets/open_catalog.c (__open_catalog): Replace
34970 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34971 * gmon/gmon.c (write_gmon): Likewise.
34972 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34973 * intl/loadmsgcat.c (close): Likewise.
34974 * io/ftw.c (open_dir_stream): Likewise.
34975 (ftw_startup): Likewise.
34976 * libio/fileops.c (_IO_file_open): Likewise.
34977 (_IO_file_close_mmap): Likewise.
34978 (_IO_file_close): Likewise.
34979 * libio/iopopen.c (_IO_dup2): Likewise.
34980 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34981 * locale/loadlocale.c (_nl_load_locale): Likewise.
34982 * login/utmp_file.c (pututline_file): Likewise.
34983 (endutent_file): Likewise.
34984 * misc/daemon.c (daemon): Likewise.
34985 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34986 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34987 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34988 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34989 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34990 * nscd/nscd_helper.c (open_socket): Likewise.
34991 (__nscd_open_socket): Likewise.
34992 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34993 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34994 (__nscd_innetgr): Likewise.
34995 * nss/nss_db/db-open.c (internal_setent): Likewise.
34996 * resolv/res-close.c (__res_iclose): Likewise.
34997 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34998 * sysdeps/posix/closedir.c (__closedir): Likewise.
34999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35000 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35001 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35002 (opendir_tail): Likewise.
35003 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35004 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35005 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35006 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35007 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35008 (gethostid): Likewise.
35009 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35013 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35014 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35015 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35017 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35018 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35019 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35021 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35022 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35024 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35026 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35027 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35028 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35031 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35032 (openat_not_cancel_3): Likewise.
35033 (openat64_not_cancel_3): Likewise).
35034 (openat_not_cancel_3): Likewise).
35035 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35037 (openat_not_cancel_3): Likewise.
35038 (openat64_not_cancel): Likewise.
35039 (openat64_not_cancel_3): Likewise.
35040 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35041 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35042 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35043 __open{64}_nocancel.
35044 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35045 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35046 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35048 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35051 * include/argz.h (__argz_create_sep): New function prototype.
35052 (__argz_append): Likewise.
35053 (__argz_add): Likewise.
35054 (__argz_add_sep): Likewise.
35055 (__argz_delete): Likewise.
35056 (__argz_insert): Likewise.
35057 (__argz_replace): Likewise.
35058 * string/argz.h (__argz_create_sep): Removed.
35059 (__argz_append): Likewise.
35060 (__argz_add): Likewise.
35061 (__argz_add_sep): Likewise.
35062 (__argz_delete): Likewise.
35063 (__argz_insert): Likewise.
35064 (__argz_replace): Likewise.
35066 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35068 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
35069 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
35070 (GNU_PROPERTY_STACK_SIZE): Likewie.
35071 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
35072 (GNU_PROPERTY_LOPROC): Likewise.
35073 (GNU_PROPERTY_HIPROC): Likewise.
35074 (GNU_PROPERTY_LOUSER): Likewise.
35075 (GNU_PROPERTY_HIUSER): Likewise.
35076 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
35077 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
35078 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
35079 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
35080 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
35081 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
35082 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
35083 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
35084 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
35085 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
35086 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
35087 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
35088 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
35089 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
35090 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
35091 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
35092 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
35093 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
35094 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
35095 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
35096 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
35097 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
35098 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
35100 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35102 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
35105 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35108 * math/math.h (isinf): Check if in C or C++ mode before using
35109 __builtin_types_compatible_p, since this is a C mode feature.
35111 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35113 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
35114 (__write_nocancel): New macro.
35115 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
35116 Rewrite as a function prototype.
35117 (write_not_cancel): Remove macro.
35118 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
35119 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
35120 (write_gmon): Likewise.
35121 * libio/fileops.c (_IO_new_file_write): Likewise.
35122 * login/utmp_file.c (pututline_file): Likewise.
35123 (updwtmp_file): Likewise.
35124 * stdio-common/psiginfo.c (psiginfo): Likewise.
35125 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35126 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35127 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35129 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35132 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
35133 (__read_nocancel): New macro.
35134 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35136 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
35138 (__read_nocancel): New prototype.
35139 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
35140 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
35141 with __read_nocancel.
35142 * intl/loadmsgcat.c (read): Likewise.
35143 * libio/fileops.c (_IO_file_read): Likewise.
35144 * locale/loadlocale.c (_nl_load_locale): Likewise.
35145 * login/utmp_file.c (getutent_r_file): Likewise.
35146 (internal_getut_r): Likewise.
35147 (getutline_r_file): Likewise.
35148 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35149 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35150 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35151 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35153 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
35154 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35155 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35157 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35159 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35161 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35163 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35165 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35168 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
35169 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
35172 2017-08-17 DJ Delorie <dj@redhat.com>
35174 * bug17079.c: Update to new test harness.
35175 * test-digits-dots.c: Likewise.
35176 * test-netdb.c: Likewise.
35177 * tst-field.c: Likewise.
35178 * tst-nss-getpwent.c: Likewise.
35179 * tst-nss-static.c: Likewise.
35180 * tst-nss-test1.c: Likewise.
35181 * tst-nss-test2.c: Likewise.
35182 * tst-nss-test3.c: Likewise.
35183 * tst-nss-test4.c: Likewise.
35184 * tst-nss-test5.c: Likewise.
35186 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35188 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
35189 (open_not_cancel_2): Likewise.
35190 (open_nocancel): New macro.
35191 (open64_nocancel): Likewise.
35192 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
35193 (open_not_cancel_2): Likewise.
35194 (__open_nocancel): New prototype.
35195 (__open64_nocancel): Likewise.
35196 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35198 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
35199 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
35200 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
35201 with __open_nocancel.
35202 * csu/check_fds.c (check_one_fd): Likewise.
35203 * gmon/gmon.c (write_gmon): Likewise.
35204 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
35205 * intl/loadmsgcat.c (open): Likewise.
35206 * libio/fileops.c (_IO_file_open): Likewise.
35207 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35208 * locale/loadlocale.c (_nl_load_locale): Likewise.
35209 * login/utmp_file.c (setutent_file): Likewise.
35210 * misc/daemon.c (daemon): Likewise.
35211 * nss/nss_db/db-open.c (internal_setent): Likewise.
35212 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35213 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
35214 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35215 (__opendir): Likewise.
35216 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35217 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35218 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35219 (gethostid): Likewise.
35220 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35221 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35224 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
35225 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35226 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35228 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35230 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35232 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35234 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35236 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35238 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35239 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35241 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
35243 * benchtests/bench-skeleton.c (main): Add support for
35244 latency benchmarking.
35245 * benchtests/scripts/bench.py: Add support for latency benchmarking.
35247 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
35249 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
35250 the startup object.
35252 2017-08-17 Florian Weimer <fweimer@redhat.com>
35254 * include/sys/socket.h (__opensock): Remove internal_function.
35255 * socket/opensock.c (__opensock): Likewise.
35256 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
35258 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35261 * signal/bits/types/__sigval_t.h: New file.
35262 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
35263 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
35264 and define sigval_t using __sigval_t.
35265 * include/bits/types/__sigval_t.h: New file.
35266 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
35267 instead of <bits/types/__sigval_t.h>.
35268 (struct sigevent): Use __sigval_t instead of sigval_t.
35269 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
35270 instead of <bits/types/__sigval_t.h>.
35271 (siginfo_t): Use __sigval_t instead of sigval_t.
35272 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
35273 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35274 (struct sigevent): Use __sigval_t instead of sigval_t.
35275 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
35276 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35277 (siginfo_t): Use __sigval_t instead of sigval_t.
35278 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
35280 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35282 * NEWS: Remove "[Add new features here]" for 2.27.
35284 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35286 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35289 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35291 * NEWS: Mention x86-64 FMA optimization.
35293 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35296 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35298 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35299 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35300 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35302 2017-08-16 Andreas Schwab <schwab@suse.de>
35306 * elf/ldd.bash.in: Never run file directly.
35308 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35311 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35312 (L(SP_INF_0)): Likewise.
35314 2017-08-15 Florian Weimer <fweimer@redhat.com>
35316 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35319 2017-08-15 Florian Weimer <fweimer@redhat.com>
35321 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35322 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35323 BROKEN_THREAD_SIGNALS code.
35324 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35325 request_list): Remove caller_pid member used for
35326 BROKEN_THREAD_SIGNALS.
35327 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35328 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35329 Remove BROKEN_THREAD_SIGNALS support.
35330 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35331 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35333 2017-08-15 Florian Weimer <fweimer@redhat.com>
35335 * gmon/Makefile (tests): Add tst-gmon.
35336 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35338 (tests-special): Add tst-gmon-prof.out.
35339 (tst-gmon.out): Depend on clean-tst-gmon-data.
35340 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35341 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35342 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35344 * aclocal.m4 (GPROF): Set and substitute.
35345 * config.amke.in (GPROF): Set.
35346 * configure: Regenerate.
35348 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35350 * elf/elf.h A (NT_PPC_TAR): New macro.
35351 (NT_PPC_PPR): Likewise.
35352 (NT_PPC_DSCR): Likewise.
35353 (NT_PPC_EBB): Likewise.
35354 (NT_PPC_PMU): Likewise.
35355 (NT_PPC_TM_CGPR): Likewise.
35356 (NT_PPC_TM_CFPR): Likewise.
35357 (NT_PPC_TM_CVMX): Likewise.
35358 (NT_PPC_TM_CVSX): Likewise.
35359 (NT_PPC_TM_SPR): Likewise.
35360 (NT_PPC_TM_CTAR): Likewise.
35361 (NT_PPC_TM_CPPR): Likewise.
35362 (NT_PPC_TM_CDSCR): Likewise.
35364 2017-08-15 Florian Weimer <fweimer@redhat.com>
35366 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35367 regparm (2) instead of internal_function.
35368 (_MCOUNT_DECL): Adjust.
35370 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35372 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35373 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35375 2017-08-14 Joseph Myers <joseph@codesourcery.com>
35377 * conform/data/sys/wait.h-data (si_value): Do not expect for
35380 2017-08-14 Florian Weimer <fweimer@redhat.com>
35383 NSS: Create stubs for accidentally exported lookup functions.
35384 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35385 Remove declaration.
35386 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35387 (ether_hostton): Call __nss_ethers_lookup2 instead.
35388 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35389 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35390 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35391 (setup): Call __nss_netgroup_lookup2 instead.
35392 * nss/Makefile (routines): Add compat-lookup.
35393 * nss/Versions (GLIBC_2.27): Add symbol version.
35394 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35395 (DB_COMPAT_FCT): Remove.
35396 * nss/compat-lookup.c: New file.
35397 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35398 from databases.def.
35399 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35400 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35401 (netname2user): Call __nss_publickey_lookup2 instead.
35402 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35403 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35406 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35407 Sergei Trofimovich <slyfox@inbox.ru>
35410 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35411 Rename to MMAP2_PAGE_UNIT.
35412 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35413 __OFF_T_MATCHES_OFF64_T is not defined.
35414 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35416 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35417 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35419 2017-08-14 Florian Weimer <fweimer@redhat.com>
35421 i386: Do not set internal_function.
35422 * config.h.in (USE_REGPARMS, internal_function): Remove.
35423 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35424 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35426 2017-08-14 Florian Weimer <fweimer@redhat.com>
35428 * elf/dl-init.c (_dl_init): Remove internal_function.
35429 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35430 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35432 2017-08-14 Florian Weimer <fweimer@redhat.com>
35434 * elf/rtld.c (_dl_start): Remove internal_function.
35435 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35438 2017-08-14 Florian Weimer <fweimer@redhat.com>
35440 * elf/dl-fini.c (_dl_fini): Remove internal_function
35441 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35443 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35445 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35446 (bit_cpu_SHSTK): Likewise.
35447 (index_cpu_IBT): Likewise.
35448 (index_cpu_SHSTK): Likewise.
35449 (reg_IBT): Likewise.
35450 (reg_SHSTK): Likewise.
35451 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35452 Handle index_cpu_IBT and index_cpu_SHSTK.
35454 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35457 * po/fr.po: Fix spelling mistake.
35459 2017-08-13 Florian Weimer <fweimer@redhat.com>
35461 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35462 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35463 (_dl_catch_error, _dl_receive_error): Likewise.
35464 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35465 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35466 (_dl_deallocate_tls): Likewise.
35467 * include/dlfcn.h (_dl_addr): Likewise.
35468 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35469 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35470 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35473 2017-08-13 Florian Weimer <fweimer@redhat.com>
35475 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35476 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35478 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35480 2017-08-13 Florian Weimer <fweimer@redhat.com>
35482 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35484 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35485 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35486 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35487 internal_function from _dl_make_stack_executable_hook member.
35488 (_dl_make_stack_executable): Remove internal_function.
35489 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35491 * sysdeps/unix/sysv/linux/dl-execstack.c
35492 (_dl_make_stack_executable): Likewise.
35494 2017-08-13 Florian Weimer <fweimer@redhat.com>
35496 * sysdeps/unix/sysv/linux/netlinkaccess.h
35497 (__netlink_assert_response): Remove internal_function.
35498 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35499 (__netlink_assert_response): Likewise.
35501 2017-08-13 Florian Weimer <fweimer@redhat.com>
35503 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35505 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35507 2017-08-13 Florian Weimer <fweimer@redhat.com>
35509 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35511 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35512 * inet/netgroup.h (__internal_setnetgrent)
35513 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35514 * inet/getnetgrent_r.c (__internal_setnetgrent)
35515 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35516 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35517 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35518 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35519 * nss/nsswitch.h (db_lookup_function): Likewise.
35521 2017-08-13 Florian Weimer <fweimer@redhat.com>
35523 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35524 Remove internal_function.
35525 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35526 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35527 message argument on the stack.
35528 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35531 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35533 Adapt test case data to the changes in the thousands
35537 * localedata/tst-langinfo.sh: Adapt test case data.
35538 * stdlib/tst-strfmon_l.c: Likewise.
35539 * stdlib/tst-strtod4.c: Likewise.
35540 * stdlib/tst-strtod5i.c: Likewise.
35542 2017-08-11 Florian Weimer <fweimer@redhat.com>
35545 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35546 Suppress pedantic warning resulting from statement expression.
35547 (__ASSERT_FUNCTION): Add missing __extension__.
35549 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35551 * benchtests/bench-memmove-large.c: Print output in JSON
35553 * benchtests/bench-memmove.c: Likewise.
35555 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35556 * benchtests/bench-memchr.c (do_one_test): Likewise.
35557 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35558 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35559 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35560 * benchtests/bench-memmove.c (do_one_test): Likewise.
35561 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35562 * benchtests/bench-memset.c (do_one_test): Likewise.
35563 * benchtests/bench-string.h (test_init): Remove memsets.
35565 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35568 (Computing the Width of an Integer Data Type): Rename section to
35569 "Width of an Integer Type". Remove inaccurate statement regarding
35570 lack of C language facilities for determining width of integer
35571 types, and reorder content to improve flow and context of
35574 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35576 * lang.texi (va_copy): Change standard from ISO to C99.
35577 (__va_copy): Add standard and header annotation.
35578 Update description for clarity of origins and current use.
35580 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35583 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35584 xssqrtqp requires operands to be in Vector Registers
35585 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35586 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35587 (__ieee754_sqrtf128): Likewise.
35589 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35591 * sysdeps/aarch64/memcmp.S (memcmp):
35592 Rewrite of optimized memcmp.
35594 2017-08-10 Florian Weimer <fweimer@redhat.com>
35596 Introduce ld.so exceptions.
35597 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35598 (_dl_exception_create, _dl_exception_create_format)
35599 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35600 (_dl_catch_exception): Declare.
35601 (_dl_catch_error): Update comment.
35602 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35603 errstring, malloced members with exception member.
35604 (_dl_out_of_memory): Remove.
35605 (fatal_error): New function, extracted from _dl_signal_error.
35606 (_dl_signal_exception, _dl_signal_cexception): New functions.
35607 (_dl_signal_error): Call _dl_exception_create to allocate an
35609 (_dl_catch_exception): New function, based on _dl_catch_error.
35610 (_dl_catch_error): Implement using _dl_catch_exception.
35611 * elf/dl-exception.c: New file.
35612 * elf/Makefile (dl-routines): Add dl-exception.
35613 (elide-routines.os): Likewise.
35614 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35615 _dl_exception_create_format, _dl_exception_free.
35616 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35617 _dl_signal_exception.
35618 * elf/dl-lookup.c (make_string): Remove.
35619 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35620 _dl_signal_cexception, _dl_exception_free.
35621 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35622 _dl_signal_exception.
35623 * elf/dl-sym.c (do_sym): Likewise.
35624 * elf/dl-version.c (make_string): Remove.
35625 (match_symbol): Use _dl_exception_create_format,
35626 _dl_signal_cexception, _dl_exception_free.
35627 (_dl_check_map_versions): Likewise.
35628 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35629 _dl_catch_exception.
35630 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35631 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35632 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35633 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35634 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35635 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35636 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35637 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35639 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35646 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35647 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35648 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35650 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35652 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35654 2017-08-10 Florian Weimer <fweimer@redhat.com>
35656 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35657 attribute_hidden, internal_function.
35658 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35661 2017-08-10 Florian Weimer <fweimer@redhat.com>
35663 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35664 function which calls __builtin_unreachable.
35666 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35668 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35669 Indian monetary formatting
35670 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35673 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35675 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35676 Fix typo in comment.
35679 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35680 PTRACE_SEIZE_DEVEL): Remove.
35681 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35682 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35684 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35685 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35687 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35689 * posix/bits/types.h (__qaddr_t): Remove.
35692 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35693 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35695 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35696 (ucontext_t): Use __ctx with uc_flags.
35697 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35698 (__ctxt): Likewise.
35699 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35701 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35702 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35704 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35705 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35707 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35709 (ucontext_t): Use __ctx with uc_flags.
35710 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35711 (ucontext_t): Use __ctx with uc_flags.
35712 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35713 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35714 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35715 (ucontext_t): Use __ctx with uc_flags.
35716 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35717 undefine further down.
35718 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35720 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35721 undefine further down.
35722 (ucontext_t): Use __ctx with uc_flags.
35723 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35724 undefine further down.
35725 (ucontext_t): Use __ctx with uc_flags.
35726 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35727 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35728 Rename uc_pad to __glibc_reserved1.
35729 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35730 undefine further down.
35731 (ucontext_t): Use __ctx with uc_flags.
35732 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35734 (ucontext_t): Use __ctx with uc_flags.
35735 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35736 __ctx with uc_flags.
35737 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35738 (ucontext_t): Use __ctx with uc_flags.
35739 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35740 __ctx with uc_flags.
35742 2017-08-09 Florian Weimer <fweimer@redhat.com>
35745 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35746 before early return.
35748 2017-08-09 Andreas Schwab <schwab@suse.de>
35751 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35755 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35756 tst-compat-forwarder.
35757 (modules-names): Add tst-compat-forwarder-mod.
35758 ($(objpfx)tst-compat-forwarder): Depend on
35759 $(objpfx)tst-compat-forwarder-mod.so.
35760 * nptl/tst-compat-forwarder.c: New file.
35761 * nptl/tst-compat-forwarder-mod.c: New file.
35763 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35765 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35768 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35769 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35771 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35773 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35774 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35775 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35776 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35778 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35781 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35784 * manual/setjmp.texi (getcontex): Document uc_stack value
35785 compatibility differences.
35787 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35789 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35790 (old_malloc_hook): Likewise.
35791 (old_memalign_hook): Likewise.
35792 (old_realloc_hook): Likewise.
35793 (struct hdr): Likewise.
35795 (freehook): Likewise.
35796 (mallochook): Likewise.
35797 (memalignhook): Likewise.
35798 (reallochook): Likewise.
35799 (mprobe): Likewise.
35800 * malloc/mtrace.c (mallwatch): Likewise.
35801 (tr_old_free_hook): Likewise.
35802 (tr_old_malloc_hook): Likewise.
35803 (tr_old_realloc_hook): Likewise.
35804 (tr_old_memalign_hook): Likewise.
35805 (tr_where): Likewise.
35806 (lock_and_info): Likewise.
35807 (tr_freehook): Likewise.
35808 (tr_mallochook): Likewise.
35809 (tr_reallochook): Likewise.
35810 (tr_memalignhook): Likewise.
35811 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35812 * misc/mmap.c (__mmap): Likewise.
35813 * misc/mmap64.c (__mmap64): Likewise.
35814 * misc/mprotect.c (__mprotect): Likewise.
35815 * misc/msync.c (msync): Likewise.
35816 * misc/munmap.c (__munmap): Likewise.
35817 * posix/posix_madvise.c (posix_madvise): Likewise.
35818 * socket/send.c (__send): Likewise.
35819 * socket/sendto.c (__sendto): Likewise.
35820 * socket/setsockopt.c (__setsockopt): Likewise.
35821 * string/memcmp.c (__ptr_t): Remove macro.
35822 (MEMCMP): Use void * instead of ptr_t.
35823 * string/memrchr.c (__ptr_t): Remove macro.
35824 (__memrchr): Use void * instead of ptr_t.
35825 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35826 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35827 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35828 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35829 * sysdeps/mach/msync.c (msync): Likewise.
35830 * sysdeps/mach/munmap.c (__munmap): Likewise.
35831 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35833 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35834 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35835 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35836 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35837 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35838 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35839 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35840 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35842 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35843 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35844 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35845 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35846 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35847 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35848 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35849 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35850 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35852 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35853 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35854 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35855 (MEMCMP): Use void * instead of ptr_t.
35856 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35857 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35859 2017-08-08 Florian Weimer <fweimer@redhat.com>
35861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35864 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35867 * csu/libc-tls.c: Include <startup.h> first.
35868 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35869 * elf/dl-tunables.c: Include <startup.h> first.
35870 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35871 * sysdeps/generic/startup.h: New file.
35872 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35873 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35874 (I386_USE_SYSENTER): New. Defined to 0.
35876 2017-08-08 Andreas Schwab <schwab@suse.de>
35879 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35880 * nptl/pt-system.c (system): Likewise.
35882 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35885 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35887 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35888 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35889 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35890 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35891 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35892 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35893 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35895 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35898 * bits/sigaction.h (struct sigaction): Define sa_handler and
35899 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35900 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35901 [__USE_XOPEN_EXTENDED].
35902 (SA_RESTART): Likewise.
35903 (SA_NODEFER): Likewise.
35904 (SA_RESETHAND): Likewise.
35905 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35906 (struct sigaction): Define sa_handler and sa_sigaction using union
35907 also for [__USE_XOPEN_EXTENDED].
35908 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35909 [__USE_XOPEN_EXTENDED].
35910 (SA_RESTART): Likewise.
35911 (SA_NODEFER): Likewise.
35912 (SA_RESETHAND): Likewise.
35913 * sysdeps/unix/sysv/linux/bits/sigaction.h
35914 (struct sigaction): Define sa_handler and sa_sigaction using union
35915 also for [__USE_XOPEN_EXTENDED].
35916 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35917 [__USE_XOPEN_EXTENDED].
35918 (SA_RESTART): Likewise.
35919 (SA_NODEFER): Likewise.
35920 (SA_RESETHAND): Likewise.
35921 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35922 (struct sigaction): Define sa_handler and sa_sigaction using union
35923 also for [__USE_XOPEN_EXTENDED].
35924 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35925 [__USE_XOPEN_EXTENDED].
35926 (SA_RESTART): Likewise.
35927 (SA_NODEFER): Likewise.
35928 (SA_RESETHAND): Likewise.
35929 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35930 (struct sigaction): Define sa_handler and sa_sigaction using union
35931 also for [__USE_XOPEN_EXTENDED].
35932 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35933 [__USE_XOPEN_EXTENDED].
35934 (SA_RESTART): Likewise.
35935 (SA_NODEFER): Likewise.
35936 (SA_RESETHAND): Likewise.
35937 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35938 (struct sigaction): Define sa_handler and sa_sigaction using union
35939 also for [__USE_XOPEN_EXTENDED].
35940 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35941 [__USE_XOPEN_EXTENDED].
35942 (SA_RESTART): Likewise.
35943 (SA_NODEFER): Likewise.
35944 (SA_RESETHAND): Likewise.
35945 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35946 (struct sigaction): Define sa_handler and sa_sigaction using union
35947 also for [__USE_XOPEN_EXTENDED].
35948 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35949 [__USE_XOPEN_EXTENDED].
35950 (SA_RESTART): Likewise.
35951 (SA_NODEFER): Likewise.
35952 (SA_RESETHAND): Likewise.
35953 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35954 (struct sigaction): Define sa_handler and sa_sigaction using union
35955 also for [__USE_XOPEN_EXTENDED].
35956 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35957 [__USE_XOPEN_EXTENDED].
35958 (SA_RESTART): Likewise.
35959 (SA_NODEFER): Likewise. Define directly rather than as alias.
35960 (SA_RESETHAND): Likewise.
35961 (SA_INTERRUPT): Define only for [__USE_MISC].
35962 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35963 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35965 (SA_STACK): Define only for [__USE_MISC].
35966 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35967 (struct sigaction): Define sa_handler and sa_sigaction using union
35968 also for [__USE_XOPEN_EXTENDED].
35969 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35970 [__USE_XOPEN_EXTENDED].
35971 (SA_RESTART): Likewise.
35972 (SA_NODEFER): Likewise.
35973 (SA_RESETHAND): Likewise.
35974 (SA_NOPTRACE): Define only for [__USE_MISC].
35976 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35977 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35978 (struct catalog_info): Likewise.
35979 * inet/htontest.c (lo): Likewise.
35981 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35982 * inet/inet_net.c (inet_network): Likewise.
35983 * inet/inet_netof.c (inet_netof): Likewise.
35984 * inet/rcmd.c (__ivaliduser): Likewise.
35985 (iruserok): Likewise.
35986 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35987 * locale/programs/locale-spec.c (locale_special): Likewise.
35988 * nis/nis_findserv.c (struct findserv_req): Likewise.
35989 (__nis_findfastest_with_timeout): Likewise.
35990 * nss/test-netdb.c (test_network): Likewise.
35991 * resolv/inet_neta.c (inet_neta): Likewise.
35992 * resolv/ns_date.c (ns_datetosecs): Likewise.
35993 (SECS_PER_DAY): Likewise.
35994 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35996 * resolv/res_comp.c (__putlong): Likewise.
35997 (__putshort): Likewise.
35998 (_getlong): Likewise.
35999 (_getshort): Likewise.
36000 * resolv/res_debug.c (p_time): Likewise.
36001 (precsize_ntoa): Likewise.
36002 (precsize_aton): Likewise.
36003 (latlon2ul): Likewise.
36004 (loc_aton): Likewise.
36005 (loc_ntoa): Likewise.
36006 * resolv/res_hconf.c (struct netaddr): Likewise.
36007 (_res_hconf_reorder_addrs): Likewise.
36008 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36009 (clnttcp_control): Likewise.
36010 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36011 (clntudp_control): Likewise.
36012 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36013 (clntunix_control): Likewise.
36014 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36015 * sunrpc/rpc/auth.h (union des_block): Likewise.
36016 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36017 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36018 (xdrrec_create): Likewise.
36019 (xdrrec_endofrecord): Likewise.
36020 (flush_out): Likewise.
36021 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36022 (xdrstdio_putlong): Likewise.
36023 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36026 * misc/sys/cdefs.h (__long_double_t): Remove.
36027 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36028 instead of __long_double_t,
36029 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36031 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36033 * benchtests/scripts/compare_strings.py: Avoid display error when
36034 running on a text terminal.
36036 * benchtests/scripts/compare_strings.py (main): Add an
36037 optional -base option.
36038 (process_results): New argument base_func.
36040 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36042 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36043 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36045 2017-08-07 Andreas Schwab <schwab@suse.de>
36047 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36048 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36049 * intl/Makefile ($(objpfx)tst-gettext.out)
36050 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36051 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36052 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36053 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36054 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36055 * posix/Makefile ($(objpfx)globtest.out)
36056 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36057 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36058 ($(objpfx)tst-printf.out): Likewise.
36059 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36060 ($(objpfx)tst-setcontext3.out): Likewise.
36062 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36064 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36065 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
36066 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
36067 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
36068 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36070 (CFLAGS-doasin-fma.c): New.
36071 (CFLAGS-dosincos-fma.c): Likewise.
36072 (CFLAGS-e_asin-fma.c): Likewise.
36073 (CFLAGS-e_atan2-fma.c): Likewise.
36074 (CFLAGS-e_exp-fma.c): Likewise.
36075 (CFLAGS-e_log-fma.c): Likewise.
36076 (CFLAGS-e_pow-fma.c): Likewise.
36077 (CFLAGS-halfulp-fma.c): Likewise.
36078 (CFLAGS-mpa-fma.c): Likewise.
36079 (CFLAGS-mpatan-fma.c): Likewise.
36080 (CFLAGS-mpatan2-fma.c): Likewise.
36081 (CFLAGS-mpexp-fma.c): Likewise.
36082 (CFLAGS-mplog-fma.c): Likewise.
36083 (CFLAGS-mpsqrt-fma.c): Likewise.
36084 (CFLAGS-mptan-fma.c): Likewise.
36085 (CFLAGS-s_atan-fma.c): Likewise.
36086 (CFLAGS-sincos32-fma.c): Likewise.
36087 (CFLAGS-slowexp-fma.c): Likewise.
36088 (CFLAGS-slowpow-fma.c): Likewise.
36089 (CFLAGS-s_sin-fma.c): Likewise.
36090 (CFLAGS-s_tan-fma.c): Likewise.
36091 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
36092 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
36093 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
36094 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
36095 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
36096 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
36097 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
36098 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
36099 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
36100 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
36101 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
36102 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
36103 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
36104 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
36105 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
36106 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
36107 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
36108 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
36109 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
36110 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
36111 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
36112 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
36113 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
36114 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
36115 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36116 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36117 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36118 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
36119 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36120 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36121 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36123 2017-08-04 Joseph Myers <joseph@codesourcery.com>
36125 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
36126 (min_of_type_f): New macro.
36127 (min_of_type_): Likewise.
36128 (min_of_type_l): Likewise.
36129 (min_of_type_f128): Likewise.
36130 (min_of_type): Define using __MATH_TG and taking an expression
36132 (math_check_force_underflow): Pass expression instead of type to
36134 (math_check_force_underflow_nonneg): Likewise.
36136 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36138 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36139 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
36140 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
36142 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36145 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
36146 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
36147 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
36148 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
36149 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
36150 memcpy_chk-nonshared, mempcpy_chk-nonshared,
36151 memmove_chk-nonshared and memset_chk-nonshared
36152 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
36153 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
36154 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
36155 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
36156 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
36157 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
36158 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
36159 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
36160 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
36161 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
36162 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
36163 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
36164 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
36165 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
36166 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
36167 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
36168 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
36169 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
36170 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
36171 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
36172 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
36173 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
36174 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
36175 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
36176 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
36177 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
36178 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
36179 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
36180 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
36181 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
36182 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
36183 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
36184 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
36185 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36186 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36187 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
36188 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
36189 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
36190 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
36191 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
36192 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
36193 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
36194 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
36195 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
36196 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
36197 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
36198 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
36199 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
36200 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
36201 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
36202 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
36203 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
36204 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
36205 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
36206 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
36207 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
36208 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
36209 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
36210 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
36211 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
36212 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
36213 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
36214 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
36215 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
36216 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
36217 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
36218 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
36219 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
36220 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
36221 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
36222 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
36223 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36224 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36225 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36226 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36227 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36228 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36229 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36230 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36231 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36232 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36233 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36234 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36235 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36236 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36237 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36238 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36239 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36240 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36241 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36242 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36243 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36244 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36246 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36247 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36248 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36249 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36250 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36251 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36252 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36253 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36254 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36255 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36256 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36257 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36258 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36259 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36261 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36263 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
36264 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
36265 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
36266 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
36267 svml_d_log2_core-sse2, svml_d_log4_core-sse,
36268 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
36269 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
36270 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
36271 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
36272 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
36273 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
36274 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
36275 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
36276 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
36277 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
36278 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
36279 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
36280 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
36281 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
36282 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
36283 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
36284 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36285 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36286 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36287 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36288 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36289 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36290 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36291 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36292 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36293 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36294 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36295 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36296 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36297 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36299 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36300 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36301 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36303 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36304 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36305 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36306 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36307 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36308 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36309 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36310 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36311 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36312 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36313 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36314 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36315 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36316 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36317 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36318 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36319 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36320 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36321 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36323 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36324 Don't include <sysdep.h> nor <init-arch.h>.
36325 (_ZGVbN2v_cos): Removed.
36326 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36328 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36329 Don't include <sysdep.h> nor <init-arch.h>.
36330 (_ZGVdN4v_cos): Removed.
36331 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36333 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36334 Don't include <sysdep.h> nor <init-arch.h>.
36335 (_ZGVeN8v_cos): Removed.
36336 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36338 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36339 Don't include <sysdep.h> nor <init-arch.h>.
36340 (_ZGVbN2v_exp): Removed.
36341 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36343 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36344 Don't include <sysdep.h> nor <init-arch.h>.
36345 (_ZGVdN4v_exp): Removed.
36346 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36348 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36349 Don't include <sysdep.h> nor <init-arch.h>.
36350 (_ZGVeN8v_exp): Removed.
36351 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36353 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36354 Don't include <sysdep.h> nor <init-arch.h>.
36355 (_ZGVbN2v_log): Removed.
36356 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36358 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36359 Don't include <sysdep.h> nor <init-arch.h>.
36360 (_ZGVdN4v_log): Removed.
36361 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36363 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36364 Don't include <sysdep.h> nor <init-arch.h>.
36365 (_ZGVeN8v_log): Removed.
36366 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36368 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36369 Don't include <sysdep.h> nor <init-arch.h>.
36370 (_ZGVbN2vv_pow): Removed.
36371 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36373 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36374 Don't include <sysdep.h> nor <init-arch.h>.
36375 (_ZGVdN4vv_pow): Removed.
36376 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36378 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36379 Don't include <sysdep.h> nor <init-arch.h>.
36380 (_ZGVeN8vv_pow): Removed.
36381 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36383 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36384 Don't include <sysdep.h> nor <init-arch.h>.
36385 (_ZGVbN2v_sin): Removed.
36386 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36388 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36389 Don't include <sysdep.h> nor <init-arch.h>.
36390 (_ZGVbN4v_sin): Removed.
36391 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36393 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36394 Don't include <sysdep.h> nor <init-arch.h>.
36395 (_ZGVbN8v_sin): Removed.
36396 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36398 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36399 Don't include <sysdep.h> nor <init-arch.h>.
36400 (_ZGVbN2vvv_sincos): Removed.
36401 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36403 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36404 Don't include <sysdep.h> nor <init-arch.h>.
36405 (_ZGVdN4vvv_sincos): Removed.
36406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36408 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36409 Don't include <sysdep.h> nor <init-arch.h>.
36410 (_ZGVeN8vvv_sincos): Removed.
36411 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36413 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36414 Don't include <sysdep.h> nor <init-arch.h>.
36415 (_ZGVeN16v_cosf): Removed.
36416 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36418 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36419 Don't include <sysdep.h> nor <init-arch.h>.
36420 (_ZGVbN4v_cosf): Removed.
36421 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36423 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36424 Don't include <sysdep.h> nor <init-arch.h>.
36425 (_ZGVdN8v_cosf): Removed.
36426 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36428 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36429 Don't include <sysdep.h> nor <init-arch.h>.
36430 (_ZGVeN16v_expf): Removed.
36431 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36433 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36434 Don't include <sysdep.h> nor <init-arch.h>.
36435 (_ZGVbN4v_expf): Removed.
36436 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36438 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36439 Don't include <sysdep.h> nor <init-arch.h>.
36440 (_ZGVdN8v_expf): Removed.
36441 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36443 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36444 Don't include <sysdep.h> nor <init-arch.h>.
36445 (_ZGVeN16v_logf): Removed.
36446 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36448 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36449 Don't include <sysdep.h> nor <init-arch.h>.
36450 (_ZGVbN4v_logf): Removed.
36451 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36453 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36454 Don't include <sysdep.h> nor <init-arch.h>.
36455 (_ZGVdN8v_logf): Removed.
36456 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36458 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36459 Don't include <sysdep.h> nor <init-arch.h>.
36460 (_ZGVeN16vv_powf): Removed.
36461 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36463 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36464 Don't include <sysdep.h> nor <init-arch.h>.
36465 (_ZGVbN4vv_powf): Removed.
36466 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36468 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36469 Don't include <sysdep.h> nor <init-arch.h>.
36470 (_ZGVdN8vv_powf): Removed.
36471 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36473 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36474 Don't include <sysdep.h> nor <init-arch.h>.
36475 (_ZGVeN16vvv_sincosf): Removed.
36476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36478 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36479 Don't include <sysdep.h> nor <init-arch.h>.
36480 (_ZGVbN4vvv_sincosf): Removed.
36481 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36483 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36484 Don't include <sysdep.h> nor <init-arch.h>.
36485 (_ZGVdN8vvv_sincosf): Removed.
36486 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36488 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36489 Don't include <sysdep.h> nor <init-arch.h>.
36490 (_ZGVeN16v_sinf): Removed.
36491 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36493 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36494 Don't include <sysdep.h> nor <init-arch.h>.
36495 (_ZGVbN4v_sinf): Removed.
36496 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36498 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36499 Don't include <sysdep.h> nor <init-arch.h>.
36500 (_ZGVdN8v_sinf): Removed.
36502 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36504 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36505 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36506 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36507 s_rint-sse4_1 and s_rintf-sse4_1.
36508 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36509 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36510 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36511 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36512 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36514 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36515 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36516 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36517 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36518 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36519 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36521 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36522 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36523 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36524 (__ceilf): Removed.
36525 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36526 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36527 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36528 (__floor): Removed.
36529 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36530 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36531 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36532 (__floorf): Removed.
36533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36535 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36536 (__nearbyint): Removed.
36537 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36538 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36539 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36540 (__nearbyintf): Removed.
36541 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36542 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36543 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36545 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36546 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36547 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36548 (__rintf): Removed.
36550 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36552 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36553 SHARED. Avoid dynamic relocation against main in static PIE.
36555 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36558 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36559 (LDFLAGS-tst-prelink): Likewise.
36561 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36563 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36564 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36565 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36566 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36567 (INTERNAL_SYSCALL_NCS): Likewise.
36568 (LOADARGS_1): Likewise.
36569 (LOADARGS_5): Likewise.
36570 (RESTOREARGS_1): Likewise.
36571 (RESTOREARGS_5): Likewise.
36573 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36575 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36576 (MEMPCPY_SYMBOL): Likewise.
36577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36578 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36581 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36582 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36584 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36585 (__hidden_ver1): Don't use in libc.a.
36586 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36587 (__mempcpy): Don't create a weak alias in libc.a.
36588 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36590 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36591 (__hidden_ver1): Don't use in libc.a.
36593 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36595 * config.make.in (have-insert): New.
36596 * configure.ac (libc_cv_insert): New. Set to yes if linker
36597 supports INSERT in linker script.
36598 (AC_SUBST(libc_cv_insert): New.
36599 * configure: Regenerated.
36600 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36601 if $(have-insert) == yes.
36603 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36605 * elf/Makefile (tests): Add vismain only if
36606 $(have-protected-data) == yes.
36607 (tests-pie): Likewise.
36609 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36612 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36613 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36615 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36618 * sysdeps/i386/i586/memset.S
36619 (__memset_zero_constant_len_parameter): Removed.
36620 * sysdeps/i386/i686/memset.S
36621 (__memset_zero_constant_len_parameter): Likewise.
36622 * sysdeps/i386/i686/multiarch/memset_chk.S
36623 (__memset_zero_constant_len_parameter): Likewise.
36624 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36627 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36629 * stdlib/getentropy.c (getentropy): Change return type to int.
36631 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36633 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36635 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36637 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36639 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36640 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36642 (ieee_float_shape_type): Likewise.
36643 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36644 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36645 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36646 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36647 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36648 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36649 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36650 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36651 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36653 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36654 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36655 (__ieee754_yn): Likewise.
36656 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36657 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36658 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36660 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36661 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36662 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36663 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36664 (__erfc): Likewise.
36665 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36666 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36667 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36668 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36669 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36670 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36672 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36673 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36674 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36675 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36676 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36677 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36678 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36679 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36680 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36681 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36682 (__issignaling): Likewise.
36683 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36684 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36685 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36687 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36688 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36689 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36690 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36692 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36694 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36695 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36696 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36697 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36698 (__erfcf): Likewise.
36699 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36700 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36701 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36702 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36704 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36705 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36707 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36708 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36709 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36710 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36711 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36712 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36713 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36714 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36716 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36718 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36720 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36721 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36723 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36725 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36726 (__ieee754_ynl): Likewise.
36727 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36728 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36730 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36732 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36733 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36734 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36736 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36737 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36738 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36739 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36740 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36741 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36742 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36743 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36745 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36746 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36747 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36749 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36750 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36751 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36752 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36753 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36756 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36758 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36760 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36762 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36763 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36764 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36765 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36766 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36767 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36768 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36770 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36773 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36775 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36776 (__ieee754_remainderl): Likewise.
36777 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36778 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36780 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36782 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36783 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36785 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36786 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36787 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36788 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36789 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36790 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36792 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36793 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36794 (__ieee754_y0l): Likewise.
36797 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36798 (__ieee754_y1l): Likewise.
36801 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36802 (__ieee754_ynl): Likewise.
36803 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36804 (__ieee754_lgammal_r): Likewise.
36805 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36807 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36808 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36809 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36810 (__erfcl): Likewise.
36811 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36812 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36814 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36815 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36816 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36817 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36818 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36820 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36822 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36823 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36824 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36825 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36826 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36828 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36829 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36831 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36832 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36833 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36834 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36835 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36837 2017-08-03 Florian Weimer <fweimer@redhat.com>
36840 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36841 on memory allocation failure.
36843 2017-08-03 Alan Modra <amodra@gmail.com>
36845 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36846 tst-tlsopt-powerpc.c with function name change and no test harness.
36847 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36848 Call tls_get_addr_opt_test.
36849 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36850 (modules-names): Add mod-tlsopt-powerpc.
36851 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36852 (tst-tlsopt-powerpc): Depend on .so.
36853 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36854 define. Expand use in TLS_GD and TLS_LD.
36856 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36858 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36860 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36862 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36865 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36866 comparing size with that of double.
36867 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36868 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36869 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36870 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36871 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36872 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36873 unsigned __int128 types.
36875 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36877 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36878 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36879 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36880 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36881 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36883 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36885 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36887 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36889 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36891 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36892 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36894 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36895 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36897 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36899 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36902 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36903 bit-field expressions passed to sizeof or typeof.
36904 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36905 (__TGMATH_F128): Likewise.
36906 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36907 (__TGMATH_CF128): Likewise.
36908 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36909 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36910 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36911 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36912 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36913 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36914 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36915 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36916 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36917 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36918 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36919 (__TGMATH_UNARY_IMAG): Likewise.
36920 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36921 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36922 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36924 (define_vars_for_type): Handle bit_field type specially.
36925 (Tests.__init__): Declare structure with bit-field element.
36927 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36930 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36931 (MEMCPY_CHK): Define only if SHARED is defined.
36932 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36937 See ChangeLog.18 for earlier changes.